*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f5f2ec;color:#182331;font:16px/1.6 system-ui,sans-serif}header,footer{background:#101c2b;color:#fff;padding:22px max(5vw,20px)}header{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}a{color:inherit}nav a{margin-left:15px;text-decoration:none}.brand{font-family:Georgia,serif;font-size:29px;letter-spacing:4px;text-decoration:none;color:#e0c38a;line-height:1.1}.brand small{display:block;font:10px system-ui;letter-spacing:3px;color:white}main{max-width:1200px;margin:auto;padding:30px 24px 60px}.hero{display:grid;grid-template-columns:1.4fr 1fr;align-items:center;background:#101c2b;color:white;border-radius:18px;overflow:hidden;margin-bottom:65px}.hero>div{padding:clamp(25px,5vw,70px)}.hero img{width:100%;height:100%;object-fit:cover;min-height:350px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;color:#9b7638}.hero .eyebrow{color:#e0c38a}h1,h2,h3{font-family:Georgia,serif;line-height:1.12;font-weight:normal}h1{font-size:clamp(36px,5vw,66px);margin:16px 0}h2{font-size:34px}h3{font-size:27px;margin:12px 0}.btn,button{display:inline-block;background:#b89b59;color:#101c2b;border:0;border-radius:7px;padding:13px 20px;font-weight:700;text-decoration:none;cursor:pointer;font-size:15px}.cards,.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.property,.panel{background:white;border:1px solid #e4ded3;border-radius:14px;overflow:hidden}.property img{width:100%;height:300px;object-fit:cover}.property>div,.panel{padding:25px}.panel{margin:25px 0}.detail{display:grid;grid-template-columns:1.5fr 1fr;gap:35px;align-items:start}.cover,.gallery img{width:100%;border-radius:10px}.detail aside{position:sticky;top:15px}form{display:grid;gap:12px}label{display:grid;gap:5px;font-size:14px}input,textarea,select{width:100%;padding:11px;border:1px solid #c8c8c8;border-radius:6px;font:inherit;background:white}textarea{min-height:80px}.check{display:block}.check input{width:auto}.trap{position:absolute;left:-9999px}.error{background:#ffe5e5;padding:15px}summary{cursor:pointer;font-weight:bold}footer small{color:#c5c9ce}@media(max-width:700px){.hero,.cards,.detail{grid-template-columns:1fr}.hero img{max-height:340px;min-height:0;object-position:center 25%}.detail aside{position:static}main{padding:20px 15px}.property img{height:240px}}

/* v1.2 — identidade visual */
header{background:#fff;color:#101c2b;border-bottom:3px solid #b89b59;padding:18px max(5vw,20px);gap:24px}.brand{display:block;flex:0 1 440px;max-width:100%;line-height:0}.brand img{display:block;width:100%;height:auto}.brand:focus-visible,nav a:focus-visible{outline:2px solid #9b7638;outline-offset:5px}header nav{display:flex;flex-wrap:wrap;gap:20px;align-items:center}header nav a{margin:0;font-weight:600}header nav a:hover{color:#856124}@media(max-width:700px){header{justify-content:center;padding:16px 20px;gap:14px}.brand{flex:0 1 360px}header nav{justify-content:center;gap:18px;font-size:14px}}
.site-header{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:minmax(120px,1fr) minmax(120px,1fr) auto;gap:10px;padding:8px max(3vw,12px) 0;background:white}.site-header .brand{width:100%;max-width:340px}.header-slogan{text-align:center;font-family:Georgia,serif;font-size:clamp(13px,2vw,24px);line-height:1.2}.header-photo{width:72px;height:84px;object-fit:contain}.site-header nav{grid-column:1/-1;background:#101c2b;color:white;justify-content:center;padding:8px;gap:18px}.site-header nav a:hover{color:#e0c38a}#destaques,#imoveis{scroll-margin-top:180px}input[type=checkbox]{width:auto}.detail aside{top:180px}@media(max-width:700px){.site-header{grid-template-columns:minmax(90px,1fr) minmax(80px,1fr) auto;gap:6px}.header-photo{width:48px;height:56px}.site-header nav{font-size:12px;gap:12px}.header-slogan{font-size:12px}}
/* Layout 2.0-layout-2 */
.site-header{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);align-items:center;justify-items:center;gap:8px}.site-header .brand{justify-self:start;max-width:300px}.site-header .header-photo{justify-self:end;width:100px;height:96px;object-fit:contain}.site-header nav{width:100%;justify-self:stretch}.featured-section{margin:0 0 30px}.featured-section h2{text-align:center;margin:0 0 20px}.featured-section .property img{height:clamp(180px,28vw,340px)}main{padding-top:20px}@media(max-width:700px){.site-header .header-photo{width:55px;height:64px}.site-header{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 60px}.featured-section h2{font-size:25px}.featured-section .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.featured-section .property img{height:140px}.featured-section .property>div{padding:10px}.featured-section .property h3{font-size:20px}.featured-section .btn{padding:8px;font-size:12px}}
/* 2.0.1 — identidade premium */
:root{--navy:#10243d;--gold:#b89b59;--pearl:#faf9f6;--compact:112px}body{background:var(--pearl);color:var(--navy)}.site-header{isolation:isolate;position:sticky;top:0;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,.8fr);grid-template-rows:minmax(0,1fr) auto;gap:0 24px;padding:0 max(4vw,16px);height:var(--compact);background:linear-gradient(115deg,#fff 20%,#faf9f6 70%,#eee9df);border-bottom:1px solid var(--gold);box-shadow:0 4px 20px #10243d12;transition:height .25s ease}.premium-home .site-header{height:33svh;min-height:220px}.premium-home.scrolled .site-header{height:var(--compact);min-height:0}.header-waves{position:absolute;inset:0 0 38px;width:100%;height:calc(100% - 38px);z-index:-1;pointer-events:none}.site-header .brand{max-width:380px;width:100%;padding:8px 0}.header-slogan{font-size:clamp(18px,2.5vw,38px);line-height:1.2;text-wrap:balance;padding:8px 0}.site-header .header-photo{height:100%;max-height:100%;width:100%;min-height:0;object-fit:contain;object-position:right bottom;align-self:end;mask-image:linear-gradient(to bottom,#000 82%,transparent 100%)}.site-header nav{grid-column:1/-1;background:var(--navy);padding:8px 12px;gap:clamp(12px,3vw,40px);border-radius:8px 8px 0 0;font-size:14px}.scrolled .header-slogan,.premium-inner .header-slogan{font-size:clamp(14px,1.5vw,22px)}main{max-width:1440px;padding:24px max(3vw,16px) 60px}.featured-section{min-height:calc(67svh - 24px);margin:0 0 24px;padding:clamp(16px,2vw,28px);background:linear-gradient(135deg,#10243d,#203c55);border-radius:16px;color:white}.featured-section h2{color:#f0dfb5;font-size:clamp(24px,3vw,36px);margin:0 0 16px}.featured-section .cards{gap:clamp(12px,2vw,28px)}.property{color:var(--navy);box-shadow:0 8px 24px #10243d12;border-color:#e6dfd0}.featured-section .property img{height:clamp(150px,30svh,360px)}.featured-section .property>div{padding:clamp(12px,1.5vw,22px)}.featured-section .property h3{margin:5px 0;font-size:clamp(21px,2vw,30px)}.featured-section .property p{margin:6px 0}.featured-section .property p:nth-of-type(2){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.btn,button{background:linear-gradient(110deg,#b89b59,#e5d3a0);border:1px solid #b89b59;color:var(--navy)}.btn:hover,button:hover{filter:brightness(.96)}.panel{border-color:#e6dfd0;box-shadow:0 5px 20px #10243d08}input:focus,select:focus,textarea:focus{outline:2px solid #b89b59;outline-offset:1px}footer{background:var(--navy);border-top:2px solid var(--gold)}#destaques,#imoveis{scroll-margin-top:130px}.detail aside{top:130px}.premium-home main>p.panel:first-child{font-size:12px;padding:8px 12px;margin:0 0 12px}@media(max-width:700px){:root{--compact:100px}.site-header,.premium-home .site-header{height:auto;min-height:0;position:relative;grid-template-columns:minmax(0,1fr) 90px;grid-template-rows:auto auto auto;gap:4px 12px;padding:10px 12px 0}.site-header .brand{grid-column:1;grid-row:1;max-width:230px}.header-slogan{grid-column:1;grid-row:2;font-size:clamp(15px,4vw,22px);text-align:left}.site-header .header-photo{grid-column:2;grid-row:1/3;height:125px;max-height:125px}.site-header nav{grid-row:3;gap:14px;font-size:12px}.premium-home.scrolled .site-header{height:auto}.header-waves{opacity:.65}.featured-section{min-height:0;padding:14px;margin-bottom:20px}.featured-section .cards{grid-template-columns:1fr;gap:16px}.featured-section .property img{height:auto;aspect-ratio:16/9}.featured-section .property>div{padding:15px}.featured-section .btn{font-size:14px;padding:10px 14px}#destaques,#imoveis{scroll-margin-top:12px}.detail aside{top:auto}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.site-header{transition:none}}
/* 2.0.2: separate logo zone, fluid curves, admin navigation */
html{overflow-anchor:none}.site-header{--brand-col:28%;--header-pad:max(4vw,16px);grid-template-columns:minmax(0,28fr) minmax(0,46fr) minmax(0,26fr);column-gap:24px;padding-inline:var(--header-pad)}.header-waves{left:calc(var(--header-pad) + var(--brand-col));right:0;width:calc(100% - var(--header-pad) - var(--brand-col));inset-block-start:0;inset-block-end:auto;opacity:.8}.site-header .brand{position:relative;z-index:1;max-width:100%;padding:8px 0}.site-header .header-photo{mask-image:linear-gradient(to bottom,#000 78%,transparent 100%);max-width:100%;object-position:right bottom}.premium-home .site-header{height:33svh;min-height:180px}.premium-home.scrolled .site-header{height:112px;min-height:0}.admin-auth .site-header{position:relative}.admin-auth main{max-width:1600px}.admin-shell{display:grid;grid-template-columns:minmax(210px,250px) minmax(0,1fr);gap:24px;align-items:start}.admin-sidebar{position:sticky;top:12px;max-height:calc(100svh - 24px);overflow:auto;background:#10243d;color:white;border-radius:12px;padding:18px;border-top:3px solid #b89b59}.admin-sidebar h2{font-size:23px;color:#e5d3a0;margin:0 0 16px}.admin-sidebar nav{display:grid;gap:4px;margin-bottom:18px}.admin-sidebar nav a{margin:0;padding:9px 10px;border-radius:5px;font-size:14px}.admin-sidebar nav a:hover,.admin-sidebar nav a:focus-visible{background:#ffffff18;color:#e5d3a0}.admin-content{min-width:0}.admin-content h1{font-size:clamp(28px,4vw,42px)}.admin-content h2{font-size:26px}.admin-content details{padding:14px;border:1px solid #e6dfd0;border-radius:8px;margin:12px 0}.admin-content details>summary{color:#10243d}.admin-content [id]{scroll-margin-top:24px}.admin-help{color:#536276;font-size:14px}.admin-content input,.admin-content select,.admin-content textarea{min-width:0;max-width:100%}.admin-content .cards>div{padding:12px;background:#faf9f6;border-radius:8px}.admin-content .cards strong{font-size:24px;color:#10243d}
@media(max-width:700px){.site-header,.premium-home .site-header,.premium-home.scrolled .site-header{height:auto;min-height:0;grid-template-columns:minmax(0,1fr) minmax(80px,30%);gap:4px 12px;padding:10px 12px 0}.site-header .brand{max-width:230px}.site-header .header-photo{height:140px;max-height:140px}.header-waves{left:12px;top:65%;width:calc(100% - 24px);height:28px;opacity:.55;clip-path:inset(0 0 0 0)}.site-header .header-slogan{position:relative;z-index:1}.admin-shell{grid-template-columns:1fr;gap:12px}.admin-sidebar{position:static;max-height:none}.admin-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-sidebar nav a{font-size:12px;padding:7px}.admin-content .panel{padding:16px}.admin-content .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 2.0.3 — keep the logo entirely inside the first grid row. */
.site-header .brand{grid-row:1;grid-column:1;align-self:stretch;display:flex;align-items:center;justify-content:flex-start;min-height:0;min-width:0;max-height:100%;overflow:hidden;padding:6px 0;}
.site-header .brand img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;min-height:0;object-fit:contain;object-position:left center;}
.site-header .header-slogan{grid-row:1;grid-column:2;min-height:0;min-width:0;}
.site-header .header-photo{grid-row:1;grid-column:3;min-height:0;}
.site-header nav{grid-row:2;position:relative;z-index:2;min-width:0;}
@media(min-width:701px){.site-header{grid-template-rows:minmax(0,1fr) auto;}.site-header .brand{max-width:440px;}.premium-home.scrolled .site-header .brand,.premium-inner .site-header .brand{max-width:340px;}}
@media(max-width:700px){.site-header .brand{grid-column:1;grid-row:1;max-width:230px;align-self:center;max-height:none;padding:0;}.site-header .brand img{height:auto;max-height:64px;}.site-header .header-slogan{grid-column:1;grid-row:2;}.site-header .header-photo{grid-column:2;grid-row:1/3;}.site-header nav{grid-row:3;}.header-waves{clip-path:inset(0 0 0 0);}}

/* 2.0.4: explicit administrative header geometry; no overlapping rows. */
.admin-page .site-header{position:relative;height:auto;min-height:0;grid-template-rows:88px auto;align-items:center;transition:none;isolation:isolate;overflow:hidden;row-gap:0;}
.admin-page .site-header .brand{height:88px;max-height:88px;max-width:340px;align-self:center;padding:10px 0;overflow:hidden;}
.admin-page .site-header .brand img{width:100%;height:100%;max-height:68px;object-fit:contain;object-position:left center;}
.admin-page .site-header .header-photo{height:88px;max-height:88px;align-self:end;}
.admin-page .site-header .header-slogan{font-size:clamp(14px,1.5vw,22px);overflow-wrap:anywhere;}
.admin-page .site-header nav{grid-row:2;align-self:stretch;margin:0;}
.admin-page .header-waves{height:88px;}
@media(max-width:700px){
.admin-page .site-header{grid-template-rows:auto auto auto;row-gap:4px;}
.admin-page .site-header .brand{height:auto;max-height:64px;padding:0;}
.admin-page .site-header .brand img{height:auto;max-height:64px;}
.admin-page .site-header .header-photo{height:110px;max-height:110px;}
.admin-page .site-header .header-slogan{grid-row:2;grid-column:1;font-size:clamp(13px,4vw,18px);}
.admin-page .site-header nav{grid-row:3;}
.admin-page .header-waves{height:24px;top:auto;bottom:38px;left:40%;width:60%;}
}

.admin-sidebar{z-index:3;position:sticky}.admin-sidebar nav a{display:block;cursor:pointer;color:#fff;pointer-events:auto}.admin-sidebar nav a[aria-current="location"]{background:#ffffff20;color:#e5d3a0;box-shadow:inset 3px 0 #b89b59}.admin-content [id]{scroll-margin-top:24px}@media(max-width:900px){.admin-sidebar{position:static}}

/* 2.0.6: independent administrative workspace */
.admin-auth{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}.admin-auth>.site-header{flex:0 0 auto;position:relative;z-index:10;width:100%}.admin-auth>main{flex:1 1 0;min-height:0;width:100%;overflow:hidden;display:flex;flex-direction:column;padding-block:16px}.admin-auth>footer{display:none}.admin-auth .admin-shell{flex:1;min-height:0;align-items:stretch;overflow:hidden}.admin-auth .admin-sidebar{position:relative;top:auto;max-height:none;min-height:0;overflow:auto;overscroll-behavior:contain}.admin-auth .admin-content{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 12px 24px;scroll-behavior:auto}.admin-auth .site-header nav{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 24px}.admin-auth .site-header nav a{margin:0}.admin-auth .site-header nav form{display:inline-flex;margin:0}.admin-auth .site-header nav button{padding:4px 14px;font-size:13px}.admin-user{color:#e5d3a0;font-size:13px}.admin-menu-toggle{display:none}.admin-auth .admin-content [id]{scroll-margin-top:12px}
@media(max-width:700px){.admin-auth>main{padding:8px 10px}.admin-auth .admin-shell{grid-template-rows:auto minmax(0,1fr);gap:8px}.admin-auth .admin-sidebar{padding:8px;max-height:35dvh}.admin-auth .admin-sidebar h2{display:none}.admin-auth .admin-sidebar nav{margin:6px 0}.admin-auth .admin-sidebar>form{display:none}.admin-auth .admin-content{padding:0 4px 16px}.admin-auth .site-header .header-photo{height:70px;max-height:70px}.admin-auth .site-header .brand img{max-height:42px}.admin-auth .site-header nav{gap:4px 10px;padding:4px;font-size:11px}.admin-auth .admin-user{display:none}.admin-auth .admin-sidebar.menu-ready .admin-menu-toggle{display:block;width:100%;padding:6px}.admin-auth .admin-sidebar.menu-ready:not(.menu-open) nav{display:none}}
