/* =====================================================================
   DX PREMIUM — tema escuro/dourado
   Carregado só nas páginas /premium/. Sobrepõe os tokens do dx.css
   dentro de body.premium para dar o tom de ativo exclusivo.
   ===================================================================== */

body.premium {
  --paper:       #101017;
  --paper-2:     #16161F;
  --line:        rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.18);
  --ink:         #F3F1EA;
  --ink-2:       #A8A69E;
  --ink-3:       #7C7A73;
  --ink-4:       #56544E;
  --white:       #0B0B10;

  background: #08080D;
  color: var(--ink-2);
}

body.premium h1,
body.premium h2,
body.premium h3,
body.premium h4 { color: #fff; }
body.premium strong { color: #fff; }
body.premium ::selection { background: var(--gold); color: #08080D; }

/* --- Header nesta página --- */
body.premium .header--solid,
body.premium .header.is-solid {
  background: rgba(11,11,16,.9);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
body.premium .header--solid .nav a,
body.premium .header.is-solid .nav a { color: rgba(255,255,255,.72); }
body.premium .header--solid .nav a:hover,
body.premium .header.is-solid .nav a:hover { color: var(--gold); background: rgba(201,168,76,.1); }
body.premium .header--solid .logo--light { display: block; }
body.premium .header--solid .logo--dark  { display: none; }
body.premium .header--solid .nav-toggle span { background: #fff; }
body.premium .nav__sub { background: #14141C; border-color: rgba(255,255,255,.1); }
body.premium .nav__sub a { color: rgba(255,255,255,.75) !important; }
body.premium .nav__sub a:hover { background: rgba(255,255,255,.06) !important; color: var(--gold) !important; }
body.premium .nav__sub-sep { background: rgba(255,255,255,.1); }
body.premium .mnav { background: #0B0B10; }
body.premium .mnav a, body.premium .mnav summary { color: #fff; border-color: rgba(255,255,255,.1); }
body.premium .mnav details a { color: rgba(255,255,255,.65); }
body.premium.nav-open .nav-toggle span { background: #fff; }

/* --- Seções --- */
body.premium .sec--paper { background: #0D0D13; }
body.premium .sec--mist  { background: #101017; }

/* --- Hero premium --- */
.phero--premium {
  padding-block: calc(var(--header-h) + clamp(3.5rem, 6vw, 5.5rem)) clamp(3.5rem, 6vw, 5.5rem);
  background: #08080D;
}
.phero--premium::before {
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(201,168,76,.22), transparent 62%),
    radial-gradient(700px 420px at 8% 88%, rgba(201,168,76,.09), transparent 65%),
    linear-gradient(180deg, #101017 0%, #08080D 100%);
}
/* fio dourado no rodapé do hero */
.phero--premium::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .5;
}
.phero--premium h1 { max-width: 18ch; }
.phero--premium .crumbs a { color: rgba(255,255,255,.6); }


/* --- Cards de imóvel premium --- */
.pcard {
  background: #101017;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.pcard:hover {
  transform: translateY(-5px);
  border-color: rgba(201,168,76,.42);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(201,168,76,.12);
}
.pcard__media {
  position: relative; aspect-ratio: 4/3;
  background: linear-gradient(150deg, #1A1A24, #0B0B10);
  overflow: hidden;
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--t); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(201,168,76,.3);
  font-family: var(--font-h); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.pcard__badge {
  position: absolute; left: 1rem; top: 1rem;
  padding: .3rem .7rem; border-radius: var(--r-xs);
  background: rgba(8,8,13,.8); backdrop-filter: blur(6px);
  border: 1px solid rgba(201,168,76,.4);
  font-family: var(--font-h); font-size: .64rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
}
.pcard__body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.pcard__where {
  font-family: var(--font-h); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: .45rem;
}
.pcard h3 { font-size: 1.12rem; margin-bottom: .8rem; }
.pcard__specs {
  display: flex; flex-wrap: wrap; gap: .4rem .9rem;
  font-size: .82rem; color: var(--ink-2);
  padding-bottom: 1rem; margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.pcard__specs span { display: inline-flex; align-items: center; gap: .35rem; }
.pcard__specs svg { width: 14px; height: 14px; color: var(--gold); }
.pcard__price { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.pcard__price b { font-family: var(--font-h); font-size: 1.24rem; font-weight: 800; color: var(--gold); letter-spacing: -.02em; }
.pcard__price small { font-size: .72rem; color: var(--ink-4); }

/* --- Faixa de destaque dourada --- */
.gold-band {
  background: linear-gradient(110deg, #14120C, #1D1809 55%, #100E08);
  border-block: 1px solid rgba(201,168,76,.22);
}
.gold-band .tile {
  background: rgba(201,168,76,.05);
  border-color: rgba(201,168,76,.2);
}
.gold-band .tile__n { color: var(--gold); }
.gold-band .tile__l { color: rgba(255,255,255,.5); }

/* --- Feature dourado --- */
body.premium .feat__ico { background: rgba(201,168,76,.11); color: var(--gold); }
body.premium .card { background: #101017; border-color: rgba(255,255,255,.08); }
body.premium .card:hover { border-color: rgba(201,168,76,.35); }
body.premium .card__foot { background: rgba(255,255,255,.025); border-color: rgba(255,255,255,.07); }
body.premium .step__n { color: var(--gold); opacity: .22; }
body.premium .eyebrow { color: var(--gold); }
body.premium .rule { background: var(--gold); }
body.premium .tile { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.08); }
body.premium .tile__n { color: #fff; }
body.premium .tile__l { color: var(--ink-3); }

/* --- Formulário sobre fundo escuro --- */
body.premium .form-card { background: #101017; border: 1px solid rgba(201,168,76,.2); box-shadow: 0 40px 80px -40px #000; }
body.premium .field input,
body.premium .field select,
body.premium .field textarea {
  background: #08080D; border-color: rgba(255,255,255,.12); color: #fff;
}
body.premium .field input:focus,
body.premium .field select:focus,
body.premium .field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,168,76,.16);
}
body.premium .field label { color: var(--ink-2); }
body.premium .check { color: var(--ink-3); }
body.premium .check input { accent-color: var(--gold); }

/* --- FAQ escuro --- */
body.premium .faq, body.premium .faq__item { border-color: rgba(255,255,255,.09); }
body.premium .faq__q { color: #fff; }
body.premium .faq__q:hover, body.premium .faq__item.is-open .faq__q { color: var(--gold); }

/* --- Filtros escuros --- */
body.premium .filter { background: transparent; border-color: rgba(255,255,255,.14); color: var(--ink-2); }
body.premium .filter:hover { border-color: var(--gold); color: var(--gold); }
body.premium .filter.is-active { background: var(--gold); border-color: var(--gold); color: #08080D; }

/* --- Slot do plugin Imoview no tema escuro --- */
body.premium .imoview-slot {
  background: rgba(201,168,76,.05);
  border-color: rgba(201,168,76,.3);
  color: var(--ink-2);
}
body.premium .imoview-slot code { background: #08080D; color: var(--gold); }

/* --- CTA --- */
.cta--premium { background: #100E08; }
.cta--premium::before {
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(201,168,76,.22), transparent 68%),
    linear-gradient(120deg, #100E08, #1A160B);
}
.cta--premium h2, .cta--premium p { color: #fff; }
.cta--premium p { color: rgba(255,255,255,.62); }

/* --- Footer nesta página --- */
body.premium .footer { background: #050508; border-top: 1px solid rgba(201,168,76,.16); }

/* No Premium a foto entra discreta — o protagonismo é do dourado. */
.phero--premium .phero__img { opacity: .3; }

/* --- Portfólio restrito ---------------------------------------------
   Substitui a grade de imóveis: ela foi para a Área do Parceiro. Usa
   classe própria (e não .locked) porque .locked mora no dx-portal.css,
   que não é carregado nesta página. */
.plocked {
  max-width: 640px; margin-inline: auto; text-align: center;
  padding: 2.6rem 2rem;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(201,168,76,.06), rgba(255,255,255,.015));
}
.plocked__ico {
  width: 52px; height: 52px; margin: 0 auto 1.1rem;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(201,168,76,.12); color: var(--gold);
}
.plocked__ico svg { width: 24px; height: 24px; }
.plocked h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.plocked p {
  font-size: .9rem; line-height: 1.65; color: var(--ink-2);
  max-width: 46ch; margin: 0 auto 1.6rem;
}
.plocked strong { color: var(--gold); }
