:root {
  --red: #E30613; --red-d: #B8040F; --gray: #888888; --gray-d: #5C5C5C; --ink: #2B2A33; --text: #3B3A45;
  --bg: #F2F2F2; --line: #E1E1E1; --yellow: #FFC106; --wa: #25D366; --wa-d: #1DA851; --white: #fff;
  --r: 14px; --shadow: 0 4px 18px -8px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 Sora, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; }
h1 strong, h2 strong, h2 b { font-weight: 800; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: 10px; z-index: 999; }
.skip:focus { left: 0; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.muted { color: #6B6B76; }
.small { font-size: 13px; }
.only-mobile, .mob-cta { display: none; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px; border: 2px solid transparent;
  font: 600 15px Sora, system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-gray { background: var(--gray); color: #fff; }
.btn-gray:hover { background: var(--gray-d); }
.btn-dark { background: #343A40; color: #fff; }
.btn-dark:hover { background: #1f2327; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-d); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-d); }
.btn-fb { background: #1877F2; color: #fff; }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--red); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }

/* Cabeçalho */
.top { position: sticky; top: 0; z-index: 50; background: rgba(242,242,242,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 18px; min-height: 84px; }
.brand img { height: 58px; width: auto; }
.brand span { font-weight: 800; font-size: 20px; color: var(--ink); }
.brand { text-decoration: none; }
.drop { position: relative; }
.drop-list { display: none; position: absolute; top: calc(100% + 6px); left: 0; background: #fff; border-radius: 10px; box-shadow: var(--shadow); list-style: none; margin: 0; padding: 8px; min-width: 200px; z-index: 60; }
.drop.open .drop-list { display: block; }
.drop-list a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 600; }
.drop-list a:hover { background: var(--bg); }
.menu { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.menu ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.menu a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.menu a:hover, .menu a[aria-current] { color: var(--red); }
.social { display: flex; gap: 10px; }
.social a { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--gray); color: #fff; align-items: center; justify-content: center; }
.social a:hover { background: var(--red); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; width: 46px; height: 46px; color: var(--ink); cursor: pointer; }
.menu-btn .ico { width: 30px; height: 30px; }

/* Destaques do topo */
.hero { background: var(--bg); padding: 28px 0 10px; }
.slider { position: relative; }
.slide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 30px; align-items: center; animation: fade .5s; }
.slide[hidden] { display: none !important; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.slide-title { color: var(--red); font-size: clamp(24px, 3.2vw, 34px); font-weight: 400; }
.slide-title b, .slide-title strong { font-weight: 800; }
.slide-text p { font-size: 17px; margin: 0 0 20px; }
.slide-img { position: relative; }
.slide-img > img:first-child { border-radius: var(--r); width: 100%; aspect-ratio: 680/433; object-fit: cover; }
.slide-logo { position: absolute; left: -24px; bottom: -18px; width: 38%; max-width: 220px; background: #fff; border-radius: 12px; padding: 8px; box-shadow: var(--shadow); }
.sl-prev, .sl-next { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: var(--shadow); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; }
.sl-prev { left: -10px; } .sl-next { right: -10px; }
.hero .sl-prev, .hero .sl-next { top: auto; bottom: -12px; transform: none; width: 36px; height: 36px; }
.hero .sl-prev { left: calc(50% - 110px); } .hero .sl-next { right: calc(50% - 110px); }
.search-box { display: flex; flex-direction: column; justify-content: center; }
.sl-dots { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.sl-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #C9C9C9; padding: 0; cursor: pointer; }
.sl-dots button.on { background: var(--red); width: 26px; border-radius: 6px; }

/* Busca */
.search-band { background: var(--bg); padding: 22px 0 40px; }
.search-band-in { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: stretch; }
.search-box { background: #fff; border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.search-box h2 { font-size: 20px; }
.search { display: grid; gap: 12px; }
.search-bar { grid-template-columns: repeat(3, 1fr) auto; align-items: end; }
.search label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--gray-d); }
.search select, .search input, .form input, .form select, .form textarea { font: 15px Sora, system-ui, sans-serif; padding: 11px 12px; border: 1px solid #CFCFD6; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; min-height: 46px; }
.search-wa { background: var(--red); color: #fff; border-radius: var(--r); padding: 24px; }
.search-wa p { margin: 0 0 10px; }
.search-wa-t { font-size: 20px; }
.wa-group { display: flex; flex-wrap: wrap; gap: 8px; }
.search-wa .btn-wa, .wa-outline .btn-wa { background: transparent; border-color: #fff; color: #fff; }
.search-wa .btn-wa:hover, .wa-outline .btn-wa:hover { background: #fff; color: var(--red); }

.big-title { text-align: center; color: var(--gray-d); font-size: clamp(22px, 3vw, 30px); font-weight: 400; margin: 46px auto 10px; }

/* Faixas de imóveis */
.band { padding: 44px 0; }
.band-gray { background: var(--bg); }
.band-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.band-head h2 { font-size: 28px; margin: 0; }
.band-head p { margin: 4px 0 0; }
.sec-title { display: flex; align-items: center; gap: 10px; font-size: 26px; }
.sec-title .ico { color: var(--red); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 60px) / 4); } }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }

/* Card de imóvel */
.card { background: #fff; border-radius: 15px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card-img { position: relative; display: block; aspect-ratio: 4/3; background: var(--bg); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 6px; font-size: 13px; font-weight: 700; color: #fff; }
.card .tag { position: absolute; left: 12px; top: 12px; }
.tag-venda { background: var(--red); }
.tag-aluguel { background: var(--yellow); color: #3A2D00; }
.tag-type { background: var(--gray); }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-type { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-d); font-weight: 700; }
.card-title { font-size: 16px; margin: 0; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--red); }
.card-addr { margin: 0; font-size: 13px; color: #6B6B76; display: flex; gap: 6px; }
.card-addr .ico { color: var(--red); margin-top: 3px; }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); }
.price { color: var(--red); font-size: 17px; font-weight: 800; }
.card-more { color: var(--gray-d); font-weight: 600; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 2px; }

/* Institucional da home */
.about-home { padding: 56px 0; }
.about-home-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-home h2 { font-size: 30px; }
.link-more { font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }

/* Cartões de contato (rodapé) */
.contact-cards { padding: 50px 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ccard { border-radius: var(--r); padding: 28px; color: #fff; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ccard h2 { color: #fff; font-size: 22px; font-weight: 400; margin: 0; }
.ccard p { margin: 0; }
.ccard-red { background: var(--red); }
.ccard-gray { background: var(--gray); }
.big-phone { color: #fff; font-size: 24px; font-weight: 800; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.addr { display: flex; gap: 8px; }

.insta { background: linear-gradient(90deg, #833AB4, #E1306C 55%, #F77737); color: #fff; padding: 30px 0; }
.insta-in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.insta h2 { color: #fff; margin: 0; }
.insta p { margin: 0; }
.insta .btn { margin-left: auto; }
.insta-ico { width: 46px; height: 46px; }

/* Rodapé */
.foot { background: var(--bg); padding: 46px 0 0; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot h2 { font-size: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { color: var(--text); text-decoration: none; line-height: 2; }
.foot li a:hover { color: var(--red); }
.foot p { display: flex; gap: 8px; }
.foot-logo { max-width: 200px; }
.copy { text-align: center; padding: 18px 20px; margin: 36px 0 0; border-top: 1px solid var(--line); font-size: 13px; display: block !important; }

.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; border-radius: 40px; padding: 12px; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.35); font-weight: 600; }
.wa-float .ico { width: 30px; height: 30px; }
.wa-float span { display: none; padding-right: 8px; }
.wa-float:hover span { display: inline; }

/* Páginas internas */
.page-hero { background: var(--bg); padding: 34px 0 30px; }
.page-hero-in { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 400; }
.page-hero-img { max-height: 300px; width: auto; border-radius: var(--r); }
.crumbs { font-size: 13px; color: var(--gray-d); margin-bottom: 10px; }
.crumbs a { color: var(--gray-d); }
.lead { font-size: clamp(20px, 2.4vw, 26px); color: var(--ink); font-weight: 600; margin-top: 36px; }
.prose { max-width: 860px; font-size: 16px; }
.prose-about { max-width: 1200px; padding-top: 10px; padding-bottom: 20px; }
.prose-about img { max-width: 420px; }
.prose strong p, .prose p strong:only-child { font-weight: 700; }
.prose h2 { margin-top: 1.4em; }
.prose img { border-radius: 10px; margin: 16px 0; }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; }
.page-text { padding: 30px 20px 50px; }
.with-side { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 32px; padding-top: 32px; padding-bottom: 50px; align-items: start; }
.with-side.side-right { grid-template-columns: minmax(0, 1fr) 330px; }
.with-side > * { min-width: 0; }
.side { background: var(--bg); border-radius: var(--r); padding: 20px; position: sticky; top: 100px; }
.side h2 { font-size: 18px; }
.count { color: var(--gray-d); margin: 0 0 16px; }
.empty { background: var(--bg); border-radius: var(--r); padding: 24px; }
.pager { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.pager a, .pager span { min-width: 44px; min-height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; border-radius: 8px; background: var(--bg); color: var(--ink); text-decoration: none; font-weight: 600; }
.pager .on { background: var(--red); color: #fff; }

/* Página do imóvel */
.prop-hero h1 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; margin: 10px 0 6px; }
.prop-tags { display: flex; gap: 8px; margin: 0; }
.prop-addr { margin: 0; display: flex; gap: 6px; }
.prop-addr .ico { color: var(--red); margin-top: 4px; }
.prop-price { color: var(--red); font-size: 28px; font-weight: 800; margin: 8px 0 0; }
.prop-main h2 { margin-top: 34px; font-size: 22px; }
.gallery { display: flex; flex-direction: column; gap: 10px; }
.g-main { position: relative; margin: 0; background: #1b1b1b; border-radius: var(--r); overflow: hidden; aspect-ratio: 3/2; }
.g-main img { width: 100%; height: 100%; object-fit: contain; }
.g-prev, .g-next { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.g-prev { left: 12px; } .g-next { right: 12px; }
.g-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.6); color: #fff; padding: 2px 10px; border-radius: 20px; font-size: 13px; }
.g-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 96px; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.g-thumbs button { padding: 0; border: 3px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; height: 72px; }
.g-thumbs button.on { border-color: var(--red); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { background: var(--bg); border-radius: 10px; padding: 10px 14px; display: flex; align-items: center; gap: 6px; }
.facts .ico { color: var(--red); width: 22px; height: 22px; }
.details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin: 0; }
.details div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.details dt { font-weight: 700; color: var(--ink); }
.details dd { margin: 0; text-align: right; }
.map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--r); }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.prop-side { background: none; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.prop-side > h2, .prop-side > .search { background: var(--bg); padding: 0 20px; margin: 0; }
.prop-side > h2 { padding-top: 20px; border-radius: var(--r) var(--r) 0 0; }
.prop-side > .search { padding-bottom: 20px; border-radius: 0 0 var(--r) var(--r); margin-top: -16px; }
.interest { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.interest p { margin: 0; }
.interest-price { color: var(--red); font-size: 24px; font-weight: 800; }

/* Sobre, corretores, portfólio */
.banners { padding: 30px 20px 10px; }
.slider-banners .slide { display: block; position: relative; }
.slider-banners img { width: 100%; border-radius: var(--r); }
.banner-cta { position: absolute; right: 20px; bottom: 20px; }
.brokers { display: grid; gap: 16px; padding-top: 30px; padding-bottom: 40px; }
.broker { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center; background: var(--bg); border-radius: var(--r); padding: 16px; }
.broker img { border-radius: 50%; width: 120px; height: 120px; object-fit: cover; }
.broker h2 { font-size: 20px; margin: 0; }
.broker p { margin: 0; color: var(--gray-d); }
.rail-port { grid-auto-columns: 272px; padding-top: 30px; }
.port { margin: 0; position: relative; }
.port img { border-radius: var(--r); width: 100%; aspect-ratio: 272/424; object-fit: cover; }
.port .btn { position: absolute; left: 16px; bottom: 16px; }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.logo-item { background: #fff; border-radius: 12px; padding: 14px; display: flex; align-items: center; justify-content: center; aspect-ratio: 290/179; }
.logo-item img { max-height: 100%; object-fit: contain; }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding-top: 30px; padding-bottom: 50px; }
.contact h2 { font-size: 18px; display: flex; gap: 8px; align-items: center; margin-top: 22px; }
.contact h2 .ico { color: var(--red); }
.plain { list-style: none; padding: 0; }
.form-card { background: var(--bg); border-radius: var(--r); padding: 26px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.ok, .err, .note { padding: 12px 14px; border-radius: 8px; font-weight: 600; margin: 0 0 12px; }
.ok { background: #E3F3EA; color: #14532D; }
.err { background: #FBE7E6; color: #7F1D1D; }
.note { background: #fff; }

.nf { text-align: center; padding: 70px 20px; }
.nf-code { font-size: 90px; font-weight: 800; color: var(--red); margin: 0; line-height: 1; }

@media (max-width: 980px) {
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 22px; box-shadow: var(--shadow); gap: 14px; }
  .menu.open { display: flex; }
  .menu ul { flex-direction: column; gap: 0; }
  .menu li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .only-mobile { display: block; }
  .mob-cta { display: inline-flex; margin-top: 14px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .drop { display: none; }
  .top { position: sticky; }
  .top-in { min-height: 70px; position: static; }
  .brand img { height: 46px; }
  .slide, .search-band-in, .about-home-in, .page-hero-in, .with-side, .with-side.side-right, .contact { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .prop-side { order: 2; }
  .slide-logo { left: 10px; bottom: 10px; width: 30%; }
  .sl-prev { left: 4px; } .sl-next { right: 4px; }
  .page-hero-img { max-height: 200px; }
  .grid3, .foot-in { grid-template-columns: 1fr 1fr; }
  .details { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .search-bar { grid-template-columns: 1fr; }
  .grid3, .foot-in, .row2 { grid-template-columns: 1fr; }
  .broker { grid-template-columns: 80px 1fr; }
  .broker img { width: 80px; height: 80px; }
  .broker .btn { grid-column: 1 / -1; }
  .g-main { aspect-ratio: 4/3; }
  .rail { grid-auto-columns: 82%; }
  .insta .btn { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; scroll-behavior: auto !important; } }
