/* Marketplace Imobee — detalhe do imóvel | etapa 3
   Proporções, hierarquia e composição da referência site_property_detail.php.
   Escopo exclusivamente detail-*; header e footer seguem compartilhados. */
body.detail-page.imobee-internal-page {
  padding-top: var(--imobee-shared-header-height, 58px) !important;
  background: #fff;
}
.detail-main { min-height: 58vh; padding: 24px 0 48px; background: #fff; }
.detail-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.detail-icon { display: inline-block; flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.detail-icon-large { width: 56px; height: 56px; stroke-width: 1.35; }
.detail-shell.container { box-sizing: border-box; width: min(1088px, calc(100% - 104px)); max-width: 1088px; margin: 0 auto; padding: 18px 0 34px; background: #fff; border: 0; border-radius: 0; box-shadow: none; }
.detail-topline { display: flex; align-items: center; margin-bottom: 15px; }
.detail-back { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; border: 1px solid #edf2f7; border-radius: 999px; color: #4b5563; text-decoration: none; font-size: .75rem; font-weight: 850; transition: background-color .15s, border-color .15s; }
.detail-back:hover, .detail-back:focus-visible { background: #f8fafc; border-color: #dbe6f4; color: #111827; }
.detail-back .detail-icon { width: 15px; height: 15px; }
.detail-offer-row { display: flex; align-items: center; margin: -1px 0 12px; }
.detail-purpose { display: inline-flex; align-items: center; gap: 7px; min-height: 31px; padding: 0 17px; border: 1px solid #0c2341; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #0b2742, #15395e); box-shadow: 0 9px 20px rgba(11,39,66,.16); font-size: .7rem; font-weight: 870; letter-spacing: .035em; text-transform: uppercase; }
.detail-purpose .detail-icon { width: 15px; height: 15px; }
.detail-property-header { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 26px; margin-bottom: 23px; }
.detail-heading { min-width: 0; }
.detail-type { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; color: #667085; font-size: .76rem; line-height: 1; font-weight: 850; }
.detail-type .detail-icon { width: 15px; height: 15px; }
.detail-property-header h1 { margin: 0; color: #111827; font-size: clamp(2rem, 3.1vw, 2.54rem); line-height: 1.04; font-weight: 900; letter-spacing: -.045em; overflow-wrap: anywhere; }
.detail-location { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 7px; margin: 9px 0 0; color: #667085; font-size: .8rem; line-height: 1.45; font-weight: 750; }
.detail-location .detail-icon { width: 16px; height: 16px; color: #667085; }
.detail-property-prices { display: grid; justify-items: end; align-content: start; gap: 9px; min-width: 210px; padding-top: 4px; text-align: right; }
.detail-price-item { display: grid; justify-items: end; min-width: 0; gap: 4px; }
.detail-price-item + .detail-price-item { padding-top: 9px; border-top: 1px solid #edf2f7; }
.detail-price-item strong { display: block; color: #050816; font-size: clamp(1.08rem, 1.85vw, 1.42rem); font-weight: 900; line-height: 1.08; letter-spacing: -.035em; overflow-wrap: anywhere; }
.detail-price-item--primary strong { font-size: clamp(1.36rem, 2.35vw, 1.86rem); }
.detail-price-item--consult strong { font-size: clamp(1.08rem, 1.8vw, 1.4rem); }
.detail-price-item span { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; color: #667085; font-size: .68rem; font-weight: 900; letter-spacing: .025em; text-transform: uppercase; }
.detail-price-item .detail-icon { width: 13px; height: 13px; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 24px; align-items: start; }
.detail-primary, .detail-sidebar { min-width: 0; }
.detail-gallery { display: grid; grid-template-columns: minmax(0,2.05fr) minmax(0,.9fr); gap: 18px; margin: 0 0 28px; }
.detail-gallery-main { height: 360px; min-width: 0; overflow: hidden; border-radius: 12px; background: #e8f2fb; }
.detail-gallery-image-button { display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: #e8f2fb; cursor: zoom-in; }
.detail-gallery-image-button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail-gallery-empty { display: flex; height: 100%; justify-content: center; align-items: center; flex-direction: column; gap: 10px; color: #8ba2b8; background: linear-gradient(135deg, #eaf5ff, #f8fbff); font-size: .79rem; font-weight: 750; }
.detail-gallery-side { display: grid; grid-template-rows: 1fr 1fr; min-width: 0; gap: 18px; }
.detail-gallery-thumb { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 171px; margin: 0; padding: 0; border: 0; border-radius: 10px; overflow: hidden; color: #667085; background: #e8f2fb; cursor: pointer; }
.detail-gallery-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-gallery-thumb-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px; color: #fff; background: rgba(9,15,30,.36); text-shadow: 0 6px 18px rgba(0,0,0,.25); }
.detail-gallery-thumb-overlay strong { font-size: .87rem; font-weight: 900; }
.detail-gallery-thumb-overlay small { font-size: .69rem; font-weight: 800; }
.detail-gallery-thumb-overlay .detail-icon { width: 20px; height: 20px; }
.detail-gallery-thumb-empty { cursor: default; flex-direction: column; gap: 7px; font-size: .79rem; }
.detail-gallery-thumb-empty .detail-icon { width: 23px; height: 23px; }
.detail-location-card { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; min-width: 0; min-height: 171px; gap: 5px; padding: 14px; border: 1px solid #eef2f7; border-radius: 10px; overflow: hidden; background: #f5f8fb; color: #667085; text-align: center; }
.detail-location-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(226,232,240,.65) 1px, transparent 1px), linear-gradient(180deg, rgba(226,232,240,.65) 1px, transparent 1px); background-size: 36px 36px; opacity: .62; }
.detail-location-card > * { position: relative; z-index: 1; }
.detail-location-pin { display: grid; place-items: center; width: 35px; height: 35px; margin-bottom: 4px; border-radius: 50%; background: #fff; color: #0b2742; box-shadow: 0 10px 24px rgba(15,23,42,.11); }
.detail-location-pin .detail-icon { width: 17px; height: 17px; }
.detail-location-card strong { max-width: 100%; color: #111827; font-size: .82rem; font-weight: 900; overflow-wrap: anywhere; }
.detail-location-card > span:last-child { max-width: 100%; font-size: .69rem; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.detail-section { margin: 0 0 28px; min-width: 0; }
.detail-section h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: #252a37; font-size: 1.14rem; line-height: 1.25; font-weight: 900; letter-spacing: -.02em; }
.detail-section h2 .detail-icon { width: 19px; height: 19px; color: #3c5370; }
.detail-description { margin: 0; color: #293142; font-size: .83rem; font-weight: 400; line-height: 1.76; overflow-wrap: anywhere; }
.detail-muted { color: #7a8494; }
.detail-facts, .detail-features { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; margin: 0; }
.detail-fact, .detail-features > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; min-height: 40px; padding: 9px 0; border-bottom: 1px solid #edf2f7; }
.detail-fact dt, .detail-features dt { display: inline-flex; align-items: center; min-width: 0; gap: 7px; color: #6b7280; font-size: .75rem; line-height: 1.35; font-weight: 780; }
.detail-fact dt .detail-icon { width: 16px; height: 16px; color: #7b8798; }
.detail-fact dd, .detail-features dd { flex: 0 1 auto; margin: 0; color: #111827; font-size: .78rem; font-weight: 900; line-height: 1.3; text-align: right; overflow-wrap: anywhere; }
.detail-sidebar { display: flex; flex-direction: column; gap: 22px; }
.detail-contact-card { padding: 22px 20px; border-radius: 10px; color: #fff; background: #0b2742; box-shadow: 0 18px 34px rgba(11,39,66,.15); }
.detail-contact-kicker { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; color: #b2d9fa; font-size: .7rem; font-weight: 900; letter-spacing: .07em; }
.detail-contact-kicker .detail-icon { width: 15px; height: 15px; }
.detail-contact-card h2 { margin: 0 0 14px; color: #fff; font-size: 1.08rem; line-height: 1.3; font-weight: 900; }
.detail-contact-agent { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); color: #fff; font-size: .81rem; font-weight: 850; overflow-wrap: anywhere; }
.detail-contact-agent-icon { display: grid; place-items: center; flex: 0 0 auto; width: 41px; height: 41px; border-radius: 50%; background: #fff; color: #0b2742; }
.detail-contact-agent-icon .detail-icon { width: 21px; height: 21px; }
.detail-contact-agent small { display: block; margin-top: 4px; color: #c4d6e9; font-size: .69rem; font-weight: 650; }
.detail-contact-card p { margin: 0 0 13px; color: #d0e2f1; font-size: .78rem; line-height: 1.65; }
.detail-contact-form { margin: 0; }
.detail-contact-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 43px; padding: 10px 12px; border-radius: 7px; font-size: .81rem; font-weight: 850; text-align: center; }
.detail-contact-card .detail-contact-note { margin: 12px 0 0; color: #b8cbde; font-size: .71rem; line-height: 1.62; }
.detail-contact-success { display: grid; gap: 6px; padding: 13px; border: 1px solid #9fd5b2; border-radius: 9px; background: #ecfff2; color: #205b37; }
.detail-contact-success strong { font-size: .87rem; }
.detail-contact-success span { font-size: .76rem; line-height: 1.55; }
.detail-advertiser-card, .detail-favorite-card, .detail-share-card { padding: 0 4px 20px; background: #fff; border: 0; border-bottom: 1px solid #e7edf4; border-radius: 0; }
.detail-advertiser-card h2, .detail-favorite-card h2, .detail-share-card h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 13px; color: #252a37; font-size: .98rem; line-height: 1.3; font-weight: 900; }
.detail-advertiser-card h2 .detail-icon, .detail-favorite-card h2 .detail-icon, .detail-share-card h2 .detail-icon { width: 18px; height: 18px; color: #51647a; }
.detail-advertiser-identity { display: flex; align-items: center; gap: 11px; }
.detail-advertiser-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 43px; height: 43px; border-radius: 50%; background: #eaf2fa; color: #0b2742; }
.detail-advertiser-avatar .detail-icon { width: 20px; height: 20px; }
.detail-advertiser-identity strong { display: block; color: #111827; font-size: .8rem; line-height: 1.4; font-weight: 900; overflow-wrap: anywhere; }
.detail-advertiser-identity span:not(.detail-advertiser-avatar) { display: block; margin-top: 4px; color: #7a8494; font-size: .7rem; line-height: 1.4; }
.detail-extra-costs { display: grid; gap: 7px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid #edf2f7; }
.detail-extra-costs > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.detail-extra-costs dt { color: #6b7280; font-size: .75rem; }
.detail-extra-costs dd { margin: 0; color: #111827; font-size: .78rem; font-weight: 900; text-align: right; }
.detail-favorite-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; }
.detail-favorite-form { margin: 0; }
.detail-favorite-form .button, .detail-favorite-actions > .button { min-height: 38px; padding: 8px 13px; font-size: .8rem; }
.detail-favorites-link { color: #0a579d; font-size: .77rem; font-weight: 850; }
.detail-favorite-note, .detail-favorite-unavailable { color: #667085; font-size: .76rem; line-height: 1.5; }
.detail-share-card > p { margin: -3px 0 13px; color: #7a8494; font-size: .74rem; line-height: 1.55; }
.detail-share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-share-actions a, .detail-share-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 7px 10px; border: 1px solid #dbe6f1; border-radius: 7px; background: #f8fafc; color: #22496c; text-decoration: none; font: inherit; font-size: .74rem; font-weight: 820; cursor: pointer; }
.detail-share-actions a:hover, .detail-share-actions button:hover { background: #e9f3fc; border-color: #bdd4e8; }
.detail-share-actions button[hidden] { display: none; }
.detail-share-actions .detail-icon { width: 15px; height: 15px; }
.detail-share-status { display: block; margin-top: 8px; color: #246e44; font-size: .74rem; font-weight: 750; }
.detail-share-status:empty { display: none; }
.detail-state { padding: 65px 20px 110px; text-align: center; }
.detail-state h1 { margin: 0 0 15px; color: #111827; font-size: clamp(1.8rem,4vw,2.7rem); }
.detail-state p { max-width: 620px; margin: 12px auto 25px; color: #667085; }
/* Galeria ampliada: não remove imagens nem interfere nas regras de acesso do imóvel. */
.detail-gallery-modal[hidden]{display:none!important}
.detail-gallery-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px}
.detail-gallery-backdrop{position:absolute;inset:0;background:rgba(6,18,34,.84);backdrop-filter:blur(6px)}
.detail-gallery-dialog{position:relative;display:flex;flex-direction:column;gap:13px;width:min(1050px,100%);max-height:calc(100dvh - 40px);padding:18px;border-radius:17px;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.32);outline:none}
.detail-gallery-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.detail-gallery-modal-head h2{margin:0;color:#203146;font-size:1.11rem}
.detail-gallery-modal-head small{display:block;margin-top:3px;color:#6a7d91;font-size:.72rem;font-weight:700}
.detail-gallery-close,.detail-gallery-nav{display:grid;place-items:center;flex:0 0 auto;width:40px;height:40px;border:1px solid #d8e4f0;border-radius:50%;background:#f4f8fc;color:#1d3954;cursor:pointer}
.detail-gallery-close:hover,.detail-gallery-nav:hover{background:#e7f2fd}
.detail-gallery-stage{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;min-height:0}
.detail-gallery-stage>img{display:block;width:100%;height:auto;max-height:min(63vh,650px);object-fit:contain;background:#edf3f8;border-radius:10px}
.detail-gallery-thumbnails{display:flex;gap:10px;overflow-x:auto;padding:2px 1px 5px}
.detail-gallery-tile{flex:0 0 auto;width:90px;height:67px;padding:0;border:3px solid transparent;border-radius:8px;overflow:hidden;background:#eef5fb;cursor:pointer}
.detail-gallery-tile.is-active{border-color:#1874c4}
.detail-gallery-tile img{display:block;width:100%;height:100%;object-fit:cover}
.detail-gallery-modal-open{overflow:hidden}

@media (max-width: 1120px) {
  .detail-shell.container { width: min(1088px, calc(100% - 64px)); }
  .detail-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 22px; }
  .detail-gallery { gap: 15px; }
}
@media (max-width: 960px) {
  .detail-main { padding: 18px 0 35px; }
  .detail-shell.container { width: calc(100% - 32px); padding: 12px 0 28px; }
  .detail-layout, .detail-gallery { grid-template-columns: minmax(0,1fr); }
  .detail-gallery-main { height: 300px; }
  .detail-gallery-side { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: none; }
  .detail-gallery-thumb, .detail-location-card { min-height: 150px; }
  .detail-property-header { grid-template-columns: 1fr; gap: 13px; }
  .detail-property-prices { justify-items: start; gap: 10px; min-width: 0; padding-top: 0; text-align: left; }
  .detail-price-item { justify-items: start; }
  .detail-price-item span { justify-content: flex-start; }
  .detail-sidebar { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .detail-contact-card { grid-column: 1 / -1; }
  .detail-advertiser-card, .detail-favorite-card, .detail-share-card { padding: 0 0 18px; }
}
@media (max-width: 640px) {
  .detail-main { padding: 12px 0 30px; }
  .detail-shell.container { width: calc(100% - 24px); padding: 9px 0 22px; }
  .detail-property-header h1 { font-size: 1.95rem; }
  .detail-property-prices { gap: 9px; }
  .detail-price-item--primary strong { font-size: 1.61rem; }
  .detail-gallery { gap: 11px; margin-bottom: 23px; }
  .detail-gallery-main { height: 236px; }
  .detail-gallery-side { grid-template-columns: 1fr; gap: 11px; }
  .detail-gallery-thumb, .detail-location-card { min-height: 128px; }
  .detail-facts, .detail-features { grid-template-columns: 1fr; }
  .detail-sidebar { grid-template-columns: 1fr; gap: 21px; }
  .detail-contact-card { grid-column: auto; }
  .detail-section { margin-bottom: 25px; }
  .detail-section h2 { font-size: 1.05rem; }
  .detail-gallery-modal { padding: 9px; }
  .detail-gallery-dialog { padding: 12px; max-height: calc(100dvh - 18px); }
  .detail-gallery-stage { grid-template-columns: 32px minmax(0,1fr) 32px; gap: 5px; }
  .detail-gallery-nav { width: 32px; height: 32px; }
  .detail-gallery-stage > img { max-height: 60vh; }
  .detail-gallery-tile { width: 72px; height: 56px; }
}
@media (max-width: 380px) {
  .detail-favorite-actions .button, .detail-favorite-form { width: 100%; }
  .detail-back { font-size: .72rem; }
  .detail-property-header h1 { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .detail-back, .detail-share-actions a, .detail-share-actions button { transition: none; }
}


/* Etapa 3 — fidelidade à composição final de site_property_detail.php.
   Todos os seletores permanecem no detalhe; nada altera header/footer comuns. */
.detail-page {
  --detail-brand: #0b2742;
  --detail-action-blue: #0b57aa;
  --detail-action-border: #a7c6e9;
  --detail-brand-soft: #eaf2fa;
  --detail-ink: #111827;
  --detail-muted: #64748b;
  --detail-line: #e5eaf0;
}
/* No modelo do assinante a localização forma uma única linha com separadores. */
.detail-location {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px 0 0;
  color: #6b7280;
  font-size: .88rem;
  font-weight: 820;
  line-height: 1.25;
}
.detail-location-content { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0; }
.detail-location-content > span:not(.detail-location-dot) { overflow-wrap: anywhere; }
.detail-location-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
.detail-address-line { display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; margin: 4px 0 0; color: #6b7280; font-size: .79rem; font-weight: 800; line-height: 1.35; }
.detail-address-line .detail-icon { width: 16px; height: 16px; color: #7b8798; }
.detail-property-header { align-items: start; }
.detail-property-prices { padding-top: 0; }
.detail-price-item + .detail-price-item { padding-top: 0; border-top: 0; }
.detail-purpose { min-height: 30px; border-radius: 999px; }
/* Títulos do assinante: divisória contínua com traço de destaque. */
.detail-section > h2 {
  position: relative; display: flex; align-items: center; gap: 9px;
  width: 100%; margin: 0 0 16px; padding: 0 0 12px;
  border-bottom: 1px solid #edf2f7;
  color: #252a37; font-size: 1.12rem; font-weight: 950;
}
.detail-section > h2::after {
  content: ''; position: absolute; left: 0; bottom: -1px; width: 86px;
  height: 3px; border-radius: 99px; background: var(--detail-action-blue);
}
.detail-section > h2 .detail-icon { color: inherit; width: 18px; height: 18px; }
.detail-fact { min-height: 37px; padding: 8px 0; }
.detail-fact dt { font-size: .75rem; font-weight: 820; }
.detail-fact dd { font-size: .78rem; font-weight: 950; }
.detail-description { font-size: .8rem; line-height: 1.65; }
/* Galeria: alinhamento preciso entre imagem principal e dois blocos. */
.detail-gallery { align-items: stretch; }
.detail-gallery-side { min-height: 0; }
.detail-gallery-thumb, .detail-location-card { min-height: 0; }
.detail-gallery-thumb:focus-visible, .detail-gallery-image-button:focus-visible {
  outline: 3px solid #6daada; outline-offset: 3px;
}
/* Cards laterais no mesmo conceito do assinante: independentes, claros e com cabeçalho ilustrado. */
.detail-sidebar { gap: 16px; }
.detail-sidebar > section { min-width: 0; }
.detail-contact-card,
.detail-interest-card,
.detail-advertiser-card,
.detail-favorite-card,
.detail-share-card {
  border: 1px solid var(--detail-line); border-radius: 14px;
  background: #fff; color: var(--detail-ink);
  padding: 18px; box-shadow: none;
}
.detail-side-heading { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 12px; align-items: start; margin: 0 0 15px; }
.detail-side-heading-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--detail-brand-soft); color: var(--detail-brand); }
.detail-side-heading-icon .detail-icon { width: 20px; height: 20px; }
.detail-side-heading h2,
.detail-contact-card .detail-side-heading h2,
.detail-advertiser-card .detail-side-heading h2,
.detail-favorite-card .detail-side-heading h2,
.detail-share-card .detail-side-heading h2 {
  display: block; margin: 0 0 4px; color: var(--detail-ink);
  font-size: 1.01rem; line-height: 1.18; font-weight: 950; letter-spacing: -.025em;
}
.detail-side-heading p,
.detail-interest-card .detail-side-heading p,
.detail-contact-card .detail-side-heading p {
  margin: 0; color: var(--detail-muted); font-size: .74rem;
  line-height: 1.42; font-weight: 680;
}
.detail-contact-card .detail-contact-agent {
  display: flex; align-items: center; gap: 11px; margin: 0 0 12px;
  padding: 10px; border: 1px solid #eef2f7; border-radius: 12px;
  color: var(--detail-ink); background: #f8fafc; font-size: .81rem; font-weight: 900;
}
.detail-contact-agent-icon { width: 44px; height: 44px; background: #fff; border: 1px solid #e5e7eb; color: var(--detail-brand); }
.detail-contact-agent small { font-size: .68rem; color: var(--detail-muted); font-weight: 750; }
.detail-contact-card .detail-contact-note { display: flex; align-items: flex-start; gap: 6px; margin: 0; color: #64748b; font-size: .73rem; line-height: 1.55; }
.detail-contact-card .detail-contact-note .detail-icon { width: 15px; height: 15px; margin-top: 2px; color: var(--detail-brand); }
.detail-interest-card { display: grid; gap: 12px; }
.detail-interest-card .detail-side-heading { margin-bottom: 0; }
.detail-contact-success { border-radius: 10px; }
.detail-advertiser-card .detail-advertiser-identity { padding: 10px; border: 1px solid #eef2f7; border-radius: 12px; background: #f8fafc; }
.detail-advertiser-card .detail-advertiser-avatar { background: #fff; border: 1px solid #e5e7eb; }
.detail-favorite-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
.detail-favorite-form { width: 100%; }
.detail-favorite-form .button, .detail-favorite-actions > .button {
  display: flex; justify-content: center; align-items: center; min-height: 41px;
  width: 100%; padding: 10px 13px; border-radius: 10px; font-size: .8rem;
}
.detail-favorites-link { font-size: .74rem; font-weight: 820; text-align: center; }
/* Compartilhar este imóvel: padrão do Site Imobiliário Imobee, isolado neste card. */
.detail-share-card {
  display: grid;
  gap: 14px;
  padding: 17px 16px;
  border-radius: 12px;
}
.detail-share-card .detail-side-heading {
  margin: 0;
  gap: 10px;
}
.detail-share-card .detail-side-heading h2 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.16;
  font-weight: 950;
  letter-spacing: -.035em;
}
.detail-share-card .detail-side-heading p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: .78rem;
  line-height: 1.42;
  font-weight: 650;
}
.detail-share-actions {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
}
.detail-share-actions a.detail-social-action,
.detail-share-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 38px;
  padding: 0 10px;
  gap: 6px;
  border: 1px solid rgba(11,39,66,.28);
  border-radius: 999px;
  background: transparent;
  color: var(--detail-brand);
  text-decoration: none;
  font: inherit;
  font-size: .74rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.detail-share-actions a.detail-social-action { width: 100%; height: 38px; padding: 0; }
.detail-share-actions .detail-icon { width: 16px; height: 16px; }
.detail-share-actions .detail-social-brand { display: block; width: 16px; height: 16px; fill: currentColor; stroke: none; }
.detail-share-actions a.detail-social-action:hover,
.detail-share-actions a.detail-social-action:focus-visible,
.detail-share-actions button:hover,
.detail-share-actions button:focus-visible {
  background: var(--detail-brand-soft);
  border-color: rgba(11,39,66,.38);
  color: var(--detail-brand);
  transform: translateY(-1px);
}
.detail-share-actions a.detail-social-action:focus-visible,
.detail-share-actions button:focus-visible { outline: 2px solid var(--detail-brand); outline-offset: 2px; }
.detail-share-actions button { grid-column: 1 / -1; }
.detail-share-card.detail-has-native-share .detail-share-actions button { grid-column: span 2; }
.detail-share-actions button[hidden] { display: none; }
.detail-share-actions button.is-copied,
.detail-share-actions button.is-copied:hover,
.detail-share-actions button.is-copied:focus-visible {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #047857;
}
.detail-share-status { margin-top: 0; }
@media (max-width: 560px) {
  .detail-share-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .detail-share-actions button,
  .detail-share-card.detail-has-native-share .detail-share-actions button { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .detail-share-actions a.detail-social-action,
  .detail-share-actions button { transition: none; transform: none; }
}
/* A galeria acessível já implementada é preservada, com acabamento consistente. */
.detail-gallery-dialog { border-radius: 14px; }
.detail-gallery-modal-head h2 { color: var(--detail-ink); font-weight: 950; }
.detail-gallery-tile.is-active { border-color: var(--detail-brand); }
@media (min-width: 961px) {
  .detail-gallery-main, .detail-gallery-side { height: 360px; }
  .detail-gallery-side { grid-template-rows: repeat(2,minmax(0,1fr)); overflow: hidden; }
  .detail-gallery-thumb, .detail-location-card { height: 100%; }
}
@media (max-width: 960px) {
  .detail-sidebar { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .detail-contact-card, .detail-interest-card { grid-column: auto; }
  .detail-gallery-thumb, .detail-location-card { min-height: 140px; }
}
@media (max-width: 640px) {
  .detail-shell.container { width: calc(100% - 24px); }
  .detail-gallery { gap: 12px; }
  .detail-gallery-main { height: 236px; }
  .detail-gallery-side {
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-rows: 108px; gap: 12px; height: 108px; min-height: 108px;
  }
  .detail-gallery-thumb, .detail-location-card { height: 108px; min-height: 108px; }
  .detail-location-card { padding: 8px 5px; }
  .detail-location-pin { width: 29px; height: 29px; margin-bottom: 2px; }
  .detail-location-card strong { font-size: .73rem; }
  .detail-location-card > span:last-child { font-size: .59rem; line-height: 1.2; }
  .detail-gallery-thumb-overlay strong { font-size: .82rem; }
  .detail-gallery-thumb-overlay small { font-size: .60rem; }
  .detail-sidebar { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .detail-contact-card, .detail-interest-card { grid-column: auto; }
  .detail-facts { grid-template-columns: minmax(0,1fr); }
  .detail-price-item--primary strong { font-size: 1.61rem; }
}
@media (max-width: 380px) {
  .detail-social-action { min-width: 0; }
  .detail-gallery-side { gap: 9px; }
  .detail-location-card { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .detail-share-actions .detail-social-action { transition: none; }
}


/* Detalhe do imóvel — identificação do anunciante no mesmo padrão dos cards de busca.
   Retângulo com logotipo público, nome e CRECI, sem duplicar o código do imóvel. */
.detail-contact-card .detail-advertiser-business,
.detail-advertiser-card .detail-advertiser-business {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #e7edf4;
  border-radius: 12px;
  background: #f8fafc;
}
.detail-advertiser-logo-frame {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 88px;
  width: 88px;
  height: 64px;
  border: 1px solid #e0e8f1;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.detail-advertiser-logo-fallback {
  width: 28px;
  height: 28px;
  color: #67829c;
}
.detail-advertiser-logo-frame .detail-advertiser-logo-media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 6px;
  border: 0;
  border-radius: inherit;
  background: #fff;
}
.detail-advertiser-logo-frame .detail-advertiser-logo-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Botões dos cards do anunciante, interesse e favoritos: padrão contornado Imobee, sem preenchimento. */
.detail-advertiser-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  width: 100%;
  margin: 0 0 12px;
}
.detail-advertiser-action,
.detail-favorite-card .detail-favorite-actions .button,
.detail-interest-card .detail-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(11, 39, 66, .28);
  border-radius: 999px;
  background: transparent;
  color: var(--detail-brand);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: .74rem;
  line-height: 1.45;
  font-weight: 950;
  text-align: center;
  box-shadow: none;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.detail-advertiser-action .detail-icon,
.detail-favorite-card .detail-favorite-actions .button .detail-icon,
.detail-interest-card .detail-contact-button .detail-icon {
  width: 1rem;
  height: 1rem;
  color: inherit;
}
.detail-advertiser-action:not(:disabled):hover,
.detail-advertiser-action:not(:disabled):focus-visible,
.detail-favorite-card .detail-favorite-actions .button:hover,
.detail-favorite-card .detail-favorite-actions .button:focus-visible,
.detail-interest-card .detail-contact-button:hover,
.detail-interest-card .detail-contact-button:focus-visible {
  background: transparent;
  border-color: rgba(11, 39, 66, .38);
  color: var(--detail-brand);
  transform: translateY(-1px);
}
.detail-interest-card .detail-contact-button:focus-visible {
  outline: 2px solid var(--detail-brand);
  outline-offset: 2px;
}
.detail-advertiser-action:disabled {
  background: transparent;
  opacity: 1;
  cursor: default;
}
.detail-advertiser-business-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}
.detail-advertiser-business-info > small {
  color: #788b9c;
  font-size: .63rem;
  line-height: 1.3;
  font-weight: 850;
  letter-spacing: .035em;
}
.detail-advertiser-business-info > strong {
  color: #1c344c;
  font-size: .84rem;
  line-height: 1.36;
  font-weight: 900;
}
.detail-advertiser-creci {
  color: #587088;
  font-size: .75rem;
  line-height: 1.35;
  font-weight: 740;
}
.detail-advertiser-creci strong { color: #314c67; font-weight: 900; }
.detail-contact-card .detail-contact-trust {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: #64748b;
  font-size: .73rem;
  line-height: 1.5;
}
.detail-contact-card .detail-contact-trust .detail-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--detail-brand);
}
@media (max-width: 380px) {
  .detail-advertiser-logo-frame { flex-basis: 74px; width: 74px; height: 60px; }
  .detail-contact-card .detail-advertiser-business,
  .detail-advertiser-card .detail-advertiser-business { gap: 10px; padding: 10px; }
}

/* Atualização 07 — imóveis mais visitados e destaques do mesmo anunciante. */
.detail-visited-card { padding: 0 4px 20px; border-bottom: 1px solid var(--detail-line, #e5eaf0); min-width: 0; }
.detail-visited-card .detail-side-heading h2 { margin: 0 0 5px; color: var(--detail-ink, #111827); font-size: .89rem; line-height: 1.22; font-weight: 900; }
.detail-visited-card .detail-side-heading p { margin: 0; color: var(--detail-muted, #64748b); font-size: .7rem; line-height: 1.4; font-weight: 650; }
.detail-visited-list { display: grid; gap: 12px; }
.detail-visited-item { display: grid; grid-template-columns: 82px minmax(0,1fr); grid-template-rows: repeat(3,auto); align-items: center; gap: 3px 10px; min-width: 0; color: var(--detail-ink, #111827); text-decoration: none; }
.detail-visited-item:hover .detail-visited-type, .detail-visited-item:focus-visible .detail-visited-type { color: #0a579d; text-decoration: underline; }
.detail-visited-item:focus-visible, .detail-featured-card:focus-visible { outline: 2px solid #1874c4; outline-offset: 3px; }
.detail-visited-media { grid-row: 1 / 4; display: flex; align-items: center; justify-content: center; width: 82px; height: 55px; border-radius: 6px; overflow: hidden; background: #eef5fb; color: #8aa2ba; }
.detail-visited-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail-visited-media .detail-icon { width: 29px; height: 29px; }
.detail-visited-type, .detail-visited-meta, .detail-visited-location { display: flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.detail-visited-type { display: block; font-size: .70rem; font-weight: 950; line-height: 1.15; }
.detail-visited-meta, .detail-visited-location { font-size: .68rem; line-height: 1.18; font-weight: 820; }
.detail-visited-location { color: #667085; }
.detail-visited-meta .detail-icon, .detail-visited-location .detail-icon { width: 12px; height: 12px; }
.detail-featured-section { margin-top: 33px; padding-top: 22px; border-top: 1px solid var(--detail-line, #e5eaf0); }
.detail-featured-section > h2 { position: relative; display: flex; align-items: center; gap: 9px; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid #edf2f7; color: #252a37; font-size: 1.14rem; line-height: 1.25; font-weight: 900; letter-spacing: -.02em; }
.detail-featured-section > h2::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 86px; height: 3px; border-radius: 99px; background: var(--detail-action-blue); }
.detail-featured-section > h2 .detail-icon { width: 21px; height: 21px; color: #3c5370; }
/* Atualização 08 — seis cards compactos em uma única linha no desktop. */
.detail-featured-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.detail-featured-card { display: block; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #e5eaf0; border-radius: 9px; color: inherit; text-decoration: none; box-shadow: 0 12px 28px rgba(15,23,42,.08); transition: transform .18s, box-shadow .18s, border-color .18s; }
.detail-featured-card:hover { transform: translateY(-2px); border-color: #b9cce0; box-shadow: 0 16px 32px rgba(15,23,42,.12); }
.detail-featured-media { position: relative; display: block; width: 100%; aspect-ratio: 1.58 / 1; overflow: hidden; background: #eaf2fa; }
.detail-featured-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail-featured-placeholder { display: grid; place-items: center; height: 100%; color: #8ca9c1; }
.detail-featured-placeholder .detail-icon { width: 30px; height: 30px; }
.detail-featured-body { display: grid; align-content: start; gap: 4px; padding: 8px 9px 10px; }
.detail-featured-purpose { display: inline-block; width: fit-content; max-width: 100%; min-height: 20px; padding: 3px 6px; border: 1px solid rgba(11,39,66,.16); border-radius: 999px; background: #eaf2fa; color: #0b2742; font-size: .58rem; line-height: 1.3; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detail-featured-location, .detail-featured-type { display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .66rem; line-height: 1.32; }
.detail-featured-location { color: #667085; font-weight: 750; }
.detail-featured-type { color: #111827; font-weight: 900; }
.detail-featured-purpose .detail-icon, .detail-featured-location .detail-icon, .detail-featured-type .detail-icon { width: 12px; height: 12px; margin-right: 3px; }
@media (max-width: 960px) {
  .detail-visited-card { padding: 0 0 18px; }
  /* Em telas menores, mantém uma única fila sem reduzir demais os cards. */
  .detail-featured-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: clamp(160px, 32vw, 190px); overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding: 4px 4px 14px; }
  .detail-featured-card { scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .detail-featured-section > h2 { font-size: 1.05rem; }
}
@media (max-width: 380px) {
  .detail-visited-item { grid-template-columns: 76px minmax(0,1fr); }
  .detail-visited-media { width: 76px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .detail-featured-card { transition: none; }
}

/* Atualização 15.3 — formulário de captação WhatsApp, isolado do restante do detalhe. */
.detail-whatsapp-modal[hidden] { display: none !important; }
.detail-whatsapp-modal {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center;
  padding: 18px; font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
.detail-whatsapp-modal-open { overflow: hidden; }
.detail-whatsapp-backdrop {
  position: absolute; inset: 0; background: rgba(8, 22, 36, .7); backdrop-filter: blur(3px);
}
.detail-whatsapp-dialog {
  position: relative; width: min(450px, 100%); max-height: calc(100dvh - 36px);
  overflow-y: auto; overscroll-behavior: contain;
  border-radius: 17px; background: #fff; box-shadow: 0 28px 78px rgba(0, 0, 0, .25);
  color: #172331; outline: none;
}
.detail-whatsapp-header {
  position: relative; display: flex; gap: 13px; align-items: center;
  padding: 22px 54px 21px 21px; color: #fff;
  background: linear-gradient(145deg, #071f16 0%, #0c3122 58%, #0c3b27 100%);
}
.detail-whatsapp-header-icon {
  display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px;
  border-radius: 13px; background: linear-gradient(145deg, #2ddd75, #1dbd59);
}
.detail-whatsapp-header-icon .detail-icon { width: 24px; height: 24px; color: #fff; }
.detail-whatsapp-eyebrow {
  display: block; margin-bottom: 5px; color: rgba(235, 255, 244, .78);
  font-size: .64rem; font-weight: 850; text-transform: uppercase; letter-spacing: .09em;
}
.detail-whatsapp-header h2 { margin: 0; color: #fff; font-size: 1.11rem; font-weight: 900; line-height: 1.16; }
.detail-whatsapp-close {
  position: absolute; top: 15px; right: 15px; display: grid; place-items: center;
  width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; cursor: pointer;
}
.detail-whatsapp-close .detail-icon { width: 18px; height: 18px; }
.detail-whatsapp-close:hover { background: rgba(255,255,255,.18); }
.detail-whatsapp-content { padding: 22px 21px 20px; }
.detail-whatsapp-intro { margin: 0 0 17px; color: #5e6b64; font-size: .79rem; line-height: 1.55; font-weight: 600; }
.detail-whatsapp-form { display: grid; gap: 13px; margin: 0; }
.detail-whatsapp-field { display: grid; gap: 7px; min-width: 0; }
.detail-whatsapp-field label { color: #27352e; font-size: .7rem; font-weight: 850; }
.detail-whatsapp-field input {
  display: block; width: 100%; box-sizing: border-box; min-height: 47px;
  padding: 11px 13px; border: 1px solid #dce6df; border-radius: 12px;
  background: #fbfdfc; color: #132019; font: inherit; font-size: .81rem; font-weight: 650;
}
.detail-whatsapp-field input::placeholder { color: #95a29a; font-weight: 550; }
.detail-whatsapp-field input:focus { outline: none; border-color: #159447; background: #fff; box-shadow: 0 0 0 3px rgba(37,211,102,.12); }
.detail-whatsapp-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.detail-whatsapp-feedback { margin: 0; color: #236848; font-size: .74rem; line-height: 1.5; font-weight: 720; }
.detail-whatsapp-feedback:empty { display: none; }
.detail-whatsapp-feedback.is-error { color: #a52323; }
.detail-whatsapp-submit, .detail-whatsapp-fallback {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; box-sizing: border-box;
  width: 100%; min-height: 49px; padding: 11px 14px; border: 0; border-radius: 13px;
  background: linear-gradient(135deg, #25d366, #159447); color: #fff;
  font: inherit; font-size: .79rem; font-weight: 900; text-decoration: none; text-align: center;
  cursor: pointer;
}
.detail-whatsapp-submit .detail-icon { width: 18px; height: 18px; }
.detail-whatsapp-submit:disabled { opacity: .48; cursor: not-allowed; }
.detail-whatsapp-submit:not(:disabled):hover, .detail-whatsapp-fallback:hover { filter: brightness(.96); color: #fff; }
.detail-whatsapp-fallback[hidden] { display: none !important; }
.detail-whatsapp-note { margin: 0; color: #718077; font-size: .69rem; line-height: 1.48; text-align: center; }
.detail-whatsapp-dialog button:focus-visible, .detail-whatsapp-dialog a:focus-visible { outline: 3px solid #67bf94; outline-offset: 3px; }
@media (max-width: 520px) {
  .detail-whatsapp-modal { padding: 10px; }
  .detail-whatsapp-dialog { max-height: calc(100dvh - 20px); border-radius: 14px; }
  .detail-whatsapp-header { padding: 17px 49px 17px 16px; }
  .detail-whatsapp-content { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .detail-whatsapp-backdrop { backdrop-filter: none; }
}

/* Agendamento ativo usa o padrão contornado; proposta permanece indisponível. */
.detail-upcoming-actions { display: grid; gap: 9px; }
.detail-upcoming-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(11, 39, 66, .28);
  border-radius: 999px;
  background: transparent;
  color: var(--detail-brand);
  font: inherit;
  font-size: .74rem;
  font-weight: 850;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: border-color .18s ease, transform .18s ease;
}
.detail-upcoming-actions a:hover,
.detail-upcoming-actions a:focus-visible {
  border-color: rgba(11, 39, 66, .55);
  transform: translateY(-1px);
}
.detail-upcoming-actions a:focus-visible {
  outline: 2px solid var(--detail-brand);
  outline-offset: 2px;
}
.detail-upcoming-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #d8e1eb;
  border-radius: 999px;
  background: #f5f8fb;
  color: #8393aa;
  font: inherit;
  font-size: .74rem;
  font-weight: 850;
  line-height: 1.45;
  cursor: not-allowed;
  opacity: 1;
}
.detail-upcoming-actions a .detail-icon,
.detail-upcoming-actions button .detail-icon,
.detail-upcoming-note .detail-icon { width: 16px; height: 16px; flex: 0 0 auto; }
.detail-upcoming-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #8393aa;
  font-size: .7rem;
  font-weight: 750;
  text-align: center;
}

/* Refinamento da página de imóvel — alinhamento com o site imobiliário. */
.detail-video-section { margin-top: 28px; }
.detail-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #0b2742; }
.detail-video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
/* Contato com o corretor: destaque azul-marinho, mantendo os links originais. */
.detail-sidebar #atendimento.detail-interest-card { background: #0b2742; color: #fff; border-color: #0b2742; padding: 19px; }
.detail-sidebar #atendimento .detail-side-heading-icon { background: rgba(255,255,255,.14); color: #fff; }
.detail-sidebar #atendimento .detail-side-heading h2 { color: #fff; }
.detail-sidebar #atendimento .detail-side-heading p { color: #d8e4f2; }
.detail-sidebar #atendimento .detail-contact-button { background: #fff; color: #0b2742; border-color: #fff; min-height: 43px; }
.detail-sidebar #atendimento .detail-contact-button:hover,
.detail-sidebar #atendimento .detail-contact-button:focus-visible { background: #eaf2fa; color: #0b2742; border-color: #eaf2fa; }
/* Padrao da acao "Mensagem WhatsApp" para todas as acoes dos cards laterais.
   Exclui galerias e cards de imoveis visitados/destaques: nao sao botoes de acao. */
.detail-sidebar :is(
  .detail-advertiser-action,
  .detail-contact-button,
  .detail-upcoming-actions > a,
  .detail-upcoming-actions > button,
  .detail-favorite-actions .button,
  .detail-favorites-link,
  .detail-share-actions a.detail-social-action,
  .detail-share-actions button
) {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--detail-action-border);
  border-radius: 999px;
  background: #fff;
  color: var(--detail-action-blue);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: .74rem;
  line-height: 1.45;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.detail-sidebar :is(
  .detail-advertiser-action,
  .detail-contact-button,
  .detail-upcoming-actions > a,
  .detail-upcoming-actions > button,
  .detail-favorite-actions .button,
  .detail-favorites-link,
  .detail-share-actions a.detail-social-action,
  .detail-share-actions button
):not(:disabled):hover {
  background: #eef6ff;
  border-color: #7baddc;
  color: var(--detail-action-blue);
  transform: none;
}
.detail-sidebar :is(
  .detail-advertiser-action,
  .detail-contact-button,
  .detail-upcoming-actions > a,
  .detail-upcoming-actions > button,
  .detail-favorite-actions .button,
  .detail-favorites-link,
  .detail-share-actions a.detail-social-action,
  .detail-share-actions button
):focus-visible {
  outline: 2px solid var(--detail-action-blue);
  outline-offset: 3px;
}
/* Os atalhos iconográficos de compartilhamento seguem contornados, com respiro menor. */
.detail-sidebar .detail-share-actions a.detail-social-action { padding: 8px; }
.detail-sidebar .detail-favorites-link { width: 100%; }
/* O card de contato conserva seu fundo azul-marinho, mas o botao segue a mesma borda azul. */
.detail-sidebar #atendimento .detail-contact-button,
.detail-sidebar #atendimento .detail-contact-button:hover,
.detail-sidebar #atendimento .detail-contact-button:focus-visible {
  color: var(--detail-action-blue);
  border-color: var(--detail-action-border);
}
.detail-sidebar #atendimento .detail-contact-button:hover { background: #eef6ff; border-color: #7baddc; }
.detail-sidebar :is(.detail-advertiser-action, .detail-upcoming-actions > button, .detail-favorite-actions .button):disabled {
  color: #8393aa;
  background: #f5f8fb;
  border-color: #d8e1eb;
  cursor: not-allowed;
  transform: none;
}
/* Mantem o indicador de copia concluida no mesmo padrao azul, sem confundir com erro. */
.detail-sidebar .detail-share-actions button.is-copied { background: #eef6ff; border-color: #7baddc; color: var(--detail-action-blue); }
.detail-sidebar .detail-share-actions button[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .detail-sidebar :is(.detail-advertiser-action, .detail-contact-button, .detail-upcoming-actions > a, .detail-favorite-actions .button, .detail-favorites-link, .detail-share-actions a.detail-social-action, .detail-share-actions button) { transition: none; }
}
