/* ============================================
   PEDRA GRANDE — IMOBILIÁRIA
   Folha de estilos compartilhada
   ============================================ */
:root{
  --brand-blue:#A5D8E6;
  --brand-blue-deep:#5BA9C0;
  --brand-blue-dark:#1F6B7E;
  --brand-blue-link:#1A6FAF;
  --ink:#0F0F0F;
  --ink-soft:#3A3A3A;
  --muted:#7A7A7A;
  --line:#E8E8E8;
  --bg:#F4F5F7;
  --white:#FFFFFF;
  --warm:#F4EFE6;
  --green:#22A84A;
  --green-deep:#1B8C3D;
  --orange:var(--brand-blue-dark);
  --orange-deep:#0E2C44;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --shadow-lg:0 20px 60px rgba(0,0,0,.15);
  --shadow-card:0 2px 18px rgba(0,0,0,.06);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'Montserrat',sans-serif;
  color:var(--ink-soft);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:'Playfair Display',serif;color:var(--ink);font-weight:600;line-height:1.2}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:1240px;margin:0 auto;padding:0 24px}


/* ============ DEMO RIBBON ============ */
.demo-ribbon{
  position:relative;z-index:80;
  background:linear-gradient(90deg,#0E2C44 0%,#1F6B7E 48%,#5BA9C0 100%);
  color:#fff;border-bottom:1px solid rgba(255,255,255,.18);
  box-shadow:0 8px 26px rgba(14,44,68,.22);
}
.demo-ribbon::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(115deg,rgba(255,255,255,.18),rgba(255,255,255,0) 38%,rgba(255,255,255,.10));
  opacity:.65;
}
.demo-ribbon-inner{
  min-height:36px;display:flex;align-items:center;justify-content:center;gap:12px;
  position:relative;z-index:1;text-align:center;font-size:13px;font-weight:600;letter-spacing:.1px;
}
.demo-ribbon-badge{
  display:inline-flex;align-items:center;justify-content:center;
  padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.28);text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:.7px;
  white-space:nowrap;
}

/* ============ TOP BAR ============ */
.topbar{background:var(--ink);color:#cfcfcf;font-size:13px;padding:8px 0;}
.topbar .container{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.topbar a{color:#cfcfcf;transition:color .2s}
.topbar a:hover{color:var(--brand-blue)}
.topbar .info span{margin-right:18px}
.topbar .info i{margin-right:6px;color:var(--brand-blue)}
.topbar .social a{margin-left:14px;font-size:14px}

/* ============ HEADER ============ */
header{
  background:var(--white);border-bottom:1px solid var(--line);
  position:sticky;top:0;z-index:50;backdrop-filter:blur(8px);
  background:rgba(255,255,255,.96);
}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:24px}
.logo{display:flex;align-items:center;gap:12px}
.logo img{height:62px;width:auto}
nav.menu ul{list-style:none;display:flex;gap:32px}
nav.menu a{
  font-weight:600;font-size:14px;letter-spacing:.5px;
  text-transform:uppercase;color:var(--ink);position:relative;padding:6px 0;
}
nav.menu a::after{
  content:"";position:absolute;left:0;bottom:0;height:2px;width:0;
  background:var(--brand-blue-deep);transition:width .25s ease;
}
nav.menu a:hover::after,nav.menu a.active::after{width:100%}
.header-cta{
  display:inline-flex;align-items:center;gap:8px;
  background:linear-gradient(135deg,var(--brand-blue-dark),var(--brand-blue-deep));color:var(--white);
  padding:11px 20px;border-radius:999px;font-weight:600;font-size:13px;
  transition:all .25s;
}
.header-cta:hover{background:linear-gradient(135deg,#0E2C44,var(--brand-blue-dark));transform:translateY(-1px)}

/* ============ HERO (HOME) — estilo referência ============ */
.hero{
  position:relative;height:78vh;min-height:520px;
  color:var(--white);overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  isolation:isolate;
  background:#071923;
}
.hero::before{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:
    linear-gradient(115deg,rgba(255,255,255,.18) 0%,rgba(255,255,255,.045) 18%,rgba(255,255,255,0) 36%),
    linear-gradient(90deg,rgba(14,44,68,.30) 0%,rgba(14,44,68,0) 42%,rgba(14,44,68,.24) 100%);
  mix-blend-mode:screen;opacity:.58;
}
.hero::after{
  content:"";position:absolute;inset:0;z-index:3;pointer-events:none;
  background:
    linear-gradient(180deg,rgba(4,12,18,.10) 0%,rgba(4,12,18,0) 34%,rgba(4,12,18,.38) 100%),
    repeating-linear-gradient(0deg,rgba(255,255,255,.026) 0 1px,transparent 1px 4px);
  box-shadow:inset 0 90px 140px rgba(0,0,0,.32),inset 0 -120px 180px rgba(0,0,0,.42);
}
.hero-slides{position:absolute;inset:0;z-index:0}
.hero-slide{
  position:absolute;inset:0;background-size:cover;background-position:center;
  opacity:0;transition:opacity 1.4s ease-in-out,filter 1.4s ease-in-out;
  transform:scale(1.08);filter:saturate(.94) contrast(1.04) brightness(.84);
}
.hero-slide.active{opacity:1;animation:heroKenBurns 10s ease-out both;filter:saturate(1.06) contrast(1.08) brightness(.92)}
.hero-slide::after{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(180deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,.36) 48%,rgba(0,0,0,.62) 100%),
    radial-gradient(ellipse at center,rgba(0,0,0,0) 0%,rgba(0,0,0,.22) 70%,rgba(0,0,0,.52) 100%);
}
@keyframes heroKenBurns{
  0%{transform:scale(1.08) translate3d(0,0,0)}
  100%{transform:scale(1.16) translate3d(-1.4%,1%,0)}
}
.hero-content{position:relative;z-index:4;text-align:center;max-width:1180px;padding:0 24px;width:100%;}
.hero h1{
  font-size:clamp(36px,5vw,56px);color:var(--white);
  margin-bottom:30px;font-weight:600;
  text-shadow:0 4px 24px rgba(0,0,0,.45);
  letter-spacing:-.5px;
}
/* Compact horizontal filter bar */
.search-bar{
  background:var(--white);border-radius:14px;
  display:grid;
  grid-template-columns:1.05fr 1fr 1.7fr 1fr auto;
  align-items:stretch;
  padding:8px;gap:4px;
  box-shadow:0 24px 70px rgba(0,0,0,.30),0 1px 0 rgba(255,255,255,.7) inset;
  max-width:1100px;margin:0 auto;color:var(--ink);
  border:1px solid rgba(255,255,255,.72);
  backdrop-filter:blur(10px);
}
.sb-field{
  display:flex;align-items:center;gap:10px;padding:10px 16px;
  border-right:1px solid var(--line);position:relative;
}
.sb-field:last-of-type{border-right:none}
.sb-field i{color:var(--ink-soft);font-size:14px;flex-shrink:0}
.sb-field .ctl{flex:1;min-width:0}
.sb-field label{
  display:block;font-size:11px;color:var(--muted);
  font-weight:500;line-height:1.2;margin-bottom:1px;
}
.sb-field select,.sb-field input{
  border:none;outline:none;background:transparent;
  font-family:inherit;font-size:14px;font-weight:600;color:var(--ink);
  width:100%;cursor:pointer;padding:0;
  appearance:none;-webkit-appearance:none;
}
.sb-field input{font-weight:500}
.sb-field input::placeholder{color:#999;font-weight:400}
.sb-field .chev{color:#999;margin-left:auto;font-size:12px}
.sb-submit{
  background:#0E2C44;color:var(--white);
  border:none;border-radius:10px;padding:0 28px;
  font-family:inherit;font-weight:600;font-size:14px;cursor:pointer;
  transition:background .2s;display:inline-flex;align-items:center;gap:8px;
  white-space:nowrap;
}
.sb-submit:hover{background:#072036}
.sb-code{
  text-align:center;margin-top:18px;
}
.sb-code a{
  display:inline-flex;align-items:center;gap:8px;
  color:var(--white);font-size:13px;font-weight:600;
  background:linear-gradient(180deg,rgba(255,255,255,.20),rgba(255,255,255,.08));
  padding:9px 20px;border-radius:999px;
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.34);
  box-shadow:0 12px 35px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.32);
  transition:all .2s;
}
.sb-code a:hover{background:rgba(255,255,255,.22)}
.hero-dots{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);display:flex;gap:10px;z-index:4;}
.hero-dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.4);cursor:pointer;transition:all .2s;}
.hero-dot.active{background:var(--brand-blue);width:28px;border-radius:4px}

/* ============ STATS ============ */
.stats{background:var(--ink);color:var(--white);padding:36px 0;}
.stats .container{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center;}
.stat-item{padding:0 12px;border-right:1px solid rgba(255,255,255,.12)}
.stat-item:last-child{border-right:none}
.stat-number{font-family:'Playfair Display',serif;font-size:42px;font-weight:600;color:var(--brand-blue);display:block;line-height:1;}
.stat-label{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:#cfcfcf;margin-top:8px;display:block;}

/* ============ SECTIONS ============ */
section.block{padding:90px 0}
.section-header{text-align:center;margin-bottom:54px}
.section-eyebrow{font-size:12px;letter-spacing:4px;text-transform:uppercase;color:var(--brand-blue-dark);font-weight:700;margin-bottom:14px;display:block;}
.section-header h2{font-size:clamp(28px,3.4vw,42px);margin-bottom:14px;}
.section-header p{color:var(--muted);max-width:620px;margin:0 auto;font-size:16px;}

/* ============ CATEGORIES ============ */
.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.cat-card{position:relative;border-radius:14px;overflow:hidden;height:240px;cursor:pointer;box-shadow:var(--shadow);}
.cat-card img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease;}
.cat-card:hover img{transform:scale(1.08)}
.cat-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.75));}
.cat-info{position:absolute;left:0;right:0;bottom:0;padding:22px;color:var(--white);z-index:2;}
.cat-info h3{color:var(--white);font-size:22px;margin-bottom:4px}
.cat-info span{font-size:13px;color:var(--brand-blue);font-weight:500}

/* ============ PROPERTY GRID ============ */
.filter-pills{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:42px;}
.pill{background:var(--white);border:1px solid var(--line);padding:9px 22px;border-radius:999px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s;color:var(--ink-soft);}
.pill:hover{border-color:var(--brand-blue-deep)}
.pill.active{background:var(--brand-blue-dark);color:var(--white);border-color:var(--brand-blue-dark)}
.property-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.property-card{
  background:var(--white);border-radius:14px;overflow:hidden;
  box-shadow:0 2px 14px rgba(0,0,0,.05);
  transition:all .3s;cursor:pointer;display:flex;flex-direction:column;
  border:1px solid #f0f0f0;
}
.property-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);}
.property-img{position:relative;height:240px;overflow:hidden;}
.property-img img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.property-card:hover .property-img img{transform:scale(1.06)}
.property-tags{position:absolute;top:14px;left:14px;display:flex;gap:6px;}
.tag{padding:5px 11px;border-radius:6px;font-size:10px;text-transform:uppercase;letter-spacing:.5px;font-weight:700;background:var(--white);color:var(--ink);}
.tag.featured{background:var(--brand-blue-dark);color:var(--white)}
.tag.sale{background:var(--green);color:var(--white)}
.tag.rent{background:var(--orange);color:var(--white)}
.property-fav{position:absolute;top:14px;right:14px;width:38px;height:38px;background:var(--white);border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--ink-soft);transition:all .2s;}
.property-fav:hover{color:#5BA9C0;transform:scale(1.08)}
.property-info{padding:22px;flex:1;display:flex;flex-direction:column}
.property-type{font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:var(--brand-blue-dark);font-weight:700;margin-bottom:8px;}
.property-info h3{font-family:'Montserrat',sans-serif;font-size:17px;font-weight:700;color:var(--ink);margin-bottom:6px;line-height:1.35;}
.property-loc{font-size:13px;color:var(--muted);margin-bottom:16px;display:flex;align-items:center;gap:6px;}
.property-loc i{color:var(--brand-blue-dark)}
.property-features{display:flex;gap:14px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:16px;flex-wrap:wrap;}
.feature{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--ink-soft);font-weight:500}
.feature i{color:var(--brand-blue-dark);font-size:13px}
.property-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:auto;}
.property-price{font-family:'Playfair Display',serif;font-size:22px;font-weight:600;color:var(--ink);}
.property-price small{font-size:11px;color:var(--muted);font-weight:400;letter-spacing:.5px}
.btn-detail{background:linear-gradient(135deg,var(--brand-blue-dark),var(--brand-blue-deep));color:var(--white);padding:9px 18px;border-radius:8px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;transition:all .2s;box-shadow:0 8px 20px rgba(31,107,126,.18);}
.btn-detail:hover{background:linear-gradient(135deg,#0E2C44,var(--brand-blue-dark));box-shadow:0 10px 24px rgba(31,107,126,.24)}
.view-all{text-align:center;margin-top:48px}
.btn-line{display:inline-flex;align-items:center;gap:10px;padding:14px 34px;border:2px solid var(--brand-blue-dark);color:var(--brand-blue-dark);font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:1.5px;border-radius:999px;transition:all .25s;}
.btn-line:hover{background:var(--brand-blue-dark);color:var(--white)}

/* ============ WHY ============ */
.why{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.why-card{background:var(--white);padding:38px 28px;border-radius:14px;text-align:center;border:1px solid var(--line);transition:all .3s;}
.why-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--brand-blue)}
.why-icon{width:74px;height:74px;border-radius:50%;background:var(--brand-blue);display:flex;align-items:center;justify-content:center;margin:0 auto 22px;color:var(--ink);font-size:28px;}
.why-card h3{font-size:20px;margin-bottom:12px}
.why-card p{color:var(--muted);font-size:14px}

/* ============ CTA BANNER ============ */
.cta-banner{position:relative;padding:80px 0;color:var(--white);text-align:center;background:linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)),url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?w=1600&q=80') center/cover;}
.cta-banner h2{color:var(--white);font-size:clamp(28px,3.4vw,42px);margin-bottom:14px}
.cta-banner p{max-width:600px;margin:0 auto 30px;color:#e0e0e0;font-size:16px}
.btn-primary{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--ink);color:var(--white);
  padding:14px 26px;border-radius:10px;font-weight:600;font-size:13px;
  text-transform:uppercase;letter-spacing:1px;transition:all .2s;
  border:none;cursor:pointer;font-family:inherit;
}
.btn-primary:hover{background:var(--brand-blue-dark)}
.cta-banner .btn-primary{background:var(--brand-blue);color:var(--ink)}
.cta-banner .btn-primary:hover{background:var(--white)}
.btn-wpp{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#25D366;color:var(--white);padding:14px 26px;border-radius:10px;font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:1px;transition:all .2s;}
.btn-wpp:hover{background:#1faa52}

/* ============ FOOTER ============ */
footer{background:#0A0A0A;color:#bdbdbd;padding:70px 0 0;font-size:14px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:42px;margin-bottom:50px}
.footer-logo img{height:90px;margin-bottom:18px;filter:brightness(1.05)}
.footer-about{color:#9a9a9a;line-height:1.7;font-size:13.5px}
footer h4{color:var(--white);font-family:'Montserrat',sans-serif;font-size:13px;text-transform:uppercase;letter-spacing:2px;font-weight:600;margin-bottom:22px;position:relative;padding-bottom:12px;}
footer h4::after{content:"";position:absolute;left:0;bottom:0;width:32px;height:2px;background:var(--brand-blue);}
footer ul{list-style:none}
footer li{margin-bottom:10px}
footer li a{color:#9a9a9a;transition:all .2s;font-size:13.5px}
footer li a:hover{color:var(--brand-blue);padding-left:6px}
.footer-contact div{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px}
.footer-contact i{color:var(--brand-blue);width:18px;margin-top:3px}
.footer-social{display:flex;gap:10px;margin-top:18px}
.footer-social a{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.06);display:flex;align-items:center;justify-content:center;color:#bdbdbd;transition:all .25s;}
.footer-social a:hover{background:var(--brand-blue);color:var(--ink)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:22px 0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;font-size:13px;color:#7a7a7a;}

/* ============ FLOATING WHATSAPP ============ */
.float-wpp{
  position:fixed;bottom:26px;right:26px;z-index:60;
  display:flex;align-items:center;gap:12px;color:var(--white);
}
.float-wpp-icon{
  position:relative;width:58px;height:58px;background:#25D366;color:var(--white);
  border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-size:28px;box-shadow:0 8px 30px rgba(37,211,102,.45);
  transition:all .25s;animation:wppPulse 2.8s ease-in-out infinite;
}
.float-wpp-icon::before{
  content:"";position:absolute;inset:-8px;border-radius:50%;
  border:1px solid rgba(37,211,102,.34);animation:wppRing 2.8s ease-out infinite;
}
.float-wpp-bubble{
  position:relative;max-width:210px;background:var(--white);color:var(--ink);
  padding:11px 14px;border-radius:14px;box-shadow:0 12px 34px rgba(0,0,0,.18);
  font-size:13px;font-weight:700;line-height:1.25;
  opacity:.96;transform:translateX(0);transition:all .25s;
}
.float-wpp-bubble::after{
  content:"";position:absolute;right:-7px;top:50%;transform:translateY(-50%);
  border-left:8px solid var(--white);border-top:7px solid transparent;border-bottom:7px solid transparent;
}
.float-wpp:hover .float-wpp-icon{transform:scale(1.08);box-shadow:0 10px 34px rgba(37,211,102,.52)}
.float-wpp:hover .float-wpp-bubble{transform:translateX(-3px)}
@keyframes wppPulse{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.05)}
}
@keyframes wppRing{
  0%{transform:scale(.85);opacity:.65}
  70%,100%{transform:scale(1.35);opacity:0}
}

/* ============================================
   PROPERTY DETAIL PAGE — estilo referência
   ============================================ */
.imv-page{background:var(--bg);padding:36px 0 60px;min-height:calc(100vh - 200px);}
.imv-shell{
  max-width:980px;margin:0 auto;padding:0 24px;
}
.imv-card-main{
  background:var(--white);border-radius:14px;
  box-shadow:var(--shadow-card);
  padding:32px;
}

/* breadcrumb */
.imv-breadcrumb{font-size:13px;color:var(--muted);margin-bottom:20px}
.imv-breadcrumb a{color:var(--muted)}
.imv-breadcrumb a:hover{color:var(--brand-blue-link)}
.imv-breadcrumb .sep{margin:0 8px}

/* title row */
.imv-title-row{margin-bottom:6px}
.imv-title-row h1{
  font-family:'Montserrat',sans-serif;
  font-size:clamp(22px,2.4vw,30px);font-weight:700;
  color:var(--brand-blue-link);line-height:1.25;
  display:inline;
}
.imv-title-row .ref{
  font-family:'Montserrat',sans-serif;
  color:var(--muted);font-size:15px;font-weight:500;
  margin-left:8px;
}
.imv-address{
  display:flex;align-items:center;gap:14px;
  color:var(--ink-soft);font-size:14px;margin-bottom:24px;flex-wrap:wrap;
}
.imv-address i.pin{color:var(--orange)}
.imv-address .map-link{
  display:inline-flex;align-items:center;gap:6px;
  color:var(--brand-blue-link);font-size:13px;font-weight:600;
  border:1px solid var(--brand-blue-link);
  padding:5px 11px;border-radius:6px;transition:all .2s;
}
.imv-address .map-link:hover{background:var(--brand-blue-link);color:var(--white)}

/* main image */
.imv-main-photo{
  position:relative;border-radius:10px;overflow:hidden;
  aspect-ratio:16/10;background:#222;margin-bottom:14px;
}
.imv-main-photo img{width:100%;height:100%;object-fit:cover;display:block}
.imv-arrow{
  position:absolute;top:50%;transform:translateY(-50%);
  width:42px;height:42px;border-radius:50%;
  background:rgba(255,255,255,.85);color:var(--ink);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;font-size:18px;transition:all .2s;
  border:none;
}
.imv-arrow:hover{background:var(--white);transform:translateY(-50%) scale(1.05)}
.imv-arrow.prev{left:14px}
.imv-arrow.next{right:14px}
.imv-photo-counter{
  position:absolute;bottom:14px;right:14px;
  background:rgba(0,0,0,.6);color:var(--white);
  font-size:12px;font-weight:600;padding:6px 12px;border-radius:6px;
  backdrop-filter:blur(4px);
}

/* thumbs grid */
.imv-thumbs{
  display:grid;grid-template-columns:repeat(8,1fr);gap:6px;margin-bottom:28px;
}
.imv-thumbs img{
  width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px;cursor:pointer;
  opacity:.7;transition:all .2s;border:2px solid transparent;
}
.imv-thumbs img:hover{opacity:1}
.imv-thumbs img.active{opacity:1;border-color:var(--brand-blue-deep)}

/* stats + price row */
.imv-meta-row{
  display:grid;grid-template-columns:1fr 280px;gap:18px;
  margin-bottom:24px;align-items:stretch;
}
.imv-stats-box{
  display:grid;grid-template-columns:repeat(5,1fr);gap:6px;
  background:var(--white);border:1px solid var(--line);
  border-radius:10px;padding:18px 12px;
}
.imv-stat{
  text-align:center;padding:6px 4px;
  border-right:1px solid var(--line);
}
.imv-stat:last-child{border-right:none}
.imv-stat i{
  color:var(--brand-blue-deep);font-size:22px;display:block;margin-bottom:6px;
}
.imv-stat .v{font-weight:700;color:var(--ink);font-size:14px;line-height:1.2}
.imv-stat .l{font-size:11px;color:var(--muted);text-transform:none;margin-top:2px;font-weight:500}

.imv-price-box{
  background:var(--white);border:1px solid var(--line);
  border-radius:10px;padding:20px;text-align:center;
  display:flex;flex-direction:column;justify-content:center;
}
.imv-price-box .lbl{
  font-size:13px;color:var(--ink-soft);font-weight:600;margin-bottom:6px;
}
.imv-price-box .val{
  font-family:'Montserrat',sans-serif;
  color:var(--green);font-size:26px;font-weight:700;
  margin-bottom:14px;
}
.imv-price-box .btn-interest{
  background:var(--green);color:var(--white);
  padding:11px 16px;border-radius:8px;
  font-weight:700;font-size:13px;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  cursor:pointer;border:none;font-family:inherit;
  transition:background .2s;width:100%;
}
.imv-price-box .btn-interest:hover{background:var(--green-deep)}

/* type tag + about */
.imv-type-pill{
  display:inline-block;background:var(--brand-blue-link);color:var(--white);
  padding:6px 18px;border-radius:999px;font-size:12px;font-weight:700;
  letter-spacing:1px;margin-bottom:18px;
}
.imv-section-title{
  color:var(--brand-blue-link);font-family:'Montserrat',sans-serif;
  font-size:16px;font-weight:700;margin-bottom:12px;
}
.imv-about p{color:var(--ink-soft);margin-bottom:14px;font-size:14.5px;line-height:1.75}

.imv-features-list{
  display:grid;grid-template-columns:repeat(2,1fr);gap:8px 24px;
  margin:18px 0 8px;
}
.imv-features-list .it{
  display:flex;align-items:center;gap:10px;padding:8px 0;
  border-bottom:1px dashed var(--line);font-size:14px;
}
.imv-features-list .it i{color:var(--green);font-size:13px}

/* back button */
.imv-back-btn{
  display:flex;align-items:center;justify-content:center;gap:10px;
  background:linear-gradient(135deg,var(--brand-blue-dark),var(--brand-blue-deep));color:var(--white);
  padding:14px 26px;border-radius:10px;
  font-weight:700;font-size:14px;width:100%;margin-top:24px;
  transition:background .2s;text-transform:uppercase;letter-spacing:.5px;
}
.imv-back-btn:hover{background:linear-gradient(135deg,#0E2C44,var(--brand-blue-dark));color:var(--white)}

/* corretor card */
.imv-broker{
  background:var(--ink);color:var(--white);border-radius:12px;
  padding:18px;display:flex;align-items:center;gap:14px;margin-top:18px;
}
.imv-broker .avatar{
  width:54px;height:54px;border-radius:50%;
  background:var(--brand-blue);display:flex;align-items:center;justify-content:center;
  color:var(--ink);font-weight:700;font-size:18px;flex-shrink:0;
  font-family:'Playfair Display',serif;
}
.imv-broker h4{color:var(--white);font-family:'Montserrat',sans-serif;font-size:14px;margin-bottom:2px}
.imv-broker p{font-size:12px;color:#bbb;margin:0}
.imv-broker .creci{font-size:11px;color:var(--brand-blue);margin-top:2px;letter-spacing:.5px}
.imv-broker .b-actions{margin-left:auto;display:flex;gap:8px}
.imv-broker .b-actions a{
  width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.08);
  display:flex;align-items:center;justify-content:center;color:var(--white);
  transition:all .2s;
}
.imv-broker .b-actions a:hover{background:var(--brand-blue);color:var(--ink)}
.imv-broker .b-actions a.wpp{background:#25D366}
.imv-broker .b-actions a.wpp:hover{background:#1faa52;color:var(--white)}

/* SIMILAR PROPERTIES */
.similar-section{padding:60px 0;background:var(--white)}
.similar-section .section-header h2{font-size:28px}

/* RESPONSIVE */
@media (max-width:980px){
  .search-bar{grid-template-columns:1fr 1fr;}
  .sb-field{border-right:none;border-bottom:1px solid var(--line)}
  .sb-submit{grid-column:span 2;padding:14px}
  .categories{grid-template-columns:repeat(2,1fr)}
  .property-grid{grid-template-columns:repeat(2,1fr)}
  .stats .container{grid-template-columns:repeat(2,1fr);gap:32px}
  .stat-item{border-right:none}
  .why{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr;gap:36px}
  nav.menu{display:none}
  .imv-meta-row{grid-template-columns:1fr}
  .imv-stats-box{grid-template-columns:repeat(5,1fr)}
  .imv-thumbs{grid-template-columns:repeat(6,1fr)}
}
@media (max-width:600px){
  .search-bar{grid-template-columns:1fr}
  .sb-submit{grid-column:span 1}
  .categories{grid-template-columns:1fr}
  .property-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .topbar .info span{display:block;margin:2px 0}
  .imv-card-main{padding:18px}
  .imv-stats-box{grid-template-columns:repeat(3,1fr);gap:12px}
  .imv-stat{border-right:none;border-bottom:1px solid var(--line);padding-bottom:10px}
  .imv-thumbs{grid-template-columns:repeat(4,1fr)}
  .imv-features-list{grid-template-columns:1fr}
}

/* ============ MOBILE POLISH 2026-05-09 ============ */
@media (max-width:760px){
  html{scroll-padding-top:126px}
  body{overflow-x:hidden;width:100%;max-width:100vw}
  body > *{max-width:100vw}
  .container{padding:0 16px}

  .demo-ribbon-inner{
    display:block;min-height:auto;padding:8px 0;
    text-align:left;font-size:11.5px;line-height:1.35;
  }
  .demo-ribbon-inner span:not(.demo-ribbon-badge){
    display:block;min-width:0;overflow-wrap:anywhere;word-break:normal;
  }
  .demo-ribbon-badge{
    display:inline-flex;margin-bottom:4px;
    font-size:9px;padding:3px 7px;letter-spacing:.45px;
  }

  .topbar{font-size:11px;padding:7px 0}
  .topbar .container{justify-content:center;text-align:center;gap:8px}
  .topbar .info{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
  .topbar .info span{margin:0;display:inline-flex;align-items:center;gap:4px}
  .topbar .info i{margin-right:0}
  .topbar .social{display:none}

  header{top:0}
  .nav{
    padding:10px 16px;gap:10px;flex-wrap:wrap;
    max-width:none;width:100%;
  }
  .logo img{height:48px}
  .header-cta{
    margin-left:auto;padding:9px 12px;border-radius:999px;
    font-size:0;letter-spacing:0;white-space:nowrap;
  }
  .header-cta i{font-size:15px}
  nav.menu{
    display:block;order:3;width:calc(100vw - 32px);
    flex:0 0 calc(100vw - 32px);max-width:calc(100vw - 32px);
    min-width:0;
    overflow:visible;
    margin:2px 0 -2px;padding:0;
  }
  nav.menu::-webkit-scrollbar{display:none}
  nav.menu ul{
    display:grid;grid-template-columns:1fr;
    gap:8px;width:100%;max-width:none;min-width:0;
  }
  nav.menu a{
    display:flex;align-items:center;justify-content:center;
    min-height:34px;padding:7px 10px;border:1px solid var(--line);
    border-radius:999px;background:#fff;font-size:11px;letter-spacing:.2px;
    white-space:nowrap;
  }
  nav.menu a::after{display:none}
  nav.menu a.active{background:var(--brand-blue-dark);color:#fff;border-color:var(--brand-blue-dark)}

  .hero{
    min-height:auto;height:auto;padding:74px 0 30px;
    align-items:flex-start;
  }
  .hero::after{box-shadow:inset 0 80px 120px rgba(0,0,0,.34),inset 0 -120px 150px rgba(0,0,0,.48)}
  .hero-slide{background-position:center top}
  .hero-content{padding:0 16px}
  .hero h1{
    font-size:28px;line-height:1.1;margin:0 auto 18px;
    max-width:280px;letter-spacing:0;
  }
  .search-bar{
    border-radius:12px;padding:8px;gap:0;
    box-shadow:0 18px 45px rgba(0,0,0,.30);
    max-width:calc(100vw - 28px);
  }
  .sb-field{
    display:grid;grid-template-columns:24px minmax(0,1fr) 18px;
    min-height:58px;padding:10px 12px;border-right:none;
    border-bottom:1px solid var(--line);
    gap:10px;text-align:left;position:relative;
  }
  .sb-field:last-of-type{border-bottom:0}
  .sb-field i{margin:0}
  .sb-field .ctl{min-width:0;text-align:left}
  .sb-field label{
    text-align:left;font-size:11px;line-height:1.1;margin-bottom:5px;
  }
  .sb-field select,.sb-field input{
    font-size:16px;line-height:1.2;min-height:22px;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }
  .sb-field select{
    padding-right:24px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231F6B7E' d='M6 8 0 1.6 1.5 0 6 4.8 10.5 0 12 1.6z'/%3E%3C/svg%3E");
    background-repeat:no-repeat;background-position:right center;background-size:12px 8px;
  }
  .sb-field .chev{display:none}
  .sb-submit{
    min-height:48px;margin-top:8px;width:100%;justify-content:center;
    border-radius:9px;font-size:13px;
  }
  .sb-code{margin-top:14px}
  .hero-dots{bottom:12px}

  .stats{padding:24px 0;background:#071923}
  .stats .container{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;text-align:left;
  }
  .stat-item{
    min-width:0;padding:16px 14px;border:1px solid rgba(165,216,230,.16);
    border-radius:12px;background:rgba(255,255,255,.035);
  }
  .stat-item:last-child{border-right:1px solid rgba(165,216,230,.16)}
  .stat-number{font-size:29px;line-height:1.05}
  .stat-label{font-size:9.5px;letter-spacing:1px;line-height:1.35;margin-top:6px}

  section.block{padding:52px 0}
  .section-header{margin-bottom:28px;text-align:left}
  .section-eyebrow{font-size:10px;letter-spacing:2.2px;margin-bottom:8px}
  .section-header h2{font-size:30px}
  .section-header p{font-size:14px;margin:0;line-height:1.6}

  .categories{gap:14px}
  .cat-card{height:188px;border-radius:10px}
  .cat-info{padding:16px}
  .cat-info h3{font-size:20px}

  .filter-pills{
    justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;
    margin:0 -16px 24px;padding:0 16px 4px;scrollbar-width:none;
  }
  .filter-pills::-webkit-scrollbar{display:none}
  .pill{white-space:nowrap;padding:8px 15px;font-size:12px}

  .property-grid{gap:18px}
  .property-card{border-radius:12px}
  .property-card:hover{transform:none}
  .property-img{height:auto;aspect-ratio:4/3}
  .property-tags{top:10px;left:10px;right:54px;flex-wrap:wrap}
  .property-fav{top:10px;right:10px;width:36px;height:36px}
  .property-info{padding:17px}
  .property-info h3{font-size:16px}
  .property-loc{font-size:12.5px;align-items:flex-start}
  .property-features{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;margin-bottom:14px;
  }
  .feature{font-size:11.5px}
  .property-bottom{align-items:flex-start;gap:12px}
  .property-price{font-size:21px;line-height:1.1}
  .btn-detail{
    padding:9px 12px;font-size:10.5px;white-space:nowrap;
    align-self:center;
  }
  .view-all{margin-top:30px}
  .btn-line{width:100%;justify-content:center;padding:13px 18px;font-size:11.5px}

  .why{gap:14px}
  .why-card{padding:24px 18px;border-radius:12px;text-align:left}
  .why-icon{width:54px;height:54px;margin:0 0 16px;font-size:22px}

  .cta-banner{padding:56px 0;text-align:left}
  .cta-banner p{margin:0 0 24px;font-size:14px}
  .cta-banner .btn-primary{width:100%;justify-content:center}

  footer{padding-top:44px}
  .footer-grid{gap:28px;margin-bottom:34px}
  .footer-logo img{height:70px}
  .footer-bottom{align-items:flex-start;font-size:12px}
  .float-wpp{right:14px;bottom:14px;gap:8px}
  .float-wpp-icon{width:54px;height:54px;font-size:25px;box-shadow:0 8px 24px rgba(37,211,102,.38)}
  .float-wpp-bubble{
    position:absolute;right:0;bottom:64px;max-width:170px;
    padding:9px 11px;font-size:11.5px;border-radius:12px;
  }
  .float-wpp-bubble::after{
    right:20px;top:auto;bottom:-7px;transform:none;
    border-left:7px solid transparent;border-right:7px solid transparent;
    border-top:8px solid var(--white);border-bottom:0;
  }

  .imv-page{padding:18px 0 38px}
  .imv-shell{width:100%;max-width:100vw;padding:0 12px}
  .imv-card-main{width:100%;max-width:calc(100vw - 24px);padding:16px;border-radius:12px;overflow:hidden}
  .imv-title-row,.imv-address,.imv-about{
    min-width:0;width:100%;max-width:calc(100vw - 56px);
    overflow-wrap:anywhere;
  }
  .imv-breadcrumb{
    display:flex;gap:6px;overflow-x:auto;white-space:nowrap;
    margin:0 -4px 14px;padding:0 4px 4px;font-size:12px;
  }
  .imv-breadcrumb > span:last-child{display:none}
  .imv-breadcrumb > .sep:last-of-type{display:none}
  .imv-breadcrumb .sep{margin:0 2px}
  .imv-title-row h1{
    display:block;width:100%;max-width:min(100%, 310px);
    font-size:23px;color:var(--ink);white-space:normal;overflow-wrap:anywhere;
  }
  .imv-title-row .ref{display:block;margin:6px 0 0;font-size:13px}
  .imv-address{display:block;font-size:12.5px;line-height:1.5;margin-bottom:16px}
  .imv-address span{display:block;max-width:min(100%, 310px)}
  .imv-address .map-link{margin-top:10px;width:100%;justify-content:center;padding:9px 11px}
  .imv-main-photo{border-radius:10px;aspect-ratio:4/3;margin-bottom:10px}
  .imv-arrow{width:36px;height:36px;font-size:15px}
  .imv-arrow.prev{left:8px}
  .imv-arrow.next{right:8px}
  .imv-photo-counter{bottom:8px;right:8px}
  .imv-thumbs{
    display:flex;overflow-x:auto;gap:8px;margin:0 -16px 20px;padding:0 16px 4px;
    scrollbar-width:none;
  }
  .imv-thumbs::-webkit-scrollbar{display:none}
  .imv-thumbs img{width:64px;min-width:64px;height:64px;aspect-ratio:auto}
  .imv-meta-row{gap:12px;margin-bottom:18px}
  .imv-stats-box{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:8px}
  .imv-stat{border:1px solid var(--line);border-radius:8px;padding:10px 6px}
  .imv-price-box{padding:16px}
  .imv-price-box .val{font-size:24px}
  .imv-about p{font-size:14px}
  .imv-features-list .it{font-size:13.5px}
  .imv-broker{align-items:flex-start;flex-wrap:wrap;padding:15px}
  .imv-broker .b-actions{margin-left:0;width:100%;justify-content:flex-start}
  .similar-section{padding:42px 0}
}

@media (max-width:380px){
  .header-cta{font-size:0;padding:10px 12px}
  .header-cta i{font-size:15px}
  .hero h1{font-size:31px}
  .stats .container{gap:14px}
  .property-bottom{flex-direction:column}
  .btn-detail{width:100%;text-align:center}
}
