
/* ==========================================
   VRR IMOBILIARIA
   IDENTIDADE VISUAL AZUL E BRANCO
   APRESENTACAO PROFISSIONAL DOS IMOVEIS
   ========================================== */

:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #253b50;
  background: #ffffff;

  --vrr-blue: #1768ac;
  --vrr-blue-hover: #12558e;
  --vrr-dark: #142a45;
  --vrr-light: #ddecf6;
  --vrr-white: #ffffff;
  --vrr-text: #253b50;
  --vrr-muted: #617589;
  --vrr-border: #dbe5ee;
  --vrr-surface: #f6f9fc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--vrr-text);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.btn {
  cursor: pointer;
  background: var(--vrr-blue);
  border: 0;
  border-radius: 9px;
  padding: 13px 20px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition:
    background .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

button:hover,
.btn:hover {
  background: var(--vrr-blue-hover);
}

button:active,
.btn:active {
  transform: translateY(1px);
}

.outline {
  background: transparent;
  border: 1px solid var(--vrr-blue);
  color: var(--vrr-blue);
}

.outline:hover {
  background: var(--vrr-light);
  color: var(--vrr-dark);
}

.wrap {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

/* ==========================================
   CABECALHO
   ========================================== */

header {
  background: #ffffff;
  color: var(--vrr-dark);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--vrr-border);
  box-shadow: 0 3px 18px rgba(20,42,69,.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}

.brand {
  font-size: 34px;
  font-weight: 800;
  color: var(--vrr-blue);
  text-decoration: none;
  letter-spacing: 2px;
}

.brand small {
  display: block;
  color: var(--vrr-dark);
  font-size: 10px;
  letter-spacing: 3px;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  color: var(--vrr-dark);
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  color: var(--vrr-blue);
}

/* ==========================================
   BANNER PRINCIPAL
   MANTEM A IMAGEM QUE JA FUNCIONA
   ========================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 620px;
  padding: 100px 0;
  color: #ffffff;

  background-image:
    linear-gradient(
      90deg,
      rgba(10,31,54,.88) 0%,
      rgba(10,31,54,.52) 55%,
      rgba(10,31,54,.12) 100%
    ),
    url("/banner-vrr.jpg.png");

  background-color: var(--vrr-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero .wrap {
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.eyebrow {
  color: #d4eaff;
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: bold;
}

.eyebrow.dark {
  color: var(--vrr-blue);
}

h1 {
  font-size: clamp(40px,6vw,76px);
  line-height: 1.12;
  margin: 18px 0;
}

.hero h1 {
  max-width: 850px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}

h1 em {
  font-style: normal;
  color: #b9dfff;
}

.hero p {
  max-width: 600px;
  font-size: 19px;
  color: #ffffff;
  line-height: 1.7;
  margin-bottom: 35px;
}

.hero .btn {
  display: inline-block;
  padding: 16px 26px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

/* ==========================================
   SECAO DE IMOVEIS
   ========================================== */

.section {
  padding-top: 80px;
  padding-bottom: 95px;
}

#imoveis {
  scroll-margin-top: 90px;
}

h2 {
  font-size: clamp(28px,4vw,38px);
  margin: 14px 0 25px;
  color: var(--vrr-dark);
  line-height: 1.2;
}

h3 {
  color: var(--vrr-dark);
}

/* ==========================================
   FILTROS
   ========================================== */

.filters {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin: 30px 0 38px;
  padding: 18px;
  background: var(--vrr-surface);
  border: 1px solid var(--vrr-border);
  border-radius: 16px;
}

.filters input,
.filters select {
  flex: 1;
  min-width: 0;
}

.filters button {
  flex-shrink: 0;
}

.filters input,
.filters select,
input,
select,
textarea {
  border: 1px solid var(--vrr-border);
  border-radius: 9px;
  padding: 13px;
  background: #ffffff;
  color: var(--vrr-text);
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(23,104,172,.25);
  border-color: var(--vrr-blue);
}

/* ==========================================
   GRID DE IMOVEIS
   ========================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 26px;
  align-items: stretch;
}

/* ==========================================
   CARTAO DE IMOVEL
   ========================================== */

.property {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--vrr-border);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(20,42,69,.07);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.property:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(20,42,69,.14);
}

/* ==========================================
   FOTO DO IMOVEL
   ========================================== */

.property .photo {
  position: relative;
  width: 100%;
  height: 245px;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    #e8f3fb,
    #bdd8ed
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vrr-blue);
  font-size: 50px;
}

.property .photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.property:hover .photo img {
  transform: scale(1.045);
}

/* ==========================================
   ETIQUETAS SOBRE AS FOTOS
   ========================================== */

.property .photo .tag,
.property .photo .property-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  background: var(--vrr-blue);
  color: #ffffff;
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.16);
}

.property .photo .tag.rent,
.property .photo .property-tag.rent {
  background: #147b70;
}

/* ==========================================
   CONTEUDO DO CARTAO
   ========================================== */

.property .content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 23px;
}

.property .content > .tag {
  align-self: flex-start;
  display: inline-block;
  color: var(--vrr-blue);
  background: var(--vrr-light);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 11px;
  letter-spacing: .7px;
  font-weight: 800;
}

.property h3 {
  margin: 15px 0 10px;
  color: var(--vrr-dark);
  font-size: 21px;
  line-height: 1.35;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.property p {
  color: var(--vrr-muted);
  line-height: 1.55;
  font-size: 14px;
  margin: 7px 0;
}

/* ==========================================
   LOCALIZACAO
   ========================================== */

.property-location {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--vrr-muted);
  font-size: 14px;
  margin: 8px 0 16px;
}

.property-location svg {
  flex-shrink: 0;
  color: var(--vrr-blue);
}

/* ==========================================
   CARACTERISTICAS DO IMOVEL
   ========================================== */

.property-features {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 15px 0;
  padding: 15px 0;
  border-top: 1px solid var(--vrr-border);
  border-bottom: 1px solid var(--vrr-border);
}

.property-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #536b80;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.property-feature svg {
  width: 17px;
  height: 17px;
  color: var(--vrr-blue);
}

/* ==========================================
   PRECO E BOTAO
   ========================================== */

.property .price {
  font-size: 25px;
  font-weight: 800;
  color: var(--vrr-blue);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.property-price-label {
  color: #8292a2;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

.property-bottom {
  margin-top: auto;
  padding-top: 18px;
}

.property-bottom .price {
  margin-bottom: 17px;
}

.property-button {
  display: block;
  width: 100%;
  text-align: center;
  border-radius: 9px;
  padding: 14px 18px;
  background: var(--vrr-blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 0;
}

.property-button:hover {
  background: var(--vrr-blue-hover);
}

/* ==========================================
   SEM FOTO CADASTRADA
   ========================================== */

.property-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    #e7f2fa,
    #c5deef
  );
  color: var(--vrr-blue);
  text-align: center;
}

.property-placeholder svg {
  width: 58px;
  height: 58px;
}

.property-placeholder span {
  font-size: 13px;
  font-weight: 700;
}

/* ==========================================
   JANELA DE DETALHES DO IMOVEL
   ========================================== */

.property-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(9,27,47,.76);
}

.property-modal.hidden {
  display: none !important;
}

.property-modal-content {
  position: relative;
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 70px rgba(0,0,0,.25);
}

.property-modal-close {
  position: sticky;
  top: 12px;
  float: right;
  z-index: 3;
  margin: 12px 12px -58px 0;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: #ffffff;
  color: var(--vrr-dark);
  font-size: 26px;
  box-shadow: 0 3px 15px rgba(0,0,0,.2);
}

.property-modal-close:hover {
  background: var(--vrr-light);
  color: var(--vrr-dark);
}

.property-modal-photo {
  width: 100%;
  height: 350px;
  background: var(--vrr-light);
}

.property-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-modal-body {
  padding: 30px;
}

.property-modal-body h2 {
  margin: 12px 0;
}

.property-modal-body p {
  line-height: 1.75;
  color: var(--vrr-muted);
}

.property-modal-price {
  color: var(--vrr-blue);
  font-size: 30px;
  font-weight: 800;
  margin: 18px 0;
}

.property-modal-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.property-modal-features span {
  padding: 10px 14px;
  background: var(--vrr-surface);
  border: 1px solid var(--vrr-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

body.modal-open {
  overflow: hidden;
}

/* ==========================================
   SOBRE A IMOBILIARIA
   ========================================== */

.about {
  background: var(--vrr-dark);
  color: #ffffff;
  padding: 70px 0;
}

.about h2,
.about h3 {
  color: #ffffff;
}

.about p {
  color: #e0eaf2;
  line-height: 1.7;
}

/* ==========================================
   RODAPE
   ========================================== */

footer {
  background: #0d2035;
  color: #ffffff;
  padding: 25px 0;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

footer span {
  color: #9bd0f5;
}

/* ==========================================
   AREA RESTRITA
   ========================================== */

.hidden {
  display: none !important;
}

.dashhead,
.statline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.panel {
  padding: 26px;
  border: 1px solid var(--vrr-border);
  border-radius: 14px;
  margin: 20px 0 32px;
  max-width: 850px;
  background: #ffffff;
  box-shadow: 0 5px 20px rgba(20,42,69,.04);
}

.panel h3 {
  margin-top: 0;
}

#auth {
  max-width: 450px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  margin: 0 0 14px;
}

label input,
label select,
label textarea {
  margin-top: 7px;
}

.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

.wide {
  grid-column: 1 / -1;
}

.actions {
  display: flex;
  gap: 10px;
}

.adminlist {
  margin: 20px 0 40px;
}

.adminitem {
  padding: 15px 0;
  border-bottom: 1px solid var(--vrr-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.adminitem p {
  margin: 6px 0;
  color: var(--vrr-muted);
}

.adminitem button {
  margin: 4px;
}

/* ==========================================
   NOTIFICACOES
   ========================================== */

#toast {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 110;
  background: var(--vrr-dark);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 8px;
  display: none;
  max-width: 360px;
  box-shadow: 0 8px 25px rgba(0,0,0,.18);
}

#toast.show {
  display: block;
}

/* ==========================================
   ACESSIBILIDADE
   ========================================== */

:focus-visible {
  outline: 3px solid #62b4f0;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .property,
  .property .photo img,
  button,
  .btn {
    transition: none;
  }
}

/* ==========================================
   TABLETS
   ========================================== */

@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .property .photo {
    height: 240px;
  }
}

/* ==========================================
   CELULARES
   ========================================== */

@media (max-width: 720px) {
  .wrap {
    padding: 0 18px;
  }

  .nav {
    min-height: 70px;
  }

  .brand {
    font-size: 27px;
  }

  nav {
    gap: 10px;
  }

  nav a {
    display: none;
  }

  .hero {
    min-height: 520px;
    padding: 80px 0;
    background-position: 60% center;
  }

  .hero h1 {
    font-size: clamp(36px,9vw,52px);
  }

  .hero p {
    font-size: 17px;
  }

  .section {
    padding-top: 55px;
    padding-bottom: 65px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .property .photo {
    height: 255px;
  }

  .property .content {
    padding: 20px;
  }

  .property h3 {
    font-size: 20px;
  }

  .filters {
    flex-direction: column;
    padding: 15px;
  }

  .formgrid {
    grid-template-columns: 1fr;
  }

  .wide {
    grid-column: auto;
  }

  .adminitem {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashhead {
    align-items: flex-start;
  }

  footer .wrap {
    flex-direction: column;
  }

  .property-modal {
    padding: 10px;
  }

  .property-modal-content {
    max-height: 94vh;
  }

  .property-modal-photo {
    height: 230px;
  }

  .property-modal-body {
    padding: 20px;
  }

/* ==========================================
   VRR IMOBILIARIA
   CARTOES SOFISTICADOS
   ========================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, 320px), 1fr)
  );
  gap: 28px;
  margin-top: 32px;
  align-items: stretch;
}

.property {
  background: #ffffff;
  border: 1px solid #e7ebf0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(15, 35, 60, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.property:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(15, 35, 60, 0.15);
}

.property .photo {
  position: relative;
  height: 245px;
  overflow: hidden;
  background: #e8edf3;
}

.property .photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property:hover .photo img {
  transform: scale(1.04);
}

.property .property-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    #173d66,
    #0d223c
  );
  color: #ffffff;
  font-weight: 700;
}

.property .property-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 14px;
  border-radius: 6px;
  background: #12365b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.property .property-tag.rent {
  background: #17795c;
}

.property .content {
  padding: 24px;
}

.property .content h3 {
  margin: 0 0 10px;
  color: #142c48;
  font-size: 21px;
  line-height: 1.35;
}

.property-location {
  color: #718096;
  font-size: 14px;
  margin-bottom: 20px;
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid #edf0f4;
}

.property-feature {
  padding: 9px 12px;
  background: #f3f6fa;
  border-radius: 8px;
  color: #344861;
  font-size: 13px;
  font-weight: 600;
}

.property-bottom {
  padding-top: 20px;
}

.property-price-label {
  color: #7a8796;
  font-size: 12px;
  margin-bottom: 5px;
}

.property .price {
  color: #12365b;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

.property-button {
  display: block;
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 9px;
  background: #12365b;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease;
}

.property-button:hover {
  background: #205786;
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .property .photo {
    height: 225px;
  }

  .property .content {
    padding: 20px;
  }

  .property .price {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .property,
  .property .photo img {
    transition: none;
  }

  .property:hover {
    transform: none;
  }
}

  .property-modal-price {
    font-size: 25px;
  }
}

/* ==========================================
   VRR - CORRECAO DO CONTADOR DE FOTOS
   ========================================== */

.property .photo .vrr-card-photo-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: auto;
  top: auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  height: auto;
  max-width: calc(100% - 24px);

  padding: 6px 10px;
  margin: 0;

  background: rgba(20, 42, 69, 0.88);
  color: #ffffff;

  border-radius: 7px;

  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: normal;
  white-space: nowrap;

  z-index: 3;
}

/* ==========================================
   VRR IMOBILIARIA
   GALERIA PROFISSIONAL DE IMOVEIS
   ========================================== */

.property-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 24, 43, 0.82);
  overflow-y: auto;
}

.property-modal.hidden {
  display: none !important;
}

.property-modal-content {
  position: relative;
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
}

.property-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: #142a45;
  font-size: 25px;
  cursor: pointer;
}

.vrr-gallery {
  position: relative;
  width: 100%;
  min-height: 300px;
  overflow: hidden;
  background: #142a45;
}

.vrr-gallery-image {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: contain;
  background: #142a45;
}

.vrr-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #142a45;
  font-size: 28px;
  cursor: pointer;
}

.vrr-gallery-prev {
  left: 16px;
}

.vrr-gallery-next {
  right: 16px;
}

.vrr-gallery-counter {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  padding: 7px 12px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 12px;
}

.vrr-thumbnails {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 14px;
  overflow-x: auto;
  background: #f4f7fa;
}

.vrr-thumb {
  flex: 0 0 90px;
  display: block;
  width: 90px;
  height: 70px;
  padding: 0;
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: 8px;
  background: #e8edf3;
  cursor: pointer;
}

.vrr-thumb.active {
  border-color: #1768ac;
}

.vrr-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-modal-body {
  padding: 30px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .property-modal {
    padding: 10px;
  }

  .property-modal-content {
    max-height: 95vh;
  }

  .vrr-gallery-image {
    height: 270px;
  }

  .vrr-thumb {
    flex-basis: 72px;
    width: 72px;
    height: 56px;
  }

  .property-modal-body {
    padding: 20px;
  }
}


/* Ficha de imóvel: layout organizado e responsivo */
.vrr-details { color: #24354a; }
.vrr-details-header { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.vrr-details-header h2 { margin:10px 0 8px; font-size:clamp(1.45rem, 3vw, 2rem); line-height:1.25; }
.vrr-details-purpose { display:inline-block; padding:6px 10px; border-radius:5px; background:#e8f0f8; color:#174d78; font-size:.72rem; font-weight:800; letter-spacing:.08em; }
.vrr-details-location { color:#607188; margin:0 0 12px; }
.vrr-details-ref { flex-shrink:0; padding:7px 11px; border:1px solid #dce4ee; border-radius:8px; font-size:.82rem; color:#56667a; overflow-wrap:anywhere; }
.vrr-details-price { display:flex; flex-direction:column; gap:5px; padding:18px 20px; margin:18px 0 24px; border-radius:12px; background:#f1f6fb; }
.vrr-details-price > span { color:#53677d; font-size:.85rem; }
.vrr-details-price strong { color:#173e61; font-size:clamp(1.5rem,3vw,2rem); line-height:1.2; }
.vrr-details-price small { font-size:.85rem; font-weight:500; }
.vrr-details-section { margin:24px 0; }
.vrr-details-section h3 { margin:0 0 14px; color:#1c344e; font-size:1.1rem; }
.vrr-details-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.vrr-details-stat { min-width:0; padding:13px 12px; border:1px solid #e2e9f0; border-radius:10px; background:#fff; }
.vrr-details-stat span, .vrr-details-costs span { display:block; color:#627287; font-size:.8rem; margin-bottom:5px; }
.vrr-details-stat strong { display:block; font-size:1rem; color:#223c57; overflow-wrap:anywhere; }
.vrr-details-costs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.vrr-details-costs > div { padding:14px 16px; border-radius:10px; background:#f7f9fc; }
.vrr-details-costs strong { color:#243d58; }
.vrr-details-text { white-space:pre-line; line-height:1.7; overflow-wrap:anywhere; }
.vrr-details-contact { display:flex; justify-content:center; align-items:center; text-align:center; margin:26px 0 14px; }
.vrr-details-footer { text-align:center; color:#7b8796; font-size:.8rem; }
@media(max-width:720px) {
  .vrr-details-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .vrr-details-header { flex-direction:column; gap:6px; }
  .vrr-details-costs { grid-template-columns:1fr; }
}

/* Botão de contato da ficha do imóvel */
.property-modal .vrr-whatsapp-button.vrr-details-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 15px 22px;
  border-radius: 10px;
  background: #167b45;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(22, 123, 69, .16);
  transition: background .2s ease, transform .2s ease;
}
.property-modal .vrr-whatsapp-button.vrr-details-contact:hover {
  background: #116336;
  color: #fff;
  text-decoration: none;
}
.property-modal .vrr-whatsapp-button.vrr-details-contact:focus-visible {
  outline: 3px solid #77c79a;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .property-modal .vrr-whatsapp-button.vrr-details-contact { transition: none; }
}

/* Ícone de WhatsApp em destaque no botão de contato */
.property-modal .vrr-details-contact { gap: 12px; }
.property-modal .vrr-whatsapp-icon {
  display: block;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  color: #fff;
}
.property-modal .vrr-details-contact span { color: inherit; font-weight: 750; }

/* Marca WhatsApp branca sobre o botão verde */
.property-modal img.vrr-whatsapp-icon { filter: brightness(0) invert(1); object-fit: contain; }

/* Portal VRR: seis melhorias */
.vrr-advanced-filters { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:20px 0 12px; }
.vrr-advanced-filters label { display:flex; flex-direction:column; gap:6px; font-size:.85rem; font-weight:700; }
.vrr-advanced-filters input,.vrr-advanced-filters select { width:100%; min-width:0; border:1px solid #dbe5ee; border-radius:9px; padding:12px; background:white; }
.vrr-search-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-bottom:25px; }
.vrr-search-actions span { color:#617589; font-size:.88rem; }
.vrr-card-extra { display:flex; gap:8px; padding:0 20px 18px; }
.vrr-card-extra button { flex:1; padding:10px 6px; font-size:.84rem; }
.vrr-benefits { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; padding-top:35px; padding-bottom:35px; }
.vrr-benefits>div { padding:22px; border:1px solid #e0e9f2; background:#f7faff; border-radius:14px; }
.vrr-benefits h3 { margin-top:0; color:#16476e; }
.vrr-benefits p { margin-bottom:0; line-height:1.6; }
.vrr-dashboard-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:22px 0; }
.vrr-dashboard-summary>div { padding:18px; background:#f7faff; border:1px solid #e0e9f2; border-radius:12px; }
.vrr-dashboard-summary strong { display:block; font-size:1.7rem; color:#16476e; }
.vrr-dashboard-summary span { color:#617589; font-size:.85rem; }
.vrr-admin-filters { display:grid; grid-template-columns:2fr 1fr 1fr; gap:10px; margin:14px 0 20px; }
.vrr-admin-filters>* { min-width:0; width:100%; padding:12px; border:1px solid #dbe5ee; border-radius:9px; background:white; }
.vrr-property-actions { display:flex; flex-wrap:wrap; gap:10px; margin:20px 0; }
.vrr-property-actions button { flex:1 1 150px; }
.vrr-visit-overlay { position:fixed; inset:0; z-index:10020; background:rgba(8,24,43,.8); display:flex; align-items:center; justify-content:center; padding:16px; overflow-y:auto; }
.vrr-visit-overlay.hidden { display:none!important; }
.vrr-visit-panel { position:relative; width:min(100%,510px); max-height:94vh; overflow-y:auto; background:white; padding:28px; border-radius:16px; }
.vrr-visit-close { position:absolute; top:15px; right:15px; padding:6px 13px; font-size:22px; }
.vrr-visit-panel form { display:grid; gap:14px; }
.vrr-visit-panel label { display:grid; gap:6px; font-weight:600; }
.vrr-visit-panel input,.vrr-visit-panel select { width:100%; padding:12px; border:1px solid #dbe5ee; border-radius:9px; background:white; }
.vrr-visit-panel form p { color:#617589; font-size:.83rem; line-height:1.5; }
@media(max-width:720px){
 .vrr-advanced-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .vrr-benefits { grid-template-columns:1fr; }
 .vrr-dashboard-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .vrr-admin-filters { grid-template-columns:1fr; }
}
@media(max-width:420px){.vrr-advanced-filters{grid-template-columns:1fr;}}
