/* Fontes hospedadas no próprio site (mais rápido que Google Fonts) */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/sora-500.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/sora-600.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/sora-700.woff2") format("woff2"); }
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/host-grotesk-400.woff2") format("woff2"); }
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/host-grotesk-500.woff2") format("woff2"); }
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/host-grotesk-600.woff2") format("woff2"); }
/* ==========================================================================
   Imobiliária Cisne — site
   Identidade visual: Plennos (azul #23A3DB · marinho #16274B · cinzas)
   Tipografia: Sora (títulos) + Host Grotesk (texto)
   ========================================================================== */
:root {
  --navy: #16274B;
  --navy-2: #0e1b36;
  --navy-3: #22365f;
  --blue: #23A3DB;
  --blue-d: #1782b3;
  --blue-l: #e7f5fc;
  --g1: #E0DEDF;
  --g2: #C7C7C7;
  --g3: #909090;
  --ink: #142039;
  --text: #2b3550;
  --muted: #5f6880;
  --line: #e6e8ee;
  --soft: #f4f6fa;
  --bg: #ffffff;
  --wa: #1faa59;
  --wa-d: #178a47;
  --r: 14px;
  --r-lg: 22px;
  --sh-1: 0 1px 2px rgba(22, 39, 75, .06), 0 4px 14px rgba(22, 39, 75, .06);
  --sh-2: 0 10px 40px rgba(22, 39, 75, .14);
  --ff-t: 'Sora', system-ui, sans-serif;
  --ff: 'Host Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--ff); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); text-decoration: none; }
a:hover { color: var(--navy); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-t); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--blue); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ic { flex-shrink: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; z-index: 999; background: #fff; padding: 10px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; }
.only-mobile { display: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

.eyebrow { font-family: var(--ff-t); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--blue); margin: 0 0 .7em; display: flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue) 60%, transparent 60% 70%, var(--blue) 70%); }
.eyebrow-light { color: #9bd8f3; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .78em 1.3em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .97rem; line-height: 1.2; transition: transform .15s, background .2s, box-shadow .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(35, 163, 219, .35); }
.btn-primary:hover { background: var(--blue-d); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(31, 170, 89, .28); }
.btn-wa:hover { background: var(--wa-d); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-l); color: var(--navy); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--soft); color: var(--navy); }
.btn-lg { padding: 1em 1.6em; font-size: 1.03rem; }
.btn-sm { padding: .5em 1em; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-icon { padding: .75em; }
.link-btn { background: none; border: 0; color: var(--blue-d); padding: 0; font-weight: 600; display: inline-flex; align-items: center; gap: .3em; }
.link-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; }
.round-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; transition: .2s; }
.round-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s, box-shadow .3s; }
.header-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: block; flex-shrink: 0; }
.logo img { height: 50px; width: auto; }
.logo-branco { display: none; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; color: var(--ink); font-weight: 500; font-size: .97rem; }
.nav-link:hover { background: var(--soft); color: var(--navy); }
.nav-fav { position: relative; }
.fav-count { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--blue); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.nav-wa { margin-left: 8px; padding: .65em 1.15em; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--navy); padding: 6px; }
.has-drop { position: relative; }
.drop { position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 8px); width: 520px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: 14px; opacity: 0; visibility: hidden; transition: .2s; border: 1px solid var(--line); }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.drop-grid a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--ink); font-weight: 500; }
.drop-grid a .ic { color: var(--blue); }
.drop-grid a:hover { background: var(--blue-l); }
.drop-grid small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; line-height: 1.2; }
.drop-all { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 8px; padding: 12px; border-radius: 12px; background: var(--soft); font-weight: 600; }

/* header transparente sobre o hero (home) */
.header-transparent .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; }
.header-transparent:not(.scrolled) .logo-cor { display: none; }
.header-transparent:not(.scrolled) .logo-branco { display: block; }
.header-transparent:not(.scrolled) .nav-link { color: #fff; }
.header-transparent:not(.scrolled) .nav-link:hover { background: rgba(255, 255, 255, .12); }
.header-transparent:not(.scrolled) .menu-btn { color: #fff; }
.header-transparent.scrolled .site-header { background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-color: var(--line); box-shadow: var(--sh-1); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #d9e3f3; padding: calc(var(--header-h) + 56px) 0 96px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(35, 163, 219, .28), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(35, 163, 219, .14), transparent 60%),
    linear-gradient(160deg, #1a2e59 0%, var(--navy) 45%, var(--navy-2) 100%); }
.hero-bg::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 620px; height: 600px; background: url("../img/cisne-simbolo-branco.svg") no-repeat center / contain; opacity: .045; }
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.7rem); font-weight: 600; margin-bottom: .4em; }
.hero h1 em { color: var(--blue); position: relative; white-space: nowrap; }
.hero-lead { font-size: 1.15rem; color: #c4d2ea; max-width: 34em; margin-bottom: 28px; }
.hero-ref { margin: 16px 0 0; font-size: .92rem; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hero-ref a, .hero-ref .link-btn { color: #9bd8f3; font-weight: 500; }
.hero-ref span { color: #5f7bb0; }
.ref-form { display: flex; gap: 8px; margin-top: 10px; max-width: 320px; }
.ref-form input { flex: 1; border: 0; border-radius: 999px; padding: .6em 1.1em; }

/* vitrine: fotos com a forma da "casa" do logotipo */
.hero-vitrine { position: relative; aspect-ratio: 1 / 1.02; max-width: 540px; justify-self: end; width: 100%; }
.vitrine-item { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; color: inherit; }
.vitrine-item.is-on { opacity: 1; visibility: visible; }
.vitrine-casa { position: absolute; inset: 0 0 6% 10%; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M45 2.6Q50 0 55 2.6L95 24Q100 26.7 100 32V93Q100 100 93 100H7Q0 100 0 93V32Q0 26.7 5 24Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M45 2.6Q50 0 55 2.6L95 24Q100 26.7 100 32V93Q100 100 93 100H7Q0 100 0 93V32Q0 26.7 5 24Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.vitrine-casa img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease; }
.vitrine-item.is-on .vitrine-casa img { transform: scale(1); }
.vitrine-mini { position: absolute; left: 0; bottom: 18%; width: 36%; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; border: 5px solid var(--navy); box-shadow: var(--sh-2); }
.vitrine-mini img { width: 100%; height: 100%; object-fit: cover; }
.vitrine-card { position: absolute; right: -8px; bottom: 0; background: #fff; color: var(--text); border-radius: 18px; padding: 16px 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); min-width: 230px; max-width: 80%; }
.vitrine-card small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.vitrine-card strong { display: block; font-family: var(--ff-t); font-size: 1.5rem; color: var(--navy); letter-spacing: -.02em; }
.vitrine-specs { font-size: .88rem; color: var(--muted); }
.vitrine-dots { position: absolute; left: 10%; bottom: -34px; display: flex; gap: 8px; }
.vitrine-dots button { width: 9px; height: 9px; border-radius: 9px; border: 0; padding: 0; background: rgba(255, 255, 255, .3); transition: .3s; }
.vitrine-dots button.is-on { width: 28px; background: var(--blue); }

/* ---------- Busca ---------- */
.busca { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr .8fr auto; gap: 0; background: #fff; border-radius: 20px; padding: 8px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); align-items: stretch; }
.busca .campo { padding: 6px 16px; border-right: 1px solid var(--line); min-width: 0; }
.busca .campo:nth-last-child(2) { border-right: 0; }
.campo { display: flex; flex-direction: column; gap: 2px; }
.campo > span { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.busca select { border: 0; background: transparent; padding: 2px 0; font-weight: 600; color: var(--ink); width: 100%; outline: 0; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2316274B' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; padding-right: 18px; text-overflow: ellipsis; }
.btn-busca { border-radius: 14px; padding: 0 22px; min-height: 56px; }
.hero .busca { grid-template-columns: 1fr 1fr; padding: 10px; gap: 4px; }
.hero .busca .campo { border: 0; background: var(--soft); border-radius: 12px; padding: 10px 14px; }
.hero .busca .btn-busca { grid-column: 1 / -1; min-height: 54px; font-size: 1.05rem; }

/* ---------- Seções ---------- */
.sec { padding: 72px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.sec-head h2 { margin: 0; }
.h-sm { font-size: 1.2rem; }

/* categorias */
.sec-cats { padding: 0; margin-top: -44px; position: relative; z-index: 2; }
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 6px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: 14px; }
.cat { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px; border-radius: 16px; color: var(--ink); transition: .2s; }
.cat:hover { background: var(--blue-l); color: var(--ink); transform: translateY(-2px); }
.cat-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); color: var(--navy); margin-bottom: 8px; transition: .2s; }
.cat:hover .cat-ic { background: var(--navy); color: #fff; }
.cat-n { font-family: var(--ff-t); font-weight: 600; font-size: 1rem; }
.cat-c { font-size: .85rem; color: var(--muted); }

/* cartões */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { position: relative; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s, border-color .25s; display: flex; flex-direction: column; }
.card:hover { box-shadow: var(--sh-2); transform: translateY(-4px); border-color: transparent; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .4s; }
.card-alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card-alt { opacity: 1; }
.card:hover .card-media img { transform: scale(1.04); }
.card-nofoto { display: grid; place-items: center; height: 100%; color: var(--g2); }
.card-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; }
.badge { background: rgba(255, 255, 255, .95); color: var(--navy); font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.badge-blue { background: var(--blue); color: #fff; }
.badge-dark { background: var(--navy); color: #fff; }
.card-count { position: absolute; bottom: 12px; left: 12px; background: rgba(14, 27, 54, .72); color: #fff; font-size: .78rem; padding: 3px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.fav-btn { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--navy); display: grid; place-items: center; box-shadow: var(--sh-1); transition: transform .2s; z-index: 2; }
.fav-btn:hover { transform: scale(1.08); }
.fav-btn[aria-pressed="true"], .fav-btn-inline[aria-pressed="true"] { color: #e0475b; }
.fav-btn[aria-pressed="true"] .ic, .fav-btn-inline[aria-pressed="true"] .ic { fill: currentColor; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-tipo { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-d); font-weight: 700; margin: 0 0 6px; }
.card-tipo span { color: var(--g3); font-weight: 600; }
.card-title { font-size: 1.05rem; line-height: 1.35; margin: 0 0 8px; font-weight: 600; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a { color: var(--ink); }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-loc { color: var(--muted); font-size: .9rem; display: flex; gap: 5px; align-items: center; margin: 0 0 12px; }
.card-specs { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--text); font-size: .9rem; }
.card-specs li { display: inline-flex; align-items: center; gap: 6px; }
.card-specs .ic { color: var(--g3); }
.card-price { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--ff-t); font-size: 1.35rem; font-weight: 600; color: var(--navy); letter-spacing: -.02em; }
.card.is-vendido .card-media img { filter: grayscale(.6); }
.card.is-vendido .card-price { color: var(--g3); }

/* carrossel */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 3); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 16px; margin: -6px -2px 0; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 10px; }

/* números */
.sec-numeros { padding: 0; }
.numeros { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); border-radius: var(--r-lg); color: #c4d2ea; overflow: hidden; position: relative; }
.numeros > div { padding: 34px 30px; border-right: 1px solid rgba(255, 255, 255, .08); }
.numeros > div:last-child { border: 0; }
.numeros strong { display: block; font-family: var(--ff-t); font-size: 2.6rem; color: #fff; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.numeros > div:first-child strong { color: var(--blue); }

/* viver em serra negra */
.viver { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.viver-txt > p { font-size: 1.08rem; }
.viver-lista { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 16px; }
.viver-lista li { display: flex; gap: 14px; align-items: flex-start; }
.viver-lista .ic { color: var(--blue); background: var(--blue-l); border-radius: 12px; padding: 10px; width: 44px; height: 44px; }
.viver-lista b { display: block; color: var(--ink); font-family: var(--ff-t); font-weight: 600; }
.viver-fotos { position: relative; height: 480px; }
.vf { position: absolute; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-2); }
.vf0 { width: 66%; height: 62%; top: 0; right: 0; }
.vf1 { width: 52%; height: 46%; bottom: 0; left: 0; border: 6px solid #fff; }
.vf2 { width: 38%; height: 32%; bottom: 6%; right: 6%; border: 6px solid #fff; }
.vf-simbolo { position: absolute; top: 18%; left: 6%; width: 110px; height: auto; filter: drop-shadow(0 10px 20px rgba(22, 39, 75, .2)); }

/* bairros / chips */
.sec-bairros { background: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: .95rem; transition: .2s; }
.chip small { background: var(--soft); color: var(--muted); border-radius: 999px; padding: 0 8px; font-size: .78rem; font-weight: 600; }
.chip:hover { border-color: var(--blue); color: var(--blue-d); }
.chip-x { background: var(--blue-l); border-color: transparent; color: var(--navy); padding: 6px 12px; font-size: .88rem; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; font-family: var(--ff-t); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .25s; color: var(--blue); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* CTA anuncie */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, #1c3570 100%); color: #c4d2ea; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: 280px; height: 280px; background: url("../img/cisne-simbolo-branco.svg") no-repeat center / contain; opacity: .07; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-top: 64px; padding-bottom: 64px; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 20em; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* rodapé */
.site-footer { background: var(--navy-2); color: #93a3c2; font-size: .95rem; padding-top: 64px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer h3.mt { margin-top: 28px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #b6c3dc; }
.site-footer a:hover { color: #fff; }
.foot-brand img { width: 190px; margin-bottom: 18px; }
.creci { font-weight: 600; color: #fff; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); display: grid; place-items: center; }
.social a:hover { background: var(--blue); border-color: var(--blue); }
.foot-contato { display: grid; gap: 12px; align-content: start; }
.foot-contato a, .foot-contato p { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.foot-contato .ic { color: var(--blue); margin-top: 3px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; flex-wrap: wrap; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(31, 170, 89, .45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: pulso 2.6s infinite; z-index: -1; }
@keyframes pulso { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.wa-float-tip { position: absolute; right: 74px; white-space: nowrap; background: #fff; color: var(--text); padding: 10px 14px; border-radius: 14px; box-shadow: var(--sh-2); font-size: .9rem; opacity: 0; transform: translateX(8px); transition: .3s; pointer-events: none; }
.wa-float-tip b { display: block; color: var(--ink); }
.wa-float.show-tip .wa-float-tip, .wa-float:hover .wa-float-tip { opacity: 1; transform: none; }

/* cookies */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 70; max-width: 380px; background: #fff; border-radius: var(--r); box-shadow: var(--sh-2); padding: 16px 18px; display: flex; gap: 14px; align-items: center; font-size: .86rem; border: 1px solid var(--line); }
.cookie p { margin: 0; }
.cookie[hidden] { display: none; }

/* ---------- Páginas internas ---------- */
.page-head { background: var(--soft); padding: 40px 0 36px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .3em; }
.page-lead { color: var(--muted); font-size: 1.08rem; max-width: 52em; margin: 0; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue-d); }
.crumbs span { color: var(--ink); font-weight: 500; }
.page-head-dark { background: var(--navy); border: 0; color: #c4d2ea; padding: 48px 0 64px; }
.page-head-dark h1 { color: #fff; }
.page-head-dark .page-lead, .page-head-dark .crumbs, .page-head-dark .crumbs a { color: #a9b9d6; }
.page-head-dark .crumbs span { color: #fff; }

/* filtros na listagem */
.filtros { position: sticky; top: var(--header-h); z-index: 30; background: #fff; border-bottom: 1px solid var(--line); padding: 14px 0; }
.busca-bar { box-shadow: none; border: 1px solid var(--line); border-radius: 16px; padding: 4px; }
.busca-bar .btn-busca { min-height: 50px; }
.btn-filtros { display: none; }
.mais-filtros { margin-top: 8px; }
.mais-filtros summary { list-style: none; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; font-weight: 600; color: var(--blue-d); font-size: .92rem; }
.mais-filtros summary::-webkit-details-marker { display: none; }
.mais-filtros-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 14px 0 4px; }
.mais-filtros-form .campo input, .mais-filtros-form .campo select { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; min-width: 130px; background: #fff; }
.check { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; padding: 9px 0; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.sec-lista { padding-top: 28px; }
.lista-topo { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.lista-total { margin: 0; color: var(--muted); }
.lista-total strong { color: var(--ink); font-size: 1.1rem; }
.chips-ativos { gap: 8px; align-items: center; }
.link-clear { font-size: .88rem; font-weight: 600; }
.ordenar { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.ordenar select { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: #fff; font-weight: 600; color: var(--ink); }
.paginacao { display: flex; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.paginacao a, .paginacao span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; padding: 0 10px; }
.paginacao a:hover { border-color: var(--navy); }
.paginacao .is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.paginacao .dots { border: 0; }
.vazio { text-align: center; max-width: 560px; margin: 0 auto; padding: 40px 0; display: flex; flex-direction: column; align-items: center; }
.vazio img, .vazio-ic { margin-bottom: 16px; opacity: .9; color: var(--g2); }
.vazio-acoes { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.sec-links { padding-top: 0; }

/* ---------- Página do imóvel ---------- */
.imovel { padding: 20px 0 20px; }
.galeria { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(560px, 62vw); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 30px; }
.gal-item { border: 0; padding: 0; overflow: hidden; background: var(--soft); position: relative; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.gal-item:hover img { transform: scale(1.03); filter: brightness(.92); }
.gal-0 { grid-row: 1 / 3; }
.galeria-poucas { grid-template-columns: 2fr 1fr; }
.galeria-poucas .gal-3, .galeria-poucas .gal-4 { display: none; }
.galeria-poucas .gal-0 { grid-row: 1 / 3; }
.galeria-poucas .gal-1 { grid-row: 1 / 3; }
.gal-vazia { display: grid; place-items: center; color: var(--g3); grid-column: 1 / -1; }
.gal-ver { position: absolute; right: 18px; bottom: 18px; background: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--sh-2); color: var(--navy); }
.gal-mobile, .gal-contador { display: none; }
.imovel-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; background: var(--soft); color: var(--navy); }
.tag-blue { background: var(--blue-l); color: var(--blue-d); }
.tag-dark { background: var(--navy); color: #fff; }
.tag-ghost { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.imovel-head h1 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.imovel-loc { color: var(--muted); display: flex; align-items: center; gap: 6px; font-size: 1.02rem; }
.imovel-acoes { display: flex; gap: 8px; margin-bottom: 28px; }
.preco-mobile { display: none; }
.specs { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.specs li { background: var(--soft); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.specs .ic { color: var(--blue); margin-bottom: 8px; }
.specs strong { font-family: var(--ff-t); font-size: 1.25rem; color: var(--ink); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.specs span { font-size: .86rem; color: var(--muted); }
.bloco { padding: 34px 0; border-top: 1px solid var(--line); }
.bloco h2 { font-size: 1.45rem; display: flex; align-items: center; gap: 10px; }
.bloco h2 .ic { color: var(--blue); }
.descricao { font-size: 1.04rem; line-height: 1.75; color: var(--text); }
.descricao.is-longa { max-height: 340px; overflow: hidden; -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }
.descricao.is-aberta { max-height: none; -webkit-mask: none; mask: none; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.video { position: relative; border: 0; padding: 0; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: #000; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--navy); display: grid; place-items: center; padding-left: 4px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapa { height: 340px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--soft), #e9eef6); display: grid; place-items: center; overflow: hidden; margin-top: 14px; }
.mapa iframe { width: 100%; height: 100%; border: 0; }
.mapa-contato { margin-top: 48px; height: 400px; }
.sim-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.sim-grid input, .sim-grid select, .form-card input, .form-card select, .form-card textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; background: #fff; transition: border-color .2s; }
.sim-grid input:focus, .sim-grid select:focus { border-color: var(--blue); outline: 0; }
.sim-res { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--navy); color: #a9b9d6; border-radius: var(--r); overflow: hidden; margin-bottom: 12px; }
.sim-res div { padding: 18px 20px; border-right: 1px solid rgba(255, 255, 255, .08); }
.sim-res div:last-child { border: 0; }
.sim-res span { font-size: .82rem; display: block; }
.sim-res strong { font-family: var(--ff-t); color: #fff; font-size: 1.35rem; font-weight: 600; }

.imovel-side { position: sticky; top: calc(var(--header-h) + 20px); }
.contato-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: 26px; }
.cc-label { margin: 0; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.cc-preco { font-family: var(--ff-t); font-size: 2.1rem; color: var(--navy); font-weight: 600; letter-spacing: -.03em; margin: 0 0 4px; line-height: 1.15; }
.cc-obs { color: var(--muted); font-size: .9rem; }
.contato-card .btn-wa { margin-top: 14px; }
.cc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 18px; }
.cc-row .btn { padding: .7em .6em; font-size: .9rem; }
.lead-form { display: grid; gap: 10px; }
.lead-form input, .lead-form textarea, .lead-form select { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; background: #fff; transition: border-color .2s; }
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus { border-color: var(--blue); outline: 0; }
.lead-form textarea { resize: vertical; }
.cc-form-t { margin: 0; font-weight: 600; color: var(--ink); font-size: .95rem; border-top: 1px solid var(--line); padding-top: 16px; }
.lead-ok { background: #e8f8ef; color: #136c39; border-radius: 12px; padding: 12px; margin: 0; display: flex; gap: 8px; align-items: center; font-weight: 500; }
.lead-form.is-ok > *:not(.lead-ok):not(input[type=hidden]) { display: none; }
.cc-creci { display: flex; gap: 10px; align-items: center; margin: 18px 0 0; font-size: .82rem; color: var(--muted); line-height: 1.4; }
.cc-creci b { color: var(--ink); }
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.barra-mobile { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 14, 30, .97); display: grid; grid-template-rows: 1fr auto; align-items: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; place-items: center; height: 100%; padding: 60px 80px 10px; min-height: 0; }
.lightbox figure img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 8px; user-select: none; }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255, 255, 255, .08); color: #fff; border: 0; border-radius: 50%; width: 54px; height: 54px; display: grid; place-items: center; z-index: 2; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 45%; }
.lb-next { right: 16px; top: 45%; }
.lb-cont { position: absolute; top: 26px; left: 24px; color: #fff; margin: 0; font-weight: 600; }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px 18px; justify-content: safe center; scrollbar-width: thin; }
.lb-thumbs img { width: 84px; height: 62px; object-fit: cover; border-radius: 8px; opacity: .45; cursor: pointer; flex-shrink: 0; transition: .2s; }
.lb-thumbs img.is-on { opacity: 1; outline: 2px solid var(--blue); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 150; background: rgba(8, 14, 30, .6); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(4px); }
.modal[hidden] { display: none; }
.modal-card { background: #fff; border-radius: var(--r-lg); padding: 30px; width: 100%; max-width: 460px; position: relative; box-shadow: var(--sh-2); }
.modal-x { position: absolute; top: 14px; right: 14px; border: 0; background: var(--soft); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); }

/* sobre / contato / anuncie */
.sobre-hero { background: var(--navy); color: #c4d2ea; padding: 64px 0; position: relative; overflow: hidden; }
.sobre-hero h1 { color: #fff; }
.sobre-hero-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.sobre-foto { margin: 0; }
.sobre-foto img { border-radius: var(--r-lg); box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.sobre-foto figcaption { font-size: .85rem; margin-top: 10px; color: #8ea2c7; }
.sobre-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.sobre-txt p { font-size: 1.05rem; }
.valores { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.valor { background: var(--soft); border-radius: var(--r-lg); padding: 24px; }
.valor span { width: 50px; height: 50px; border-radius: 14px; background: #fff; color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; box-shadow: var(--sh-1); }
.valor p { color: var(--muted); font-size: .95rem; margin: 0; }
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contato-canais { display: grid; gap: 12px; }
.canal { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); transition: .2s; margin: 0; }
.canal > .ic:first-child { color: var(--blue); }
.canal span { flex: 1; }
.canal b { display: block; font-family: var(--ff-t); color: var(--ink); }
.canal:hover { border-color: var(--blue); box-shadow: var(--sh-1); color: var(--text); }
.canal-wa > .ic:first-child { color: var(--wa); }
.canal-info:hover { border-color: var(--line); box-shadow: none; }
.form-card { background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-2); border: 1px solid var(--line); color: var(--text); display: grid; gap: 12px; }
.form-card h2 { font-size: 1.4rem; margin: 0; }
.anuncie-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.passos { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.passos li { display: flex; gap: 16px; }
.passos b { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--ff-t); }
.passos strong { display: block; color: #fff; font-family: var(--ff-t); font-weight: 600; }
.fav-acoes { margin-bottom: 24px; }
.texto { max-width: 760px; }
.texto h2 { font-size: 1.3rem; margin-top: 1.6em; }

/* animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .carousel { grid-auto-columns: calc((100% - 28px) / 2); }
  .hero-in { grid-template-columns: 1fr; }
  .hero-vitrine { max-width: 520px; justify-self: center; }
  .busca { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .busca .btn-busca { grid-column: 1 / -1; margin-top: 4px; }
  .busca .campo:nth-last-child(2) { border-right: 0; }
  .imovel-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .numeros { grid-template-columns: 1fr 1fr; }
  .numeros > div:nth-child(2) { border-right: 0; }
  .numeros > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .08); }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .logo img { height: 42px; }
  .menu-btn { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s; margin: 0; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .nav .nav-link, .header-transparent:not(.scrolled) .nav .nav-link { color: var(--ink); padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.1rem; justify-content: flex-start; }
  .has-drop .drop { position: static; transform: none; width: auto; opacity: 1; visibility: inherit; box-shadow: none; border: 0; padding: 6px 0 12px; }
  .has-drop .nav-link .ic { display: none; }
  .drop-grid { grid-template-columns: 1fr 1fr; }
  .drop-all { display: none; }
  .nav-fav .fav-count { position: static; margin-left: 4px; }
  .only-mobile { display: inline; margin-left: 8px; }
  .nav-wa { margin: 18px 0 0; justify-content: center; padding: 1em; font-size: 1.05rem; }
  .menu-open .site-header { background: #fff !important; }
  .menu-open .logo-cor { display: block !important; }
  .menu-open .logo-branco { display: none !important; }
  .menu-open .menu-btn { color: var(--navy) !important; }

  .hero { padding: calc(var(--header-h) + 28px) 0 80px; }
  .hero-lead { font-size: 1.02rem; }
  .hero .busca { grid-template-columns: 1fr 1fr; }
  .hero-vitrine { aspect-ratio: 1 / .9; margin-top: 8px; }
  .viver, .faq-wrap, .sobre-hero-in, .sobre-grid, .contato-grid, .anuncie-head { grid-template-columns: 1fr; gap: 36px; }
  .viver-fotos { height: 380px; }
  .cta-in { flex-direction: column; align-items: flex-start; }

  .filtros { position: static; }
  .btn-filtros { display: inline-flex; }
  .filtros-box { display: none; margin-top: 12px; }
  .filtros-box.is-open { display: block; }
  .busca-bar { grid-template-columns: 1fr 1fr; }
  .busca-bar .campo { border-right: 0; border-bottom: 1px solid var(--line); }
  .ordenar { margin-left: 0; width: 100%; }
  .ordenar select { flex: 1; }

  .imovel-grid { grid-template-columns: 1fr; }
  .imovel-side { position: static; }
  .galeria { display: block; height: auto; border-radius: 0; margin: 0 -20px 24px; }
  .galeria .gal-item, .gal-ver { display: none; }
  .gal-mobile { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4/3; }
  .gal-mobile::-webkit-scrollbar { display: none; }
  .gal-mobile img { width: 100%; flex-shrink: 0; object-fit: cover; scroll-snap-align: center; }
  .gal-contador { display: block; position: absolute; right: 14px; bottom: 14px; background: rgba(14, 27, 54, .75); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
  .preco-mobile { display: block; background: var(--soft); border-radius: var(--r); padding: 16px 18px; margin-bottom: 20px; }
  .preco-mobile span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
  .preco-mobile strong { font-family: var(--ff-t); font-size: 1.8rem; color: var(--navy); font-weight: 600; }
  .preco-mobile small { display: block; color: var(--muted); }
  .contato-card .cc-label, .contato-card .cc-preco, .contato-card .cc-obs { display: none; }
  .contato-card { box-shadow: none; }
  .barra-mobile { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 10px; align-items: center; box-shadow: 0 -8px 24px rgba(22, 39, 75, .08); }
  .barra-mobile > div { flex: 1; min-width: 0; line-height: 1.2; }
  .barra-mobile small { color: var(--muted); font-size: .78rem; display: block; }
  .barra-mobile strong { font-family: var(--ff-t); color: var(--navy); font-size: 1.12rem; white-space: nowrap; }
  .pg-imovel .wa-float { display: none; }
  .pg-imovel .site-footer { padding-bottom: 80px; }
  .sim-grid { grid-template-columns: 1fr 1fr; }
  .lightbox figure { padding: 60px 8px 10px; }
  .lb-prev, .lb-next { display: none; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .galeria { margin: 0 -16px 20px; }
  body { font-size: 15.5px; }
  .sec { padding: 52px 0; }
  .hero h1 { font-size: 2.15rem; }
  .hero h1 em { white-space: normal; }
  .busca, .hero .busca, .busca-bar { grid-template-columns: 1fr 1fr; }
  .busca .campo { padding: 8px 12px; }
  .hero-vitrine { aspect-ratio: 1 / 1; }
  .vitrine-card { min-width: 0; padding: 12px 14px; right: 0; }
  .vitrine-card strong { font-size: 1.2rem; }
  .vitrine-mini { display: none; }
  .vitrine-casa { inset: 0 0 8% 0; }
  .vitrine-dots { left: 0; }
  .sec-cats { margin-top: -36px; }
  .cats { grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 8px; }
  .cat { padding: 12px 8px; align-items: center; text-align: center; }
  .cat-n { font-size: .86rem; line-height: 1.2; }
  .cat-c { font-size: .76rem; }
  .grid-cards { grid-template-columns: 1fr; gap: 20px; }
  .carousel { grid-auto-columns: 86%; gap: 16px; }
  .carousel-nav { display: none; }
  .sec-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .numeros { grid-template-columns: 1fr 1fr; }
  .numeros > div { padding: 22px 18px; }
  .numeros strong { font-size: 1.9rem; }
  .viver-fotos { height: 300px; }
  .vf-simbolo { width: 70px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .sim-res { grid-template-columns: 1fr; }
  .sim-res div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .duas { grid-template-columns: 1fr; }
  .valores { grid-template-columns: 1fr; }
  .wa-float { right: 14px; bottom: 14px; width: 56px; height: 56px; }
  .wa-float-tip { display: none; }
  .cookie { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  .drop-grid { grid-template-columns: 1fr; }
  .form-card, .contato-card, .modal-card { padding: 22px; }
}
@media (max-width: 900px) { .pg-imovel .cookie { bottom: 84px; } }
.pg-anuncie .cta-band { display: none; }

/* ==========================================================================
   v2 · Formulários harmônicos, seletor personalizado, galeria, menu e detalhes
   ========================================================================== */

/* ---------- Campos: um único padrão em todo o site ---------- */
.fld { display: grid; gap: 6px; min-width: 0; }
.fld > span, .fld-l { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.fld input, .fld select, .fld textarea,
.lead-form input, .lead-form select, .lead-form textarea,
.sim-grid input, .sim-grid select,
.form-card input, .form-card select, .form-card textarea {
  width: 100%; min-height: 50px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 15px;
  background: #fff; color: var(--ink); font-size: .98rem; font-weight: 500; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.fld textarea, .lead-form textarea, .form-card textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.fld select, .lead-form select, .sim-grid select, .form-card select, .ordenar 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='%2316274B' 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: 40px; cursor: pointer;
}
.fld input:focus, .fld select:focus, .fld textarea:focus,
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus,
.sim-grid input:focus, .sim-grid select:focus,
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(35, 163, 219, .14); }
::placeholder { color: #9aa3b5; font-weight: 400; }
.lead-form, .form-card form { display: grid; gap: 12px; }
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-card { gap: 16px; }
.form-card .btn-wa.btn-block { margin-top: 2px; }
.form-nota { font-size: .82rem; color: var(--muted); margin: 0; }

/* chip de opção (checkbox bonito) */
.chip-opt { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-weight: 500; color: var(--ink); user-select: none; transition: .2s; }
.chip-opt input { position: absolute; opacity: 0; pointer-events: none; }
.chip-opt i { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--g2); display: grid; place-items: center; transition: .2s; }
.chip-opt input:checked + i { background: var(--blue); border-color: var(--blue); }
.chip-opt input:checked + i::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.chip-opt:has(input:checked) { border-color: var(--blue); background: var(--blue-l); }

/* mais filtros (mesmo padrão dos campos) */
.mais-filtros-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto auto; gap: 12px; align-items: end; padding: 16px 0 6px; }
.mais-filtros-form .btn { min-height: 50px; border-radius: 12px; }
.ordenar select { min-height: 42px; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 40px 8px 16px; font-weight: 600; color: var(--ink); -webkit-appearance: none; appearance: none; background-color: #fff; }

/* ---------- Seletor personalizado (computador) ---------- */
.cs { position: relative; width: 100%; }
.cs > select { position: absolute !important; inset: 0; opacity: 0 !important; pointer-events: none; }
.cs-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; min-height: 50px; padding: 0 14px 0 15px; color: var(--ink); font-weight: 600; font-size: .98rem; transition: border-color .2s, box-shadow .2s; }
.cs-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-btn .ic { color: var(--navy); transition: transform .2s; }
.cs.is-open .cs-btn { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(35, 163, 219, .14); }
.cs.is-open .cs-btn .ic { transform: rotate(180deg); }
.cs-pop { position: absolute; z-index: 90; top: calc(100% + 8px); left: 0; min-width: 100%; width: max-content; max-width: min(380px, 92vw); background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(14, 27, 54, .22); border: 1px solid var(--line); padding: 8px; opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top left; visibility: hidden; transition: opacity .16s, transform .16s, visibility .16s; }
.cs.is-open .cs-pop { opacity: 1; transform: none; visibility: visible; }
.cs.is-up .cs-pop { top: auto; bottom: calc(100% + 8px); transform-origin: bottom left; }
.cs-busca { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 10px 12px 12px; margin-bottom: 6px; outline: 0; font-size: .95rem; }
.cs-lista { max-height: 320px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.cs-grupo { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--g3); padding: 12px 12px 6px; }
.cs-op { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 10px; cursor: pointer; color: var(--ink); font-weight: 500; }
.cs-op small { font-size: .78rem; font-weight: 600; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 1px 9px; }
.cs-op.is-ativo, .cs-op:hover { background: var(--blue-l); }
.cs-op.is-sel { color: var(--blue-d); font-weight: 700; }
.cs-op.is-sel::after { content: ""; width: 7px; height: 12px; border: solid var(--blue); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); margin: -4px 4px 0 auto; }
.cs-op.is-sel small { margin-left: auto; }
.cs-vazio { padding: 14px; color: var(--muted); font-size: .9rem; }
/* dentro da busca, o seletor fica "sem borda" no estilo segmentado */
.busca .cs-btn { border: 0; background: transparent; min-height: 0; padding: 2px 0; box-shadow: none !important; }
.busca .campo:has(.cs.is-open) { background: var(--blue-l); }
.ordenar .cs { width: auto; }
.ordenar .cs-btn { min-height: 42px; border-radius: 999px; padding: 0 14px 0 16px; font-size: .9rem; }
.ordenar .cs-pop { left: auto; right: 0; transform-origin: top right; }

/* ---------- Busca: Comprar / Alugar ---------- */
.busca-neg { display: inline-flex; background: rgba(255, 255, 255, .12); border-radius: 999px; padding: 4px; margin-bottom: 12px; gap: 2px; }
.busca-neg button { border: 0; background: transparent; color: #cfe0f5; font-weight: 600; padding: 8px 20px; border-radius: 999px; transition: .2s; }
.busca-neg button.is-on { background: #fff; color: var(--navy); box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.filtros .busca-neg { background: var(--soft); margin-bottom: 10px; }
.filtros .busca-neg button { color: var(--muted); }

/* ---------- Galeria: layout conforme a quantidade de fotos ---------- */
.galeria.g-n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.galeria.g-n2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.galeria.g-n2 .gal-0, .galeria.g-n1 .gal-0 { grid-row: auto; }
.galeria.g-n3 { grid-template-columns: 2fr 1fr; }
.galeria.g-n4 { grid-template-columns: 2fr 1fr 1fr; }
.galeria.g-n4 .gal-1 { grid-column: 2 / 4; }
.galeria .gal-item { min-height: 0; }

/* ---------- Seções: respiro antes do rodapé ---------- */
.sec-numeros { padding: 0 0 80px; }
main > section:last-child:not(.sec):not(.cta-band) { margin-bottom: 0; }
.sec-ultima { padding-bottom: 96px; }

/* ---------- Selo 50 anos ---------- */
.selo50 { position: absolute; z-index: 3; left: -6px; top: 4%; width: 108px; height: 108px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #2fb6ee, var(--blue) 60%, var(--blue-d)); color: #fff; display: grid; place-items: center; text-align: center; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); font-family: var(--ff-t); line-height: 1; animation: flutua 6s ease-in-out infinite; }
.selo50 b { display: block; font-size: 2.3rem; font-weight: 700; letter-spacing: -.04em; }
.selo50 span { display: block; font-size: .62rem; text-transform: uppercase; letter-spacing: .14em; margin-top: 3px; }
.selo50::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed rgba(255, 255, 255, .55); border-radius: 50%; }
@keyframes flutua { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-8px) rotate(-2deg); } }

/* ---------- Busca rápida (lupa no topo) ---------- */
.nav-busca { width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; }
.nav-busca:hover { background: var(--soft); }
.header-transparent:not(.scrolled) .nav-busca { color: #fff; }
.qs { position: fixed; inset: 0; z-index: 300; background: rgba(8, 14, 30, .55); backdrop-filter: blur(6px); display: flex; justify-content: center; align-items: flex-start; padding: 9vh 16px 16px; }
.qs-box { width: 100%; max-width: 680px; background: #fff; border-radius: 22px; box-shadow: 0 40px 100px rgba(0, 0, 0, .35); overflow: hidden; animation: qsIn .2s ease; }
@keyframes qsIn { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.qs-in { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); color: var(--muted); }
.qs-in input { flex: 1; border: 0; outline: 0; font-size: 1.15rem; font-family: var(--ff-t); color: var(--ink); min-width: 0; }
.qs-in kbd { font-size: .72rem; border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; color: var(--muted); }
.qs-res { max-height: 62vh; overflow-y: auto; padding: 8px; }
.qs-sec { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--g3); padding: 12px 12px 6px; }
.qs-item { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; color: var(--ink); }
.qs-item:hover, .qs-item.is-ativo { background: var(--blue-l); color: var(--ink); }
.qs-item img { width: 72px; height: 54px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--soft); }
.qs-item .qs-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; color: var(--blue); flex-shrink: 0; }
.qs-item b { display: block; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.qs-item small { color: var(--muted); }
.qs-item .qs-preco { margin-left: auto; font-family: var(--ff-t); font-weight: 600; color: var(--navy); white-space: nowrap; }
.qs-dica { padding: 18px 20px; color: var(--muted); font-size: .92rem; }
.qs-dica button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; margin: 6px 6px 0 0; font-weight: 500; color: var(--ink); }

/* ---------- Vistos recentemente ---------- */
.sec-vistos { padding-top: 0; }

/* ---------- Viver em Serra Negra (fotos da cidade) ---------- */
.viver-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; height: auto; position: relative; }
.viver-fotos figure { margin: 0; border-radius: 22px; overflow: hidden; position: relative; box-shadow: var(--sh-2); }
.viver-fotos figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.viver-fotos figure:hover img { transform: scale(1.05); }
.viver-fotos figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(14, 27, 54, .72); color: #fff; font-size: .78rem; padding: 4px 11px; border-radius: 999px; }
.viver-fotos .vf-a { aspect-ratio: 3 / 4.2; }
.viver-fotos .vf-b { aspect-ratio: 3 / 3.4; margin-top: 56px; }
.viver-fotos .vf-c { aspect-ratio: 3 / 3.4; margin-top: -56px; }
.viver-fotos .vf-d { aspect-ratio: 3 / 4.2; }
.viver-fotos .vf-simbolo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 92px; height: auto; z-index: 2; background: #fff; border-radius: 26px; padding: 14px; box-shadow: var(--sh-2); }

/* ---------- Página A Cisne: 50 anos ---------- */
.hist { background: linear-gradient(180deg, #0d1934, var(--navy)); color: #c4d2ea; padding: 96px 0 110px; position: relative; overflow: hidden; }
.hist::before { content: "50"; position: absolute; right: -40px; top: -60px; font-family: var(--ff-t); font-weight: 700; font-size: 26rem; line-height: 1; color: rgba(255, 255, 255, .03); letter-spacing: -.06em; pointer-events: none; }
.hist h2, .hist h3 { color: #fff; }
.hist-topo { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.hist-anos { font-family: var(--ff-t); font-size: clamp(4.5rem, 12vw, 8rem); font-weight: 700; line-height: .9; letter-spacing: -.05em; background: linear-gradient(180deg, #fff 30%, #6fc9ef); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }
.hist-anos-sub { text-transform: uppercase; letter-spacing: .3em; font-size: .8rem; color: #9bd8f3; margin: 8px 0 22px; }
.hist-bloco { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.hist-bloco.inv > :first-child { order: 2; }
.hist-foto { position: relative; margin: 0; }
.hist-foto img { width: 100%; border-radius: 22px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.hist-foto figcaption { margin-top: 12px; font-size: .86rem; color: #8ea2c7; }
.hist-foto.moldura::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid rgba(35, 163, 219, .5); border-radius: 22px; z-index: -1; }
.hist-quote { font-family: var(--ff-t); font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: #fff; line-height: 1.35; border-left: 3px solid var(--blue); padding-left: 22px; margin: 26px 0; font-weight: 500; }
.hist-mosaico { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.hist-mosaico img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.hist-mosaico img:first-child { grid-row: 1 / 3; }
.hist-album { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.hist-album figure { margin: 0; }
.hist-album img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; filter: saturate(.9); transition: .4s; }
.hist-album figure:hover img { filter: none; transform: translateY(-4px); }
.hist-album figcaption { font-size: .84rem; margin-top: 10px; color: #a9b9d6; }
.hist-frase { text-align: center; font-family: var(--ff-t); font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: #fff; max-width: 820px; margin: 80px auto; line-height: 1.35; }
.hist-frase em { color: var(--blue); font-style: normal; }
.hist-fim { text-align: center; }
.hist-fim p.big { font-family: var(--ff-t); font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; line-height: 1.25; margin-bottom: 8px; }
.hist-fim .rodape-hist { letter-spacing: .25em; text-transform: uppercase; font-size: .78rem; color: #9bd8f3; margin-top: 26px; }
.in-memoriam { display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #9bd8f3; border: 1px solid rgba(155, 216, 243, .4); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }

/* preço por m² */
.cc-m2 { font-size: .86rem; color: var(--muted); margin: 0 0 4px; }

/* ---------- Menu no celular (corrige Chrome: o blur do topo prendia o menu) ---------- */
@media (max-width: 900px) {
  .site-header, .header-transparent.scrolled .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header { background: #fff; }
  .header-transparent:not(.scrolled):not(.menu-open) .site-header { background: transparent; }
  .nav { top: var(--header-h); bottom: auto; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); padding: 8px 20px calc(30px + env(safe-area-inset-bottom)); }
  .nav .has-drop { border-bottom: 1px solid var(--line); padding-bottom: 6px; }
  .nav .has-drop .nav-link { border-bottom: 0; }
  .drop-grid a { padding: 10px 6px; }
  .nav-busca { display: none; }
  .menu-tools { display: flex; gap: 8px; margin-left: auto; align-items: center; }
  .menu-tools .nav-busca { display: grid; }
  .mais-filtros-form { grid-template-columns: 1fr 1fr; }
  .mais-filtros-form .btn, .mais-filtros-form .chip-opt { grid-column: span 1; }
  .selo50 { width: 84px; height: 84px; left: 2px; top: 2%; }
  .selo50 b { font-size: 1.8rem; }
  .hist-bloco, .hist-bloco.inv { grid-template-columns: 1fr; gap: 30px; margin-bottom: 64px; }
  .hist-bloco.inv > :first-child { order: 0; }
  .hist-album { grid-template-columns: 1fr 1fr; }
  .viver-fotos .vf-b { margin-top: 30px; }
  .viver-fotos .vf-c { margin-top: -30px; }
}
@media (min-width: 901px) { .menu-tools .nav-busca { display: none; } .menu-tools { display: contents; } }
@media (max-width: 640px) {
  .duas { grid-template-columns: 1fr; }
  .hist { padding: 64px 0 80px; }
  .hist-foto.moldura::after { display: none; }
}
.dias { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.dia input, .periodos input { position: absolute; opacity: 0; pointer-events: none; }
.dia span { display: grid; justify-items: center; gap: 0; padding: 8px 2px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: .2s; line-height: 1.2; }
.dia small { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.dia b { font-family: var(--ff-t); font-size: 1.15rem; color: var(--ink); }
.dia input:checked + span { border-color: var(--blue); background: var(--blue-l); box-shadow: 0 0 0 3px rgba(35, 163, 219, .12); }
.periodos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.periodos .chip-opt { padding: 0 12px; font-size: .92rem; }
.periodos .chip-opt i { border-radius: 50%; }
.modal-card { max-width: 500px; }
.modal-card .lead-form { gap: 16px; margin-top: 8px; }
.menu-open .nav-busca { color: var(--ink) !important; }
@media (max-width: 420px) { .dias { grid-template-columns: repeat(3, 1fr); } }
.fld > span .opc, .fld-l .opc { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 500; color: #9aa3b5; margin-left: 4px; }
.form-card .btn-wa.btn-block { margin-top: -4px; }
.h-hist { font-size: clamp(1.6rem, 3vw, 2.3rem); color: #fff; }
.hist p { font-size: 1.05rem; }
.hist strong { color: #fff; }
.hist-topo-sm { margin-bottom: 10px; }
.pg-sobre .sec-numeros { padding-bottom: 72px; }
.pg-home .sec-numeros { padding-bottom: 0; }
.pg-sobre .cta-band { border-top: 1px solid rgba(255, 255, 255, .06); }
.viver-fotos .vf-col { display: grid; gap: 14px; align-content: start; }
.viver-fotos .vf-col2 { margin-top: 64px; }
.viver-fotos .vf-b, .viver-fotos .vf-c { margin-top: 0; }
.viver-fotos .vf-a { aspect-ratio: 3 / 4; }
.viver-fotos .vf-b { aspect-ratio: 1 / 1; }
.viver-fotos .vf-c { aspect-ratio: 1 / 1; }
.viver-fotos .vf-d { aspect-ratio: 3 / 4; }
@media (max-width: 900px) { .viver-fotos .vf-col2 { margin-top: 36px; } .viver-fotos .vf-b, .viver-fotos .vf-c { margin-top: 0; } }
@media (max-width: 900px) {
  .nav .drop-grid { grid-template-columns: 1fr 1fr !important; gap: 4px; }
  .nav .drop-grid a { padding: 8px 6px; gap: 8px; font-size: .95rem; border-radius: 10px; background: var(--soft); }
  .nav .drop-grid a .ic { width: 18px; height: 18px; }
  .nav .drop-grid small { font-size: .74rem; }
  .menu-open .cookie, .menu-open .wa-float { display: none !important; }
}
.page-head-dark { padding-bottom: 96px; }
.pg-anuncie .site-footer, .pg-sobre .site-footer { border-top: 1px solid rgba(255, 255, 255, .07); }

/* ---------- Confirmação de envio dos formulários ---------- */
.lead-sucesso { text-align: center; padding: 18px 8px 6px; animation: lsIn .4s ease; }
@keyframes lsIn { from { opacity: 0; transform: translateY(8px); } }
.lead-sucesso h3 { font-size: 1.3rem; margin: 14px 0 6px; }
.lead-sucesso p { color: var(--muted); margin: 0 0 10px; }
.lead-sucesso .ls-pressa { font-size: .92rem; margin-top: 14px; }
.lead-sucesso .ls-pressa a { color: var(--wa-d); font-weight: 600; }
.ls-check svg { width: 74px; height: 74px; }
.ls-check circle { fill: #e8f8ef; stroke: var(--wa); stroke-width: 2.5; stroke-dasharray: 160; stroke-dashoffset: 160; animation: lsTraco .6s ease forwards; }
.ls-check path { fill: none; stroke: var(--wa); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: lsTraco .4s .45s ease forwards; }
@keyframes lsTraco { to { stroke-dashoffset: 0; } }
.spin { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: giro .7s linear infinite; vertical-align: -3px; }
@keyframes giro { to { transform: rotate(360deg); } }
.contato-card.enviado .cc-form-t { display: none; }
.grecaptcha-badge { visibility: hidden !important; }
.form-recaptcha { font-size: .74rem; color: #9aa3b5; margin: 0; }
.form-recaptcha a { color: inherit; text-decoration: underline; }

/* ---------- Fotos verticais: aparecem inteiras, com fundo desfocado ---------- */
.gal-item.is-vert, .gm-item.is-vert { position: relative; overflow: hidden; background: #0e1b36; }
.gal-item.is-vert::before, .gm-item.is-vert::before { content: ""; position: absolute; inset: -30px; background: var(--bg) center / cover no-repeat; filter: blur(22px) brightness(.8) saturate(1.1); transform: scale(1.15); }
.gal-item.is-vert img, .gm-item.is-vert img { position: relative; z-index: 1; object-fit: contain !important; width: 100%; height: 100%; }
.gal-item.is-vert:hover img { transform: none; }
.gm-item { width: 100%; flex-shrink: 0; scroll-snap-align: center; display: block; }
.gm-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-mobile img { scroll-snap-align: none; }

/* visualizador: a foto inteira sempre cabe na tela (vertical ou horizontal) */
.lightbox { grid-template-rows: minmax(0, 1fr) auto; }
.lightbox figure { min-height: 0; height: 100%; padding: 64px 84px 8px; overflow: hidden; }
.lightbox figure img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); object-fit: contain; }
@media (max-width: 900px) { .lightbox figure { padding: 60px 8px 8px; } .lightbox figure img { max-height: calc(100dvh - 160px); } }

/* ---------- Busca da home: a lista abre por cima das categorias ---------- */
.hero { z-index: 1; }
.sec-cats { z-index: 2; }
.hero:has(.cs.is-open), body.cs-aberto .hero { z-index: 5; }
.hero { overflow: visible; }
.hero-bg { overflow: hidden; }
.gal-ver { z-index: 4; }

/* ---------- Acessibilidade: contraste e área de toque (v5) ---------- */
:root { --blue-d: #1574a1; --blue-t: #1574a1; }
.eyebrow { color: var(--blue-t); }
.eyebrow-light, .hero .eyebrow { color: #9bd8f3; }
.btn-primary { background: #1677a5; box-shadow: 0 6px 18px rgba(22, 119, 165, .3); }
.btn-primary:hover { background: #125f85; }
.btn-wa { background: #15803d; }
.btn-wa:hover { background: #116a32; }
.vitrine-dots { gap: 0; bottom: -40px; }
.vitrine-dots button { width: 24px; height: 24px; background: none; display: grid; place-items: center; border-radius: 12px; }
.vitrine-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 9px; background: rgba(255, 255, 255, .3); transition: .3s; }
.vitrine-dots button.is-on { width: 40px; background: none; }
.vitrine-dots button.is-on::before { width: 28px; background: var(--blue); }
/* Fachada nova (foto vertical) */
.sobre-foto { justify-self: center; width: 100%; max-width: 460px; }
.sobre-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
