:root {
  --paper: #FBF7F0;
  --sand: #F3EADA;
  --sand-2: #E7DAC2;
  --ink: #0B2B3C;
  --ink-2: #2A4556;
  --muted: #5E6E79;
  --sea: #0f5e73;
  --lagoon: #1A9DB0;
  --sun: #F26A3D;
  --mango: #F5B841;
  --leaf: #2E7D5B;
  --line: rgba(11, 43, 60, 0.12);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(11, 43, 60, .06), 0 12px 32px -12px rgba(11, 43, 60, .25);
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -0.03em; margin: 0; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 700; }
.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 14px 22px; border-radius: 999px; border: 0;
  font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-sun { background: var(--sun); color: #fff; box-shadow: 0 10px 24px -10px var(--sun); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-wa { background: #1f9d55; color: #fff; }
.btn-light { background: var(--paper); color: var(--ink); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 12px var(--gutter) auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  background: rgba(251, 247, 239, .78); backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.nav-links { display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--sun); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px;
  padding: 120px var(--gutter) 60px;
  max-width: 1320px; margin: 0 auto;
}
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--sea); margin: 0 0 22px; letter-spacing: .01em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(47, 143, 91, .18); }
.hero h1 { font-size: clamp(2.8rem, 7.4vw, 6.2rem); font-weight: 800; }
.hl {
  background: linear-gradient(100deg, var(--sun) 10%, #ff9a3d 55%, var(--mango));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 36em; margin: 26px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 44px 0 0; }
.stats div { min-width: 90px; }
.stats dt { font: 700 2rem/1 var(--display); letter-spacing: -.03em; display: flex; align-items: center; gap: 6px; }
.stats dt .i { color: var(--mango); width: .8em; height: .8em; }
.stats dd { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }

/* deck de fotos */
.deck { position: relative; aspect-ratio: 4 / 5; width: min(100%, 520px); justify-self: center; cursor: pointer; perspective: 1400px; }
.card-photo {
  position: absolute; inset: 0; border-radius: 28px; overflow: hidden; background: var(--sand);
  box-shadow: 0 30px 60px -28px rgba(11, 43, 60, .55);
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .5s;
  will-change: transform;
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-photo figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(251, 247, 239, .9); backdrop-filter: blur(8px);
  font-size: 14px;
}
.card-photo figcaption b { font: 700 17px/1.1 var(--display); display: block; }
.card-photo figcaption span { color: var(--muted); font-size: 13px; }
.card-photo .rate { display: inline-flex; gap: 4px; align-items: center; font-weight: 600; color: var(--ink); }
.card-photo .rate .i { color: var(--sun); }
.deck-hint { position: absolute; top: -34px; right: 6px; font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; min-height: auto; }
  .deck { width: min(100%, 420px); margin-top: 30px; }
}

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: 30px -10px; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: slide 40s linear infinite; font: 600 clamp(1.1rem, 2vw, 1.5rem)/1 var(--display); white-space: nowrap; }
.marquee-track span { display: inline-flex; align-items: center; gap: 40px; }
.marquee-track span::after { content: '✺'; color: var(--mango); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
section { padding: clamp(70px, 10vw, 130px) var(--gutter); }
.sec-head { max-width: 1240px; margin: 0 auto 44px; }
.eyebrow { font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--sun); margin: 0 0 16px; }
.eyebrow.light { color: var(--mango); }

/* ---------- bairros ---------- */
.bairros-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.bairro-tabs { display: grid; gap: 16px; }
.bairro-tab {
  text-align: left; border: 0; cursor: pointer; font: inherit; color: inherit;
  padding: 26px 26px 24px; border-radius: var(--radius); background: var(--sand);
  display: grid; gap: 10px; position: relative; overflow: hidden;
  transition: background .3s, color .3s, transform .3s;
}
.bairro-tab:hover { transform: translateY(-2px); }
.bairro-tab h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.bairro-tab .frase { font: 600 15px/1.3 var(--body); color: var(--sea); }
.bairro-tab p { margin: 0; color: var(--ink-2); font-size: 15px; }
.bairro-tab ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 6px 0 0; }
.bairro-tab li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .6); }
.bairro-tab .count { position: absolute; top: 22px; right: 24px; font: 700 14px/1 var(--display); color: var(--muted); }
.bairro-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.bairro-tab[aria-selected="true"] p, .bairro-tab[aria-selected="true"] .count { color: rgba(251, 247, 239, .75); }
.bairro-tab[aria-selected="true"] .frase { color: var(--mango); }
.bairro-tab[aria-selected="true"] li { background: rgba(255, 255, 255, .1); }
.map-wrap { isolation: isolate; z-index: 0; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; background: var(--sand); box-shadow: 0 0 0 1px var(--line); }
#map { position: absolute; inset: 0; }
.map-note { position: absolute; left: 12px; bottom: 12px; z-index: 500; margin: 0; font-size: 12px; padding: 6px 10px; border-radius: 10px; background: rgba(251, 247, 239, .92); color: var(--muted); }
.pin {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 7px 12px 7px 7px; border-radius: 999px; background: var(--paper);
  font: 600 13px/1 var(--body); color: var(--ink); box-shadow: var(--shadow);
  transform: translate(-14px, -50%); transition: transform .2s, background .2s;
}
.pin img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.pin:hover, .pin.on { background: var(--ink); color: var(--paper); transform: translate(-14px, -50%) scale(1.06); }
.leaflet-div-icon { background: none; border: 0; }
@media (max-width: 900px) {
  .bairros-grid { grid-template-columns: 1fr; }
  .map-wrap { min-height: 360px; }
}

/* ---------- match ---------- */
.match {
  max-width: 1240px; margin: 0 auto 30px;
  display: flex; flex-wrap: wrap; gap: 18px 34px; align-items: center;
  padding: 18px 22px; border-radius: var(--radius); background: var(--sand);
  position: sticky; top: 84px; z-index: 20;
}
.match-field { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.match-label { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.stepper { display: inline-flex; align-items: center; background: var(--paper); border-radius: 999px; padding: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: var(--sand); }
.stepper output { min-width: 30px; text-align: center; font: 700 18px/1 var(--display); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 500; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); user-select: none; transition: background .2s, color .2s; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip:has(input:focus-visible) { outline: 2px solid var(--sun); outline-offset: 2px; }
@media (max-width: 700px) { .match { position: static; } }

/* ---------- grid de casas ---------- */
.grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 26px; }
.house { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; cursor: pointer; transition: transform .35s, box-shadow .35s, opacity .35s; }
.house:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.house.dim { opacity: .45; }
.house-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.house-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform 1.2s; }
.house:hover .house-media img.on { transform: scale(1.04); }
.house-media img:not(.on) { opacity: 0; }
.house-bars { position: absolute; top: 10px; left: 12px; right: 12px; display: flex; gap: 4px; z-index: 2; }
.house-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .45); }
.house-bars i.on { background: #fff; }
.match-badge { position: absolute; top: 22px; right: 12px; z-index: 2; padding: 6px 10px; border-radius: 999px; font: 700 13px/1 var(--body); background: var(--mango); color: var(--ink); }
.match-badge.no { background: rgba(11, 43, 60, .75); color: #fff; font-weight: 500; }
.bairro-badge { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 6px 10px; border-radius: 999px; font: 600 12px/1 var(--body); background: rgba(251, 247, 239, .92); }
.house-body { padding: 18px 20px 20px; display: grid; gap: 10px; }
.house-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.house h3 { font-size: 1.6rem; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.rating .i { color: var(--sun); }
.rating small { color: var(--muted); font-weight: 400; }
.house .sub { margin: 0; color: var(--ink-2); font-size: 15px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13.5px; color: var(--muted); }
.facts span { display: inline-flex; align-items: center; gap: 5px; }
.why { display: flex; flex-wrap: wrap; gap: 6px; }
.why span { font-size: 12.5px; padding: 4px 9px; border-radius: 8px; background: var(--sand); }
.why span.ok { background: #dff3e7; color: #1c6b40; }
.why span.bad { background: #fde4dc; color: #a33a17; }

/* ---------- app ---------- */
.app-sec {
  background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center;
  border-radius: 40px; margin: 0 clamp(8px, 2vw, 24px);
  padding-left: clamp(24px, 7vw, 100px); padding-right: clamp(24px, 7vw, 100px);
  position: relative; overflow: hidden;
}
.app-sec::before { content: ''; position: absolute; width: 700px; height: 700px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(23, 163, 181, .35), transparent 60%); pointer-events: none; }
.app-copy { position: relative; max-width: 560px; }
.app-copy > p { color: rgba(251, 247, 239, .78); font-size: 1.1rem; }
.hl-light { color: var(--mango); }
.feat { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.feat li { display: flex; gap: 14px; align-items: flex-start; }
.feat .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--mango); flex: none; }
.feat b { display: block; font-weight: 600; }
.feat span { color: rgba(251, 247, 239, .7); font-size: 14.5px; }
.app-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.app-switch button { border: 0; cursor: pointer; padding: 9px 14px; border-radius: 999px; font: 500 14px/1 var(--body); background: rgba(255, 255, 255, .08); color: var(--paper); }
.app-switch button[aria-selected="true"] { background: var(--mango); color: var(--ink); }
.phone { position: relative; width: 340px; height: 700px; border-radius: 54px; padding: 12px; background: #050d16; box-shadow: 0 0 0 2px #2b3d50, 0 40px 80px -30px #000; }
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 42px; background: var(--paper); }
.phone-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 100px; height: 28px; border-radius: 20px; background: #050d16; z-index: 2; }
@media (max-width: 960px) {
  .app-sec { grid-template-columns: 1fr; justify-items: center; }
  .phone { width: min(340px, 100%); height: 660px; }
}

/* ---------- quem ---------- */
.quem { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.quem-card p { color: var(--ink-2); font-size: 1.08rem; max-width: 34em; }
.quem-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.quem-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.quem-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; }
.quem-photos img:nth-child(2) { transform: translateY(30px); }
@media (max-width: 860px) { .quem { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { padding: 40px var(--gutter) 50px; max-width: 1240px; margin: 40px auto 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.foot-brand p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14.5px; }
.foot-links a { text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.foot-links a:hover { color: var(--sun); }
.foot-fluvi { width: 100%; margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.foot-fluvi a { color: #004b63; font-weight: 600; }

/* ---------- sheet (detalhe da casa) ---------- */
.sheet { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: flex-end; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(11, 43, 60, .5); animation: fade .3s; }
.sheet-body {
  position: relative; width: min(860px, 100%); height: 100%; overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); animation: slidein .45s cubic-bezier(.2, .8, .2, 1);
}
@keyframes fade { from { opacity: 0; } }
@keyframes slidein { from { transform: translateX(100%); } }
.sheet-close { position: sticky; top: 14px; float: right; margin: 14px 14px -60px 0; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 6px; scrollbar-width: thin; }
.gallery figure { margin: 0; flex: 0 0 82%; scroll-snap-align: start; position: relative; cursor: zoom-in; }
.gallery figure:first-child { flex-basis: 100%; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; max-height: 62vh; object-fit: cover; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 12.5px; font-weight: 500; padding: 5px 10px; border-radius: 8px; background: rgba(251, 247, 239, .9); }
.gal-count { padding: 8px var(--gutter) 0; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; }
.sheet-content { padding: 26px clamp(20px, 5vw, 48px) 120px; display: grid; gap: 30px; }
.sheet-content h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.sheet-content .tipo { color: var(--sea); font-weight: 600; font-size: 14px; margin: 0 0 10px; }
.sheet-content .lead2 { font-size: 1.1rem; color: var(--ink-2); margin: 14px 0 0; }
.big-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.big-facts div { background: var(--sand); border-radius: 16px; padding: 14px; }
.big-facts b { display: block; font: 700 1.6rem/1 var(--display); }
.big-facts span { font-size: 13px; color: var(--muted); }
.sheet-content h4 { margin: 0 0 12px; font: 700 1.25rem/1.2 var(--display); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list span { padding: 8px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.rule-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.rule-list div { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; align-items: center; }
.rule-list .i { color: var(--sun); width: 22px; height: 22px; }
.beds { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.beds li { display: flex; gap: 10px; align-items: center; }
.sheet-cta { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 14px clamp(20px, 5vw, 48px); background: rgba(251, 247, 239, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.sheet-cta .rating { font-size: 15px; }
.sheet-cta div { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 600px) { .big-facts { grid-template-columns: repeat(2, 1fr); } .gallery figure { flex-basis: 92%; } }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 13, 22, .95); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; }
.lightbox img { max-height: 82vh; max-width: 92vw; border-radius: 12px; }
.lightbox figcaption { color: #cfd8e0; text-align: center; margin-top: 12px; font-size: 14px; }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; cursor: pointer; line-height: 1; }
.lb-close { top: 18px; right: 18px; }
.lb-nav.prev { left: 14px; } .lb-nav.next { right: 14px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* tons do mapa puxados para a paleta da marca */
#map .leaflet-tile-pane { filter: saturate(.55) sepia(.18) contrast(.95) brightness(1.03); }
.pin .pin-name { max-width: 0; overflow: hidden; transition: max-width .35s ease; }
.pin { padding: 5px; gap: 0; }
.pin.on, .pin:hover { padding-right: 12px; gap: 6px; }
.pin.on .pin-name, .pin:hover .pin-name { max-width: 140px; }
@media (max-width: 520px) {
  .stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 26px; }
  .stats div { min-width: 0; }
  .stats dt { font-size: 1.6rem; }
}

/* marcas: The House (Barra Velha) e Tropical House (Itaquanduba) */
.marca-chip { justify-self: start; display: inline-flex; align-items: center; gap: 7px; font: 700 13px/1 var(--body); letter-spacing: .04em; text-transform: uppercase; color: var(--c); }
.marca-chip::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.bairro-tab[aria-selected="true"] .marca-chip { color: #fff; }
.bairro-badge { display: inline-flex; align-items: center; gap: 6px; }
.bairro-badge i { width: 8px; height: 8px; border-radius: 50%; }
.brand, .nav .btn { white-space: nowrap; }
@media (max-width: 480px) { .hide-sm { display: none; } .brand { font-size: 18px; } }

/* =====================================================================
   v2 · marca Espaço Houses, idiomas e novas seções
   ===================================================================== */
.brand { font-size: 15px; }
.nav { padding: 8px 8px 8px 14px; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav .btn .i { width: 1.2em; height: 1.2em; }

/* seletor de idioma */
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--sand); gap: 2px; }
.lang button { border: 0; background: none; cursor: pointer; padding: 6px 9px; border-radius: 999px; font: 600 12px/1 var(--body); color: var(--muted); letter-spacing: .04em; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.lang button:hover:not([aria-pressed="true"]) { color: var(--ink); }

/* hero: fundo com o sol e a onda da marca */
.hero { position: relative; }
.hero::before {
  content: ''; position: absolute; z-index: -1; right: -10vw; top: 8vh; width: 46vw; max-width: 640px; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, rgba(245, 184, 65, .32), rgba(245, 184, 65, 0) 62%);
}
.hl { background: linear-gradient(100deg, var(--sun) 10%, #F58A3D 55%, var(--mango)); -webkit-background-clip: text; background-clip: text; }
.card-brand { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px; background: rgba(251, 247, 240, .92); font: 700 12.5px/1 var(--display); letter-spacing: -.01em; }

/* abas das marcas */
.bairro-tab { padding-top: 22px; --c: var(--sun); }
.tab-logo { display: block; margin-bottom: 2px; }
.bairro-tab h3 { color: var(--ink); }
.bairro-tab .marca-chip { color: var(--c); }
.bairro-tab .marca-chip::before { background: var(--c); }
.tab-ig { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--c); margin-top: 4px; }
.bairro-tab[aria-selected="true"] { background: var(--c); }
.bairro-tab[aria-selected="true"] h3, .bairro-tab[aria-selected="true"] .tab-ig { color: #fff; }
.bairro-tab[aria-selected="true"] .frase { color: #fff; opacity: .9; }
.bairro-tab[aria-selected="true"] .marca-chip { color: #fff; }
.bairro-tab[aria-selected="true"] .marca-chip::before { background: #fff; }
.pin { box-shadow: 0 0 0 2px var(--c), var(--shadow); }
.pin:hover, .pin.on { background: var(--c); color: #fff; }

/* cards */
.chip-dot { width: 9px; height: 9px; border-radius: 50%; }
.bairro-badge .eh-mark { margin: -2px 0 -2px -4px; }
.house { border-top: 0; }
.house::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c); opacity: 0; transition: opacity .3s; }
.house:hover::after { opacity: 1; }

/* como funciona */
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 26px 22px 24px; box-shadow: 0 0 0 1px var(--line); }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 46px; right: -17px; width: 18px; height: 2px; background: var(--sand-2); }
.step-n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--ink); color: var(--paper); font: 800 18px/1 var(--display); margin-bottom: 16px; }
.steps li:nth-child(2) .step-n { background: var(--sun); }
.steps li:nth-child(3) .step-n { background: var(--lagoon); }
.steps li:nth-child(4) .step-n { background: var(--leaf); }
.steps b { display: block; font: 700 1.25rem/1.15 var(--display); letter-spacing: -.02em; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps li::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* app */
.app-switch button { --c: var(--mango); }
.app-switch button[aria-selected="true"] { background: var(--c); color: #fff; }

/* faq */
.faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: 0 0 0 1.5px var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font: 700 1.12rem/1.3 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--sand); flex: none; }
.plus::before, .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 62em; }

/* detalhe */
.sheet-content .tipo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: var(--muted); }
.sheet-content .tipo .eh-logo { font-size: 13px; }

/* rodapé */
.foot { display: grid; gap: 26px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.foot-marcas { display: flex; flex-wrap: wrap; gap: 14px; }
.foot-marca { display: grid; gap: 8px; padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); text-decoration: none; font-size: 14px; }
.foot-marca small { color: var(--muted); font-size: 13px; }
.foot-marca:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); }
.foot-fluvi { margin: 0; }

/* barra fixa no celular */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    padding: 8px; border-radius: 999px; background: rgba(251, 247, 240, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 0 1px var(--line), var(--shadow);
    transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  }
  .mobile-cta.on { transform: none; }
  .mobile-cta .btn { justify-content: center; padding: 12px; }
  .foot { padding-bottom: 100px; }
  .nav .lang button { padding: 6px 7px; font-size: 11px; }
}
@media (max-width: 400px) { .nav .eh-word small { display: none; } }
@media (max-width: 560px) {
  .nav #nav-wa { display: none; }
  .nav { inset: 10px 10px auto; padding: 6px 6px 6px 12px; }
  .nav .eh-word small { display: none; }
  .brand { font-size: 14px; min-width: 0; }
}
/* o brilho do sol no hero sai da tela de propósito: não deixa a página rolar para o lado */
html { overflow-x: clip; }
main { overflow-x: clip; }
/* logos das marcas dentro dos cards de foto: não herdam o tamanho das fotos */
.card-photo img.eh-avatar, .house-media img.eh-avatar { position: static; inset: auto; width: 22px; height: 22px; opacity: 1; transform: none; flex: none; }
.house-media img.eh-avatar { width: 18px; height: 18px; }
.bairro-badge .eh-avatar { margin: -2px 0 -2px -4px; }
.tab-logo .eh-avatar { box-shadow: 0 0 0 2px rgba(255, 255, 255, .8); }

/* ---------- avaliações ---------- */
.btn-wa-soft { background: #e3f4ea; color: #157a40; }
.dep { padding-left: 0; padding-right: 0; }
.dep-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 0 var(--gutter); }
.dep-nav { display: flex; gap: 8px; }
.dep-nav button { width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: var(--sand); color: var(--ink); font-size: 24px; line-height: 1; transition: background .2s, color .2s; }
.dep-nav button:hover { background: var(--ink); color: var(--paper); }
.dep-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px max(var(--gutter), calc((100vw - 1240px) / 2)) 20px;
  scroll-padding-left: max(var(--gutter), calc((100vw - 1240px) / 2));
}
.dep-track::-webkit-scrollbar { display: none; }
.dep-card {
  flex: 0 0 min(380px, 84vw); scroll-snap-align: start; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px; border-radius: var(--radius); background: #fff;
  box-shadow: 0 0 0 1px var(--line); position: relative; overflow: hidden;
}
.dep-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.dep-stars { display: flex; gap: 2px; color: #F5B841; }
.dep-stars .i { width: 17px; height: 17px; }
.dep-card blockquote { margin: 0; font: 500 1.05rem/1.55 var(--body); color: var(--ink); flex: 1; }
.dep-card blockquote::before { content: '“'; font: 800 2.6rem/0 var(--display); color: var(--c); vertical-align: -.42em; margin-right: 4px; }
.dep-trad { color: var(--muted); font-size: 12px; margin-top: -6px; }
.dep-card figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.dep-card figcaption b { display: block; font-weight: 600; }
.dep-card figcaption span span { color: var(--muted); font-size: 13px; }
.dep-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font: 700 16px/1 var(--display); flex: none; }
.dep-casa { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; border: 0; cursor: pointer; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--sand); font: 600 12.5px/1 var(--body); color: var(--ink); white-space: nowrap; }
.dep-casa img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.dep-casa:hover { background: var(--ink); color: var(--paper); }
.dep-mini { display: grid; gap: 10px; }
.dep-card.mini { flex: none; padding: 18px 18px 16px 22px; gap: 10px; }
.dep-card.mini blockquote { font-size: .98rem; }
@media (max-width: 600px) { .dep-nav { display: none; } }

/* =====================================================================
   v3 · celular primeiro
   ===================================================================== */
.app-open, .app-switch-label { display: none; }
@media (max-width: 900px) {
  /* hero: foto primeiro, texto depois */
  .hero { padding-top: 92px; gap: 0; }
  .deck { order: -1; width: min(80vw, 340px); margin: 4px auto 40px; }
  .deck-hint { top: auto; bottom: -30px; right: 50%; transform: translateX(50%); white-space: nowrap; }
}
@media (max-width: 700px) {
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .lead { margin: 18px 0 22px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .stats { margin-top: 30px; }
  section { padding-top: 64px; padding-bottom: 64px; }
  .sec-head { margin-bottom: 28px; }
  h2 { font-size: clamp(1.8rem, 8.4vw, 2.4rem); }
  /* filtros das casas em linha que rola de lado, sem quebrar em várias linhas */
  .match { gap: 14px; padding: 16px; }
  .match-field { width: 100%; flex-wrap: nowrap; }
  .match-field .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .match-field .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
  .match-label { white-space: nowrap; }
  /* seção do app: botão em vez do celular de exemplo */
  .phone { display: none; }
  .app-sec { border-radius: 28px; margin: 0 8px; padding: 56px 22px; }
  .app-open { display: inline-flex; width: 100%; justify-content: center; margin-bottom: 18px; }
  .app-switch-label { display: block; margin: 0 0 10px; font-size: 14px; color: rgba(251, 247, 240, .7); }
  .map-wrap { min-height: 320px; }
  .mobile-cta { transform: none; }
  .quem-photos img:nth-child(2) { transform: translateY(16px); }
  .foot-marcas { width: 100%; }
  .foot-marca { flex: 1 1 100%; }
  .faq details { padding: 0 16px; }
  .faq summary { font-size: 1.02rem; }
  .sheet-cta { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .sheet-cta .rating { display: none; }
  .sheet-cta > div { width: 100%; display: grid; grid-template-columns: 1fr 1.4fr; }
  .sheet-cta .btn { justify-content: center; padding: 14px 10px; }
  .sheet-close { width: 40px; height: 40px; }
  .gallery figure { flex-basis: 88%; }
  .gallery figure:first-child { flex-basis: 100%; }
}
/* toque: sem efeito de "levantar" que fica preso depois do toque */
@media (hover: none) {
  .house:hover, .btn:hover, .bairro-tab:hover { transform: none; }
}

/* =====================================================================
   v4 · seção do guia: clara, com a plaquinha de QR e o celular
   ===================================================================== */
.app-sec { background: var(--sand); color: var(--ink); }
.app-sec::before { background: radial-gradient(circle, rgba(245, 184, 65, .35), transparent 60%); }
.app-copy > p { color: var(--ink-2); }
.feat .ic { background: #fff; color: var(--sun); box-shadow: 0 0 0 1px var(--line); }
.feat span { color: var(--ink-2); }
.app-switch-label { color: var(--muted) !important; }
.app-switch button { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.app-switch button[aria-selected="true"] { background: var(--c); color: #fff; box-shadow: none; }

.guide-visual { position: relative; display: flex; align-items: center; gap: 0; }
.mini-plate {
  --c: #1E6599;
  width: 230px; flex: none; z-index: 2; margin-right: -40px; transform: rotate(-4deg);
  background: #fff; border-radius: 18px; padding: 22px 18px 18px; position: relative; overflow: hidden;
  display: grid; justify-items: center; text-align: center; gap: 6px;
  box-shadow: 0 30px 60px -28px rgba(11, 43, 60, .55), 0 0 0 1px var(--line);
}
.mini-plate::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--c); }
.mini-plate::after { content: ''; position: absolute; top: -6px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #c9c2b4; box-shadow: inset 0 2px 3px rgba(0, 0, 0, .25); }
.mini-plate .eh-logo { font-size: 12px; margin-top: 4px; }
.mp-house { font: 800 1.6rem/1 var(--display); letter-spacing: -.03em; margin-top: 6px; }
.mp-kind { font: 600 12px/1 var(--body); color: var(--c); text-transform: uppercase; letter-spacing: .1em; }
.mp-qr { width: 150px; height: 150px; margin: 8px 0 2px; padding: 8px; border-radius: 14px; box-shadow: 0 0 0 3px var(--c); }
.mp-qr svg { width: 100%; height: 100%; display: block; }
.mp-scan { font: 600 13px/1.2 var(--body); }
.gv-arrow { position: absolute; z-index: 3; width: 90px; left: 168px; top: -10px; color: var(--sun); }
.guide-visual .phone { z-index: 1; }
@media (max-width: 1100px) { .mini-plate { width: 200px; margin-right: -60px; } .mp-qr { width: 128px; height: 128px; } }
@media (max-width: 960px) { .guide-visual { justify-content: center; } }
@media (max-width: 700px) {
  .app-sec { padding: 52px 18px; }
  .guide-visual { order: -1; margin-bottom: 8px; }
  .mini-plate { margin: 10px auto 0; transform: rotate(-2deg); width: min(240px, 72vw); }
  .gv-arrow { display: none; }
}
/* equilíbrio texto x imagem */
.app-sec { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; }
.app-copy { max-width: 520px; }
.guide-visual .phone { width: 300px; height: 620px; }
.mini-plate { width: 210px; margin-right: -46px; }
.mp-qr { width: 136px; height: 136px; }
.gv-arrow { left: 150px; top: 40px; }
@media (max-width: 1150px) {
  .guide-visual .phone, .gv-arrow { display: none; }
  .mini-plate { width: 260px; margin: 0; transform: rotate(-3deg); }
  .mp-qr { width: 170px; height: 170px; }
  .app-open, .app-switch-label { display: inline-flex; }
  .app-switch-label { display: block; margin: 0 0 10px; font-size: 14px; }
  .app-open { width: auto; margin-bottom: 18px; }
}
@media (max-width: 700px) { .mini-plate { width: min(240px, 72vw); } .mp-qr { width: 150px; height: 150px; } .app-open { width: 100%; justify-content: center; } }
/* o h1 (para o Google) é a linha pequena; o título grande continua igual */
h1.kicker { font: 600 14px/1.3 var(--body); letter-spacing: .01em; }
.hero-title { margin: 0; font: 800 clamp(2.8rem, 7.4vw, 6.2rem)/1.02 var(--display); letter-spacing: -0.03em; }
@media (max-width: 700px) { .hero-title { font-size: clamp(2.4rem, 11vw, 3.2rem); } }

/* =====================================================================
   v5 · movimento ao rolar (js/motion.js) e barra de rolagem da marca
   ===================================================================== */
/* barra de progresso no topo */
.scroll-progress { position: fixed; z-index: 120; top: 0; left: 0; right: 0; height: 3px; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--sun), #F58A3D 60%, var(--mango)); pointer-events: none; }

/* títulos subindo palavra por palavra */
.split .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .wi { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 45ms); }
.split.in .wi, .in .split .wi { transform: none; }

/* entrada em sequência */
.rise { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0ms); }
.rise.in { opacity: 1; transform: none; }
.house.rise.in:hover { transform: translateY(-4px); }

/* faixa de frases: inclina um pouco com a velocidade da rolagem */
.marquee { transform: rotate(-1.2deg) skewX(var(--skew, 0deg)); transition: transform .3s ease-out; }
.marquee-track { will-change: transform; }

/* avaliações passando sozinhas: sem "imã" enquanto anda */
.dep-track.auto { scroll-snap-type: none; }
.dep-track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
@media (max-width: 700px) { .dep-track { -webkit-mask-image: none; mask-image: none; } }

/* parallax */
.deck, .quem-photos img, .mini-plate { will-change: translate; }

/* barra de rolagem com as cores da marca */
html { scrollbar-width: thin; scrollbar-color: var(--sun) var(--sand); }
::-webkit-scrollbar { width: 12px; height: 10px; }
::-webkit-scrollbar-track { background: var(--sand); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--sun), #F58A3D 60%, var(--mango)); border-radius: 12px; border: 3px solid var(--sand); }
::-webkit-scrollbar-thumb:hover { background: var(--sun); }
::-webkit-scrollbar-corner { background: var(--sand); }
/* faixas horizontais (avaliações, filtros): barra fina escondida */
.dep-track::-webkit-scrollbar, .gallery::-webkit-scrollbar { height: 0; }

@media (prefers-reduced-motion: reduce) {
  .split .wi, .rise { transform: none !important; opacity: 1 !important; }
  .marquee-track { animation: none !important; }
}

/* =====================================================================
   v6 · seletor de casas da seção do guia (agrupado por marca)
   ===================================================================== */
.app-switch-label { display: block !important; margin: 26px 0 10px !important; font: 600 13px/1 var(--body) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) !important; }
.app-switch { display: grid; gap: 10px; }
.sw-group { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px var(--line); }
.sw-brand { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; padding-left: 4px; }
.sw-brand .eh-avatar, .sw-brand .eh-mark { grid-row: span 2; }
.sw-brand b { font: 700 14px/1.1 var(--display); color: var(--c); }
.sw-brand small { font-size: 12px; color: var(--muted); }
.sw-items { display: flex; flex-wrap: wrap; gap: 6px; }
.app-switch .sw-items button {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border: 0; cursor: pointer;
  border-radius: 999px; background: #fff; color: var(--ink); font: 600 14px/1 var(--body);
  box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, color .25s, box-shadow .25s, transform .2s;
}
.app-switch .sw-items button img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.app-switch .sw-items button:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px var(--c); }
.app-switch .sw-items button[aria-selected="true"] { background: var(--c); color: #fff; box-shadow: 0 8px 18px -10px var(--c); }
.app-switch .sw-items button[aria-selected="true"] img { box-shadow: 0 0 0 2px #fff; }
@media (max-width: 520px) {
  .sw-group { grid-template-columns: 1fr; gap: 8px; }
  .sw-items { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -10px; padding-right: 10px; }
  .sw-items::-webkit-scrollbar { display: none; }
  .app-switch .sw-items button { flex: none; }
}
.app-switch .sw-items button { --c: inherit; }
/* marca em cima, casas embaixo: nunca quebra feio */
.sw-group { grid-template-columns: 1fr; gap: 8px; padding: 12px; }
.sw-brand { padding-left: 2px; }
.sw-items { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.sw-items::-webkit-scrollbar { display: none; }
.app-switch .sw-items button { flex: none; }

/* =====================================================================
   v7 · painel "monte sua estadia"
   ===================================================================== */
.match {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "pax wants casa" "res res res";
  gap: 0; padding: 0; align-items: stretch;
  background: #fff; border-radius: 26px; box-shadow: 0 0 0 1px var(--line), 0 22px 44px -30px rgba(11, 43, 60, .45);
  overflow: hidden;
}
.mf { display: grid; align-content: start; gap: 10px; padding: 18px 22px; min-width: 0; }
.mf + .mf { border-left: 1px solid var(--line); }
.mf-pax { grid-area: pax; } .mf-wants { grid-area: wants; } .mf-casa { grid-area: casa; }
.match .match-label { font: 600 11.5px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
/* hóspedes */
.match .stepper { background: var(--sand); box-shadow: none; padding: 5px; }
.match .stepper button { width: 38px; height: 38px; background: #fff; box-shadow: 0 1px 2px rgba(11, 43, 60, .12); font-size: 20px; transition: transform .15s, background .2s; }
.match .stepper button:hover { background: var(--ink); color: #fff; }
.match .stepper button:active { transform: scale(.92); }
.match .stepper output { min-width: 46px; font-size: 22px; }
/* faz questão de */
.match .chips { flex-wrap: wrap; gap: 8px; }
.match .chip { gap: 7px; padding: 8px 14px 8px 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, box-shadow .2s, transform .15s; }
.match .chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.match .chip:active { transform: scale(.97); }
.chip-ic, .chip-ok { display: inline-grid; place-items: center; }
.chip-ic .i { color: var(--sun); width: 18px; height: 18px; }
.chip-ok { display: none; }
.chip-ok .i { width: 16px; height: 16px; }
.match .chip:has(input:checked) { background: var(--ink); color: #fff; box-shadow: none; }
.match .chip:has(input:checked) .chip-ic { display: none; }
.match .chip:has(input:checked) .chip-ok { display: inline-grid; color: var(--mango); }
/* casa: seletor em pílula */
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--sand); width: max-content; }
.seg-op { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; cursor: pointer; font: 600 14px/1 var(--body); color: var(--ink-2); white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s; }
.seg-op input { position: absolute; opacity: 0; pointer-events: none; }
.seg-op .eh-avatar { width: 22px; height: 22px; box-shadow: none; }
.seg-op:has(input:checked) { background: var(--c); color: #fff; box-shadow: 0 6px 14px -8px var(--c); }
.seg-op:has(input:checked) .eh-avatar { box-shadow: 0 0 0 2px #fff; }
.seg-op:has(input:focus-visible) { outline: 2px solid var(--sun); outline-offset: 2px; }
/* resumo */
.mf-result { grid-area: res; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 22px; background: var(--sand); border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.mf-result b { font-weight: 500; }
.mf-result em { font-style: normal; font: 800 1.15rem/1 var(--display); color: var(--sun); margin-right: 2px; }
.match-clear { border: 0; background: none; cursor: pointer; font: 600 14px/1 var(--body); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; padding: 6px 2px; }
.match-clear[hidden] { display: none; }

@media (max-width: 1100px) {
  .match { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "pax casa" "wants wants" "res res"; }
  .mf-casa { border-left: 1px solid var(--line); }
  .mf-wants { border-left: 0 !important; border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .match { grid-template-columns: 1fr; grid-template-areas: "pax" "casa" "wants" "res"; border-radius: 22px; padding: 0; gap: 0; }
  .mf { padding: 14px 16px; border-left: 0 !important; }
  .mf + .mf { border-top: 1px solid var(--line); }
  .mf-pax { display: flex; align-items: center; justify-content: space-between; }
  .mf-casa .seg { width: 100%; }
  .mf-casa .seg-op { flex: 1; justify-content: center; padding: 8px 6px; font-size: 13px; }
  .match .chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .mf-result { padding: 12px 16px; }
}

/* =====================================================================
   v8 · seção "Quem cuida"
   ===================================================================== */
.quem { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.quem-promessas { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.quem-promessas li { display: flex; gap: 14px; align-items: flex-start; }
.qp-ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--sun); flex: none; }
.qp-ic .i { width: 21px; height: 21px; }
.quem-promessas b { display: block; font: 700 1.05rem/1.25 var(--display); }
.quem-promessas span { color: var(--ink-2); font-size: 15px; }
.quem-links { margin-top: 28px; }
.quem-wa {
  display: inline-flex; align-items: center; gap: 14px; padding: 12px 20px 12px 12px; border-radius: 20px; text-decoration: none;
  background: #1f9d55; color: #fff; box-shadow: 0 16px 30px -18px #1f9d55; transition: transform .2s, box-shadow .2s;
}
.quem-wa:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -18px #1f9d55; }
.qw-ic { width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.qw-ic .i { width: 24px; height: 24px; }
.quem-wa b { display: block; font: 700 1.05rem/1.2 var(--display); }
.quem-wa small { font-size: 13.5px; opacity: .85; }
.quem-wa > .i { margin-left: 6px; }
.quem-ig { margin-top: 26px; display: grid; gap: 10px; }
.quem-ig .match-label { font: 600 11.5px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
#quem-ig { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ig-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: #fff; text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; min-width: 0; }
.ig-card:hover { box-shadow: inset 0 0 0 1.5px var(--c); transform: translateY(-2px); }
.ig-card .eh-avatar { width: 40px; height: 40px; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--c); flex: none; }
.ig-ini { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--ink); color: #fff; font: 800 14px/1 var(--display); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.ig-card span { min-width: 0; }
.ig-card b { display: block; font: 700 14px/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-card small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-card > .i { margin-left: auto; color: var(--c); flex: none; }
/* mosaico */
.quem-visual { position: relative; }
.quem-photos { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr 1fr; gap: 12px; height: 520px; }
.quem-photos img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 22px; object-fit: cover; transform: none !important; }
.quem-photos img:nth-child(1) { grid-row: 1 / 3; }
.quem-photos img:nth-child(2) { grid-row: 1 / 2; }
.quem-photos img:nth-child(3) { grid-row: 2 / 4; }
.quem-photos img:nth-child(4) { grid-row: 3 / 4; }
.quem-badge {
  position: absolute; left: -26px; bottom: 34px; display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center;
  padding: 14px 18px; border-radius: 20px; background: #fff; box-shadow: 0 24px 48px -24px rgba(11, 43, 60, .45), 0 0 0 1px var(--line);
}
.qb-stars { grid-column: 1 / -1; display: flex; gap: 2px; color: var(--mango); margin-bottom: 4px; }
.qb-stars .i { width: 15px; height: 15px; }
.quem-badge b { font: 800 2.2rem/1 var(--display); letter-spacing: -.03em; }
.quem-badge span:last-child { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
@media (max-width: 1100px) { #quem-ig { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .quem { grid-template-columns: 1fr; gap: 36px; }
  .quem-visual { order: -1; }
  .quem-photos { height: 380px; }
  .quem-badge { left: 12px; bottom: 12px; padding: 10px 14px; }
  .quem-badge b { font-size: 1.7rem; }
}
@media (max-width: 520px) {
  #quem-ig { grid-template-columns: 1fr; }
  .quem-wa { width: 100%; }
  .quem-photos { height: 300px; gap: 8px; }
  .quem-photos img { border-radius: 16px; }
}
.match { position: relative; top: auto; z-index: 1; margin-bottom: 30px; }
#quem-ig { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important; }
.quem-photos { grid-template-rows: repeat(3, minmax(0, 1fr)); } .quem-photos img { min-height: 0; }

/* =====================================================================
   v9 · parceiros (passeios)
   ===================================================================== */
.parc .sec-head { max-width: 1240px; }
.sec-lead { color: var(--ink-2); font-size: 1.08rem; max-width: 40em; margin: 14px 0 0; }
.parc-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.parc-card { display: grid; grid-template-rows: auto 1fr; background: #fff; border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -36px rgba(11, 43, 60, .5); transition: transform .3s, box-shadow .3s; }
.parc-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 30px 56px -30px rgba(11, 43, 60, .5); }
.parc-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.parc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.parc-card:hover .parc-media img { transform: scale(1.05); }
.parc-tipo { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--c); color: #fff; font: 700 13.5px/1 var(--body); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.parc-tipo .i { width: 18px; height: 18px; }
.parc-body { padding: 0 24px 24px; display: grid; gap: 14px; align-content: start; }
.parc-head { display: flex; align-items: flex-end; gap: 14px; margin-top: -28px; }
.parc-av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--c); flex: none; background: #fff; position: relative; }
.parc-head h3 { font-size: 1.5rem; }
.parc-head a { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; color: var(--c); text-decoration: none; font-weight: 600; }
.parc-body > p { margin: 0; color: var(--ink-2); }
.parc-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.parc-tags li { padding: 6px 12px; border-radius: 999px; background: var(--sand); font-size: 13.5px; font-weight: 500; }
.parc-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.parc-cta .btn-wa { flex-direction: row; }
.parc-cta .btn-wa small { font-weight: 500; opacity: .8; margin-left: 4px; font-size: 13px; }
@media (max-width: 860px) { .parc-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .parc-body { padding: 0 18px 20px; }
  .parc-cta .btn { flex: 1 1 100%; justify-content: center; }
  .parc-head h3 { font-size: 1.3rem; }
}
.nav-links { gap: 20px; }
.nav-links a { white-space: nowrap; }
@media (max-width: 1080px) { .nav-links { gap: 14px; font-size: 14px; } }
@media (max-width: 960px) { .nav-links a[href="#bairros"] { display: none; } }
.parc-head { margin-top: 0; padding-top: 14px; align-items: center; }
.parc-av { margin-top: -46px; align-self: flex-start; }
.parc-head > div { padding-top: 0; }
/* celular/tablet: seção do guia em uma coluna (a regra do computador acima não pode valer aqui) */
@media (max-width: 960px) {
  .app-sec { grid-template-columns: minmax(0, 1fr); justify-items: stretch; gap: 28px; }
  .guide-visual { justify-content: center; }
}

/* =====================================================================
   v10 · revisão completa do celular
   ===================================================================== */
/* menu do celular */
.nav-burger { display: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; padding: 0; position: relative; flex: none; }
.nav-burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--paper); transition: transform .3s, opacity .2s, top .3s; }
.nav-burger span:nth-child(1) { top: 14px; } .nav-burger span:nth-child(2) { top: 20px; } .nav-burger span:nth-child(3) { top: 26px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.mmenu { position: fixed; inset: 0; z-index: 45; }
.mmenu[hidden] { display: none; }
.mmenu-bg { position: absolute; inset: 0; background: rgba(11, 43, 60, .35); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade .25s; }
.mmenu-panel { position: absolute; left: 10px; right: 10px; top: 76px; display: grid; gap: 2px; padding: 10px; border-radius: 24px; background: var(--paper); box-shadow: 0 30px 60px -20px rgba(11, 43, 60, .5); animation: menuIn .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px); } }
.mmenu-panel > a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 14px; text-decoration: none; font: 700 1.15rem/1 var(--display); color: var(--ink); }
.mmenu-panel > a:not(.btn):active, .mmenu-panel > a:not(.btn):hover { background: var(--sand); }
.mmenu-wa { justify-content: center; margin-top: 8px; padding: 15px; }
body.menu-aberto { overflow: hidden; }
@media (max-width: 860px) { .nav-burger { display: block; } }
@media (max-width: 560px) { .nav { padding-right: 6px; } }

/* áreas de toque de pelo menos ~36px no celular */
@media (max-width: 860px) {
  .lang button { min-width: 36px; min-height: 34px; padding: 6px 9px; font-size: 12px; }
  .nav .lang button { min-width: 34px; min-height: 32px; padding: 6px 8px; }
  .foot-links a, .foot-casas a { min-height: 36px; display: inline-flex; align-items: center; }
  .foot-links { gap: 4px 18px; }
  .parc-head a, .tab-ig { min-height: 32px; display: inline-flex; align-items: center; }
  .leaflet-touch .leaflet-bar a { width: 36px; height: 36px; line-height: 36px; }
  .eh-word small { font-size: max(.5em, 9px); }
}

/* parceiros: número embaixo do texto */
.parc-wa { gap: 10px; text-align: left; }
.parc-wa .i { width: 22px; height: 22px; }
.parc-wa span { display: grid; gap: 2px; }
.parc-wa b { font-weight: 700; }
.parc-wa small { margin: 0 !important; font-weight: 500; opacity: .85; }
@media (max-width: 520px) { .parc-wa { justify-content: flex-start !important; padding: 12px 18px; } }

/* seletor de casas da seção do guia: no celular quebra linha em vez de esconder */
@media (max-width: 700px) {
  .sw-items { flex-wrap: wrap; overflow: visible; }
  .app-switch .sw-items button { padding: 5px 12px 5px 5px; font-size: 13.5px; }
}

/* filtros: deixa claro que dá para deslizar */
@media (max-width: 700px) {
  .match .chips { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
}
.mmenu-panel > a { text-decoration: none !important; }
/* visualizador de fotos no celular: setas embaixo, maiores; dá para deslizar */
@media (max-width: 700px) {
  .lightbox figure { max-width: 100vw; }
  .lightbox img { max-width: 100vw; border-radius: 0; }
  .lb-nav { top: auto; bottom: max(24px, env(safe-area-inset-bottom)); width: 56px; height: 56px; background: rgba(255, 255, 255, .16); }
  .lb-nav.prev { left: calc(50% - 72px); } .lb-nav.next { right: calc(50% - 72px); }
  .lb-close { width: 52px; height: 52px; }
}
@media (max-width: 860px) { .nav .lang button { font-size: 12px; } }

/* =====================================================================
   v11 · consultar datas
   ===================================================================== */
.datas { background: var(--sand); }
.datas-in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.datas-passos { list-style: none; counter-reset: p; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.datas-passos li { counter-increment: p; display: flex; gap: 14px; align-items: center; }
.datas-passos li::before { content: counter(p); flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 700 1.05rem/1 var(--display); }
.datas-passos p { margin: 0; color: var(--ink-2); line-height: 1.35; }
.datas-passos b { display: block; color: var(--ink); font: 700 1.08rem/1.25 var(--display); }
.datas-card { background: #fff; border-radius: 28px; padding: clamp(18px, 3vw, 30px); box-shadow: var(--shadow); }

.cq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cq-f { display: grid; gap: 6px; min-width: 0; margin: 0; }
.cq-f[hidden] { display: none; }
.cq-f > span { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.cq-casa, .cq-obs, .cq-resumo, .cq-go, .cq-nota { grid-column: 1 / -1; }
.cq select, .cq input { width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font: 500 16px/1.2 var(--body); color: var(--ink); -webkit-appearance: none; appearance: none; }
.cq input[type="date"] { display: block; }
.cq input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.cq select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230B2B3C' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; text-overflow: ellipsis; }
.cq select:focus, .cq input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--sea); background-color: #fff; }
.cq input::placeholder { color: #8a979f; }
.cq-step { justify-self: start; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); padding: 4px; min-height: 50px; }
.cq-step button { width: 40px; height: 40px; }
.cq-step button:disabled { opacity: .3; cursor: default; background: transparent; }
.cq-step output { min-width: 36px; }
.cq-resumo { margin: 2px 0 0; min-height: 1.5em; font-size: 15px; color: var(--ink-2); }
.cq-resumo.erro { color: #b4361b; font-weight: 600; }
.cq-go { justify-content: center; padding: 16px 22px; font-size: 1.02rem; }
.cq-nota { margin: -4px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

.sheet-cq { background: var(--sand); border-radius: 22px; padding: 20px; scroll-margin-top: 12px; }
.sheet-cq .cq select, .sheet-cq .cq input, .sheet-cq .cq-step { background-color: #fff; }
.sheet-cta button.btn { font: inherit; font-weight: 600; cursor: pointer; }
.cp-cq { background: #fff; border-radius: 22px; padding: 20px; margin: 18px 0; max-width: 620px; box-shadow: 0 0 0 1px var(--line); }
.cp-book { scroll-margin-top: 90px; }

@media (max-width: 900px) {
  .datas-in { grid-template-columns: 1fr; }
  .datas-passos { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .datas-passos li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .datas-passos p { font-size: 13.5px; }
  .datas-passos b { font-size: 1rem; }
}
@media (max-width: 560px) {
  .datas-passos { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
  .datas-passos li { flex-direction: row; align-items: center; }
  .datas-card { border-radius: 22px; margin: 0 -4px; }
  .cq { gap: 12px; }
  .sheet-cq { padding: 16px; margin: 0 -6px; }
  .cp-cq { padding: 16px; }
}
@media (max-width: 360px) {
  .cq-step button { width: 36px; height: 36px; }
}
/* botões fixos do detalhe: lado a lado, sem quebrar linha */
.sheet-cta .btn { white-space: nowrap; }
.sheet-cq h4 { padding-right: 48px; }
@media (max-width: 700px) {
  .sheet-cta > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .sheet-cta .btn { justify-content: center; padding: 14px 10px; font-size: 14.5px; }
}
@media (max-width: 400px) {
  .sheet-cta .btn .i { display: none; }
}

/* =====================================================================
   v12 · consultar datas, visual de caixa de reserva
   ===================================================================== */
.cq { display: grid; grid-template-columns: 1fr; gap: 12px; }
.cq-box { border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); overflow: hidden; }
.cq-box > * + * { border-top: 1.5px solid var(--line); }
.cq-casa, .cq-data { position: relative; display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 10px 16px; margin: 0; cursor: pointer; transition: background .2s; }
.cq-casa[hidden] { display: none; }
.cq-casa:hover, .cq-data:hover { background: var(--paper); }
.cq-casa:focus-within, .cq-data:focus-within { background: var(--paper); box-shadow: inset 0 0 0 2px var(--sea); border-radius: inherit; z-index: 1; }
.cq-casa > .i, .cq-data > .i { width: 22px; height: 22px; color: var(--sun); }
.cq-casa > span, .cq-data > span { display: grid; gap: 2px; min-width: 0; flex: 1; }
.cq-casa small, .cq-data small { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cq .cq-casa select { min-height: 0; padding: 0 26px 0 0; border: 0; border-radius: 0; box-shadow: none; background-color: transparent; background-position: right 0 center; font: 600 16px/1.3 var(--body); color: var(--ink); cursor: pointer; }
.cq .cq-casa select:focus { box-shadow: none; background-color: transparent; }
.cq-datas { display: grid; grid-template-columns: 1fr 1fr; }
.cq-datas .cq-data + .cq-data { border-left: 1.5px solid var(--line); }
.cq-data b { font: 600 16px/1.3 var(--body); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cq-data.cheio b { color: var(--ink); }
/* o campo de data de verdade fica invisível por cima: toque abre o calendário do aparelho */
.cq .cq-data input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; opacity: 0; padding: 0; border: 0; box-shadow: none; cursor: pointer; font-size: 16px; }
.cq .cq-data input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

.cq-atalhos { display: flex; flex-wrap: wrap; gap: 8px; }
.cq-atalhos button { border: 0; border-radius: 999px; padding: 9px 14px; min-height: 38px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font: 600 13.5px/1 var(--body); color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.cq-atalhos button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.cq-atalhos button[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }

.cq-pessoa { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; min-height: 66px; }
.cq-pessoa > span { display: grid; gap: 1px; }
.cq-pessoa b { font: 600 16px/1.3 var(--body); }
.cq-pessoa small { font-size: 13px; color: var(--muted); }
.cq .cq-step { display: flex; align-items: center; gap: 4px; min-height: 0; padding: 0; background: none; box-shadow: none; }
.cq .cq-step button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--sand-2); font-size: 20px; line-height: 1; color: var(--ink); cursor: pointer; transition: box-shadow .2s; }
.cq .cq-step button:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cq .cq-step button:disabled { opacity: .35; cursor: default; }
.cq .cq-step output { min-width: 32px; text-align: center; font: 700 18px/1 var(--display); }

.cq-obs summary { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--sea); list-style: none; }
.cq-obs summary::-webkit-details-marker { display: none; }
.cq-obs summary::before { content: '+'; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 16px; line-height: 1; }
.cq-obs[open] summary::before { content: '−'; }
.cq-obs input { margin-top: 6px; background: #fff; }

.cq-resumo { display: flex; align-items: flex-start; gap: 8px; margin: 0; min-height: 0; font-size: 15px; }
.cq-resumo:empty { display: none; }
.cq-resumo.ok { padding: 12px 14px; border-radius: 14px; background: #e3f4ea; color: #155c33; }
.cq-resumo.ok .i { color: #1f9d55; margin-top: 2px; }
.cq-resumo.erro { padding: 12px 14px; border-radius: 14px; background: #fdeae4; }
.cq-nota { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; }
.cq-nota .i { color: #1f9d55; }

/* dentro do detalhe da casa e das páginas fixas */
.sheet-cq .cq-box, .cp-cq .cq-box { background: #fff; }
.sheet-cq .cq-atalhos button { background: #fff; }
@media (max-width: 560px) {
  .cq-casa, .cq-data { padding: 10px 12px; gap: 10px; min-height: 62px; }
  .cq-data > .i { display: none; }
  .cq-pessoa { padding: 8px 8px 8px 14px; min-height: 62px; }
  .cq-atalhos button { padding: 8px 12px; font-size: 13px; }
}
.cq-sm { display: none; }
@media (max-width: 560px) {
  .cq-atalhos { display: grid; grid-template-columns: 1.4fr 1fr 1fr; }
  .cq-atalhos button { padding: 8px 6px; }
  .cq-lg { display: none; } .cq-sm { display: inline; }
}
@media (max-width: 400px) {
  .cp-cq, .sheet-cq { padding: 12px; }
  .cq-data b { font-size: 15px; }
  .cq-casa, .cq-data { padding: 10px; }
}

/* =====================================================================
   v13 · revisão geral de layout (alinhamento, ritmo, proporções)
   ===================================================================== */
/* título do topo em 2 linhas no computador, sem ocupar a tela inteira */
@media (min-width: 701px) {
  .hero-title { font-size: clamp(2.8rem, 5vw, 4.6rem); line-height: 1; }
}

/* todos os títulos de seção começam na mesma margem */
.dep .dep-head { max-width: calc(1240px + 2 * var(--gutter)); }
.app-sec { padding-left: max(clamp(24px, 7vw, 100px), calc((100% - 1240px) / 2)); padding-right: max(clamp(24px, 7vw, 100px), calc((100% - 1240px) / 2)); }

/* casas: 3 por linha e a última linha ocupa a largura toda (sem buraco) */
@media (min-width: 1180px) {
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .grid > * { grid-column: span 2; }
  .grid > :nth-child(3n+1):nth-last-child(2), .grid > :nth-child(3n+1):nth-last-child(2) + * { grid-column: span 3; }
  .grid > :nth-child(3n+1):last-child { grid-column: 3 / span 2; }
}

/* celular dentro da seção do guia: a placa não cobre a tela do guia e o recorte não cobre o topo */
.guide-visual .mini-plate { margin-right: -18px; align-self: flex-end; margin-bottom: 70px; }
.phone { padding-top: 44px; }
.phone iframe { border-radius: 4px 4px 42px 42px; }
.phone-notch { top: 18px; height: 24px; width: 92px; }

/* dúvidas: título e atalho à esquerda, perguntas à direita */
.faq-mais { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 22px 0 0; color: var(--ink-2); }
@media (min-width: 1000px) {
  .faq { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 56px; align-items: start; max-width: calc(1240px + 2 * var(--gutter)); margin: 0 auto; }
  .faq .sec-head { margin: 0; position: sticky; top: 110px; }
  .faq .sec-head h2 { font-size: clamp(2.2rem, 3.4vw, 3rem); }
  .faq-list { max-width: none; margin: 0; }
  .faq-mais { flex-direction: column; align-items: flex-start; }
}

/* quem cuida: perfis de Instagram sem cartão sobrando sozinho */
#quem-ig > :last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 520px) { #quem-ig > :last-child:nth-child(odd) { grid-column: auto; } }

/* como funciona no celular: número ao lado do texto, cartões mais baixos */
@media (max-width: 700px) {
  .steps { gap: 10px; }
  .steps li { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; align-items: start; padding: 18px 18px; }
  .steps li .step-n { grid-row: span 2; margin: 0; }
  .steps b { font-size: 1.12rem; margin-bottom: 4px; }
  .steps p { font-size: 14.5px; }
}

.quem { max-width: calc(1240px + 2 * var(--gutter)); }
.app-sec { padding-left: max(clamp(22px, 4vw, 60px), calc((100% - 1240px) / 2)); padding-right: max(clamp(22px, 4vw, 60px), calc((100% - 1240px) / 2)); }
.app-sec { padding-left: max(clamp(22px, 4vw, 60px), calc((100% - 1240px) / 2 - clamp(8px, 2vw, 24px))); padding-right: max(clamp(22px, 4vw, 60px), calc((100% - 1240px) / 2 - clamp(8px, 2vw, 24px))); }
.foot { max-width: calc(1240px + 2 * var(--gutter)); }
/* o brilho decorativo do fundo fica atrás do conteúdo (não desbota o celular) */
.app-sec::before { z-index: 0; }
.app-sec > * { position: relative; z-index: 1; }
