/* Prime Imóveis — LUXURY THEME
 * Sophisticated dark/gold visual override
 * Activated when <html data-template="luxury"> is set
 */
html[data-template="luxury"]{
  --primary:#c9a24b;     /* champagne gold */
  --primary-2:#e6c56b;
  --accent:#f5d78a;
  --ink:#0a0a0f;
  --muted:#8b8a95;
  --bg:#0b0b12;
  --card:#14141d;
  --border:#2a2a3a;
  --success:#a8e6a1;
  --warn:#f5c76c;
  --danger:#ff8a8a;
}
html[data-template="luxury"] body{
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(201,162,75,.10), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(201,162,75,.06), transparent 70%),
    #0b0b12;
  color:#e8e4d5;
  font-family:'Cormorant Garamond','Playfair Display',Georgia,serif;
  font-size:17px;
  line-height:1.65;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
html[data-template="luxury"] h1,
html[data-template="luxury"] h2,
html[data-template="luxury"] h3,
html[data-template="luxury"] h4,
html[data-template="luxury"] h5{
  font-family:'Cinzel','Playfair Display',Georgia,serif;
  letter-spacing:.04em;
  color:#f5efd8;
  font-weight:500;
  line-height:1.25;
  text-shadow:0 1px 0 rgba(0,0,0,.4);
}
html[data-template="luxury"] h1{font-size:clamp(2.1rem,3.4vw,3.4rem);font-weight:500;letter-spacing:.03em}
html[data-template="luxury"] h2{font-size:clamp(1.6rem,2.4vw,2.4rem);letter-spacing:.05em}
html[data-template="luxury"] h3{font-size:1.35rem;letter-spacing:.06em;font-weight:500}
html[data-template="luxury"] h4{font-size:1.05rem;letter-spacing:.14em;text-transform:uppercase;font-weight:500}

html[data-template="luxury"] p{
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:1.08rem;
  line-height:1.75;
  font-weight:400;
  color:#d9d4c2;
}
html[data-template="luxury"] p.text-muted,
html[data-template="luxury"] .text-muted{
  font-family:'Cormorant Garamond',Georgia,serif;
  color:#a8a598;
  font-style:italic;
  font-size:1rem;
}
html[data-template="luxury"] span,
html[data-template="luxury"] a,
html[data-template="luxury"] li,
html[data-template="luxury"] td,
html[data-template="luxury"] label,
html[data-template="luxury"] input,
html[data-template="luxury"] select,
html[data-template="luxury"] textarea{
  font-family:'Cormorant Garamond',Georgia,serif;
}
/* Functional UI (buttons, chips, nav, small badges) should stay crisp */
html[data-template="luxury"] .btn,
html[data-template="luxury"] .chip,
html[data-template="luxury"] .nav-link,
html[data-template="luxury"] th{
  font-family:'Cormorant SC','Inter',sans-serif;
  font-weight:500;
}
/* Serif italic accents for prices / big numbers */
html[data-template="luxury"] .stat .value,
html[data-template="luxury"] .prop-price,
html[data-template="luxury"] [class*="price"]{
  font-family:'Playfair Display',Georgia,serif;
  font-weight:500;
  font-feature-settings:"lnum" 1;
  letter-spacing:.01em;
}
/* Refined links */
html[data-template="luxury"] a{
  color:#e6c56b;
  text-decoration:none;
  transition:color .25s;
}
html[data-template="luxury"] a:hover{color:#f5d78a}
/* Better selection color */
html[data-template="luxury"] ::selection{background:rgba(201,162,75,.35);color:#fff}

/* Cards — sophisticated dark surface with gold hairline */
html[data-template="luxury"] .card{
  background:linear-gradient(180deg,#171622 0%,#12111a 100%);
  border:1px solid rgba(201,162,75,.18);
  border-radius:6px;
  box-shadow:0 30px 60px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.03);
}
html[data-template="luxury"] .card:hover{
  border-color:rgba(201,162,75,.55);
  box-shadow:0 40px 80px -30px rgba(201,162,75,.25), inset 0 1px 0 rgba(255,255,255,.05);
}

/* Buttons — gold, refined, no rounded pills */
html[data-template="luxury"] .btn{
  border-radius:2px;
  padding:.85rem 1.6rem;
  font-weight:500;
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:.22em;
  animation:none !important;
}
html[data-template="luxury"] .btn-primary{
  background:linear-gradient(180deg,#d4b364,#a8863d);
  color:#0a0a0f;
  border:1px solid #c9a24b;
  box-shadow:0 10px 30px -10px rgba(201,162,75,.5);
}
html[data-template="luxury"] .btn-primary:hover{
  background:linear-gradient(180deg,#e6c56b,#c9a24b);
  box-shadow:0 16px 40px -12px rgba(201,162,75,.7);
}
html[data-template="luxury"] .btn-outline{
  background:transparent;
  color:#e6c56b;
  border:1px solid rgba(201,162,75,.5);
}
html[data-template="luxury"] .btn-outline:hover{
  background:rgba(201,162,75,.08);
  color:#f5d78a;
  border-color:#c9a24b;
}

/* Chips — engraved gold */
html[data-template="luxury"] .chip{
  background:rgba(201,162,75,.10);
  color:#e6c56b;
  border:1px solid rgba(201,162,75,.25);
  border-radius:2px;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.68rem;
  font-weight:500;
  padding:.35rem .75rem;
}
html[data-template="luxury"] .chip-green{background:rgba(168,230,161,.08);color:#c9e5c5;border-color:rgba(168,230,161,.25)}
html[data-template="luxury"] .chip-yellow{background:rgba(245,199,108,.10);color:#f5d78a;border-color:rgba(245,199,108,.25)}
html[data-template="luxury"] .chip-red{background:rgba(255,138,138,.08);color:#ff8a8a;border-color:rgba(255,138,138,.25)}
html[data-template="luxury"] .chip-gray{background:rgba(255,255,255,.04);color:#a9a8b3;border-color:rgba(255,255,255,.08)}

/* Nav */
html[data-template="luxury"] .top-nav{
  background:rgba(11,11,18,.85);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(201,162,75,.15);
}
html[data-template="luxury"] .nav-link{
  color:#c9c8d3;
  text-transform:uppercase;
  letter-spacing:.24em;
  font-size:.75rem;
  font-weight:500;
}
html[data-template="luxury"] .nav-link:hover,
html[data-template="luxury"] .nav-link.active{color:#e6c56b}
html[data-template="luxury"] .nav-link::after{background:#c9a24b}

/* Hero backgrounds */
html[data-template="luxury"] .animated-gradient{
  background:
    radial-gradient(800px 500px at 15% 10%, rgba(201,162,75,.14), transparent 60%),
    radial-gradient(700px 400px at 85% 90%, rgba(201,162,75,.08), transparent 65%),
    linear-gradient(180deg,#0b0b12 0%,#12111a 100%);
  animation:none;
}
html[data-template="luxury"] .blob{opacity:.22;filter:blur(90px)}
html[data-template="luxury"] .blob-a{background:radial-gradient(circle,#c9a24b,transparent 70%)}
html[data-template="luxury"] .blob-b{background:radial-gradient(circle,#a8863d,transparent 70%)}
html[data-template="luxury"] .blob-c{background:radial-gradient(circle,#f5d78a,transparent 70%)}

/* Hero search bar */
html[data-template="luxury"] .hero-search input,
html[data-template="luxury"] .hero-search select{
  background:#0f0e17;
  color:#eae7dd;
  border:1px solid rgba(201,162,75,.2);
  border-radius:2px;
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:1rem;
}
html[data-template="luxury"] .hero-search input:focus,
html[data-template="luxury"] .hero-search select:focus{
  border-color:#c9a24b;
  box-shadow:0 0 0 2px rgba(201,162,75,.15);
}

/* Section titles */
html[data-template="luxury"] .section-title{
  font-family:'Playfair Display',Georgia,serif;
  font-weight:600;
  font-size:2.4rem;
  letter-spacing:-.01em;
}
html[data-template="luxury"] .section-title::after{
  content:"";display:block;width:60px;height:1px;background:linear-gradient(90deg,#c9a24b,transparent);margin-top:.6rem;
}

/* Prop image — rectangular, no rounded corners */
html[data-template="luxury"] .prop-img{
  border-radius:2px;
  filter:brightness(.95) contrast(1.05);
}
html[data-template="luxury"] .card:hover .prop-img{filter:brightness(1.05)}

/* Text muted */
html[data-template="luxury"] .text-muted{color:#8b8a95}

/* Stat cards */
html[data-template="luxury"] .stat{
  background:linear-gradient(180deg,#171622,#12111a);
  border:1px solid rgba(201,162,75,.18);
  border-radius:6px;
}
html[data-template="luxury"] .stat .label{color:#c9a24b;letter-spacing:.24em}
html[data-template="luxury"] .stat .value{color:#f5f0e0;font-family:'Playfair Display',Georgia,serif}
html[data-template="luxury"] .stat:hover{border-color:rgba(201,162,75,.5)}

/* Gold headline gradient replacement */
html[data-template="luxury"] h1 span[style*="background-clip"],
html[data-template="luxury"] h1 span[style*="-webkit-background-clip"]{
  background:linear-gradient(120deg,#c9a24b 0%,#f5d78a 45%,#c9a24b 100%) !important;
  background-size:200% 200% !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
  animation:gradientShift 8s ease infinite;
}

/* Override inline blue price colors */
html[data-template="luxury"] [style*="color:#1e3a8a"]{color:#e6c56b !important}
html[data-template="luxury"] [style*="color:#3b82f6"]{color:#c9a24b !important}
html[data-template="luxury"] [style*="background:#eff6ff"]{background:rgba(201,162,75,.10) !important}
html[data-template="luxury"] [style*="background:#f8fafc"]{background:#0b0b12 !important}
html[data-template="luxury"] [style*="background:#fff"]:not(.wa-float):not(button){background:#14141d !important}
html[data-template="luxury"] [style*="background:#ffffff"]{background:#14141d !important}
html[data-template="luxury"] [style*="color:#334155"]{color:#c9c8d3 !important}
html[data-template="luxury"] [style*="color:#475569"]{color:#a9a8b3 !important}
html[data-template="luxury"] [style*="color:#64748b"]{color:#8b8a95 !important}
html[data-template="luxury"] [style*="color:#0f172a"]{color:#eae7dd !important}
html[data-template="luxury"] [style*="border-top:1px solid #f1f5f9"]{border-top-color:#22212e !important}
html[data-template="luxury"] [style*="border-bottom:1px solid #f1f5f9"]{border-bottom-color:#22212e !important}
html[data-template="luxury"] [style*="border-top:1px solid #e2e8f0"]{border-top-color:#2a2a3a !important}
html[data-template="luxury"] [style*="border-bottom:1px solid #e2e8f0"]{border-bottom-color:#2a2a3a !important}
html[data-template="luxury"] [style*="linear-gradient(180deg,#eff6ff"],
html[data-template="luxury"] [style*="linear-gradient(180deg, #eff6ff"]{background:linear-gradient(180deg,#0f0e17,#0b0b12) !important}
html[data-template="luxury"] [style*="linear-gradient(135deg,#1e3a8a"]{background:linear-gradient(135deg,#c9a24b,#a8863d) !important}

/* Marquee gold bar */
html[data-template="luxury"] section[style*="animation:gradientShift"]{
  background:linear-gradient(90deg,#0f0e17,#1a1826,#0f0e17) !important;
  border-top:1px solid rgba(201,162,75,.25);
  border-bottom:1px solid rgba(201,162,75,.25);
  color:#e6c56b !important;
}
html[data-template="luxury"] section[style*="animation:gradientShift"] i{color:#c9a24b}

/* Sobre section (blue block) → dark gold */
html[data-template="luxury"] section#sobre{
  background:
    radial-gradient(600px 400px at 20% 30%, rgba(201,162,75,.15), transparent 60%),
    linear-gradient(135deg,#0f0e17,#1a1826) !important;
  color:#eae7dd !important;
  border-top:1px solid rgba(201,162,75,.2);
  border-bottom:1px solid rgba(201,162,75,.2);
}

/* Footer */
html[data-template="luxury"] footer.site{
  background:#08080e;
  border-top:1px solid rgba(201,162,75,.2);
  color:#a9a8b3;
}
html[data-template="luxury"] footer.site h4{color:#e6c56b;letter-spacing:.2em;text-transform:uppercase;font-size:.8rem}

/* Sidebar (admin) */
html[data-template="luxury"] .side-link{color:#a9a8b3}
html[data-template="luxury"] .side-link:hover{background:rgba(201,162,75,.08);color:#f5d78a}
html[data-template="luxury"] .side-link.active{
  background:linear-gradient(135deg,#a8863d,#c9a24b);
  color:#0a0a0f;
  box-shadow:0 10px 25px -10px rgba(201,162,75,.6);
}

/* Kanban dark */
html[data-template="luxury"] .kanban-col{background:#0f0e17;border:1px solid rgba(201,162,75,.12)}
html[data-template="luxury"] .kanban-card{background:#14141d;border:1px solid rgba(201,162,75,.15);color:#eae7dd}

/* Table */
html[data-template="luxury"] table.tbl th{background:#0f0e17;color:#c9a24b;border-bottom-color:#2a2a3a}
html[data-template="luxury"] table.tbl td{border-bottom-color:#22212e;color:#c9c8d3}
html[data-template="luxury"] table.tbl tr:hover td{background:#171622}

/* Form input */
html[data-template="luxury"] .form-input{
  background:#0f0e17;
  color:#eae7dd;
  border:1px solid rgba(201,162,75,.2);
  border-radius:2px;
}
html[data-template="luxury"] .form-input:focus{
  border-color:#c9a24b;
  box-shadow:0 0 0 2px rgba(201,162,75,.15);
}

/* WhatsApp float — keep green but restrained */
html[data-template="luxury"] .wa-float{
  background:#0b0b12;
  border:1px solid #c9a24b;
  color:#c9a24b;
  box-shadow:0 15px 40px -10px rgba(201,162,75,.5);
}
html[data-template="luxury"] .wa-float::before{background:#c9a24b}

/* Company logo tile in header */
html[data-template="luxury"] header .top-nav div[style*="linear-gradient(135deg"]{
  background:linear-gradient(135deg,#c9a24b,#a8863d) !important;
  color:#0a0a0f !important;
}

/* Divider ornament */
html[data-template="luxury"] .divider{
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(201,162,75,.4),transparent);
}
