/* Amo Piracuruca — identidade visual de cidade histórica
   Cal (paredes caiadas), ocre das molduras, azul colonial e azulejo,
   inspirados na Igreja de Nossa Senhora do Carmo. Títulos em Fraunces, texto em Manrope. */
:root {
  --paper: #f8f4ec;
  --paper-2: #efe7d8;
  --card: #fffdf9;
  --ink: #1a2433;
  --ink-2: #354150;
  --forest: #1e3b5b;
  --forest-2: #2c5582;
  --moss: #5d7a55;
  --clay: #b5602c;
  --clay-2: #964a1f;
  --clay-soft: #f3e1d0;
  --gold: #c9973c;
  --gold-soft: #f6ead0;
  --muted: #6b6f72;
  --line: #e4dccd;
  --line-2: #d6ccba;
  --danger: #a3311f;
  --wa: #1f9d55;

  --serif: Fraunces, Georgia, 'Times New Roman', serif;
  --sans: Manrope, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --r-sm: 10px;
  --radius: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20, 35, 27, .06);
  --shadow: 0 1px 2px rgba(20, 35, 27, .05), 0 12px 32px -12px rgba(20, 35, 27, .18);
  --shadow-lg: 0 30px 60px -20px rgba(20, 35, 27, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --tabbar: 0px;

  /* nomes usados pelas páginas de conta (painel.css) */
  --green: var(--forest);
  --green-2: var(--forest-2);
  --green-soft: #e3e9f0;
  --azulejo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%231e3b5b' stroke-opacity='.1' stroke-width='1.2'%3E%3Crect x='.5' y='.5' width='55' height='55'/%3E%3Cpath d='M28 8c5 8 12 15 20 20-8 5-15 12-20 20-5-8-12-15-20-20 8-5 15-12 20-20z'/%3E%3Ccircle cx='28' cy='28' r='5'/%3E%3Cpath d='M0 0l9 9M56 0l-9 9M0 56l9-9M56 56l-9-9'/%3E%3C/g%3E%3C/svg%3E");
  --yellow: var(--gold);
  --yellow-soft: var(--gold-soft);
  --red: var(--clay);
  --tint: var(--paper);
  --bg: var(--paper);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper);
  line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.015em; }
h1, h2, .display { font-family: var(--serif); font-weight: 500; font-variation-settings: 'opsz' 96; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.005em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--clay); }
p { margin: 0 0 1em; }
::selection { background: var(--clay-soft); }
:focus-visible { outline: 2.5px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.fill { fill: currentColor; stroke: none; }
.emoji { font-size: 1.1em; line-height: 1; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.kicker { display: inline-flex; align-items: center; gap: .5em; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin-bottom: 12px; }
.kicker-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px var(--clay-soft); }
.kicker-light { color: #f0b597; }
.eyebrow { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--moss); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--muted); max-width: 60ch; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .78em 1.3em; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; line-height: 1.15; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease), box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn-ink, .btn-primary { background: var(--ink); color: var(--paper); }
.btn-ink:hover, .btn-primary:hover { background: var(--forest); }
.btn-clay, .btn-accent { background: var(--clay); color: #fff; }
.btn-clay:hover, .btn-accent:hover { background: var(--clay-2); }
.btn-outline, .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover, .btn-ghost:hover { border-color: var(--ink); background: var(--card); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17834a; }
.btn-danger { background: transparent; color: var(--danger); border-color: #e7c3b9; }
.btn-danger:hover { border-color: var(--danger); background: #fbefeb; }
.btn-lg { padding: .95em 1.6em; font-size: 1.02rem; }
.btn-sm { padding: .55em 1em; font-size: .87rem; }
.btn-block { width: 100%; }
.btn-icon { padding: .78em; }
.btn[disabled] { opacity: .55; cursor: wait; }
.link-quiet { color: var(--ink-2); font-weight: 700; text-decoration: none; font-size: .93rem; }
.link-quiet:hover { color: var(--clay); }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--ink); text-decoration: none; font-size: .95rem; }
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--clay); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Topo ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 236, .86); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.topbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20,35,27,.4); }
.topbar-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; gap: 4px; }
.nav a, .link-quiet { white-space: nowrap; }
.nav a { position: relative; padding: .45em .8em; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .94rem; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 0; height: 2px; border-radius: 2px; background: var(--clay); transition: width .25s var(--ease), left .25s var(--ease); }
.nav a[aria-current]::after { width: 16px; left: calc(50% - 8px); }
.nav a[aria-current] { color: var(--ink); background: var(--card); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.top-search { flex: 1; max-width: 300px; margin-left: auto; display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; height: 42px; color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.top-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20,35,27,.06); }
.top-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: .92rem; color: var(--ink); }
.top-spacer { flex: 1; }
.top-actions { display: flex; align-items: center; gap: 18px; }
@media (max-width: 1240px) { .top-search { max-width: 220px; } }
@media (max-width: 1140px) { .top-search { display: none; } .nav { margin-left: auto; } }
@media (max-width: 860px) {
  .nav, .hide-sm { display: none; }
  .topbar-in { height: 60px; justify-content: space-between; }
  .brand img { height: 32px; }
  .top-actions .btn { display: none; }
}

/* Barra de abas do celular */
.tabbar { display: none; }
@media (max-width: 860px) {
  :root { --tabbar: calc(64px + env(safe-area-inset-bottom)); }
  body { padding-bottom: var(--tabbar); }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    height: var(--tabbar); padding: 6px 6px env(safe-area-inset-bottom);
    background: rgba(255, 253, 249, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: .7rem; font-weight: 700; border-radius: 14px; }
  .tabbar svg { width: 23px; height: 23px; stroke-width: 1.6; }
  .tabbar a[aria-current] { color: var(--ink); }
  .tabbar a[aria-current] svg { color: var(--clay); stroke-width: 2; }
  .has-action-bar .tabbar { display: none; }
  .has-action-bar { --tabbar: calc(76px + env(safe-area-inset-bottom)); }
}

/* ---------- Início: topo ---------- */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 0; overflow: hidden; background: linear-gradient(180deg, #e3ecf2 0%, rgba(227,236,242,0) 62%); }
.street { line-height: 0; }
.casario, .hero-art { stroke: rgba(26, 36, 51, .5); stroke-width: 1.1; }
.casario-night { stroke: none; }
.street svg { display: block; width: 100%; height: clamp(110px, 13.2vw, 190px); }
.hero .street { margin-top: clamp(24px, 4vw, 44px); }
.street-night { margin-top: clamp(24px, 4vw, 48px); margin-bottom: -2px; position: relative; }
.street-night svg { height: clamp(132px, 19.2vw, 276px); }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; border-radius: 50%; background: radial-gradient(circle, rgba(95,143,194,.2), transparent 62%); pointer-events: none; }
.hero-in > * { min-width: 0; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.02; margin-bottom: .35em; }
.hero h1 em { font-weight: 400; }
.hero-sub { font-size: clamp(1.02rem, 1.7vw, 1.18rem); color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
.hero-visual { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-art { width: 100%; height: auto; display: block; filter: drop-shadow(0 40px 50px rgba(120, 50, 20, .18)); }
.hero-art .clouds { animation: clouds 18s ease-in-out infinite alternate; }
@keyframes clouds { from { transform: translateX(-14px); } to { transform: translateX(16px); } }
.hero-art { filter: drop-shadow(0 40px 50px rgba(30, 59, 91, .2)); }
.hero-caption { margin: 14px 0 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: .9rem; color: var(--muted); }
@media (max-width: 600px) { .hero-caption { font-size: .78rem; margin-top: 10px; } }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: rgba(255,253,249,.92); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.7); border-radius: 16px; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.float-card b { display: block; font-size: .98rem; }
.float-card small { color: var(--muted); font-size: .8rem; }
.fc-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--forest); color: var(--paper); }
.fc-clay { background: var(--clay); }
.fc-1 { left: -44px; bottom: 15%; }
.fc-2 { right: -36px; top: 7%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { order: -1; width: min(72%, 300px); }
  .fc-1 { left: -18%; } .fc-2 { right: -18%; }
}
@media (max-width: 600px) {
  .hero { padding-top: 18px; }
  .hero-visual { width: 56%; margin-bottom: 4px; }
  .float-card { padding: 8px 12px 8px 8px; gap: 8px; border-radius: 12px; }
  .float-card b { font-size: .84rem; } .float-card small { font-size: .7rem; }
  .fc-ico { width: 30px; height: 30px; border-radius: 9px; }
  .fc-1 { left: -36%; bottom: 24%; } .fc-2 { right: -36%; top: 6%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Busca */
.search { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 20px; color: var(--muted); width: 100%; max-width: 560px; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 5px rgba(20,35,27,.06); }
.search svg { width: 20px; height: 20px; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 1rem; padding: .55em 0; color: var(--ink); }
.search input::placeholder { color: #9a9b92; }
.search-big { box-shadow: var(--shadow); padding: 8px 8px 8px 22px; }
.search-big input { font-size: 1.05rem; }
.search-big .btn { padding: .9em 1.5em; }
@media (max-width: 480px) { .search { padding-left: 16px; } .search .btn { padding: .75em 1.1em; } .search-big .btn { padding: .85em 1.15em; } }

.intents { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.intent { display: inline-flex; align-items: center; gap: .5em; padding: .5em .95em .5em .75em; border-radius: 999px; background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9rem; transition: .2s; }
.intent svg { color: var(--clay); width: 18px; height: 18px; }
.intent:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.intent:hover svg { color: #f0b597; }
@media (max-width: 600px) { .intents { flex-wrap: nowrap; overflow-x: auto; margin: 16px -16px 0; padding: 0 16px 4px; scrollbar-width: none; } .intents::-webkit-scrollbar { display: none; } .intent { flex: none; } }

/* ---------- Seções ---------- */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-tight { padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 96px); }
.section-sand { background: var(--azulejo), var(--paper-2); }
.section-tiles { background: var(--azulejo), var(--paper); }
.ornament { display: block; width: 120px; height: 16px; margin: 6px 0 18px; fill: none; stroke: var(--clay); stroke-width: 1.4; }
.ornament .orn-fill { fill: var(--clay); stroke: none; }
.page-head-center .ornament, .article-head .ornament { margin: 10px auto 18px; }
.section-ink { background: var(--forest); color: var(--paper); }
.section-ink .kicker { color: #f0b597; }
.section-ink .link-arrow { color: var(--paper); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(22px, 3vw, 36px); }
.section-head h2 { margin: 0; }
.section-head .kicker { margin-bottom: 8px; }
@media (max-width: 600px) { .section-head .link-arrow { font-size: .88rem; } }

/* Mosaico "Explore" */
.bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 18px; justify-content: space-between; min-height: 200px; padding: 26px; border-radius: var(--r-lg); text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile h3 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; margin-bottom: 6px; }
.tile p { margin: 0; color: var(--muted); max-width: 34ch; }
.tile-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--paper-2); color: var(--clay); }
.tile-ico svg { width: 24px; height: 24px; }
.tile-go { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: .9rem; }
.tile-go svg { transition: transform .25s var(--ease); }
.tile:hover .tile-go svg { transform: translateX(4px); }
.tile-guide { grid-row: span 2; background: var(--ink); color: var(--paper); border: 0; }
.tile-guide p { color: #b8c2cf; }
.tile-guide h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.tile-guide .tile-ico { background: rgba(255,255,255,.08); color: #f0b597; }
.tile-guide::after { content: ''; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 0 0 40px rgba(255,255,255,.03), 0 0 0 80px rgba(255,255,255,.02); }
.tile-tour { background: var(--clay); color: #fff; border: 0; }
.tile-tour p { color: #fbe2d5; }
.tile-tour .tile-ico { background: rgba(255,255,255,.16); color: #fff; }
.tile-history { background: var(--gold-soft); border-color: #eadbb8; }
.tile-history .tile-ico { background: #fff7e6; color: #9a6f1f; }
.tile-facts { grid-column: span 2; flex-direction: row; align-items: center; min-height: 0; }
.tile-facts > div { flex: 1; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-guide { grid-row: auto; grid-column: span 2; min-height: 220px; }
  .tile-facts { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { gap: 12px; }
  .tile { padding: 20px; min-height: 0; gap: 14px; border-radius: 22px; }
  .tile h3 { font-size: 1.3rem; }
  .tile-tour, .tile-history { grid-column: span 2; flex-direction: row; align-items: center; }
  .tile-tour > div, .tile-history > div { flex: 1; }
  .tile-tour .tile-go, .tile-history .tile-go, .tile-facts .tile-go { font-size: 0; }
  .tile-tour .tile-go svg, .tile-history .tile-go svg, .tile-facts .tile-go svg { width: 22px; height: 22px; }
  .tile-tour p, .tile-history p, .tile-facts p { font-size: .9rem; }
}

/* Categorias */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 10px; }
.cat { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .92rem; line-height: 1.25; transition: .25s var(--ease); }
.cat:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cat-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--paper-2); color: var(--clay); transition: .25s; }
.cat-ico svg { width: 21px; height: 21px; }
.cat:hover .cat-ico { background: var(--ink); color: var(--paper); }
.cat-count { font-size: .78rem; color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .cats { grid-template-columns: 1fr 1fr; gap: 8px; } .cat { padding: 10px 12px; gap: 10px; font-size: .84rem; } .cat-ico { width: 34px; height: 34px; } .cat-count { display: none; } }

.chips-wrap { margin-top: 22px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 20px 8px; margin: 0 -20px; scrollbar-width: none; mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 40px), transparent); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: .45em; padding: .5em 1em; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .88rem; white-space: nowrap; transition: .2s; }
.chip svg { width: 17px; height: 17px; color: var(--clay); }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip.on svg { color: #f0b597; }
.result-count { color: var(--muted); font-size: .88rem; font-weight: 600; margin: 0 0 18px; }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 20px; }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; } }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); isolation: isolate; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 14px 2px 0; }
.card-body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; margin: 4px 0 4px; letter-spacing: -.01em; }
.card:hover h3 { color: var(--clay); }
.card-meta { display: flex; align-items: center; gap: .35em; color: var(--muted); font-size: .86rem; margin: 0; }
.card-meta svg { width: 15px; height: 15px; }
@media (max-width: 600px) { .card-body { padding-top: 10px; } .card-body h3 { font-size: 1.02rem; } .eyebrow { font-size: .62rem; } .card-img { border-radius: 14px; } }

.ph { width: 100%; height: 100%; display: grid; place-items: center; background:
  radial-gradient(circle at 70% 30%, rgba(196,85,43,.16), transparent 45%),
  repeating-linear-gradient(135deg, transparent 0 14px, rgba(20,35,27,.035) 14px 15px), var(--paper-2); }
.ph-alt { background: radial-gradient(circle at 30% 70%, rgba(76,107,79,.22), transparent 50%),
  repeating-linear-gradient(45deg, transparent 0 14px, rgba(20,35,27,.035) 14px 15px), #e9e3d4; }
.ph-ico { display: grid; place-items: center; width: 34%; max-width: 92px; aspect-ratio: 1; border-radius: 50%; background: rgba(255,253,249,.75); color: var(--clay); box-shadow: 0 0 0 10px rgba(255,253,249,.35); }
.ph-ico svg { width: 46%; height: 46%; stroke-width: 1.4; }
.ph-ico .emoji { font-size: 2rem; }

.badge-example { position: absolute; top: 10px; left: 10px; z-index: 2; background: rgba(20,35,27,.78); backdrop-filter: blur(6px); color: #fff; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .35em .7em; border-radius: 999px; }
.badge-inline, .facts .badge-example { position: static; display: inline-block; vertical-align: middle; margin-left: 6px; }

/* Turismo: trilho horizontal */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 600px) { .rail { grid-auto-columns: 78%; margin: 0 -16px; padding: 0 16px 6px; scroll-padding: 16px; gap: 14px; } }
.story { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: var(--radius); }
.story-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.story-img, .story-tall .story-img { border-radius: 50% 50% 16px 16px / 34% 34% 16px 16px; }
.story-img::after { content: ''; position: absolute; inset: 9px; border-radius: inherit; border: 1.5px solid rgba(255,255,255,.6); pointer-events: none; }
.story-img .badge-example { top: auto; bottom: 16px; left: 50%; transform: translateX(-50%); }
.stories .story-img { aspect-ratio: 1 / 1; }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.story:hover .story-img img { transform: scale(1.05); }
.story-tall .story-img { aspect-ratio: 1 / 1.08; }
.story-body { padding: 16px 2px 0; }
.story-body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; margin-bottom: 6px; }
.story-body p { color: var(--muted); font-size: .94rem; margin-bottom: 10px; }
.section-ink .story-body p { color: #b8c2cf; }
.more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: .88rem; }
.story:hover .more svg { transform: translateX(3px); }
.more svg { transition: transform .2s var(--ease); }
.stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px 24px; }
@media (max-width: 600px) { .stories { grid-template-columns: 1fr; gap: 28px; } }

/* História + curiosidades */
.editorial { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.editorial-main { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background:
  radial-gradient(circle at 100% 0%, rgba(201,151,60,.18), transparent 50%), var(--card); border: 1px solid var(--line); }
.editorial-main .display { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 400; }
.editorial-main .lead { margin-bottom: 26px; }
.editorial-main .badge-inline { display: table; margin: -8px 0 20px; }
.facts { list-style: none; margin: 0 0 20px; padding: 0; }
.facts li { border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts a { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 20px 0; text-decoration: none; color: var(--ink); }
.facts .num { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--clay); line-height: 1; }
.facts strong { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; }
.facts small { display: block; color: var(--muted); font-size: .9rem; margin-top: 4px; }
.facts a:hover strong { color: var(--clay); }
@media (max-width: 860px) { .editorial { grid-template-columns: 1fr; } }

/* Chamada para empresas */
.cta { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-lg); background: var(--ink); color: var(--paper); overflow: hidden; }
.cta::before { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(196,85,43,.5), transparent 65%); }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 400; }
.cta p { color: #b8c2cf; margin: 0; max-width: 46ch; }
.ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.ticks svg { color: #f0b597; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; gap: 24px; } .cta .btn { width: 100%; } }

/* ---------- Cabeçalho de página ---------- */
.page-head { padding: clamp(24px, 4vw, 48px) 0 clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0; }
.page-intro { margin: 10px 0 0; font-size: 1rem; }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.page-head-row .search { max-width: 440px; flex: 1 1 320px; }
.page-head-center { text-align: center; border: 0; padding-bottom: 8px; }
.page-head-center .lead { margin: 14px auto 18px; }
.page-head-center .search { margin: 24px auto 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); margin-bottom: 20px; }
.page-head-center .crumbs { justify-content: center; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs i { font-style: normal; opacity: .5; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; margin: 0 0 22px; font-size: .92rem; background: var(--gold-soft); border: 1px solid #eadbb8; color: #5e4714; }
.notice svg { color: #9a6f1f; margin-top: 3px; }
.notice p { margin: 0; }
.empty { text-align: center; padding: 56px 20px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); }
.empty-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper-2); color: var(--clay); margin-bottom: 12px; }
.empty-ico svg { width: 24px; height: 24px; }
.empty p { max-width: 42ch; margin: 0 auto 18px; }

/* ---------- Página do estabelecimento ---------- */
.detail { padding: clamp(18px, 3vw, 32px) 0 clamp(56px, 8vw, 96px); }
.gallery { position: relative; display: grid; gap: 8px; margin-bottom: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); overflow: hidden; height: clamp(260px, 40vw, 460px);
  grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-item { display: block; background: var(--paper-2); overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item:first-child { grid-row: span 2; }
.gallery > .gallery-item:nth-child(n+6) { display: none; }
.gallery[data-count="1"] { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery[data-count="2"] { grid-template-columns: 2fr 1fr; }
.gallery[data-count="2"] .gallery-item:nth-child(2) { grid-row: span 2; }
.gallery[data-count="3"] { grid-template-columns: 2fr 1fr; }
.gallery[data-count="4"] .gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-count { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: .45em .9em; border-radius: 999px; background: rgba(255,253,249,.92); font-size: .82rem; font-weight: 700; pointer-events: none; box-shadow: var(--shadow-sm); }
.gallery-empty { height: clamp(180px, 26vw, 300px); border-radius: var(--r-lg); overflow: hidden; margin-bottom: clamp(24px, 4vw, 40px); }
@media (max-width: 700px) {
  .gallery { display: flex; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; margin: 0 -16px 24px; border-radius: 0; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery-item { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 3; }
  .gallery > .gallery-item:nth-child(n+6) { display: block; }
  .gallery-empty { margin: 0 -16px 24px; border-radius: 0; }
}
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-head { margin-bottom: clamp(18px, 3vw, 28px); }
.detail-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 14px 0 10px; font-weight: 400; letter-spacing: -.025em; }
.detail-addr { display: flex; gap: .45em; align-items: flex-start; color: var(--muted); margin: 0; }
.detail-addr svg { margin-top: 4px; }
.pill { display: inline-flex; align-items: center; gap: .45em; padding: .4em .85em; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-size: .82rem; font-weight: 700; }
.pill svg { color: var(--clay); width: 16px; height: 16px; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.block { padding-top: 30px; }
.block h2 { font-size: 1.5rem; }
.prose { font-size: 1.04rem; color: var(--ink-2); }
.prose p { margin-bottom: 1.1em; }
.detail-side { display: grid; gap: 16px; position: sticky; top: 92px; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.info-card h3 { display: flex; align-items: center; gap: .5em; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.info-card h3 svg { color: var(--clay); }
.hours { font-family: var(--serif); font-size: 1.12rem; line-height: 1.6; margin: 0; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list svg { color: var(--clay); margin-top: 3px; width: 18px; height: 18px; }
.info-list small { display: block; color: var(--muted); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.info-list a { color: var(--ink); font-weight: 600; text-decoration: none; word-break: break-word; }
.info-list a:hover { color: var(--clay); }
.side-note { font-size: .86rem; color: var(--muted); text-align: center; margin: 0; }
.map { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); margin: 12px 0 16px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.75) contrast(1.02); }
.related { margin-top: clamp(48px, 7vw, 88px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
@media (max-width: 900px) { .detail-side { position: static; order: -1; } .detail-side .side-note { display: none; } }

/* Barra fixa de ações (celular) */
.action-bar { display: none; }
@media (max-width: 860px) {
  .quick-actions { display: none; }
  .action-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,253,249,.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
  .action-bar .btn-wa { flex: 1; padding: .9em 1em; font-size: 1rem; }
  .action-bar .btn-icon { width: 50px; height: 50px; padding: 0; background: var(--card); }
}

/* Texto (turismo, história, curiosidades) */
.article-head { text-align: center; padding: 10px 0 clamp(24px, 4vw, 40px); }
.article-head h1 { font-size: clamp(2.2rem, 5.6vw, 3.8rem); font-weight: 400; letter-spacing: -.025em; }
.article-head .lead { margin: 0 auto; }
.article .crumbs { justify-content: center; }
.article .gallery { max-width: 1100px; margin-left: auto; margin-right: auto; }
.prose-article { font-size: clamp(1.06rem, 1.6vw, 1.16rem); line-height: 1.8; }
.prose-article > p:first-child::first-letter { float: left; font-family: var(--serif); font-size: 4.2em; line-height: .85; padding: .06em .1em 0 0; color: var(--clay); }
.share-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding: 20px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); font-weight: 700; }
@media (max-width: 480px) { .share-row { flex-direction: column; text-align: center; } }

/* Para empresas */
.join { padding: clamp(32px, 6vw, 88px) 0; }
.join-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.join h1 { font-weight: 400; letter-spacing: -.025em; }
.join-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 30px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.steps span { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--serif); font-size: 1.15rem; font-style: italic; }
.steps li:nth-child(2) span { background: var(--forest-2); }
.steps li:nth-child(3) span { background: var(--clay); }
.steps li:nth-child(4) span { background: var(--gold); }
.steps h3 { margin-bottom: 2px; }
.steps p { color: var(--muted); margin: 0; font-size: .94rem; }
@media (max-width: 860px) { .join-in { grid-template-columns: 1fr; } }

/* Visualizador de fotos */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(14, 22, 17, .94); display: grid; place-items: center; animation: fade .2s; }
.lightbox img { max-width: 94vw; max-height: 86vh; border-radius: 10px; }
.lightbox button { position: absolute; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 14px; top: calc(50% - 24px); }
.lightbox .lb-next { right: 14px; top: calc(50% - 24px); }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #cfd6cf; font-size: .9rem; }
@keyframes fade { from { opacity: 0; } }

/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Rodapé ---------- */
.footer { position: relative; background: var(--ink); color: #b8c2cf; padding: clamp(32px, 5vw, 56px) 0 0; margin-top: -1px; }
.footer-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 38px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 38ch; margin-bottom: 22px; }
.footer h3 { color: var(--paper); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.footer a:not(.btn) { display: block; color: #b8c2cf; text-decoration: none; padding: 4px 0; }
.footer a:not(.btn):hover { color: var(--paper); }
.footer .footer-bottom a.credit { display: inline; padding: 0; color: var(--paper); font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; padding-bottom: 26px; font-size: .84rem; }
@media (max-width: 760px) { .footer-in { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
