/* Telas 04 e 05 . Pedidos do Johann de 10/11 (bloco M).                */
/* M1 . Tela 04: o mapa ocupa a tela inteira. Seletor, titulo e ficha  */
/* ficam por cima do mapa, em camadas discretas.                       */
/* M2 . Tela 05: logos coloridos sobre placa clara, com ficha.         */
/* ------------------------------------------------------------------ */

/* ===================== Tela 04 . Portfólio ======================== */

#scene-4 #property-panel {
  position: absolute;
  inset: 0 !important;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 96px 64px;
  overflow: visible;
  background: #0b283a;
  border: 0;
  border-radius: 0;
}

#scene-4 #properties-map {
  position: absolute;
  inset: 0 !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
}

/* Sombra suave na base da imagem, abaixo dos marcadores e dos       */
/* controles do mapa.                                                   */
#scene-4 #properties-map::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 450;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(6, 26, 36, .58) 0%, rgba(6, 26, 36, .24) 8%, rgba(6, 26, 36, 0) 18%);
}

/* Titulo e marca do grupo por cima da imagem. */
#scene-4 h1 {
  font-size: 31px !important; /* nao cobre mais a etiqueta AMBX Garuva do mapa */
  text-shadow: 0 2px 24px rgba(4, 18, 26, .95), 0 1px 4px rgba(4, 18, 26, .85);
}

#scene-4 header img {
  filter: drop-shadow(0 2px 10px rgba(3, 16, 24, .9));
}

/* Rotulo da regiao, discreto, abaixo do titulo. */
#scene-4 .map-label.sr-only {
  left: 64px !important;
  top: 162px !important;
  clip: auto !important;
  clip-path: none !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  padding: 8px 13px !important;
  margin: 0 !important;
  background: #082c43e6 !important;
  border: 1px solid #a5ccdd !important;
  border-radius: 3px;
  color: #fff !important;
  font: 500 12px Hanken, Arial, sans-serif !important;
  letter-spacing: 1.4px;
  z-index: 520;
}

/* Seletor de empreendimentos: uma fileira de placas sobre o mapa.
   Fica no fluxo do painel para que a ficha, que o deck recoloca dentro
   do item selecionado, continue se posicionando pela tela inteira. */
#scene-4 .property-selector {
  position: static !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
  gap: 12px !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0;
  background: none !important;
  border: 0;
  border-radius: 0;
  overflow: visible !important;
  z-index: 530;
}

#scene-4 .property-item {
  display: block !important;
  flex: 0 0 auto !important;
  min-height: 0 !important;
  height: auto !important;
  border-bottom: 0 !important;
  overflow: visible !important;
}

#scene-4 .property-item > [data-property] {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 13px 20px !important;
  border: 1px solid #9dc3d24d !important;
  border-left: 3px solid #9dc3d24d !important;
  border-radius: 3px;
  background: #082532e0 !important;
  color: #cfe2ea !important;
  font: 500 15px/1.1 Hanken, Arial, sans-serif;
  text-align: left;
  transition: background .3s, color .3s, border-color .3s;
}

#scene-4 .property-item > [data-property] > span {
  margin: 0 !important;
  color: #8fb6c9 !important;
  font-size: 12px !important;
}

#scene-4 .property-item > [data-property] > strong {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: inherit;
}

#scene-4 .property-item > [data-property]:after {
  content: none !important;
}

#scene-4 .property-item > [data-property]:hover {
  background: #143e53f2 !important;
  color: #fff !important;
  border-color: #9dc3d2a6 !important;
}

#scene-4 .property-item > [data-property].selected {
  background: #e1f3fa !important;
  color: #0c3b50 !important;
  border-color: #8fe0f5 !important;
  border-left-color: #8fe0f5 !important;
}

#scene-4 .property-item > [data-property].selected > span {
  color: #2f6a83 !important;
}

/* Ficha do empreendimento, camada solta no canto direito. */
#scene-4 #property-info {
  position: absolute !important;
  inset: auto !important;
  left: auto !important;
  right: 64px !important;
  top: auto !important;
  bottom: 96px !important;
  width: 340px !important;
  max-height: 420px;
  overflow: auto;
  display: block !important;
  padding: 0 !important;
  margin: 0;
  border: 0 !important;
  border-radius: 4px;
  background: #f1f5f4 !important;
  color: #153f52 !important;
  box-shadow: 0 18px 44px #04141d73 !important;
  z-index: 540;
}

#scene-4 #property-info .property-detail {
  margin-top: 0 !important;
}

/* A ficha e clara, entao o texto interno volta a ser escuro. */
#scene-4 #property-info .property-detail h2 {
  display: block !important;
  color: #143f53 !important;
}

#scene-4 #property-info .property-status {
  color: #52707d !important;
}

#scene-4 #property-info .property-abl span {
  color: #52707d !important;
}

#scene-4 #property-info .property-abl strong {
  color: #164d66 !important;
}

#scene-4 #property-info .property-actions button {
  color: #164d66 !important;
  border-bottom-color: #9bb8c3 !important;
}

#scene-4 #property-info .portfolio-nearby {
  color: #143f53 !important;
}

#scene-4 #property-info .nearby-choices button {
  color: #164d66 !important;
  border-color: #6c9bb5 !important;
}

#scene-4 #property-info .nearby-choices button[aria-pressed=true] {
  background: #b9e7f4 !important;
  color: #123d53 !important;
}

#scene-4 #property-info .property-detail > img {
  height: 92px !important;
  border-radius: 4px 4px 0 0;
}

#scene-4 #property-info .property-detail-copy {
  padding: 14px 18px 18px !important;
}

/* Controles do mapa: ficam fora da area do titulo e do seletor. */
#scene-4 .leaflet-bottom.leaflet-left {
  left: 16px !important;
  right: auto !important;
  margin-bottom: 58px;
}

#scene-4 .leaflet-bottom.leaflet-right {
  margin-bottom: 58px;
}

#scene-4 .leaflet-control-attribution {
  background: #e7ecebbf !important;
  color: #123f54 !important;
  font-size: 10px !important;
}

#scene-4 .leaflet-control-scale {
  margin-bottom: 4px;
}

#scene-4 .leaflet-control-scale-line {
  border-color: #123f54 !important;
  color: #123f54 !important;
  background: #e7ecebbf !important;
}

/* ===================== Tela 05 . Clientes ========================== */

#scene-5 .client-reference {
  cursor: pointer;
}

#scene-5 .client-reference:focus-visible {
  outline: 3px solid #8fe0f5;
  outline-offset: 6px;
}

#scene-5 .client-reference-mark {
  background: #fff !important;
  border: 1px solid #ffffff1f;
  border-radius: 6px;
  padding: 15px 22px !important;
  width: 100% !important;
  height: 116px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px #04141d3d;
  transition: transform .3s, box-shadow .3s;
}

#scene-5 .client-reference:hover .client-reference-mark,
#scene-5 .client-reference:focus-visible .client-reference-mark {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px #04141d5c;
}

#scene-5 .client-reference img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 84px !important;
  object-fit: contain;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}

#scene-5 .client-reference p.client-sector {
  color: #9dbccb !important;
  font-size: 13px !important;
  letter-spacing: 2px;
}

#scene-5 .client-reference-open {
  margin-top: 9px;
  font: 500 12px/1.2 Hanken, Arial, sans-serif;
  letter-spacing: 1.2px;
  color: #6d95a8;
  opacity: .75;
  transition: opacity .3s, color .3s;
}

#scene-5 .client-reference:hover .client-reference-open,
#scene-5 .client-reference:focus-visible .client-reference-open {
  color: #cfe6ef;
  opacity: 1;
}

/* Ficha do cliente, dentro do overlay do deck. */
#info-content .client-card {
  margin-top: 0;
}

#info-content .client-card-cols {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 48px;
  align-items: start;
}

#info-content .client-card-sector {
  font: 500 13px Hanken, Arial, sans-serif;
  letter-spacing: 2.4px;
  color: #167c9d;
  text-transform: uppercase;
}

#info-content .client-card-segment {
  margin-top: 6px;
  font: 400 20px Hanken, Arial, sans-serif;
  color: #123f54;
}

#info-content .client-card-facts {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

#info-content .client-card-facts div {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-top: 1px solid #0c3c5026;
  padding-top: 9px;
}

#info-content .client-card-facts b {
  flex: 0 0 190px;
  font: 500 20px Unbounded, Arial, sans-serif;
  color: #123f54;
}

#info-content .client-card-facts span {
  font: 400 16px/1.35 Hanken, Arial, sans-serif;
  color: #436a7e;
}

#info-content .client-card-desc {
  margin-top: 18px;
  font: 400 17px/1.45 Hanken, Arial, sans-serif;
  color: #2c5568;
  max-width: 600px;
}

#info-content .client-card-highlight {
  margin-top: 16px;
  border-left: 3px solid #167c9d;
  padding: 4px 0 4px 14px;
  font: 500 16px/1.45 Hanken, Arial, sans-serif;
  color: #123f54;
}

#info-content .client-card-right {
  border-left: 1px solid #0c3c5026;
  padding-left: 36px;
}

#info-content .client-card-right h3 {
  font: 500 15px Hanken, Arial, sans-serif;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #167c9d;
  margin-bottom: 14px;
}

#info-content .client-card-deliveries {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 36px;
}

#info-content .client-card-deliveries li {
  padding: 9px 0;
  border-top: 1px solid #0c3c5026;
  break-inside: avoid;
}

#info-content .client-card-deliveries b {
  display: block;
  font: 500 18px Unbounded, Arial, sans-serif;
  color: #123f54;
}

#info-content .client-card-deliveries span {
  display: block;
  margin-top: 4px;
  font: 400 15px/1.4 Hanken, Arial, sans-serif;
  color: #436a7e;
}

#info-content .client-card-note {
  margin-top: 14px;
  font: 400 13px/1.5 Hanken, Arial, sans-serif;
  color: #6d8a99;
}
