  :root{
    --navy: #0d2142;
    --navy-2: #122a52;
    --navy-darker: #081627;
    --gold: #dab050;
    --gold-dark: #a97f24;
    --gold-light: #ecd18f;
    --cream: #f7f6f2;
    --white: #ffffff;
    --text: #1a2233;
    --text-muted: #6b7280;
    --border: #e6e3db;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(13,33,66,0.10);
    --shadow-lg: 0 20px 50px rgba(13,33,66,0.18);
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Inter', sans-serif;
    color:var(--text);
    background:var(--cream);
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,h4, .display{
    font-family:'Oswald', sans-serif;
    text-transform:uppercase;
    letter-spacing:0.01em;
  }
  img{max-width:100%; display:block;}
  a{color:inherit; text-decoration:none;}
  .container{max-width:1200px; margin:0 auto; padding:0 28px;}
  button{font-family:inherit; cursor:pointer; border:none;}

  /* ---------- HEADER ---------- */
  header{
    position:sticky; top:0; z-index:100;
    background:rgba(13,33,66,0.97);
    backdrop-filter:blur(6px);
    border-bottom:1px solid rgba(218,176,80,0.25);
  }
  .header-inner{
    display:flex; align-items:center; justify-content:space-between;
    height:78px;
  }
  .logo-lockup{display:flex; align-items:center; gap:12px;}
  .logo-lockup img{height:46px; width:auto;}
  .logo-text{color:var(--white); font-family:'Oswald',sans-serif; font-weight:600; font-size:19px; letter-spacing:0.06em; line-height:1;}
  .logo-text span{display:block; color:var(--gold); font-size:10px; font-weight:500; letter-spacing:0.14em; margin-top:3px;}
  header nav{display:flex; align-items:center; gap:34px;}
  header nav a{
    color:rgba(255,255,255,0.82); font-size:14.5px; font-weight:500;
    position:relative; padding:6px 0; transition:color .2s;
  }
  header nav a:hover{color:var(--gold);}
  .header-cta{
    display:flex; align-items:center; gap:10px;
    background:var(--gold); color:var(--navy-darker);
    padding:11px 20px; border-radius:999px; font-weight:600; font-size:14px;
    transition:transform .15s, box-shadow .15s;
  }
  .header-cta:hover{transform:translateY(-1px); box-shadow:0 8px 18px rgba(218,176,80,0.35);}
  .mobile-toggle{display:none; background:none; color:var(--white); font-size:26px;}

  /* ---------- HERO (full-bleed photo, centered) ---------- */
  .hero{
    position:relative;
    min-height:640px;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    text-align:center;
    padding:100px 24px 210px;
    background:
      linear-gradient(180deg, rgba(8,22,45,0.78) 0%, rgba(8,22,45,0.52) 45%, rgba(8,22,45,0.90) 100%),
      url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1600&q=70') center/cover no-repeat;
  }
  .hero h1{
    color:var(--white); font-size:clamp(34px, 5.2vw, 58px); font-weight:700; line-height:1.1;
    text-transform:none; letter-spacing:0; max-width:820px; margin:0 auto;
  }
  .hero h1 .accent{color:var(--gold);}
  .hero-sub{
    color:rgba(255,255,255,0.82); font-size:17px; max-width:520px; margin:20px auto 0;
    font-weight:400; line-height:1.55;
  }
  .hero-search-wrap{width:100%; max-width:600px; margin:38px auto 0; position:relative; z-index:25;}

  .tabs{
    display:inline-flex; background:var(--white); border:1.5px solid var(--border);
    border-radius:999px; padding:5px; gap:2px; margin-bottom:18px; box-shadow:var(--shadow);
  }
  .tab-btn{
    background:transparent; color:var(--text-muted);
    padding:10px 18px; border-radius:999px; font-family:'Oswald',sans-serif;
    font-size:13px; font-weight:500; letter-spacing:0.03em; text-transform:uppercase;
    transition:all .2s;
  }
  .tab-btn.active{background:var(--navy); color:var(--white);}
  .tab-btn:not(.active):hover{color:var(--navy);}

  .search-card{
    background:var(--white); border-radius:22px; box-shadow:var(--shadow-lg);
    padding:26px; text-align:left; border:1px solid rgba(13,33,66,0.06);
  }
  .search-stack{display:flex; flex-direction:column; gap:14px;}
  .field-row{display:grid; gap:14px;}
  .field-row.cols-2{grid-template-columns:1fr 1fr;}
  .field label{
    display:block; font-size:11px; font-weight:600; letter-spacing:0.05em; text-transform:uppercase;
    color:var(--text-muted); margin-bottom:6px;
  }
  .field select, .field input{
    width:100%; padding:13px 14px; border:1.5px solid var(--border); border-radius:11px;
    font-family:'Inter',sans-serif; font-size:14.5px; color:var(--text); background:var(--white);
  }

  /* ---------- EXPANDABLE SEARCH (Properstar-style) ---------- */
  .search-widget{position:relative; z-index:25;}
  .search-pill{
    display:flex; align-items:center; gap:12px; width:100%;
    background:var(--white); border:1.5px solid var(--border); border-radius:999px;
    padding:8px 8px 8px 22px; box-shadow:var(--shadow-lg); transition:box-shadow .2s, border-color .2s;
  }
  .search-pill:hover{border-color:var(--gold-dark); box-shadow:0 22px 55px rgba(13,33,66,0.22);}
  .search-pill-icon{font-size:16px; opacity:0.55;}
  .search-pill-text{flex:1; text-align:left; font-size:15px; color:var(--text-muted); font-weight:500;}
  .search-pill-arrow{
    width:42px; height:42px; border-radius:50%; background:var(--navy); color:var(--white);
    display:flex; align-items:center; justify-content:center; font-size:17px; flex-shrink:0;
    transition:background .2s;
  }
  .search-pill:hover .search-pill-arrow{background:var(--gold-dark);}

  .search-panel{
    position:absolute; top:0; left:0; right:0; background:var(--white);
    border-radius:24px; box-shadow:0 30px 70px rgba(8,22,45,0.32);
    padding:22px; opacity:0; visibility:hidden; transform:translateY(-8px) scale(0.98);
    transition:opacity .2s ease, transform .2s ease, visibility .2s;
    transform-origin:top center;
  }
  .search-panel.open{opacity:1; visibility:visible; transform:translateY(0) scale(1);}

  .panel-tabs{
    display:flex; gap:4px; border-bottom:1.5px solid var(--border); padding-bottom:14px; margin-bottom:16px;
  }
  .panel-tabs .tab-btn{
    background:transparent; color:var(--text-muted); padding:9px 16px; border-radius:999px;
    font-family:'Oswald',sans-serif; font-size:13px; font-weight:500; letter-spacing:0.03em;
    text-transform:uppercase; transition:all .2s;
  }
  .panel-tabs .tab-btn.active{background:var(--navy); color:var(--white);}
  .panel-tabs .tab-btn:not(.active):hover{color:var(--navy); background:var(--cream);}

  .panel-search-row{
    display:flex; align-items:center; gap:10px; border:1.5px solid var(--navy);
    border-radius:14px; padding:6px 6px 6px 16px;
  }
  .panel-search-row .search-pill-icon{opacity:0.4;}
  .panel-search-row input{
    flex:1; border:none; outline:none; font-family:'Inter',sans-serif; font-size:15px;
    color:var(--text); padding:10px 0; background:transparent;
  }
  .panel-arrow-btn{
    width:38px; height:38px; border-radius:50%; background:var(--gold);
    color:var(--navy-darker); display:flex; align-items:center; justify-content:center;
    font-size:16px; flex-shrink:0; transition:transform .15s;
  }
  .panel-arrow-btn:hover{transform:scale(1.08);}

  .search-note{
    margin-top:16px; padding-top:16px; border-top:1px dashed var(--border);
    font-size:13px; color:var(--text-muted);
  }
  .search-note a{color:var(--gold-dark); font-weight:600; border-bottom:1px solid var(--gold-dark);}

  .panel-recent{margin-top:18px; display:none;}
  .panel-recent.show{display:block;}
  .panel-recent-label{font-size:12px; font-weight:600; letter-spacing:0.04em; text-transform:uppercase; color:var(--text-muted); margin-bottom:10px;}
  .city-row{
    display:flex; align-items:center; justify-content:space-between; gap:10px;
    padding:11px 6px; border-radius:10px; cursor:pointer; transition:background .15s;
  }
  .city-row:hover{background:var(--cream);}
  .city-row-left{display:flex; align-items:center; gap:12px; font-size:14.5px; color:var(--text); font-weight:500;}
  .city-row-left .pin{opacity:0.45; font-size:14px;}

  .search-backdrop{
    position:fixed; inset:0; background:rgba(8,22,45,0.38); backdrop-filter:blur(2px);
    opacity:0; visibility:hidden; transition:opacity .2s, visibility .2s; z-index:20;
  }
  .search-backdrop.open{opacity:1; visibility:visible;}
  .field select:focus, .field input:focus{outline:none; border-color:var(--gold-dark); box-shadow:0 0 0 3px rgba(218,176,80,0.18);}
  .field input::placeholder{color:#a3a8b3;}
  .search-btn{
    width:100%; margin-top:4px; background:linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 100%);
    color:var(--white); padding:15px; border-radius:11px; font-family:'Oswald',sans-serif;
    font-weight:600; font-size:15px; letter-spacing:0.04em; text-transform:uppercase;
    display:flex; align-items:center; justify-content:center; gap:8px;
    transition:filter .2s, transform .15s;
  }
  .search-btn:hover{filter:brightness(1.12); transform:translateY(-1px);}
  .search-note{
    margin-top:14px; padding-top:14px; border-top:1px dashed var(--border);
    font-size:13px; color:var(--text-muted); display:none;
  }
  .search-note.show{display:block;}
  .search-note a{color:var(--gold-dark); font-weight:600; border-bottom:1px solid var(--gold-dark);}

  /* ---------- SECTION HEADERS ---------- */
  .section{padding:86px 0;}
  .section-head{text-align:center; max-width:640px; margin:0 auto 50px;}
  .eyebrow{
    color:var(--gold); font-family:'Oswald',sans-serif; font-weight:600; font-size:12.5px;
    letter-spacing:0.2em; text-transform:uppercase; margin-bottom:12px;
  }
  .section-head h2{font-size:clamp(26px,4vw,38px); color:var(--navy); font-weight:600; line-height:1.15;}
  .section-head p{color:var(--text-muted); font-size:15.5px; margin-top:14px; line-height:1.6;}

  /* ---------- LISTINGS ---------- */
  .listings-bar{display:flex; align-items:center; justify-content:space-between; margin-bottom:30px; flex-wrap:wrap; gap:16px;}
  .listings-bar h2{font-size:26px; color:var(--navy);}
  .listings-count{color:var(--text-muted); font-size:14px;}
  .grid{display:grid; grid-template-columns:repeat(3,1fr); gap:26px;}
  .card{
    background:var(--white); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
    transition:box-shadow .2s; cursor:pointer;
  }
  .card:hover{box-shadow:var(--shadow-lg);}
  .card-img{position:relative; height:210px; overflow:hidden;}
  .card-img img{width:100%; height:100%; object-fit:cover;}
  .card-tag{
    position:absolute; top:14px; left:14px; background:var(--gold); color:var(--navy-darker);
    font-family:'Oswald',sans-serif; font-size:11px; font-weight:600; letter-spacing:0.05em;
    text-transform:uppercase; padding:6px 12px; border-radius:999px;
  }
  .card-body{padding:20px 22px 22px;}
  .card-price{font-family:'Oswald',sans-serif; font-size:21px; font-weight:600; color:var(--navy);}
  .card-title{font-size:15.5px; font-weight:600; margin-top:6px; color:var(--text);}
  .card-loc{font-size:13.5px; color:var(--text-muted); margin-top:4px; display:flex; align-items:center; gap:5px;}
  .card-specs{display:flex; gap:16px; margin-top:14px; padding-top:14px; border-top:1px solid var(--border);}
  .card-specs span{font-size:12.5px; color:var(--text-muted); display:flex; align-items:center; gap:5px;}

  /* ---------- WHY US ---------- */
  .why-section{background:var(--navy); color:var(--white);}
  .why-section .eyebrow{color:var(--gold);}
  .why-section .section-head h2{color:var(--white);}
  .why-section .section-head p{color:rgba(255,255,255,0.65);}
  .why-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px;}
  .why-card{text-align:center; padding:8px 12px;}
  .why-icon{
    width:64px; height:64px; border-radius:50%; background:rgba(218,176,80,0.14);
    border:1.5px solid rgba(218,176,80,0.4);
    display:flex; align-items:center; justify-content:center; margin:0 auto 18px;
    font-size:26px;
  }
  .why-card h4{font-family:'Oswald',sans-serif; font-size:15px; font-weight:600; letter-spacing:0.03em; margin-bottom:8px;}
  .why-card p{font-size:13.5px; color:rgba(255,255,255,0.62); line-height:1.55;}

  /* ---------- AREAS ---------- */
  .areas-wrap{display:flex; flex-wrap:wrap; gap:12px; justify-content:center;}
  .area-chip{
    background:var(--white); border:1.5px solid var(--border); padding:11px 22px; border-radius:999px;
    font-size:14px; font-weight:500; color:var(--text); transition:all .2s;
  }
  .area-chip:hover{border-color:var(--gold); background:var(--gold-light); color:var(--navy-darker);}

  /* ---------- ALFREDO CTA ---------- */
  .alfredo-section{
    background:linear-gradient(115deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy) 100%);
    border-radius:28px; margin:0 28px; overflow:hidden;
    display:flex; align-items:flex-end; justify-content:space-between;
    position:relative; max-width:1200px; margin-left:auto; margin-right:auto;
  }
  .alfredo-text{padding:60px 20px 60px 56px; max-width:520px; position:relative; z-index:2;}
  .alfredo-text .eyebrow{color:var(--gold);}
  .alfredo-text h2{color:var(--white); font-size:clamp(24px,3.4vw,32px); line-height:1.2; margin-bottom:16px;}
  .alfredo-text p{color:rgba(255,255,255,0.7); font-size:15px; line-height:1.6; margin-bottom:26px;}
  .btn-gold{
    display:inline-flex; align-items:center; gap:9px; background:var(--gold); color:var(--navy-darker);
    padding:14px 26px; border-radius:999px; font-family:'Oswald',sans-serif; font-weight:600;
    font-size:14px; letter-spacing:0.03em; text-transform:uppercase; transition:transform .15s;
  }
  .btn-gold:hover{transform:translateY(-2px);}
  .alfredo-img{width:340px; flex-shrink:0; position:relative; z-index:2;}
  .alfredo-img img{width:100%; height:auto; display:block;}

  /* ---------- FOOTER ---------- */
  footer{background:var(--navy-darker); color:rgba(255,255,255,0.6); padding:64px 0 26px; margin-top:100px;}
  .footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,0.08);}
  .footer-logo{display:flex; align-items:center; gap:12px; margin-bottom:16px;}
  .footer-logo img{height:40px;}
  .footer-logo-text{color:var(--white); font-family:'Oswald',sans-serif; font-weight:600; font-size:17px; letter-spacing:0.05em;}
  .footer-col h5{color:var(--white); font-family:'Oswald',sans-serif; font-size:13px; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:18px;}
  .footer-col a, .footer-col p{display:block; font-size:14px; margin-bottom:11px; color:rgba(255,255,255,0.55); transition:color .2s;}
  .footer-col a:hover{color:var(--gold);}
  .footer-bottom{display:flex; justify-content:space-between; align-items:center; padding-top:26px; font-size:13px; flex-wrap:wrap; gap:12px;}
  .footer-bottom .creci{color:rgba(255,255,255,0.4);}

  /* ---------- WHATSAPP FLOAT ---------- */
  .wa-float{
    position:fixed; bottom:26px; right:26px; z-index:200;
    width:60px; height:60px; border-radius:50%; background:#25D366;
    display:flex; align-items:center; justify-content:center; box-shadow:0 8px 24px rgba(0,0,0,0.28);
    font-size:28px; transition:transform .2s;
  }
  .wa-float:hover{transform:scale(1.08);}

  /* ---------- RESPONSIVE ---------- */
  @media (max-width:980px){
    header nav{display:none;}
    .mobile-toggle{display:block;}
    .grid{grid-template-columns:repeat(2,1fr);}
    .why-grid{grid-template-columns:repeat(2,1fr);}
    .footer-grid{grid-template-columns:1fr 1fr;}
    .alfredo-section{flex-direction:column; align-items:center; text-align:center;}
    .alfredo-text{padding:44px 30px 0; max-width:100%;}
    .alfredo-img{width:260px; margin-top:20px;}
  }
  @media (max-width:600px){
    .field-row.cols-2{grid-template-columns:1fr 1fr;}
    .grid{grid-template-columns:1fr;}
    .why-grid{grid-template-columns:1fr;}
    .footer-grid{grid-template-columns:1fr;}
    .hero{padding:70px 18px 190px;}
    .container{padding:0 18px;}
    .search-card{padding:20px 16px;}
  }

/* ============ ESTILOS ADICIONAIS: AUTENTICAÇÃO E PAINEL ============ */

.auth-wrap{
  min-height:calc(100vh - 78px); display:flex; align-items:center; justify-content:center;
  background:var(--cream); padding:60px 20px;
}
.auth-card{
  background:var(--white); border-radius:20px; box-shadow:var(--shadow-lg); padding:40px;
  width:100%; max-width:420px; border:1px solid rgba(13,33,66,0.06);
}
.auth-card h1{font-size:24px; color:var(--navy); font-weight:700; text-transform:none; letter-spacing:0; margin-bottom:6px;}
.auth-card .sub{color:var(--text-muted); font-size:14px; margin-bottom:28px;}
.auth-field{margin-bottom:16px;}
.auth-field label{display:block; font-size:12px; font-weight:600; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.04em; margin-bottom:7px;}
.auth-field input{
  width:100%; padding:13px 14px; border:1.5px solid var(--border); border-radius:10px;
  font-family:'Inter',sans-serif; font-size:14.5px; color:var(--text);
}
.auth-field input:focus{outline:none; border-color:var(--gold-dark); box-shadow:0 0 0 3px rgba(218,176,80,0.16);}
.auth-submit{
  width:100%; margin-top:8px; background:var(--navy); color:#fff; padding:14px; border-radius:10px;
  font-family:'Oswald',sans-serif; font-weight:600; font-size:14.5px; letter-spacing:0.03em; text-transform:uppercase;
  transition:background .2s;
}
.auth-submit:hover{background:var(--navy-2);}
.auth-submit:disabled{opacity:0.6; cursor:not-allowed;}
.auth-switch{text-align:center; margin-top:22px; font-size:13.5px; color:var(--text-muted);}
.auth-switch a{color:var(--gold-dark); font-weight:600;}
.auth-error{
  background:#fdecec; color:#b3261e; border:1px solid #f5c2c0; padding:11px 14px; border-radius:9px;
  font-size:13.5px; margin-bottom:18px;
}
.auth-success{
  background:#eaf7ee; color:#1e7a34; border:1px solid #bfe6ca; padding:11px 14px; border-radius:9px;
  font-size:13.5px; margin-bottom:18px;
}

/* Painel do corretor */
.panel-shell{background:var(--cream); min-height:calc(100vh - 78px); padding:40px 0 80px;}
.panel-header{display:flex; align-items:center; justify-content:space-between; margin-bottom:32px; flex-wrap:wrap; gap:16px;}
.panel-header h1{font-size:26px; color:var(--navy); font-weight:700; text-transform:none; letter-spacing:0;}
.panel-header p{color:var(--text-muted); font-size:14px; margin-top:4px;}
.btn-navy{
  display:inline-flex; align-items:center; gap:8px; background:var(--navy); color:#fff; padding:12px 22px;
  border-radius:10px; font-family:'Oswald',sans-serif; font-weight:600; font-size:14px; letter-spacing:0.03em;
  text-transform:uppercase; transition:background .2s;
}
.btn-navy:hover{background:var(--navy-2);}

.panel-table{width:100%; background:var(--white); border-radius:16px; overflow:hidden; box-shadow:var(--shadow); border-collapse:collapse;}
.panel-table th{
  background:var(--navy); color:#fff; text-align:left; padding:14px 18px; font-size:12px;
  text-transform:uppercase; letter-spacing:0.04em; font-family:'Oswald',sans-serif; font-weight:500;
}
.panel-table td{padding:16px 18px; border-bottom:1px solid var(--border); font-size:14px; color:var(--text); vertical-align:middle;}
.panel-table tr:last-child td{border-bottom:none;}
.panel-table img{width:60px; height:46px; object-fit:cover; border-radius:8px;}
.status-badge{
  display:inline-block; padding:5px 12px; border-radius:999px; font-size:11.5px; font-weight:600;
  text-transform:uppercase; letter-spacing:0.03em;
}
.status-badge.published{background:#eaf7ee; color:#1e7a34;}
.status-badge.draft{background:#f2f2f0; color:var(--text-muted);}
.table-actions{display:flex; gap:10px;}
.table-actions a, .table-actions button{
  font-size:13px; font-weight:600; color:var(--navy); padding:6px 10px; border-radius:6px; transition:background .15s;
}
.table-actions a:hover, .table-actions button:hover{background:var(--cream);}
.table-actions .danger{color:#c0392b;}

.empty-state{
  background:var(--white); border-radius:16px; padding:60px 30px; text-align:center; color:var(--text-muted);
  border:1.5px dashed var(--border);
}
.empty-state h3{color:var(--navy); font-size:18px; margin-bottom:10px; text-transform:none; letter-spacing:0;}

/* Formulário de imóvel (novo/editar) */
.property-form{background:var(--white); border-radius:18px; box-shadow:var(--shadow); padding:30px; max-width:760px;}
.pf-row{display:grid; gap:16px; margin-bottom:18px;}
.pf-row.cols-2{grid-template-columns:1fr 1fr;}
.pf-row.cols-3{grid-template-columns:1fr 1fr 1fr;}
.pf-field label{display:block; font-size:12px; font-weight:600; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.04em; margin-bottom:7px;}
.pf-field input, .pf-field select, .pf-field textarea{
  width:100%; padding:12px 14px; border:1.5px solid var(--border); border-radius:9px; font-size:14.5px; color:var(--text);
  font-family:'Inter',sans-serif;
}
.pf-field textarea{min-height:110px; resize:vertical;}

.favorite-btn{
  width:42px; height:42px; border-radius:50%; background:rgba(255,255,255,0.9); border:1px solid rgba(13,33,66,0.1);
  display:flex; align-items:center; justify-content:center; font-size:18px; transition:transform .15s;
  position:absolute; top:14px; right:14px; z-index:2;
}
.favorite-btn:hover{transform:scale(1.08);}
.favorite-btn.active{color:#e0245e;}

@media (max-width:600px){
  .pf-row.cols-2, .pf-row.cols-3{grid-template-columns:1fr;}
  .panel-table{display:block; overflow-x:auto; white-space:nowrap;}
}


  /* ---------- PROPERTY DETAIL PAGE ---------- */
  .breadcrumb{padding:22px 0 0; font-size:13.5px; color:var(--text-muted);}
  .breadcrumb a{color:var(--text-muted); transition:color .15s;}
  .breadcrumb a:hover{color:var(--navy);}
  .breadcrumb .sep{margin:0 8px; opacity:0.5;}
  .breadcrumb .current{color:var(--navy); font-weight:600;}

  .gallery{margin:22px 0 0; display:grid; grid-template-columns:2fr 1fr; gap:12px; border-radius:20px; overflow:hidden; height:460px;}
  .gallery-main{position:relative; overflow:hidden;}
  .gallery-main img{width:100%; height:100%; object-fit:cover;}
  .gallery-side{display:grid; grid-template-rows:1fr 1fr; gap:12px;}
  .gallery-side img{width:100%; height:100%; object-fit:cover;}
  .gallery-count{
    position:absolute; bottom:16px; right:16px; background:rgba(8,22,45,0.75); color:#fff;
    padding:8px 16px; border-radius:999px; font-size:13px; font-weight:600;
  }

  .detail-layout{display:grid; grid-template-columns:1fr 380px; gap:44px; padding:46px 0 0;}
  .detail-tag{
    display:inline-block; background:var(--gold-light); color:var(--navy-darker); font-family:'Oswald',sans-serif;
    font-size:12px; font-weight:600; letter-spacing:0.04em; text-transform:uppercase; padding:6px 14px; border-radius:999px; margin-bottom:14px;
  }
  .detail-title{font-size:clamp(24px,3vw,32px); color:var(--navy); font-weight:700; line-height:1.2;}
  .detail-loc{color:var(--text-muted); font-size:15px; margin-top:10px; display:flex; align-items:center; gap:6px;}
  .detail-specs{display:flex; gap:28px; margin:26px 0; padding:22px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border);}
  .detail-spec{display:flex; flex-direction:column; gap:4px;}
  .detail-spec .val{font-family:'Oswald',sans-serif; font-size:20px; font-weight:700; color:var(--navy);}
  .detail-spec .lbl{font-size:12.5px; color:var(--text-muted);}
  .detail-section{margin-top:34px;}
  .detail-section h3{font-size:18px; color:var(--navy); font-weight:600; margin-bottom:14px; text-transform:none; letter-spacing:0;}
  .detail-desc{color:var(--text); font-size:15px; line-height:1.75;}
  .amenities{display:grid; grid-template-columns:repeat(2,1fr); gap:12px 20px;}
  .amenity{display:flex; align-items:center; gap:10px; font-size:14.5px; color:var(--text);}
  .amenity .ic{color:var(--gold-dark);}
  .map-box{
    height:220px; border-radius:16px; background:
      linear-gradient(160deg, rgba(13,33,66,0.06), rgba(218,176,80,0.08)),
      repeating-linear-gradient(45deg, rgba(13,33,66,0.03) 0 2px, transparent 2px 14px);
    border:1.5px dashed var(--border); display:flex; align-items:center; justify-content:center;
    flex-direction:column; gap:8px; color:var(--text-muted); font-size:14px;
  }
  .map-box .pin-big{font-size:30px;}

  .buy-card{
    position:sticky; top:100px; background:var(--white); border-radius:20px; box-shadow:var(--shadow-lg);
    border:1px solid rgba(13,33,66,0.06); padding:26px;
  }
  .buy-price{font-family:'Oswald',sans-serif; font-size:30px; font-weight:700; color:var(--navy);}
  .buy-price .per{font-size:14px; color:var(--text-muted); font-weight:400; font-family:'Inter',sans-serif;}
  .buy-cta{
    display:flex; align-items:center; justify-content:center; gap:9px; width:100%; margin-top:18px;
    background:#25D366; color:#fff; padding:15px; border-radius:12px; font-family:'Oswald',sans-serif;
    font-weight:600; font-size:14.5px; letter-spacing:0.03em; text-transform:uppercase; transition:filter .2s;
  }
  .buy-cta:hover{filter:brightness(1.08);}
  .buy-cta-secondary{
    display:flex; align-items:center; justify-content:center; gap:9px; width:100%; margin-top:10px;
    background:var(--white); color:var(--navy); border:1.5px solid var(--navy); padding:14px; border-radius:12px;
    font-family:'Oswald',sans-serif; font-weight:600; font-size:14.5px; letter-spacing:0.03em; text-transform:uppercase;
    transition:background .2s;
  }
  .buy-cta-secondary:hover{background:var(--cream);}
  .agent-mini{display:flex; align-items:center; gap:14px; margin-top:22px; padding-top:22px; border-top:1px solid var(--border);}
  .agent-mini img{width:52px; height:52px; border-radius:50%; object-fit:cover; background:var(--navy);}
  .agent-mini .name{font-weight:700; font-size:14.5px; color:var(--navy);}
  .agent-mini .role{font-size:12.5px; color:var(--text-muted);}

  .similar-wrap{margin-top:90px;}

  @media (max-width:980px){
    .gallery{grid-template-columns:1fr; height:auto;}
    .gallery-side{grid-template-rows:1fr 1fr; grid-auto-flow:column; height:200px;}
    .detail-layout{grid-template-columns:1fr;}
    .buy-card{position:static;}
    .amenities{grid-template-columns:1fr;}
  }


  /* ---------- SEARCH RESULTS PAGE ---------- */
  .results-topbar{
    background:var(--navy); padding:26px 0; margin-top:0;
  }
  .results-topbar .container{display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px;}
  .results-heading h1{color:var(--white); font-size:22px; font-weight:600; text-transform:none; letter-spacing:0;}
  .results-heading p{color:rgba(255,255,255,0.6); font-size:13.5px; margin-top:4px;}
  .results-tabs{display:inline-flex; background:rgba(255,255,255,0.1); border-radius:999px; padding:4px; gap:2px;}
  .results-tabs .tab-btn{
    background:transparent; color:rgba(255,255,255,0.75); padding:9px 16px; border-radius:999px;
    font-family:'Oswald',sans-serif; font-size:12.5px; font-weight:500; letter-spacing:0.03em; text-transform:uppercase;
  }
  .results-tabs .tab-btn.active{background:var(--gold); color:var(--navy-darker);}

  .results-body{display:grid; grid-template-columns:270px 1fr; gap:36px; padding:40px 0 90px;}
  .filters-card{
    background:var(--white); border-radius:16px; border:1px solid var(--border); padding:22px;
    height:fit-content; position:sticky; top:96px;
  }
  .filters-card h4{font-size:13px; text-transform:uppercase; letter-spacing:0.05em; color:var(--navy); margin-bottom:16px; font-family:'Oswald',sans-serif;}
  .filter-group{margin-bottom:26px;}
  .filter-group:last-child{margin-bottom:0;}
  .filter-group .fg-label{font-size:12px; font-weight:600; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.04em; margin-bottom:10px; display:block;}
  .checkbox-row{display:flex; align-items:center; gap:9px; margin-bottom:10px; font-size:14px; color:var(--text); cursor:pointer;}
  .checkbox-row input{accent-color:var(--navy); width:16px; height:16px;}
  .price-inputs{display:flex; align-items:center; gap:8px;}
  .price-inputs input{width:100%; padding:9px 10px; border:1.5px solid var(--border); border-radius:8px; font-size:13.5px;}
  .filter-apply{
    width:100%; margin-top:6px; background:var(--navy); color:#fff; padding:12px; border-radius:10px;
    font-family:'Oswald',sans-serif; font-weight:600; font-size:13.5px; letter-spacing:0.03em; text-transform:uppercase;
  }

  .results-toolbar{display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; flex-wrap:wrap; gap:14px;}
  .results-toolbar .count{font-size:14.5px; color:var(--text-muted);}
  .results-toolbar .count strong{color:var(--navy);}
  .sort-select{padding:10px 14px; border:1.5px solid var(--border); border-radius:9px; font-size:13.5px; color:var(--text); background:var(--white);}

  .results-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}

  .pagination{display:flex; align-items:center; justify-content:center; gap:8px; margin-top:50px;}
  .page-btn{
    width:38px; height:38px; border-radius:9px; display:flex; align-items:center; justify-content:center;
    font-family:'Oswald',sans-serif; font-size:14px; font-weight:600; color:var(--text-muted);
    border:1.5px solid var(--border); background:var(--white);
  }
  .page-btn.active{background:var(--navy); color:#fff; border-color:var(--navy);}

  @media (max-width:900px){
    .results-body{grid-template-columns:1fr;}
    .filters-card{position:static;}
    .results-grid{grid-template-columns:repeat(2,1fr);}
  }
  @media (max-width:600px){
    .results-grid{grid-template-columns:1fr;}
  }


  /* ---------- ANUNCIE SEU IMÓVEL PAGE ---------- */
  .ad-hero{
    background:linear-gradient(115deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy) 100%);
    padding:70px 0 100px;
  }
  .ad-hero .container{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;}
  .ad-hero-text .eyebrow{color:var(--gold);}
  .ad-hero-text h1{color:var(--white); font-size:clamp(28px,3.6vw,40px); font-weight:700; line-height:1.15; text-transform:none; letter-spacing:0;}
  .ad-hero-text p{color:rgba(255,255,255,0.72); font-size:15.5px; margin-top:18px; line-height:1.65; max-width:440px;}
  .ad-benefits{margin-top:30px; display:flex; flex-direction:column; gap:14px;}
  .ad-benefit{display:flex; align-items:flex-start; gap:12px; color:rgba(255,255,255,0.85); font-size:14.5px;}
  .ad-benefit .ic{
    width:26px; height:26px; border-radius:50%; background:rgba(218,176,80,0.18); border:1px solid rgba(218,176,80,0.4);
    display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:13px; color:var(--gold);
  }

  .ad-form-card{
    background:var(--white); border-radius:22px; box-shadow:var(--shadow-lg); padding:34px;
  }
  .ad-form-card h3{font-size:19px; color:var(--navy); font-weight:700; margin-bottom:6px; text-transform:none; letter-spacing:0;}
  .ad-form-card .sub{font-size:13.5px; color:var(--text-muted); margin-bottom:24px;}
  .ad-field{margin-bottom:16px;}
  .ad-field label{display:block; font-size:12px; font-weight:600; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.04em; margin-bottom:7px;}
  .ad-field input, .ad-field select, .ad-field textarea{
    width:100%; padding:13px 14px; border:1.5px solid var(--border); border-radius:10px;
    font-family:'Inter',sans-serif; font-size:14.5px; color:var(--text); background:var(--white);
  }
  .ad-field textarea{resize:vertical; min-height:90px;}
  .ad-field input:focus, .ad-field select:focus, .ad-field textarea:focus{outline:none; border-color:var(--gold-dark); box-shadow:0 0 0 3px rgba(218,176,80,0.16);}
  .ad-row-2{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
  .ad-radio-group{display:flex; gap:10px; flex-wrap:wrap;}
  .ad-radio-chip{
    border:1.5px solid var(--border); border-radius:999px; padding:10px 18px; font-size:13.5px; font-weight:500;
    color:var(--text); cursor:pointer; transition:all .15s;
  }
  .ad-radio-chip input{display:none;}
  .ad-radio-chip.checked{background:var(--navy); border-color:var(--navy); color:var(--white);}
  .ad-submit{
    width:100%; margin-top:8px; background:#25D366; color:#fff; padding:16px; border-radius:12px;
    font-family:'Oswald',sans-serif; font-weight:600; font-size:15px; letter-spacing:0.03em; text-transform:uppercase;
    display:flex; align-items:center; justify-content:center; gap:9px; transition:filter .2s;
  }
  .ad-submit:hover{filter:brightness(1.08);}
  .ad-disclaimer{font-size:12px; color:var(--text-muted); text-align:center; margin-top:14px; line-height:1.5;}

  @media (max-width:900px){
    .ad-hero .container{grid-template-columns:1fr;}
    .ad-hero{padding:50px 0 60px;}
    .ad-row-2{grid-template-columns:1fr;}
  }

/* ============ PLANOS ============ */
.plan-usage-bar{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
  background:var(--white); border:1.5px solid var(--border); border-radius:12px;
  padding:14px 20px; margin-bottom:28px; font-size:14px; color:var(--text);
}
.plan-usage-bar a{color:var(--gold-dark); font-weight:600;}

.plans-hero{padding:70px 0 40px; text-align:center;}
.plans-hero h1{color:var(--navy); font-size:clamp(28px,4vw,40px); font-weight:700;}
.plans-hero p{color:var(--text-muted); font-size:16px; max-width:520px; margin:14px auto 0;}

.plans-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:26px; padding:20px 0 90px;
  align-items:stretch;
}
.plan-card{
  background:var(--white); border:1.5px solid var(--border); border-radius:20px; padding:34px 28px;
  display:flex; flex-direction:column; position:relative; transition:transform .2s, box-shadow .2s;
}
.plan-card.highlight{border-color:var(--gold); box-shadow:var(--shadow-lg); transform:scale(1.03);}
.plan-badge{
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background:var(--gold); color:var(--navy-darker); padding:6px 18px; border-radius:999px;
  font-family:'Oswald',sans-serif; font-size:11.5px; font-weight:600; letter-spacing:0.04em; text-transform:uppercase;
}
.plan-name{font-family:'Oswald',sans-serif; font-size:20px; font-weight:600; color:var(--navy);}
.plan-price{margin:14px 0 6px;}
.plan-price .num{font-family:'Oswald',sans-serif; font-size:38px; font-weight:700; color:var(--navy);}
.plan-price .period{color:var(--text-muted); font-size:14px;}
.plan-desc{color:var(--text-muted); font-size:13.5px; margin-bottom:22px; min-height:36px;}
.plan-features{list-style:none; padding:0; margin:0 0 26px; flex:1;}
.plan-features li{
  display:flex; align-items:center; gap:10px; font-size:14px; color:var(--text);
  padding:9px 0; border-top:1px solid var(--border);
}
.plan-features li:first-child{border-top:none;}
.plan-features .ic{color:var(--gold-dark); font-weight:700;}
