/* ==========================================================================
   TOURB — Neo-brutalist Editorial Design Layer
   Self-contained. Namespaced under body.neo to coexist with legacy CSS.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------ */
body.neo {
  /* Surfaces */
  --paper:      #F4ECDB;   /* warm cream "paper" background */
  --paper-2:    #EBE0CA;
  --surface:    #FFFFFF;   /* cards */
  --ink:        #17120D;   /* warm near-black */
  --ink-soft:   #574C42;

  /* Brand + accents (flat, punchy) */
  --brand:      #FF5A1F;   /* vivid tourb orange */
  --brand-deep: #DB3B00;   /* legacy deep orange, kept for equity */
  --sun:        #FFC93C;   /* sunny yellow */
  --cobalt:     #2540FF;   /* electric blue pop, used sparingly */
  --mint:       #15B886;

  /* Structure */
  --line: 2.5px;
  --border: var(--line) solid var(--ink);
  --shadow:     5px 5px 0 var(--ink);
  --shadow-lg:  8px 8px 0 var(--ink);
  --shadow-sm:  3px 3px 0 var(--ink);
  --shadow-brand: 6px 6px 0 var(--brand-deep);
  --radius: 8px;
  --radius-sm: 5px;
  --pill: 999px;

  /* Type */
  --font-display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Rhythm */
  --maxw: 1220px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);

  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Reset (scoped) ----------------------------------------------------- */
body.neo *,
body.neo *::before,
body.neo *::after { box-sizing: border-box; }

body.neo { margin: 0; overflow-x: hidden; }

/* NB: no height here — component images (.__media/.__photo img) set height:100%
   + object-fit:cover and would be overridden by a global height (body.neo img
   is more specific than .x img). Free-flowing images set height:auto themselves
   (e.g. .nb-article__img). */
body.neo img { max-width: 100%; display: block; }

body.neo a { color: inherit; text-decoration: none; }

body.neo h1, body.neo h2, body.neo h3,
body.neo h4, body.neo h5, body.neo h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  text-transform: none;
}

body.neo p,
body.neo span,
body.neo a,
body.neo li,
body.neo button,
body.neo input { font-family: var(--font-body); }
body.neo p { margin: 0 0 1rem; }

body.neo :focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
}

::selection { background: var(--sun); color: var(--ink); }

/* ---- Layout primitives -------------------------------------------------- */
.nb-container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.nb-section { padding-block: clamp(56px, 9vw, 120px); }

body.neo .nb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 7px 14px;
  border-radius: var(--pill);
  white-space: nowrap;
  max-width: 100%;
}
body.neo .nb-eyebrow.is-brand { background: var(--brand); color: #fff; }

.nb-section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.nb-section-head h2 {
  font-size: clamp(34px, 6vw, 64px);
  margin-top: 18px;
  text-wrap: balance;
}
.nb-section-head p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--ink-soft);
  margin-top: 16px;
  max-width: 60ch;
}

/* highlighted "marker" word */
.nb-mark {
  background: var(--sun);
  box-shadow: 0 0 0 2.5px var(--ink);
  padding: .02em .16em;
  border-radius: 4px;
  white-space: nowrap;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.nb-ink-brand { color: var(--brand); }

/* ---- Buttons ------------------------------------------------------------ */
.nb-btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 16px 24px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .14s var(--ease), box-shadow .14s var(--ease);
  will-change: transform;
}
.nb-btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-lg); }
.nb-btn:active { transform: translate(2px, 2px); box-shadow: var(--shadow-sm); }
.nb-btn .nb-ic { width: 20px; height: 20px; transition: transform .14s var(--ease); }
.nb-btn:hover .nb-ic { transform: translateX(3px); }

.nb-btn--ghost { --btn-bg: var(--surface); --btn-fg: var(--ink); }
.nb-btn--ink   { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.nb-btn--sun   { --btn-bg: var(--sun); --btn-fg: #161310; }
/* ensure --btn-fg wins over the global `body.neo a { color: inherit }` */
body.neo .nb-btn { color: var(--btn-fg); }

/* ---- Navigation --------------------------------------------------------- */
.nb-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--paper);
  border-bottom: var(--border);
}
.nb-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}
.nb-nav__brand { display: inline-flex; }
/* ---- Brand wordmark (inline SVG, recolorable + animated) ---------------- */
.nb-logo { display: inline-flex; align-items: center; line-height: 0; color: var(--brand); }
.nb-logo svg { fill: currentColor; display: block; transition: transform .14s var(--ease), filter .14s var(--ease); }
/* brutalist hard-shadow lift on hover / keyboard focus */
.nb-nav__brand:hover .nb-logo svg,
.nb-nav__brand:focus-visible .nb-logo svg,
.nb-footer__logo:hover .nb-logo svg,
.nb-footer__logo:focus-visible .nb-logo svg { transform: translate(-2px, -3px); filter: drop-shadow(3px 3px 0 var(--ink)); }
/* entrance: stamp the wordmark onto the paper */
.nb-nav__brand .nb-logo { animation: nb-logo-stamp .5s var(--ease) both; }
@keyframes nb-logo-stamp { 0% { opacity: 0; transform: scale(1.16); } 55% { opacity: 1; } 100% { transform: scale(1); } }
.nb-nav__links { display: flex; align-items: center; gap: 6px; }
.nb-nav__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 2.5px solid transparent;
  transition: background .12s var(--ease), border-color .12s var(--ease);
}
.nb-nav__link:hover { background: var(--surface); border-color: var(--ink); }
.nb-nav__city {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  background: var(--surface); color: var(--ink);
  padding: 9px 14px; border: var(--border); border-radius: var(--pill);
  box-shadow: var(--shadow-sm);
}
.nb-nav__city .nb-ic { width: 18px; height: 18px; }
.nb-nav__burger {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: var(--brand); color: #fff;
  border: var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* ---- Hero --------------------------------------------------------------- */
.nb-hero { position: relative; padding-block: clamp(40px, 7vw, 84px) clamp(48px, 7vw, 96px); }
.nb-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
body.neo .nb-hero__title {
  font-size: clamp(48px, 8.5vw, 92px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
  margin: clamp(14px, 2vw, 20px) 0 clamp(32px, 4.5vw, 52px);
}
.nb-hero__title .nb-l { display: block; }
.nb-hero__title .nb-l + .nb-l { margin-top: .04em; }
.nb-hero__title .nb-l:last-child { margin-top: .16em; } /* clearance for the marker box */
.nb-hero__lead {
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 clamp(26px, 3.5vw, 36px);
}
.nb-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero media: framed editorial photo with sticker */
.nb-hero__media { position: relative; }
.nb-hero__photo {
  position: relative;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
}
.nb-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.nb-sticker {
  position: absolute;
  top: -22px; right: -14px;
  background: var(--sun);
  border: var(--border);
  border-radius: var(--pill);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  transform: rotate(7deg);
  z-index: 2;
}
.nb-hero__tag {
  position: absolute;
  left: -14px; bottom: 22px;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 10px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
}
.nb-hero__tag .nb-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }

/* stats row under hero */
.nb-hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(16px, 4vw, 48px);
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: var(--border);
}
.nb-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
}
.nb-stat span { font-size: 14px; color: var(--ink-soft); font-weight: 600; }

/* ---- Marquee ticker ----------------------------------------------------- */
.nb-ticker {
  background: var(--ink);
  color: var(--paper);
  border-block: var(--border);
  overflow: hidden;
  padding-block: 14px;
}
.nb-ticker__track {
  display: flex; gap: 0; width: max-content;
  animation: nb-marquee 32s linear infinite;
}
.nb-ticker__item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding-inline: 28px;
  display: inline-flex; align-items: center; gap: 28px;
  white-space: nowrap;
}
.nb-ticker__item::after { content: "✺"; color: var(--brand); }
@keyframes nb-marquee { to { transform: translateX(-50%); } }

/* ---- City grid ---------------------------------------------------------- */
.nb-city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
.nb-city {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.nb-city:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); }
.nb-city__media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: var(--border);
  /* graceful fallback when a city photo is missing */
  background-color: var(--paper-2);
  background-image: repeating-linear-gradient(45deg, transparent, transparent 13px, rgba(23,18,13,.05) 13px, rgba(23,18,13,.05) 14px);
}
.nb-city__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.nb-city:hover .nb-city__media img { transform: scale(1.06); }
.nb-city__num {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  background: var(--paper); color: var(--ink);
  border: var(--border); border-radius: var(--pill);
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
}
.nb-city__uf {
  position: absolute; top: 10px; right: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .08em;
  background: var(--brand); color: #fff;
  border: var(--border); border-radius: var(--radius-sm);
  padding: 5px 9px;
}
.nb-city__new {
  position: absolute; bottom: 10px; left: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; background: var(--sun); color: var(--ink);
  border: var(--border); border-radius: var(--pill); padding: 4px 10px;
}
.nb-city__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.nb-city__name { font-size: 24px; }
.nb-city__name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--ink-soft); letter-spacing: 0; margin-top: 4px; }
.nb-city__cats { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.nb-chip {
  font-family: var(--font-body); font-weight: 600; font-size: 12.5px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--pill);
  padding: 5px 11px; transition: background .12s var(--ease), color .12s var(--ease);
}
.nb-chip:hover { background: var(--ink); color: var(--paper); }
.nb-city__go {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--brand);
}
.nb-city__go .nb-ic { width: 16px; height: 16px; transition: transform .14s var(--ease); }
.nb-city:hover .nb-city__go .nb-ic { transform: translateX(4px); }

/* ---- Features (vantagens) — color-block brutalism ----------------------- */
.nb-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
.nb-feature {
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
}
.nb-feature:nth-child(1) { background: var(--brand); color: #fff; }
.nb-feature:nth-child(2) { background: var(--sun); color: var(--ink); }
.nb-feature:nth-child(3) { background: var(--surface); color: var(--ink); }
.nb-feature__num {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: var(--border); border-radius: var(--radius-sm);
  background: rgba(255,255,255,.65);
}
.nb-feature:nth-child(1) .nb-feature__num { background: rgba(0,0,0,.18); color:#fff; border-color:#fff; }
.nb-feature h3 { font-size: clamp(24px, 3vw, 32px); margin-top: auto; }
.nb-feature p { font-size: 16px; margin: 0; opacity: .92; }

/* ---- CTA band ----------------------------------------------------------- */
.nb-cta { background: var(--ink); color: var(--paper); border-block: var(--border); }
.nb-cta__inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 28px;
}
.nb-cta h2 { font-size: clamp(30px, 5vw, 56px); color: var(--paper); max-width: 16ch; }
.nb-cta p { color: #cfc4b2; max-width: 44ch; margin-top: 14px; }

/* ---- Footer ------------------------------------------------------------- */
.nb-footer { background: var(--paper-2); border-top: var(--border); padding-block: clamp(48px, 7vw, 80px) 28px; }
.nb-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.nb-footer__logo { display: inline-block; margin-bottom: 18px; }
.nb-footer__brand p { color: var(--ink-soft); max-width: 36ch; }
.nb-footer__col h4 { font-family: var(--font-display); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.nb-footer__col a { display: block; padding: 6px 0; font-weight: 500; color: var(--ink-soft); transition: color .12s var(--ease); }
.nb-footer__col a:hover { color: var(--brand); }
.nb-footer__social { display: flex; gap: 10px; margin-top: 8px; }
.nb-footer__social a {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); transition: transform .14s var(--ease), background .14s var(--ease), color .14s var(--ease);
}
.nb-footer__social a:hover { transform: translate(-2px,-2px); background: var(--brand); color: #fff; }
.nb-footer__social .nb-ic { width: 20px; height: 20px; }
.nb-footer__bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: var(--border);
  font-size: 14px; color: var(--ink-soft);
}

/* ---- Scroll reveal (only hidden when JS is active, so no-JS shows all) --- */
.nb-js .nb-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.nb-js .nb-reveal.is-in { opacity: 1; transform: none; }
.nb-js .nb-reveal[data-delay="1"] { transition-delay: .06s; }
.nb-js .nb-reveal[data-delay="2"] { transition-delay: .12s; }
.nb-js .nb-reveal[data-delay="3"] { transition-delay: .18s; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
  .nb-city-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nb-hero__grid { grid-template-columns: 1fr; }
  .nb-hero__media { max-width: 440px; }
  .nb-features { grid-template-columns: 1fr; }
  .nb-footer__top { grid-template-columns: 1fr; gap: 28px; }
  .nb-nav__links { display: none; }
  .nb-nav__burger { display: flex; }
  .nb-cta__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .nb-city-grid { grid-template-columns: 1fr; }
  .nb-hero__title { font-size: clamp(40px, 12.5vw, 64px); }
  .nb-hero__stats { gap: 20px 28px; }
}

/* ---- Motion preferences ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  body.neo * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .nb-reveal { opacity: 1; transform: none; }
  .nb-ticker__track { animation: none; }
}

/* =========================================================================
   City selector (nav dropdown)
   ========================================================================= */
.nb-citysel { position: relative; }
.nb-citysel > summary { list-style: none; cursor: pointer; }
.nb-citysel > summary::-webkit-details-marker { display: none; }
.nb-citysel__caret { width: 16px !important; height: 16px !important; transition: transform .15s var(--ease); }
.nb-citysel[open] .nb-citysel__caret { transform: rotate(180deg); }
.nb-citysel__menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 230px;
  background: var(--surface); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 6px; z-index: 1100;
  display: flex; flex-direction: column; gap: 2px;
}
.nb-citysel__menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
}
.nb-citysel__menu a:hover { background: var(--paper); }
.nb-citysel__menu a.is-current { background: var(--ink); color: var(--paper); }
.nb-citysel__new {
  font-family: var(--font-display); font-weight: 700; font-size: 10px;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--sun); color: var(--ink); border: 2px solid var(--ink);
  border-radius: var(--pill); padding: 1px 7px;
}

/* =========================================================================
   Breadcrumb (second nav tier)
   ========================================================================= */
.nb-breadcrumb { border-top: var(--border); background: var(--paper); }
.nb-breadcrumb .nb-container {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  padding-block: 11px; font-size: 13px; font-weight: 600;
}
.nb-breadcrumb a { color: var(--ink-soft); }
.nb-breadcrumb a:hover { color: var(--brand); }
.nb-breadcrumb__sep { color: var(--ink-soft); opacity: .45; }
.nb-breadcrumb__current { color: var(--ink); }

/* =========================================================================
   Listing page (lugares)
   ========================================================================= */
.nb-listing-hero { background: var(--paper); border-bottom: var(--border); padding-block: clamp(36px, 6vw, 72px); }
body.neo .nb-listing-hero h1 {
  font-size: clamp(32px, 5.4vw, 58px);
  line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance;
  max-width: 20ch; margin: 16px 0 0;
}
.nb-listing-hero .nb-num { color: var(--brand); }
.nb-listing-hero__lead { color: var(--ink-soft); margin-top: 16px; max-width: 58ch; font-size: clamp(16px, 2vw, 19px); }

.nb-listing { display: grid; grid-template-columns: 256px minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }

/* filters */
.nb-filters { position: sticky; top: 92px; }
.nb-filters__title {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
  margin: 0 0 12px;
}
.nb-filters__list { display: flex; flex-direction: column; gap: 8px; }
.nb-filter {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; border: var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow-sm);
  transition: transform .12s var(--ease), box-shadow .12s var(--ease), background .12s, color .12s;
}
.nb-filter:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.nb-filter.is-active { background: var(--ink); color: var(--paper); }
.nb-filter__count {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink);
  border-radius: var(--pill); min-width: 28px; text-align: center; padding: 1px 7px;
}
.nb-filter.is-active .nb-filter__count { background: var(--brand); color: #fff; }

/* place grid + card */
.nb-place-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 232px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.nb-place { display: flex; flex-direction: column; background: var(--surface); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .16s var(--ease), box-shadow .16s var(--ease); }
.nb-place:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); }
.nb-place__media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: var(--border);
  background-color: var(--paper-2);
  background-image: repeating-linear-gradient(45deg, transparent, transparent 13px, rgba(23,18,13,.05) 13px, rgba(23,18,13,.05) 14px);
}
.nb-place__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.nb-place:hover .nb-place__media img { transform: scale(1.05); }
.nb-place__cat {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--paper); color: var(--ink); border: var(--border);
  border-radius: var(--pill); padding: 4px 10px;
}
.nb-place__body { padding: 14px 15px 16px; flex: 1; display: flex; }
body.neo .nb-place__name { font-size: 18px; line-height: 1.14; color: var(--ink); }
.nb-place:hover .nb-place__name { color: var(--brand); }

/* AdSense wrapper — keeps ads looking intentional in the layout */
.nb-ad {
  border: 2.5px dashed var(--ink); border-radius: var(--radius);
  background: var(--paper-2); padding: 14px; margin: clamp(16px,2vw,24px) 0;
  text-align: center;
}
.nb-ad::before {
  content: "Publicidade"; display: block;
  font-family: var(--font-display); font-weight: 700; font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 10px;
}
.nb-ad--sidebar { margin-top: 20px; }

/* =========================================================================
   Listing responsive + mobile nav panel
   ========================================================================= */
@media (max-width: 880px) {
  .nb-listing { grid-template-columns: minmax(0, 1fr); }
  .nb-filters { position: static; }
  .nb-filters__list { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 10px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .nb-filter { white-space: nowrap; flex: 0 0 auto; }
  .nb-ad--sidebar { display: none; }

  /* mobile nav dropdown panel */
  .nb-nav__links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 8px;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: var(--border);
    padding: 16px var(--gut); z-index: 1050;
  }
  .nb-nav__links.is-open .nb-nav__link { padding: 12px 14px; border: 2.5px solid transparent; }
  .nb-nav__links.is-open .nb-citysel,
  .nb-nav__links.is-open .nb-citysel__menu { position: static; }
  .nb-nav__links.is-open .nb-citysel__menu { box-shadow: none; margin-top: 6px; }
  .nb-nav__links.is-open .nb-nav__city { width: 100%; }
}
@media (max-width: 560px) {
  .nb-place-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   Place (lugar) detail page
   ========================================================================= */
.nb-lugar-hero { padding-block: clamp(26px, 4vw, 44px) clamp(28px, 4vw, 48px); }
.nb-lugar-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
body.neo .nb-lugar-hero__title { font-size: clamp(34px, 5.2vw, 64px); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; margin: 14px 0 0; }
.nb-lugar-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; align-items: center; }
.nb-lugar-hero__addr { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.nb-lugar-hero__addr .nb-ic { width: 18px; height: 18px; color: var(--brand); flex: none; }
.nb-tag-type { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; border: var(--border); border-radius: var(--pill); padding: 4px 11px; background: var(--surface); }
.nb-tag-type.is-free { background: var(--mint); color: #fff; }
.nb-tag-type.is-paid { background: var(--sun); color: var(--ink); }
.nb-lugar-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.nb-actionchip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 14px; padding: 10px 16px; border: var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .12s var(--ease), box-shadow .12s var(--ease); }
.nb-actionchip:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.nb-actionchip .nb-ic { width: 16px; height: 16px; color: var(--brand); }
.nb-lugar-hero__media { position: relative; }
.nb-lugar-hero__photo { position: relative; border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.nb-lugar-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.nb-photo-credit { position: absolute; bottom: 10px; right: 10px; font-size: 11px; font-weight: 600; background: rgba(23,18,13,.72); color: var(--paper); padding: 4px 9px; border-radius: var(--pill); }
.nb-lugar-hero__sticker { position: absolute; top: -18px; left: -12px; background: var(--sun); border: var(--border); border-radius: var(--pill); box-shadow: var(--shadow-sm); font-family: var(--font-display); font-weight: 700; font-size: 13px; padding: 9px 15px; transform: rotate(-6deg); }

/* ---- Selo de status (aberto/fechado) — lê status-lugares/status.php ------- */
.nb-status-badge { display: inline-flex; flex-direction: column; gap: 2px; margin-top: 16px;
  font-family: var(--font-display); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 9px 15px; max-width: max-content; }
.nb-status-badge__top { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; letter-spacing: .01em; }
.nb-status-badge__top .nb-ic { width: 19px; height: 19px; flex: none; }
.nb-status-badge__sub { font-family: var(--font-body); font-weight: 600; font-size: 12.5px; opacity: .82; padding-left: 28px; }
.nb-status-badge.is-temp { background: var(--sun); color: var(--ink); }
.nb-status-badge.is-perm { background: #17120D; color: #F4ECDB; border-color: #17120D; }
.nb-status-badge.is-perm .nb-ic { color: #FF6B4D; }
@media (max-width: 560px) { .nb-status-badge { width: 100%; max-width: none; } }

/* body: article + sidebar */
.nb-lugar-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.nb-article { min-width: 0; }
.nb-article__prose { max-width: 70ch; }
body.neo .nb-article h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 18px; letter-spacing: -0.01em; }
body.neo .nb-article h3 { font-size: clamp(20px, 2.4vw, 26px); margin: 40px 0 12px; }
.nb-article p { font-size: 17px; line-height: 1.72; color: #2c2620; margin: 0 0 18px; }
.nb-article p strong, .nb-article b { font-weight: 700; color: var(--ink); }
.nb-article a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 2px; }
.nb-article__updated { display: inline-block; font-size: 13px; color: var(--ink-soft); font-style: italic; margin-top: 4px; }
.nb-article__img { display: block; border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); margin: 28px 0; max-width: 100%; height: auto; }

.nb-hours { border: var(--border); border-radius: var(--radius-sm); background: var(--surface); padding: 14px 18px; max-width: 480px; line-height: 2; font-size: 15px; }

/* map */
.nb-map { position: relative; overflow: hidden; border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16 / 9; max-width: 100%; cursor: pointer; background: var(--paper-2); }
.nb-map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nb-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nb-map__hint { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; padding: 26px 10px 12px; font-weight: 700; font-size: 13px; font-family: var(--font-display); background: linear-gradient(0deg, var(--paper) 10%, transparent 100%); pointer-events: none; }

/* sidebar */
.nb-sidebar { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 20px; }
.nb-toc { border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface); padding: 20px 22px; }
body.neo .nb-toc h4 { font-family: var(--font-display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 10px; }
.nb-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.nb-toc li { counter-increment: toc; }
.nb-toc a { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-weight: 600; font-size: 15px; color: var(--ink); border-bottom: 2px solid var(--paper-2); }
.nb-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-size: 12px; color: var(--brand); }
.nb-toc a:hover { color: var(--brand); }
.nb-toc li:last-child a { border-bottom: 0; }

body.neo .nb-cta-card { border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--brand); color: #fff; padding: 24px; }
body.neo .nb-cta-card h4 { font-size: 23px; line-height: 1.1; color: #fff; margin: 0 0 8px; }
.nb-cta-card p { font-size: 15px; opacity: .95; margin: 0 0 16px; }

.nb-related { background: var(--paper-2); border-top: var(--border); }

@media (max-width: 900px) {
  .nb-lugar-hero__grid { grid-template-columns: 1fr; }
  .nb-lugar-hero__media { max-width: 520px; }
  .nb-lugar-body { grid-template-columns: 1fr; }
  .nb-sidebar { position: static; }
}

/* =========================================================================
   Roteiros (passeios) landing + cards
   ========================================================================= */
.nb-roteiro-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(18px, 2.2vw, 28px); }
.nb-roteiro { display: flex; flex-direction: column; background: var(--surface); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .16s var(--ease), box-shadow .16s var(--ease); }
.nb-roteiro:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); }
.nb-roteiro__media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: var(--border);
  background-color: var(--paper-2);
  background-image: repeating-linear-gradient(45deg, transparent, transparent 13px, rgba(23,18,13,.05) 13px, rgba(23,18,13,.05) 14px);
}
.nb-roteiro__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.nb-roteiro:hover .nb-roteiro__media img { transform: scale(1.05); }
.nb-roteiro__cat {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--paper); color: var(--ink); border: var(--border);
  border-radius: var(--pill); padding: 4px 10px;
}
.nb-roteiro__selo {
  position: absolute; top: 10px; right: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--sun); color: var(--ink); border: var(--border);
  border-radius: var(--pill); padding: 4px 10px;
}
.nb-roteiro__selo.is-imperdivel { background: var(--brand); color: #fff; }
.nb-roteiro__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
body.neo .nb-roteiro__name { font-size: 21px; line-height: 1.16; color: var(--ink); }
.nb-roteiro:hover .nb-roteiro__name { color: var(--brand); }
.nb-roteiro__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: auto; }
.nb-roteiro__meta span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13.5px; color: var(--ink-soft); }
.nb-roteiro__meta .nb-ic { width: 16px; height: 16px; color: var(--brand); flex: none; }
.nb-roteiro__go { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--brand); }
.nb-roteiro__go .nb-ic { width: 16px; height: 16px; transition: transform .14s var(--ease); }
.nb-roteiro:hover .nb-roteiro__go .nb-ic { transform: translateX(4px); }

/* =========================================================================
   Passeio (roteiro) detail page — hero, route timeline, paywall
   ========================================================================= */
.nb-passeio-hero { padding-block: clamp(26px,4vw,44px) clamp(28px,4vw,48px); }
.nb-passeio-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px,4vw,56px); align-items: center; }
body.neo .nb-passeio-hero__title { font-size: clamp(32px,4.8vw,58px); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; margin: 14px 0 0; }
.nb-passeio-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.nb-passeio-stat { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 14px; background: var(--surface); color: var(--ink); border: var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); padding: 9px 14px; }
.nb-passeio-stat .nb-ic { width: 17px; height: 17px; color: var(--brand); }
.nb-passeio-hero__media { position: relative; }
.nb-passeio-hero__photo { position: relative; border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--paper-2); }
.nb-passeio-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.nb-passeio-hero__selo { position: absolute; top: -16px; left: -12px; background: var(--sun); border: var(--border); border-radius: var(--pill); box-shadow: var(--shadow-sm); font-family: var(--font-display); font-weight: 700; font-size: 13px; padding: 9px 15px; transform: rotate(-5deg); }
.nb-passeio-hero__selo.is-imperdivel { background: var(--brand); color: #fff; }

/* route timeline */
.nb-route { position: relative; max-width: 720px; }
.nb-route__head { margin-bottom: clamp(24px,3vw,36px); }
.nb-stop { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
.nb-stop__rail { display: flex; flex-direction: column; align-items: center; }
.nb-stop__num { width: 52px; height: 52px; flex: none; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; background: var(--ink); color: var(--paper); border: var(--border); border-radius: 50%; }
.nb-stop__line { width: var(--line); flex: 1; background: var(--ink); min-height: 16px; }
.nb-stop__card { background: var(--surface); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 6px; display: grid; grid-template-columns: 132px 1fr; }
.nb-stop__photo { position: relative; border-right: var(--border); overflow: hidden; background: var(--paper-2); min-height: 132px; }
.nb-stop__photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.nb-stop__body { padding: 14px 16px; min-width: 0; }
.nb-stop__cat { font-family: var(--font-display); font-weight: 700; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
body.neo .nb-stop__name { font-size: 19px; line-height: 1.14; margin: 4px 0 6px; }
.nb-stop__addr { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.nb-stop__addr .nb-ic { width: 14px; height: 14px; color: var(--brand); flex: none; margin-top: 2px; }
.nb-stop__desc { font-size: 14px; line-height: 1.55; color: #4a4039; margin: 8px 0 0; }

/* connector between stops */
.nb-connector { display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
.nb-connector__rail { display: flex; justify-content: center; }
.nb-connector__rail::before { content: ""; width: var(--line); background: var(--ink); min-height: 100%; background-image: repeating-linear-gradient(var(--ink) 0 6px, transparent 6px 12px); }
.nb-connector__pill { align-self: center; display: inline-flex; align-items: center; gap: 12px; margin: 10px 0; padding: 8px 14px; background: var(--paper-2); border: var(--border); border-radius: var(--pill); font-weight: 600; font-size: 13.5px; }
.nb-connector__pill .nb-ic { width: 16px; height: 16px; color: var(--brand); }
.nb-connector__pill strong { font-family: var(--font-display); }
.nb-connector__pill .nb-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-soft); }

/* paywall */
.nb-paywall { position: relative; margin-top: 8px; }
.nb-paywall__locked { position: relative; max-height: 260px; overflow: hidden; -webkit-mask-image: linear-gradient(var(--paper) 30%, transparent); mask-image: linear-gradient(var(--paper) 30%, transparent); filter: blur(1px); opacity: .7; pointer-events: none; }
.nb-paywall__cta { border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--ink); color: var(--paper); padding: clamp(28px,4vw,44px); text-align: center; margin-top: -40px; position: relative; z-index: 2; }
.nb-paywall__lock { width: 56px; height: 56px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; background: var(--brand); border: var(--border); border-radius: 50%; }
.nb-paywall__lock .nb-ic { width: 26px; height: 26px; color: #fff; }
body.neo .nb-paywall__cta h3 { color: var(--paper); font-size: clamp(24px,3.2vw,34px); margin: 0 0 10px; }
.nb-paywall__cta p { color: #cfc4b2; max-width: 46ch; margin: 0 auto 22px; }
.nb-paywall__form { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin: 0 auto; }
.nb-input { width: 100%; font-family: var(--font-body); font-size: 16px; font-weight: 500; padding: 14px 16px; background: var(--paper); color: var(--ink); border: var(--border); border-radius: var(--radius-sm); }
.nb-input::placeholder { color: var(--ink-soft); }
.nb-paywall__note { font-size: 12.5px; color: #a99e8c; margin: 14px 0 0; }
.nb-paywall__perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 18px 0 0; }
.nb-paywall__perks span { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13.5px; color: var(--paper); }
.nb-paywall__perks .nb-ic { width: 16px; height: 16px; color: var(--sun); }

@media (max-width: 900px) {
  .nb-passeio-hero__grid { grid-template-columns: 1fr; }
  .nb-passeio-hero__media { max-width: 520px; }
}
@media (max-width: 560px) {
  .nb-stop__card { grid-template-columns: 1fr; }
  .nb-stop__photo { border-right: 0; border-bottom: var(--border); aspect-ratio: 16/9; min-height: 0; }
  .nb-stop__photo img { position: relative; }
  .nb-stop, .nb-connector { grid-template-columns: 40px 1fr; gap: 12px; }
  .nb-stop__num { width: 40px; height: 40px; font-size: 15px; }
  .nb-connector { grid-template-columns: 40px 1fr; }
}

/* passeio: unlocked-state extras */
.nb-connector__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nb-connector__rota { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--brand); }
.nb-connector__rota .nb-ic { width: 14px; height: 14px; }
.nb-connector__rota:hover { color: var(--brand-deep); }
body.neo .nb-eyebrow.is-ok { background: var(--mint); color: #fff; }

/* passeio extras: testimonials + hotels */
.nb-testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.nb-testimonial { margin: 0; background: var(--surface); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; }
.nb-testimonial blockquote { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 2.1vw, 22px); line-height: 1.35; color: var(--ink); }
.nb-testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.nb-testimonial figcaption img { width: 52px; height: 52px; border-radius: 50%; border: var(--border); object-fit: cover; flex: none; background: var(--paper-2); }
.nb-testimonial figcaption strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); }
.nb-testimonial figcaption small { color: var(--ink-soft); font-weight: 600; font-size: 13px; }

.nb-hotels { border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface); padding: 12px; overflow: hidden; }
.nb-hotels .bookingaff { display: block; min-height: 200px; width: 100%; }

/* =========================================================================
   Dark mode — token swap (auto via prefers-color-scheme; .theme-dark on <html>)
   ========================================================================= */
.theme-dark body.neo {
  --paper:      #17130E;
  --paper-2:    #211B14;
  --surface:    #241E16;
  --ink:        #F4ECDB;
  --ink-soft:   #B6AA97;
  --brand:      #FF6B35;
  --brand-deep: #FF9166;
  --sun:        #FFC93C;
  --cobalt:     #8094FF;
  --mint:       #21C996;
}
/* keep dark text on always-yellow / always-bright surfaces */
.theme-dark .nb-mark,
.theme-dark .nb-feature:nth-child(2),
.theme-dark .nb-feature:nth-child(2) .nb-feature__num,
.theme-dark .nb-roteiro__selo,
.theme-dark .nb-passeio-hero__selo,
.theme-dark .nb-hero__sticker,
.theme-dark .nb-city__new,
.theme-dark .nb-tag-type.is-paid,
.theme-dark .nb-status-badge.is-temp,
.theme-dark .nb-citysel__new { color: #17130E; }
.theme-dark .nb-btn--sun { --btn-fg: #17130E; }
/* body text hardcoded for light cards */
.theme-dark .nb-article p { color: var(--ink); }
.theme-dark .nb-stop__desc { color: #c9bda9; }
/* light text that sat on the (now cream) ink blocks */
.theme-dark .nb-cta p,
.theme-dark .nb-paywall__cta p { color: var(--paper); opacity: .82; }
.theme-dark .nb-paywall__note { color: var(--paper); opacity: .55; }
.theme-dark .nb-paywall__perks span { color: var(--paper); }
.theme-dark .nb-photo-credit { background: rgba(0,0,0,.62); }
/* feature numerals readable on every block */
.theme-dark .nb-feature__num { background: rgba(255,255,255,.14); border-color: currentColor; }
.theme-dark .nb-feature:nth-child(1) .nb-feature__num { background: rgba(0,0,0,.22); color: #fff; border-color: #fff; }
/* graceful missing-image hatch (light strokes on dark) */
.theme-dark .nb-city__media,
.theme-dark .nb-place__media,
.theme-dark .nb-roteiro__media { background-image: repeating-linear-gradient(45deg, transparent, transparent 13px, rgba(244,236,219,.06) 13px, rgba(244,236,219,.06) 14px); }

/* theme toggle (light default, dark optional) */
.nb-nav__brand { margin-right: auto; }
.nb-theme-toggle {
  width: 44px; height: 44px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--ink);
  border: var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .12s var(--ease), box-shadow .12s var(--ease);
}
.nb-theme-toggle:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.nb-theme-toggle .nb-ic { width: 20px; height: 20px; }
.nb-theme-toggle .nb-theme-sun { display: none; }
.theme-dark .nb-theme-toggle .nb-theme-moon { display: none; }
.theme-dark .nb-theme-toggle .nb-theme-sun { display: block; }

/* =========================================================================
   City hub page (pagina-cidade-neo)
   ========================================================================= */
.nb-city-hero { background: var(--paper); border-bottom: var(--border); padding-block: clamp(32px, 5vw, 64px); overflow: hidden; }
.nb-city-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.nb-city-hero__copy { min-width: 0; }
body.neo .nb-city-hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 7vw, 82px); line-height: .98; letter-spacing: -0.02em; margin: 14px 0 18px; text-wrap: balance; }
.nb-city-hero__lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--ink-soft); max-width: 46ch; margin: 0 0 28px; }
.nb-city-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(24px, 3vw, 34px); }
.nb-city-hero__stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 44px); }
.nb-city-hero__media { position: relative; }
.nb-city-hero__photo { position: relative; border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.nb-city-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.nb-city-hero__media.is-empty .nb-city-hero__photo { background-image: repeating-linear-gradient(45deg, transparent, transparent 13px, rgba(23,18,13,.06) 13px, rgba(23,18,13,.06) 14px); }

/* "see all" CTA centered under a grid */
.nb-section-cta { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }

/* category cards — text-only, brutalist */
.nb-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.nb-cat-card { position: relative; display: flex; flex-direction: column; gap: 6px; color: var(--ink); background: var(--surface); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(20px, 2.4vw, 28px); min-height: 148px; transition: transform .14s var(--ease), box-shadow .14s var(--ease), background .14s var(--ease), color .14s var(--ease); }
.nb-cat-card:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow); background: var(--ink); color: var(--paper); }
.nb-cat-card__count { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--brand); }
body.neo .nb-cat-card__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.08; letter-spacing: -0.01em; margin-top: auto; }
.nb-cat-card__go { position: absolute; top: clamp(20px,2.4vw,28px); right: clamp(20px,2.4vw,28px); line-height: 0; }
.nb-cat-card__go .nb-ic { width: 22px; height: 22px; transition: transform .14s var(--ease); }
.nb-cat-card:hover .nb-cat-card__go .nb-ic { transform: translateX(3px); }

/* editorial blockquote (sobre) */
.nb-quote { margin: 28px 0; padding: clamp(22px,3vw,32px); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--sun); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: clamp(18px,2.2vw,23px); line-height: 1.42; }

/* =========================================================================
   Contact page (pagina-contato-neo)
   ========================================================================= */
.nb-contato { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.nb-contato__info { min-width: 0; }
body.neo .nb-contato__info h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); margin: 0 0 14px; letter-spacing: -0.01em; }
.nb-contato__info p { color: var(--ink-soft); max-width: 38ch; margin: 0 0 24px; font-size: 17px; line-height: 1.6; }
.nb-contato__mail { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(15px, 1.7vw, 18px); color: var(--ink); border: var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); background: var(--surface); padding: 12px 18px; transition: transform .14s var(--ease), background .14s var(--ease), color .14s var(--ease); }
.nb-contato__mail:hover { transform: translate(-2px,-2px); background: var(--brand); color: #fff; }
.nb-contato__mail .nb-ic { width: 20px; height: 20px; }
.nb-contato__social { display: flex; gap: 10px; margin-top: 20px; }
.nb-contato__social a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--surface); border: var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: transform .14s var(--ease), background .14s var(--ease), color .14s var(--ease); }
.nb-contato__social a:hover { transform: translate(-2px,-2px); background: var(--brand); color: #fff; }
.nb-contato__social .nb-ic { width: 22px; height: 22px; }

/* form */
.nb-form { background: var(--paper); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 36px); }
.nb-form__row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.nb-form__label { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); }
.nb-form__label span { color: var(--ink-soft); font-weight: 600; }
.nb-input--area { resize: vertical; min-height: 120px; line-height: 1.5; }
.nb-btn--full { width: 100%; justify-content: center; }
.nb-form__status { margin: 14px 0 0; font-weight: 600; font-size: 15px; text-align: center; min-height: 1.2em; }
.nb-form__status.is-ok { color: var(--mint); }
.nb-form__status.is-err { color: var(--brand-deep); }

/* dark-mode: keep dark ink text on the always-yellow quote */
.theme-dark .nb-quote { color: #17130E; }

/* ---- Dica do editor ---- */
.nb-dica-editor {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fffbf0; border: 2px solid #f5c842;
  border-radius: var(--radius); padding: 18px 20px; margin: 32px 0;
}
.nb-dica-editor__icon { font-size: 22px; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.nb-dica-editor__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a07800; margin: 0 0 6px; }
.nb-dica-editor p { margin: 0; font-size: 16px; line-height: 1.65; color: #2c2620; }

/* ---- Informações práticas ---- */
.nb-info-table { width: 100%; border-collapse: collapse; margin: 0 0 32px; font-size: 15px; }
.nb-info-table tr { border-bottom: 1px solid var(--paper-2); }
.nb-info-table tr:last-child { border-bottom: none; }
.nb-info-table th { width: 38%; padding: 11px 14px 11px 0; font-weight: 700; color: var(--ink-soft); text-align: left; vertical-align: top; white-space: nowrap; }
.nb-info-table td { padding: 11px 0 11px 14px; color: var(--ink); vertical-align: top; line-height: 1.5; }
@media (max-width: 600px) {
  .nb-info-table th, .nb-info-table td { display: block; padding: 4px 0; }
  .nb-info-table th { color: var(--brand); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; border-bottom: none; padding-top: 12px; }
}

/* ---- FAQ accordion ---- */
.nb-faq { display: flex; flex-direction: column; gap: 0; margin: 0 0 32px; border: var(--border); border-radius: var(--radius); overflow: hidden; }
.nb-faq__item { border-bottom: var(--border); }
.nb-faq__item:last-child { border-bottom: none; }
.nb-faq__question {
  display: block; padding: 15px 42px 15px 18px; font-weight: 700; font-size: 16px;
  cursor: pointer; list-style: none; color: var(--ink); background: var(--surface);
  transition: background .15s; position: relative;
}
.nb-faq__question::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--brand); line-height: 1; }
details[open] .nb-faq__question { background: var(--paper); }
details[open] .nb-faq__question::after { content: '\2212'; }
.nb-faq__question::-webkit-details-marker { display: none; }
.nb-faq__answer { margin: 0; padding: 4px 18px 16px; font-size: 15px; line-height: 1.68; color: var(--ink); background: var(--paper); }

/* responsive */
@media (max-width: 900px) {
  .nb-city-hero__grid { grid-template-columns: 1fr; }
  .nb-city-hero__media { order: -1; }
  .nb-city-hero__photo { aspect-ratio: 16 / 9; }
  .nb-contato { grid-template-columns: 1fr; }
}
