/* Quartzo desenhado · rosa suave e traço orgânico, revisão de 24/10/2026. */
:root {
  --bg: #fffbfb; --surface: #fffdfd; --ink: #392e33; --muted: #74636a;
  --accent: #7c4a5b; --line: #eddbdf; --rose: #f9ebef; --radius: 20px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
h1:focus { outline: none; }
h1, h2, p { margin: 0; }
h1 { font: 400 clamp(38px, 6vw, 58px)/1.07 var(--serif); letter-spacing: -1.8px; overflow-wrap: break-word; }
h1 em { color: var(--accent); font-weight: 400; }
h2 { font: 400 25px/1.25 var(--serif); }
.shell { max-width: 1080px; margin: auto; padding: 0 48px; padding-bottom: env(safe-area-inset-bottom); }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 27px 0 22px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 15px; letter-spacing: 3px; font-weight: 500; }
.brand img { width: 38px; height: 44px; }
.brand small { display: block; font-size: 9px; letter-spacing: 2.7px; }
.guest-label { color: var(--muted); font-size: 10px; letter-spacing: 1.8px; }
.eyebrow { color: var(--accent); font-size: 10px; letter-spacing: 2px; font-weight: 650; margin-bottom: 18px; }
.page-heading > p:last-child { color: var(--muted); margin-top: 20px; font-size: 15px; max-width: 360px; }

.icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; color: var(--accent); }
.icon svg { width: 37px; height: 37px; stroke-width: 1.8; }
.arrow { flex: none; font-size: 23px; font-weight: 400; transition: transform .2s; }
footer { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); border-top: 1px solid var(--line); padding: 22px 0 28px; margin-top: 36px; font-size: 10px; letter-spacing: 1px; }
footer span:first-child { font: italic 17px var(--serif); letter-spacing: 0; }
#app:not(:has(.stone-home)) { max-width: 660px; margin: 0 auto; padding-top: 18px; }
.back { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; font-size: 13px; color: var(--accent); }
.back span { font-size: 23px; }
.page-heading { padding: 24px 0; }
.page-heading .icon { margin-bottom: 22px; width: 64px; height: 64px; background: var(--rose); border-radius: 25% 35% 24% 32%; }
.muted { color: var(--muted); font-size: 12px; }
.place-list { display: grid; gap: 12px; }
#results-count { margin: 16px 0; }
.place-row { display: flex; gap: 16px; align-items: center; text-decoration: none; border: 1px solid var(--line); border-radius: 6px 22px 8px 20px; background: var(--surface); padding: 18px 20px; min-height: 94px; transition: background .2s; }
.place-row:hover { background: #fcf0f3; }
.place-row > span:nth-child(2) { min-width: 0; }
.place-row strong { display: block; font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.place-row small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.place-row .place-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; }
.place-distance { font-size: 11px; white-space: nowrap; color: var(--accent); }
.distance-source { margin-top: 20px; color: var(--muted); font-size: 11px; }
.place-row .arrow { margin-left: auto; }
.empty { padding: 36px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.empty p { color: var(--muted); margin-top: 12px; font-size: 14px; }
.detail-art { position: relative; isolation: isolate; overflow: hidden; margin: 20px 0 28px; border-radius: 24px 42px 28px 38px; background: #fcf0f3; min-height: 210px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; padding: 24px; color: var(--accent); }
.detail-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/quartzo-desenhado.svg") right center / auto 150% no-repeat; opacity: .5; }
.detail-art svg { width: 90px; height: 90px; stroke-width: 1.5; }
.detail-art span { font-size: 12px; background: var(--surface); color: var(--ink); padding: 3px 12px; border-radius: 12px; }
.detail-copy .description { margin: 22px 0; font-size: 17px; }
.secondary { border: 1px solid #bba9ad; border-radius: 30px; padding: 10px 18px; min-height: 48px; background: var(--surface); color: var(--ink); cursor: pointer; }
.directions { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.directions iframe { width: 100%; height: 300px; border: 1px solid var(--line); border-radius: var(--radius); background: #fdf3f5; }
.primary { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 17px 20px; border-radius: 8px 18px 8px 18px; background: var(--accent); color: white; text-decoration: none; font-weight: 600; font-size: 14px; min-height: 54px; }
.primary:hover { background: #653b4b; }
.directions > p:last-child { margin-top: 12px; }
.map-container { margin: 18px 0 12px; }
.map-container .secondary { width: 100%; font-size: 14px; }
.map-container iframe { display: block; }
.learn-more { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 20px; font-size: 14px; color: var(--accent); }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px; background: white; z-index: 10; clip-path: inset(50%); }
.skip-link:focus { clip-path: none; }
@media (max-width: 700px) {
  .shell { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .site-header { padding: 12px 0; }
  .brand { font-size: 12px; letter-spacing: 2.4px; gap: 9px; min-height: 44px; }
  .brand small { font-size: 8px; letter-spacing: 2px; }
  .brand img { width: 31px; height: 37px; }
  .guest-label { font-size: 8px; letter-spacing: 1px; max-width: 65px; text-align: right; }
  .eyebrow { font-size: 10px; letter-spacing: 1.2px; margin-bottom: 12px; }
  .icon svg { width: 33px; height: 33px; }
  .icon { width: 38px; height: 38px; }
  footer { margin-top: 18px; padding: 18px 0; font-size: 9px; align-items: center; }
  footer span:first-child { font-size: 15px; }
  .place-row { gap: 12px; padding: 16px 14px; }
  .detail-art { min-height: 144px; margin: 12px 0 20px; padding: 18px; }
  .detail-art svg { width: 66px; height: 66px; }
  .page-heading { padding: 14px 0 20px; }
  .page-heading .icon { width: 48px; height: 48px; margin-bottom: 14px; }
  .back { font-size: 15px; }
}
@media (max-width: 380px) {
  .shell { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
}
/* A mesma ilustração da abertura, na vertical, com cinco gomos interativos. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.stone-home { width: 100%; max-width: 400px; margin: 8px auto 0; }
.categories { width: 100%; }
.stone-menu { display: block; width: 100%; height: auto; overflow: visible; }
.quartz-picture, .peripheral-stones { pointer-events: none; }
.peripheral-stones { fill: #fcf0f3; stroke: #bd909e; stroke-width: .85; stroke-linecap: round; stroke-linejoin: round; }
.peripheral-veins { fill: none; stroke: #cda9b5; stroke-width: .65; }
.category { --stone: #fcf0f3; color: var(--accent); cursor: pointer; }
.category[data-category="restaurantes"] { --stone: #fdf4f5; }
.category[data-category="mercados"] { --stone: #faebf0; }
.category[data-category="farmacia"] { --stone: #fdf3f5; }
.category[data-category="estacionamento"] { --stone: #f8e7ed; }
.stone-hit { fill: transparent; stroke: transparent; stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: fill .15s; }
.stone-label { pointer-events: none; }
.stone-label text { font: 500 15.8px var(--font); fill: var(--ink); stroke: var(--stone); stroke-width: 4; paint-order: stroke fill; stroke-linejoin: round; }
.stone-label svg { stroke-width: 2; }
.category:focus-visible .stone-hit { stroke: var(--accent); stroke-width: 2.5; }
.category:active .stone-hit { fill: #c987a42b; }
.home-note { margin: 10px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
/* Parede inicial sem frestas; o menu mantém sua geometria durante a abertura. */
.intro-pending body { background: #f8e7ed; }
.intro-pending .shell { visibility: hidden; }
.intro-playing body { overflow: hidden; }
.intro-playing .quartz-picture { opacity: var(--intro-art, 0); }
.intro-playing .stone-label,
.intro-playing .quartz-picture > g,
.intro-playing .peripheral-stones,
.intro-playing .site-header,
.intro-playing footer,
.intro-playing .home-note { opacity: var(--intro-copy, 0); }
.intro-playing .stone-label { transform: translateY(calc((1 - var(--intro-copy, 0)) * 7px)); }
.quartz-opening { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 20; overflow: hidden; touch-action: none; }
.opening-stone { stroke: #bd909e; stroke-width: 1; stroke-linejoin: round; }
.opening-vein { fill: none; stroke: #cda9b5; stroke-width: .8; opacity: .65; }
.opening-pencil { fill: none; stroke: #cda9b5; stroke-width: .7; opacity: .55; }
@media (hover: hover) and (pointer: fine) {
  .category:hover .stone-hit { fill: #c987a41a; stroke: #a97988; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .quartz-opening { display: none; }
}
