/*
Theme Name: Imóveis Moura Dubeux - Luiz Vieira
Author: Luiz Vieira
Description: Catálogo imobiliário em formato de módulos, com curadoria de Luiz Vieira.
Version: 4.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: luiz-vieira-imoveis
*/
:root{--bg:#111113;--panel:#1a1b1e;--ink:#f7f7f7;--muted:#aeb1b5;--red:#e31e29;--gold:#d1aa78}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;margin:0}button,input,a{font:inherit}a{text-decoration:none;color:inherit}button{cursor:pointer}.shell{width:min(1360px,calc(100% - 96px));margin:auto}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}.skip{position:absolute;top:-50px;left:10px;padding:10px;background:#fff;color:#000;z-index:20}.skip:focus{top:10px}.topbar{height:74px;position:relative;z-index:5;background:#101012}.topbar-content{height:100%;display:flex;align-items:center;gap:42px}.wordmark{font:900 29px/1 Manrope,sans-serif;letter-spacing:-2.2px;color:#fff;white-space:nowrap}.wordmark span{color:var(--red)}.wordmark b{color:var(--red);font-size:35px}.topbar nav{display:flex;gap:25px;font-size:13px;font-weight:700;color:#d7d7da}.topbar nav a:hover,.topbar-contact:hover{color:#fff}.topbar-contact{margin-left:auto;background:#25272b;border:1px solid #505258;border-radius:4px;padding:10px 17px;font-size:12px;font-weight:800}.featured{height:min(630px,53vw);min-height:500px;position:relative;overflow:hidden;background:#172126}.featured-photo{position:absolute;right:0;top:0;width:48%;height:100%;object-fit:cover;object-position:center 27%;filter:saturate(.85)}.featured-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#101416 0%,#101416 28%,#101416ec 45%,#10141680 64%,transparent 85%),linear-gradient(0deg,#111113 0%,transparent 34%)}.featured-content{position:relative;z-index:2;padding-top:90px}.hero-kicker,.section-kicker{font-size:11px;letter-spacing:2.1px;font-weight:800;color:#ded5c6}.live-dot{width:8px;height:8px;background:var(--red);display:inline-block;border-radius:50%;margin-right:9px}.featured h1{font:900 clamp(65px,8.5vw,122px)/1 Manrope,sans-serif;letter-spacing:-8px;margin:28px 0 16px;text-shadow:0 12px 35px #0008}.featured h1>span:first-child{color:#fff}.featured h1 .accent{color:var(--red)}.hero-title{font:700 clamp(22px,2.5vw,33px)/1.22 Manrope,sans-serif;max-width:650px;margin:0 0 17px}.hero-description{font-size:15px;line-height:1.65;max-width:575px;color:#d2d7d9}.hero-buttons{display:flex;gap:12px;margin-top:25px}.primary-btn,.secondary-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:4px;padding:15px 22px;font-size:13px;font-weight:800;transition:transform .2s,background .2s}.primary-btn{background:#fff;color:#141414}.primary-btn:hover{background:#e6e6e6;transform:translateY(-2px)}.secondary-btn{background:#6971779c;color:#fff}.secondary-btn:hover{background:#858b90}.hero-credit{color:#999fa0;letter-spacing:1.4px;font-size:9px;font-weight:800;margin-top:50px}.catalog-shell{position:relative;z-index:2;margin-top:-30px;padding-bottom:65px}.catalog-top{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:32px}.catalog-top h2{font:800 clamp(29px,3vw,42px) Manrope,sans-serif;letter-spacing:-1.5px;margin:7px 0 0}.section-kicker{color:var(--red);margin:0}.catalog-search{background:#24262a;border:1px solid #44474b;display:flex;align-items:center;gap:8px;padding:0 12px;width:260px;border-radius:5px;color:#d8dadb}.catalog-search span:first-child{font-size:27px;line-height:1}.catalog-search input{width:100%;padding:11px 0;border:0;outline:0;color:#fff;background:transparent;font-size:12px}.catalog-search input::placeholder{color:#afb0b2}.rail{margin:0 0 44px}.rail-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:20px}.rail-title{font:800 clamp(18px,2vw,24px) Manrope,sans-serif;letter-spacing:-.6px;margin:0}.rail-subtitle{font-size:12px;color:#979ca0;margin:6px 0 0}.rail-controls{display:flex;gap:7px}.rail-controls button{border:1px solid #555;background:#242528;color:#fff;border-radius:4px;width:34px;height:34px;font-size:20px}.rail-controls button:hover{background:#414349}.rail-track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#555 transparent;padding:4px 4px 18px}.tile{flex:0 0 clamp(245px,24vw,330px);min-width:0;border:0;padding:0;text-align:left;background:transparent;color:#fff;scroll-snap-align:start;transition:transform .18s}.tile:hover{transform:translateY(-4px)}.tile-art{height:180px;border-radius:5px;position:relative;overflow:hidden;background:linear-gradient(135deg,var(--a),var(--b));box-shadow:0 10px 25px #0004}.tile-art:before{content:'';position:absolute;left:-20%;top:-40%;height:130%;width:95%;border-radius:50%;border:1px solid #ffffff45;transform:rotate(-25deg)}.tile-art:after{content:'';position:absolute;right:-10%;bottom:-65%;height:130%;width:100%;border-radius:50%;border:1px solid #ffffff25}.tower-set{position:absolute;right:7%;bottom:0;width:48%;height:84%;display:flex;align-items:end;gap:3px;transform:skewY(-5deg);opacity:.72}.tower-set i{display:block;width:33%;height:var(--h);background:linear-gradient(110deg,#ffffff85,#ffffff18);box-shadow:inset -8px 0 #0a131125}.tower-set i:after{content:'';display:block;margin:10px 7px;height:85%;background:repeating-linear-gradient(0deg,transparent 0 14px,#ffffff4b 15px 16px)}.tile-code{position:absolute;top:13px;left:15px;border:1px solid #ffffff80;border-radius:2px;padding:5px 7px;font:800 9px Manrope;letter-spacing:1.5px;background:#06121433}.tile-name{position:absolute;left:17px;bottom:18px;max-width:70%;font:800 26px/1.04 Manrope;letter-spacing:-1.4px;text-shadow:0 2px 12px #0008}.tile-caption{display:flex;justify-content:space-between;gap:7px;margin:10px 2px 0}.tile-caption strong{font-size:12px;font-weight:800}.tile-caption span{font-size:11px;color:#b8bbbf}.tile-meta{font-size:11px;color:#8c9296;margin:5px 2px 0}.tile:hover .tile-art{outline:2px solid #e7e7e7}.search-empty{border:1px solid #333;padding:35px;color:#b8b8b8}.catalog-disclaimer{font-size:11px;line-height:1.6;color:#787f82;border-top:1px solid #2e3033;padding-top:20px}.about-shell{border-top:1px solid #35363a;padding:65px 0 80px;display:flex;justify-content:space-between;align-items:center;gap:40px}.about-copy{max-width:770px}.about-shell h2{font:800 clamp(27px,3vw,42px)/1.18 Manrope;letter-spacing:-1.5px;margin:15px 0}.about-shell p{color:#b3b7bb;line-height:1.7;font-size:14px;max-width:680px}.site-footer{background:#09090a;padding:45px 0 25px}.footer-grid{display:grid;grid-template-columns:2fr 1.5fr 1fr;gap:30px}.footer-grid strong:not(.wordmark){font-size:13px}.footer-grid p{font-size:12px;line-height:1.7;color:#8c9093}.footer-grid a{font-size:12px;color:#e5e6e6}.footer-last{border-top:1px solid #27282a;padding-top:19px;margin-top:35px;font-size:10px;color:#6f7476}.floating-contact{position:fixed;right:22px;bottom:20px;z-index:9;border-radius:50%;height:52px;width:52px;display:grid;place-items:center;background:#21a76f;color:#fff;box-shadow:0 8px 30px #0009;font-size:25px}dialog{background:#1e2023;color:#fff;border:1px solid #555;border-radius:6px;width:min(640px,calc(100% - 26px));padding:0;box-shadow:0 30px 90px #0009}dialog::backdrop{background:#000c}.dialog-inner{padding:38px}.dialog-inner h2{font:800 36px/1.14 Manrope;margin:12px 0}.dialog-inner p,.dialog-inner li{font-size:14px;line-height:1.7;color:#c5c9ca}.dialog-inner ul{padding-left:20px}.dialog-inner .primary-btn{margin-top:15px}.dialog-close{position:absolute;right:12px;top:8px;border:0;background:transparent;color:#fff;font-size:30px}.single .catalog-shell,.page .catalog-shell{margin-top:30px}:focus-visible{outline:3px solid #f5bd58;outline-offset:3px}@media(max-width:900px){.featured-photo{width:58%}.featured-shade{background:linear-gradient(90deg,#101416 0%,#101416f2 40%,#10141677 78%),linear-gradient(0deg,#111113,transparent 30%)}.featured-content{padding-top:65px}.hero-description{max-width:490px}.topbar nav{display:none}.shell{width:calc(100% - 48px)}}@media(max-width:650px){.shell{width:calc(100% - 32px)}.topbar{height:60px}.wordmark{font-size:24px}.topbar-contact{padding:8px 10px;font-size:11px}.featured{height:auto;min-height:640px}.featured-photo{right:-12%;top:0;width:100%;height:72%;opacity:.55;object-position:center 22%}.featured-shade{background:linear-gradient(0deg,#111113 0%,#11111322 50%,#11111399 100%),linear-gradient(90deg,#111113b8,transparent)}.featured-content{padding:205px 0 65px}.featured h1{font-size:75px;letter-spacing:-6px;margin:20px 0}.hero-title{font-size:22px}.hero-description{font-size:13px}.hero-buttons{flex-wrap:wrap}.primary-btn,.secondary-btn{padding:13px 16px}.hero-credit{margin-top:28px}.catalog-shell{margin-top:-25px}.catalog-top{align-items:start;display:block}.catalog-search{width:100%;margin-top:20px}.rail{margin-bottom:30px}.tile{flex-basis:78vw}.tile-art{height:175px}.about-shell{display:block;padding:45px 0 60px}.about-shell .primary-btn{margin-top:15px}.footer-grid{grid-template-columns:1fr;gap:15px}.footer-last{line-height:1.6}.dialog-inner{padding:26px}.dialog-inner h2{font-size:29px}}
/* 3.0: clean presentation inspired by the spatial rhythm of the MD site */
:root{--bg:#fff;--panel:#fff;--ink:#202124;--muted:#70777a;--red:#af1730;--gold:#c49b65}body{background:#fff;color:var(--ink)}.topbar{background:#fff;height:88px;border-bottom:1px solid #f0eded}.topbar-content{gap:45px}.wordmark{display:flex;align-items:center;width:95px;flex:0 0 95px}.wordmark img{display:block;width:95px;height:58px;object-fit:contain}.topbar nav{color:#414246;font-weight:600;gap:29px}.topbar nav a:hover{color:var(--red)}.broker-label{margin-left:auto;font-size:12px;font-weight:800;color:#282b30;white-space:nowrap}.broker-label small{display:block;color:#888;font-size:10px;font-weight:500;margin-top:3px}.topbar-contact{margin-left:0;background:var(--red);color:#fff;border-color:var(--red);border-radius:24px;padding:12px 19px}.topbar-contact:hover{background:#8c1225}.featured{width:min(1360px,calc(100% - 80px));margin:36px auto 0;border-radius:22px;height:560px;min-height:0;background:#f4f1ec;isolation:isolate}.featured-photo{right:0;top:0;width:48%;height:100%;border-radius:0 22px 22px 0;object-position:center 27%;filter:none}.featured-shade{background:linear-gradient(90deg,#f4f1ec 0%,#f4f1ec 42%,#f4f1ecc9 53%,transparent 68%);z-index:1}.featured-content{width:auto;margin:0;padding:75px 5.8%;color:#24262a}.hero-kicker{color:#a4162d;letter-spacing:1.7px}.live-dot{background:#af1730}.featured h1{font:700 clamp(52px,5.4vw,78px)/1.03 Manrope,sans-serif;letter-spacing:-5px;max-width:720px;margin:30px 0 17px;text-shadow:none;color:#24262a}.featured h1>span:first-child{color:var(--red)}.featured h1 .accent{color:var(--red)}.hero-title{font:600 clamp(22px,2vw,29px)/1.23 Manrope,sans-serif;color:#24262a;max-width:560px}.hero-description{max-width:545px;color:#646b6d;font-size:14px;line-height:1.75}.primary-btn{background:var(--red);color:#fff;border-radius:25px;padding:14px 22px}.primary-btn:hover{background:#8e1126}.secondary-btn{background:#fff;color:#27292b;border:1px solid #d9dbda;border-radius:25px}.secondary-btn:hover{background:#f8f8f8}.hero-credit{color:#777c7c;letter-spacing:1.1px;margin-top:40px}.catalog-shell{margin-top:75px;padding-bottom:74px}.catalog-top{margin-bottom:34px}.catalog-top h2{color:#252629;letter-spacing:-1.4px}.section-kicker{color:var(--red)}.catalog-search{background:#fafafa;border-color:#dedede;color:#777}.catalog-search input{color:#222}.catalog-search input::placeholder{color:#93999b}.rail-title{color:#292b2e}.rail-subtitle{color:#808587}.rail-controls button{background:#fff;border-color:#d7d9d9;color:#333;border-radius:50%}.rail-controls button:hover{background:#f3f3f3}.rail-track{scrollbar-color:#c9cccb transparent;gap:18px}.tile{background:#fff;border:1px solid #e6e8e7;border-radius:13px;overflow:hidden;box-shadow:0 8px 23px #131a1909;padding-bottom:13px}.tile-art{height:184px;border-radius:12px 12px 0 0;box-shadow:none}.tile-caption{padding:0 13px;margin-top:14px;align-items:center}.tile-caption strong{color:#25282a;font-size:14px}.tile-caption span{color:#a51a30;font-size:11px}.tile-meta{color:#82898a;padding:0 13px;font-size:11px}.tile:hover .tile-art{outline:0}.tile:hover{box-shadow:0 14px 28px #121a191e}.catalog-disclaimer{color:#8b9192;border-color:#eee}.search-empty{border-color:#e8e8e8;color:#777;border-radius:8px}.about-shell{border-color:#ebedeb;padding:65px 0 84px}.about-shell h2{color:#25292b}.about-shell p{color:#687174}.site-footer{background:#f6f5f2;color:#26282b}.footer-logo{display:block;width:105px;height:60px;object-fit:contain}.footer-grid p{color:#737b7d}.footer-grid a{color:var(--red)}.footer-last{border-color:#e3e4e2;color:#818789}.floating-contact{background:#219a66}dialog{background:#fff;color:#24272a;border:0;border-radius:14px}dialog::backdrop{background:#171919a9}.dialog-close{color:#333}.dialog-inner p,.dialog-inner li{color:#626b6d}.dialog-inner h2{color:#24282b}.single .catalog-shell,.page .catalog-shell{margin-top:45px}@media(max-width:1050px){.broker-label{display:none}.topbar-contact{margin-left:auto}.featured h1{font-size:55px;letter-spacing:-3px}.featured-photo{width:53%}.featured-shade{background:linear-gradient(90deg,#f4f1ec 0%,#f4f1ec 35%,#f4f1ecdc 50%,transparent 75%)}}@media(max-width:650px){.topbar{height:70px}.wordmark,.wordmark img{width:78px}.wordmark{flex-basis:78px}.topbar-contact{font-size:10px;padding:9px 11px}.featured{width:calc(100% - 28px);margin-top:14px;height:auto;min-height:680px;border-radius:17px}.featured-photo{width:100%;height:47%;top:0;right:0;border-radius:17px 17px 0 0;object-position:center 20%}.featured-shade{background:linear-gradient(0deg,#f4f1ec 0%,#f4f1ec 48%,#f4f1ecaa 60%,transparent 80%)}.featured-content{padding:320px 24px 38px}.featured h1{font-size:45px;letter-spacing:-3px;margin:18px 0}.hero-title{font-size:19px}.hero-description{font-size:13px}.hero-credit{margin:25px 0 0}.catalog-shell{margin-top:56px}.tile{flex-basis:77vw}.tile-art{height:172px}.about-shell{padding:45px 0 60px}.footer-grid{gap:10px}}
/* 3.1: persistent WhatsApp contact */
.floating-contact{background:#25d366;color:#fff;width:58px;height:58px;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:1000;box-shadow:0 8px 24px #0004;transition:transform .2s,box-shadow .2s}
.floating-contact:hover{transform:translateY(-3px);box-shadow:0 12px 30px #0005}
.floating-contact svg{display:block}
@media(max-width:650px){.floating-contact{right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom))}}
/* 3.2: brand navigation and portrait crop */
.featured-photo{object-position:center 47%}
.brand-strip{display:flex;align-items:center;justify-content:center;gap:0;padding:28px 0 12px;color:#232830}
.brand-strip span{flex:1;text-align:center;font-size:clamp(24px,3.1vw,42px);line-height:1.2}
.brand-strip span+span{border-left:1px solid #dedede}
.brand-mdne{font-family:Manrope,sans-serif;font-weight:900;font-style:italic;letter-spacing:-.13em}
.brand-mood{font-family:Manrope,sans-serif;font-weight:400;letter-spacing:.13em;color:#754034}
.brand-unica{font-family:Manrope,sans-serif;font-weight:700;letter-spacing:-.07em;color:#124539}
.catalog-shell{margin-top:20px}
.brand-tabs{display:flex;gap:12px;margin:-10px 0 26px}
.brand-tab{padding:12px 24px;min-width:145px;background:#fff;color:#272b2e;border:1px solid #dfe1e0;border-radius:6px;font-weight:700;font-size:13px}
.brand-tab.is-active,.brand-tab:hover{background:var(--red);border-color:var(--red);color:#fff}
.search-empty p{line-height:1.6}.search-empty .primary-btn{margin-top:12px}
@media(max-width:650px){.featured-photo{object-position:center 45%}.brand-strip{padding:19px 0 0}.brand-strip span{font-size:22px}.brand-tabs{gap:7px;flex-wrap:wrap;margin-top:0}.brand-tab{min-width:0;flex:1;padding:10px 7px;font-size:11px}.catalog-shell{margin-top:35px}.hero-kicker{font-size:9px;letter-spacing:.8px}}
/* 3.3: brand colors and lettering aligned with the supplied reference */
.brand-strip .brand-slot{flex:1;text-align:center;min-width:0}
.brand-strip .brand-slot+.brand-slot{border-left:1px solid #dedede}
.brand-strip strong{display:inline-block;font-size:clamp(25px,3.1vw,42px);line-height:1.15}
.brand-strip .brand-mdne{font:900 clamp(24px,3.1vw,42px)/1 Manrope,sans-serif;letter-spacing:-.085em;color:#fff;background:#111;border:3px solid #111;border-radius:5px;padding:0 6px;text-shadow:1px 0 #111}
.brand-strip .brand-mood{font:800 clamp(28px,3.3vw,46px)/1 Manrope,sans-serif;letter-spacing:-.065em;color:#11c4c3}
.brand-strip .brand-unica{font:800 clamp(28px,3.3vw,46px)/1 Manrope,sans-serif;letter-spacing:-.075em;color:#24459e}
.brand-strip .brand-unica span{color:#f58222}
@media(max-width:650px){.brand-strip strong,.brand-strip .brand-mdne,.brand-strip .brand-mood,.brand-strip .brand-unica{font-size:clamp(19px,5vw,25px)}}
/* 3.5: five catalog sections */
.brand-tabs{flex-wrap:wrap;margin:0 0 30px;gap:8px}
.brand-tabs .brand-tab{display:inline-flex;align-items:center;justify-content:center;min-width:0;padding:12px 17px;border-radius:24px;white-space:nowrap;font-size:11px;letter-spacing:.04em}
.brand-tabs .brand-tab:first-child{background:var(--red);border-color:var(--red);color:#fff}
.rail{scroll-margin-top:28px}
.rail .search-empty{border-radius:12px;padding:25px 30px;background:#faf9f7}
@media(max-width:650px){.brand-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:10px}.brand-tabs .brand-tab{flex:none;min-width:auto;padding:10px 14px}.rail .search-empty{padding:22px}}
/* 4.0: editable property pages */
.tile[hidden],.rail[hidden],.catalog-no-results[hidden]{display:none!important}
.tile-art{background:linear-gradient(135deg,#667b83,#273c46)}
.tile-placeholder{position:absolute;inset:0;display:grid;place-items:center;font-size:110px;opacity:.13;color:#fff}
.tile-cover{width:100%;height:100%;object-fit:cover;display:block}
.tile-art.has-cover:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#0009)}
.tile-name{z-index:1}.tile-meta{line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.property-page{padding:45px 0 100px}.property-back{display:inline-block;color:var(--red);font-size:13px;font-weight:700;margin-bottom:35px}
.property-article{max-width:900px;margin:auto}.property-heading h1{font:800 clamp(38px,5vw,65px)/1.12 Manrope,sans-serif;letter-spacing:-2px;margin:15px 0}.property-summary{color:#697174;font-size:18px;line-height:1.5}
.property-cover{margin:32px 0;border-radius:18px;overflow:hidden}.property-cover img{display:block;width:100%;height:auto;max-height:650px;object-fit:cover}
.property-content{font-size:16px;line-height:1.7;margin:30px 0 40px}.property-content img,.property-content video{max-width:100%;height:auto}.property-content .wp-block-gallery{margin:30px 0}.property-content .wp-block-file{padding:18px;background:#f6f5f2;border-radius:8px}
@media(max-width:650px){.property-page{padding:30px 0 70px}.property-heading h1{letter-spacing:-1px}}
/* 4.1: supplied brand artwork */
.brand-strip .brand-slot{display:flex;align-items:center;justify-content:center;height:88px;overflow:hidden}
.brand-strip .brand-slot img{display:block;width:min(92%,260px);height:72px;object-fit:cover;object-position:center;border-radius:5px}
@media(max-width:650px){.brand-strip .brand-slot{height:58px}.brand-strip .brand-slot img{width:96%;height:45px;border-radius:3px}}
/* 4.2: MDNE in header, Moura Dubeux in brand row */
.wordmark{width:120px;flex:0 0 120px;height:58px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.wordmark img{width:170px;height:96px;max-width:none;flex:none;object-fit:cover}
.brand-strip .brand-slot:first-child img{width:min(82%,205px);height:72px;object-fit:contain;border-radius:0}
@media(max-width:650px){.wordmark{width:95px;flex-basis:95px;height:48px}.wordmark img{width:140px;height:79px}.brand-strip .brand-slot:first-child img{width:90%;height:47px}}
