/* =====================================================
CORES
===================================================== */
:root {
  --cor1: #0c2340;
  --cor2: #fff;
  --cor3: #484848;
  --cor4: #f2f2f2;
  --cor5: #ac8352;
  --cor6: #eee;
  --cor7: #ddd;
  --cor8: rgba(0, 0, 0, 0.4);
  --cor9: #ccc;
  --cor10: #aaa;
  --cor11: rgba(12, 35, 64, 0.1);
  --cor12: #fff4e5;
  --cor13: #b26a00;
  --cor14: #ffd8a8;
  --cor15: rgba(0, 0, 0, 0.6);
  --cor16: #eb3d60;
  --cor17: #ff3b3b;
  --cor18: #000;
  --cor19: #f5f5f5;
  --cor20: rgba(0, 0, 0, 0.15);
  --cor21: #f3f3f3;
  --cor22: rgba(0, 0, 0, 0.08);
  --cor23: #e9e9e9;
  --cor24: rgba(255, 255, 255, 0.9);
  --cor25: rgba(20, 20, 20, 0.3);
  --cor26: #eaeaea;
  --cor27: rgba(255, 255, 255, 0.6);
  --cor28: rgba(0, 0, 0, 0.7);
  --cor29: rgba(0, 0, 0, 0.9);
}

/* =====================================================
CONFIGURAÇÕES GERAIS
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--cor2);
  color: var(--cor3);
  font-size: 15px;
}

main {
  flex: 1;
}

.container {
  margin: 0 auto;
}

.container-full {
  margin: 0 auto;
  padding: 20px 0;
  max-width: 1200px;
}

hr {
  width: 100%;
  height: 1px;
  background-color: var(--cor7);
  border: 0;
  margin-top: 10px;
  margin-bottom: 10px;
}

.titulos {
  font-size: 28px;
  color: var(--cor1);
  text-transform: uppercase;
}

.bg-cinza {
  background-color: var(--cor4);
}

::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-track {
  background: #fafafa;
}

::-webkit-scrollbar-thumb {
  background: #cfcfcf;
  border-radius: 999px;
  border: 2px solid #fafafa;
}

::-webkit-scrollbar-thumb:hover {
  background: #b5b5b5;
}

/* =====================================================
HEADER
===================================================== */
header {
  background: var(--cor2);
  color: var(--cor1);
  padding: 15px 20px;
}

.header-container {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
}

/* =====================================================
MENU
===================================================== */
.menu {
  display: flex;
  gap: 20px;
}

.menu a {
  color: var(--cor3);
  text-decoration: none;
  padding: 10px;
  font-weight: 700;
}

.menu a:hover {
  background-color: var(--cor1);
  color: var(--cor2);
  border-radius: 6px;
}

/* =====================================================
BOTÕES (LOGIN) / (CADASTRO)
===================================================== */
.actions {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 8px 20px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
}

.btn-login {
  background: transparent;
  border: 1px solid var(--cor5);
  color: var(--cor5);
}

.btn-login:hover {
  background-color: var(--cor5);
  color: var(--cor2);
}

.btn-cadastro {
  background: var(--cor1);
  color: var(--cor2);
}

.btn-cadastro:hover {
  filter: brightness(1.6);
}

/* =====================================================
MENU HAMBURGER
===================================================== */
.menu-toggle {
  display: none;
  cursor: pointer;
}

/* =====================================================
OVERLAY MENU HAMBURGER
===================================================== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cor8);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 998;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =====================================================
MENU MOBILE
===================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 260px;
  height: 100%;
  background: var(--cor1);
  padding: 20px;
  transition: 0.3s;
  z-index: 999;
}

.mobile-menu.active {
  right: 0;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--cor2);
  margin-bottom: 20px;
}

.menu-header button {
  background: none;
  border: none;
  color: var(--cor2);
  cursor: pointer;
}

.mobile-menu a {
  display: block;
  color: var(--cor2);
  text-decoration: none;
  margin-bottom: 15px;
}

/* =====================================================
GRID DE IMÓVEIS
===================================================== */
/* .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 30px;
} */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, 280px);
  justify-content: center;
  gap: 20px;
  padding: 30px;
}

.swiper-imovel {
  position: relative;
}

.swiper-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: var(--cor15);
  color: var(--cor2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.swiper-btn.prev {
  left: 10px;
}

.swiper-btn.next {
  right: 10px;
}

.swiper-btn svg {
  width: 18px;
  height: 18px;
}

.card-imovel {
  width: 100%;
  background: var(--cor2);
  border-radius: 6px;
  overflow: visible;
  border: 1px solid var(--cor6);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.06);
}

.card-img {
  position: relative;
  aspect-ratio: 16/9;
}

.img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cor1);
  color: var(--cor2);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 10;
}

.card-top {
  position: absolute;
  bottom: -25px;
  left: 0;
  width: 100%;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  z-index: 5;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid var(--cor2);
  object-fit: cover;
}

.icon-heart {
  background: var(--cor2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--cor6);
}

.icon-heart a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: var(--cor3);
  text-decoration: none;
}

.icon-heart:hover {
  background-color: var(--cor1);
}

.icon-heart:hover svg {
  stroke: var(--cor2);
}

.icon-heart svg {
  width: 20px;
  height: 20px;
}

.icon-heart.ativo svg {
  stroke: var(--cor16) !important;
  fill: var(--cor16) !important;
}

.card-content {
  padding: 40px 15px 20px;
}

.titulo {
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cor4);
  min-height: 50px;
}

.info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 15px;
}

.info a {
  color: var(--cor2) !important;
}

.info-left {
  display: flex;
  gap: 5px;
}

.info-left .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  line-height: 1;
  gap: 2px;
}

.info-left .item svg {
  width: 14px;
  height: 14px;
  margin-bottom: 4px;
}

.info-right {
  text-align: right;
}

.preco {
  font-weight: 700;
  font-size: 18px;
}

a.btn-card {
  width: 100%;
  background: var(--cor1);
  color: var(--cor2);
  padding: 6px;
  border-radius: 6px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}

.btn-card svg {
  width: 16px;
}

.btn-card:hover {
  filter: brightness(1.6);
}

.caracteristicas-grid:empty,
.info-tag:empty {
  display: none;
}

.caracteristicas-box:has(.caracteristicas-grid:empty),
.info-tag:has(.caracteristicas-grid:empty) {
  display: none;
}

.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* =====================================================
BUSCA
===================================================== */
.busca {
  background: var(--cor1);
  padding: 30px 20px;
}

.busca-container {
  max-width: 1200px;
  margin: auto;
}

.busca-inner {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.busca-box {
  display: flex;
  align-items: center;
  background: var(--cor2);
  border-radius: 50px;
  /* overflow: hidden; */
}

.campo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  flex: 1;
  border-right: 1px solid var(--cor6);
}

.campo:last-of-type {
  border-right: none;
}

.campo input,
.campo select {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  background: transparent;
}

.campo svg {
  width: 16px;
  height: 16px;
  color: var(--cor3);
}

.btn-busca {
  width: 50px;
  height: 50px;
  background: var(--cor5);
  border: none;
  border-radius: 50%;
  margin: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-busca:hover {
  filter: brightness(1.2);
}

.btn-busca svg {
  width: 20px;
  height: 20px;
  color: var(--cor2);
}

.busca-avancada {
  display: inline-block;
  margin-top: 10px;
  color: var(--cor2);
  font-size: 13px;
  text-align: left;
}

/* =====================================================
CATEGORIAS
===================================================== */
.categorias {
  background: var(--cor6);
}

.categorias-container {
  position: relative;
  padding: 20px 80px;
  max-width: 1200px;
  margin: auto;
}

.categoriasSwiper {
  width: 100%;
  box-sizing: border-box;
}

.categoriasSwiper .swiper-slide {
  width: auto;
}

.categoria {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--cor3);
  cursor: pointer;
  min-width: 120px;
  text-align: center;
}

.swiper-slide a {
  text-decoration: none;
  /* color: var(--cor1); */
}

.categoria svg {
  width: 32px;
  height: 32px;
}

.categoria span {
  font-size: 13px;
}

.categoria:hover {
  color: var(--cor1);
}

.cat-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  background: var(--cor1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}

.cat-nav:hover,
.nav:hover,
.areas-controls button:hover,
.corretores-nav button:hover {
  filter: brightness(1.6);
  cursor: pointer;
}

.cat-nav.prev {
  left: 10px;
}

.cat-nav.next {
  right: 10px;
}

.cat-nav svg {
  width: 18px;
  height: 18px;
  color: var(--cor2);
}

.cat-nav:hover {
  background: var(--cor1);
}

.cat-nav.cat-prev {
  left: 10px;
}

.cat-nav.cat-next {
  right: 10px;
}

/* =====================================================
BANNERS [1]
===================================================== */
.banners-container {
  display: flex;
  gap: 20px;
  padding: 30px;
}

.banner-link {
  flex: 1;
  height: 120px;
  overflow: hidden;
  display: block;
}

.banner {
  flex: 1;
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  background-color: var(--cor4);
  height: 120px;
}

/* =====================================================
IMÓVEIS DESTAQUE
===================================================== */
.destaques {
  padding: 30px;
}

.header-destaque {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.nav button {
  background: var(--cor1);
  border: none;
  color: var(--cor2);
  padding: 6px;
  border-radius: 5px;
  cursor: pointer;
}

.card-destaque {
  background: var(--cor1);
  border-radius: 15px;
  overflow: hidden;
  color: var(--cor2);
}

.card-destaque span {
  color: var(--cor2);
}

.img-box {
  position: relative;
}

.img-box a {
  display: block;
}

.img-box img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.badge-top {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--cor1);
  color: var(--cor2);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
}

.badge-price {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--cor5);
  color: var(--cor2);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
}

.card-destaque .info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0;
  padding: 10px;
}

.left {
  display: flex;
  gap: 10px;
  width: 250px;
}

.left img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.left strong {
  display: block;
  font-size: 13px;
}

.left span {
  font-size: 11px;
  color: var(--cor2);
}

.right {
  display: flex;
  gap: 8px;
  align-items: center;
}

.right span {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 3px;
  flex-direction: column;
}

.right .item {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-direction: column;
}

.right svg {
  width: 14px;
}

.icon-heart-destaque {
  background: var(--cor2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--cor6);
  top: 10px;
  left: 10px;
  position: absolute;
}

.icon-heart a,
.icon-heart-destaque a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.icon-heart-destaque.ativo svg {
  stroke: var(--cor16) !important;
  fill: var(--cor16) !important;
}

.icon-heart-destaque a {
  color: var(--cor3);
}

.icon-heart-destaque:hover {
  background-color: var(--cor1);
}

.icon-heart-destaque:hover svg {
  stroke: var(--cor2);
}

.icon-heart-destaque svg {
  width: 20px;
  height: 20px;
}

/* =====================================================
IMÓVEIS POR REGIÃO
===================================================== */
.areas-section {
  padding: 30px;
}

.areas-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.areas-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.areas-select {
  display: flex;
  align-items: center;
  gap: 10px;
}

.select-box {
  position: relative;
}

.select-box select {
  appearance: none;
  background: var(--cor1);
  color: var(--cor2);
  border: none;
  padding: 8px 30px 8px 12px;
  border-radius: 20px;
  cursor: pointer;
}

.select-box svg {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cor2);
  pointer-events: none;
  width: 16px;
}

.areas-controls {
  display: flex;
  gap: 8px;
}

.areas-controls button {
  width: 36px;
  height: 36px;
  background: var(--cor1);
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}

.areas-controls button svg {
  width: 18px;
  height: 18px;
  color: var(--cor2);
}

.areas-controls button:hover {
  background: var(--cor1);
}

.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.area-card {
  width: 100%;
}

.area-image {
  position: relative;
}

.area-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  transition: 0.3s;
}

.area-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--cor5);
  color: var(--cor2);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
}

.area-info {
  margin-top: 8px;
}

.area-info strong {
  display: block;
  font-size: 13px;
}

.area-info span {
  font-size: 12px;
  color: var(--cor3);
}

.areasSwiper .swiper-slide {
  width: 100%;
}

.area-card:hover img {
  transform: scale(1.05);
}

/* =====================================================
BANNERS [4]
===================================================== */
.banners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 30px;
}

.banner {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  transition: 0.3s;
}

.banner:hover {
  transform: scale(1.03);
}

/* =====================================================
CORRETORES
===================================================== */
.corretores-section {
  padding: 30px;
}

.corretores-container {
  display: flex;
  gap: 30px;
  padding: auto;
}

.texto {
  margin-top: 20px;
  margin-bottom: 20px;
}

.texto p {
  line-height: 1.6;
}

.corretores-left {
  width: 40%;
}

.corretores-right {
  width: 60%;
  position: relative;
}

a.corretores-btn {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cor5);
  color: var(--cor2);
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: 0.25s ease;
  text-decoration: none;
}

.corretores-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
}

.corretores-nav {
  position: absolute;
  top: -40px;
  right: 0;
  display: flex;
  gap: 8px;
}

.corretores-nav button {
  width: 35px;
  height: 35px;
  background: var(--cor1);
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.corretores-nav svg {
  width: 18px;
  color: var(--cor2);
}

.corretores-card {
  background: var(--cor2);
  border-radius: 12px;
  overflow: hidden;
}

.corretores-img {
  position: relative;
}

.corretores-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.corretores-stats {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: var(--cor1);
  color: var(--cor2);
  display: flex;
  justify-content: space-around;
  font-size: 11px;
  padding: 5px;
}

.corretores-info {
  padding: 10px;
  font-size: 13px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}

.corretoresSwiper {
  margin-top: 20px;
}

.corretoresSwiper .swiper-slide {
  height: auto;
}

/* =====================================================
BANNERS [1]
===================================================== */
.banner-container {
  padding: 30px;
  background-color: var(--cor2);
}

.banner-img {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.banner-img img {
  width: 100%;
  height: 100%;
  max-height: 120px;
  object-fit: cover;
  display: block;
}

/* =====================================================
DEPOIMENTOS
===================================================== */
.depoimentos-section {
  padding: 30px;
  background: var(--cor6);
}

.depoimentos-container {
  display: flex;
  gap: 40px;
}

.depoimentos-left {
  width: 30%;
}

.depoimentos-left p {
  font-size: 14px;
  color: var(--cor3);
  margin-bottom: 10px;
}

.depoimentos-right {
  width: 70%;
}

.dep-card {
  background: var(--cor2);
  border-radius: 12px;
  padding: 15px;
  height: 100%;
}

.dep-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.dep-top img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.dep-top strong {
  display: block;
  font-size: 13px;
}

.dep-top span {
  font-size: 11px;
  color: var(--cor3);
}

.dep-stars {
  margin-left: auto;
  color: var(--cor5);
  font-size: 12px;
}

.dep-stars svg {
  fill: var(--cor5);
  stroke: var(--cor5);
  width: 16px;
  height: 16px;
}

.dep-card p {
  font-size: 13px;
  color: var(--cor3);
}

.depoimentos-pagination {
  margin-top: 15px;
  text-align: center;
}

.depoimentos-pagination .swiper-pagination-bullet {
  background: var(--cor2);
  opacity: 1;
}

.depoimentos-pagination .swiper-pagination-bullet-active {
  background: var(--cor5);
}

/* =====================================================
MENU FOOTER
===================================================== */
.menu-institucional-container {
  background: var(--cor1);
}

.menu-institucional {
  padding: 15px 20px;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: auto;
  flex-wrap: wrap;
}

.menu-institucional a {
  color: var(--cor2);
  text-decoration: none;
  padding: 10px;
}

.menu-institucional a:hover {
  color: var(--cor1);
  background-color: var(--cor2);
  border-radius: 6px;
}

/* =====================================================
FOOTER
===================================================== */
.footer {
  width: 100%;
  background: var(--cor2);
  padding: 20px;
  max-width: 1200px;
}

.footer {
  display: flex;
  justify-content: center;
}

.footer {
  padding: 25px 20px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-sizing: border-box;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-left {
  flex-shrink: 0;
}

.footer-left img {
  width: 152px;
  height: 53px;
  width: auto;
}

.footer-left span {
  font-size: 11px;
  color: var(--cor3);
}

.footer-center {
  display: flex;
  gap: 40px;
  align-items: center;
}

.footer-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-info svg {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 18px;
  min-width: 18px;
}

.footer-info svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

.footer-info a {
  color: var(--cor1);
  text-decoration: none;
  font-weight: 700;
}

.footer-info a:hover {
  text-decoration: underline;
}

.footer-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-right a {
  width: 34px;
  height: 34px;
  background: var(--cor7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
}

.footer-right img {
  width: 16px;
  color: var(--cor3);
}

.footer-right a:hover {
  background: var(--cor1);
  transform: translateY(-2px);
}

.footer-right a:hover > img {
  filter: brightness(0) invert(1);
}

.footer-right a:hover svg {
  color: var(--cor2);
}

/* =====================================================
MODAL
===================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cor15);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-sizing: border-box;
  z-index: 8000;
}

.modal-overlay.ativo {
  display: flex;
}

.modal {
  background: var(--cor2);
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid var(--cor6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.modal-header h2 {
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 10px;
  color: var(--cor1);
}

.modal-header h2 svg {
  width: 18px;
  height: 18px;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 15px 20px;
  border-top: 1px solid var(--cor6);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.modal-footer button {
  padding: 10px 20px;
  display: flex;
  gap: 10px;
  border: 1px solid var(--cor1);
  font-weight: 700;
  color: var(--cor1);
  background-color: transparent;
  border-radius: 6px;
}

.modal-footer button:hover {
  background-color: var(--cor1);
  color: var(--cor2);
  cursor: pointer;
}

.modal-footer button svg {
  width: 16px;
  height: 16px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.btn-primary {
  background: var(--cor1);
  color: var(--cor2);
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
}

/* =====================================================
ANIMAÇÕES
===================================================== */
.animacao {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}

.animacao svg {
  transition: transform 0.3s ease;
}

.animacao:hover {
  transform: translateY(-2px);
}

.animacao::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -150%;
  width: 100%;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--cor2) 50%,
    transparent 100%
  );
  border-top: 3px solid var(--cor2);
  border-bottom: 3px solid var(--cor2);
  opacity: 0;
  pointer-events: none;
}

.animacao:hover::after {
  animation: feixe 0.9s ease-out forwards;
}

@keyframes feixe {
  0% {
    left: -150%;
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

/* =====================================================
FORMULÁRIOS
===================================================== */
form {
  width: 100%;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* .form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 200px;
} */

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1 1 150px;
  min-width: 150px;
}

.form-group label {
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--cor3);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--cor9);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cor1);
  outline: none;
  box-shadow: 0 0 0 2px var(--cor11);
}

::placeholder {
  color: var(--cor10);
}

a.esqueci {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 5px;
  text-decoration: none;
  color: var(--cor1);
  font-size: 14px;
  font-weight: 700;
}

a.esqueci svg {
  width: 16px;
  height: 16px;
}

a.esqueci:hover {
  text-decoration: underline;
}

/* =====================================================
ALERTAS
===================================================== */
.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  border: 1px solid transparent;
}

.alert-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  min-width: 22px;
}

.alert-icon svg {
  width: 20px;
  height: 20px;
}

.alert-text {
  flex: 1;
}

.alert-text a {
  color: var(--cor13);
  text-decoration: none;
  font-weight: 700;
}

.alert-text a:hover {
  text-decoration: underline;
}

.alert-warning {
  background: var(--cor12);
  color: var(--cor13);
  border-color: var(--cor14);
}

/* =====================================================
MIGALHAS
===================================================== */
.container-migalhas {
  max-width: 1200px;
  margin: auto;
  padding-top: 20px;
}

.container-migalhas a {
  color: var(--cor1);
  font-weight: 700;
  text-decoration: none;
}

.container-migalhas a:hover {
  text-decoration: underline;
}

/* =====================================================
INFORMAÇÕES IMÓVEL
===================================================== */
.info-imovel {
  margin: 0 auto 20px 0;
  padding: 20px;
  background: var(--cor4);
  border-radius: 6px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.info-esquerda {
  flex: 1;
}

.info-esquerda h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--cor1);
  margin-bottom: 10px;
}

.info-icons {
  display: flex;
  gap: 15px;
  font-size: 14px;
  margin-bottom: 10px;
}

.info-icons span {
  display: flex;
  flex-direction: column;
  gap: 2;
  align-items: center;
  font-size: 12px;
}

.info-icons svg {
  width: 14px;
  height: 14px;
}

.info-tag {
  display: inline-block;
  background: var(--cor1);
  color: var(--cor2);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 10px;
  cursor: pointer;
}

.info-data {
  font-size: 12px;
  color: var(--cor3);
  display: flex;
  gap: 5px;
  align-items: center;
}

.info-data svg {
  width: 16px;
  height: 16px;
}

.info-direita {
  width: 380px;
}

.localizacao-topo {
  font-size: 14px;
  margin-bottom: 5px;
  display: flex;
  gap: 5px;
  align-items: center;
}

.localizacao-topo svg {
  width: 16px;
  height: 16px;
}

.localizacao-endereco {
  font-size: 13px;
  color: var(--cor3);
  margin-bottom: 10px;
}

.localizacao-mapa {
  border-radius: 10px;
  overflow: hidden;
  padding: 5px;
  border: 5px solid var(--cor2);
}

.localizacao-mapa img {
  width: 100%;
  display: block;
}

/* =====================================================
DESCRIÇÃO DO IMÓVEL
===================================================== */
.descricao-imovel {
  margin-bottom: 15px;
  white-space: pre-line;
}

.descricao-imovel p {
  line-height: 1.6;
}

/* =====================================================
VALORES
===================================================== */
.valores-box {
  margin: 15px auto;
  padding: 20px;
  background: var(--cor4);
  border-radius: 6px;
}

.valores-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 16px;
  color: var(--cor1);
  margin-bottom: 15px;
  line-height: 1;
}

.valores-header svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
}

.valores-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.valor-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.valor-label {
  font-size: 13px;
  color: var(--cor3);
}

.valor-preco {
  font-size: 16px;
  font-weight: 600;
  color: var(--cor1);
}

/* =====================================================
CARACTERÍSTICAS
===================================================== */
.caracteristicas-box {
  margin: 20px auto;
  background: var(--cor4);
  border-radius: 6px;
  padding: 20px;
}

.caracteristicas-header {
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 16px;
  color: var(--cor1);
  margin-bottom: 15px;
}

.caracteristicas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.caracteristicas-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.caracteristicas-grid li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--cor3);
  margin-bottom: 8px;
}

.caracteristicas-grid svg {
  width: 16px;
  height: 16px;
  color: var(--cor1);
  min-width: 16px;
}

@media (max-width: 900px) {
  .caracteristicas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .caracteristicas-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
BUSCA BAIRROS
===================================================== */
.busca-bairros {
  margin: 15px auto;
  padding: 20px;
  background: var(--cor4);
  border-radius: 6px;
}

.busca-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.busca-header svg {
  width: 20px;
  height: 20px;
}

.busca-header h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--cor1);
}

.busca-grid {
  display: flex;
  gap: 40px;
}

.coluna {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coluna a {
  text-decoration: none;
  color: var(--cor3);
  font-size: 14px;
  transition: 0.2s;
  display: flex;
  gap: 5px;
}

.coluna a svg {
  width: 16px;
  height: 16px;
}

.coluna a strong {
  color: var(--cor3);
  font-weight: 600;
}

.coluna a:hover {
  color: var(--cor18);
  text-decoration: underline;
}

/* =====================================================
IMÓVEIS RELACIONADOS
===================================================== */
.bloco-imoveis {
  margin: 40px auto;
}

.nav {
  display: flex;
  gap: 10px;
}

.bloco-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.bloco-header h3 {
  font-weight: 700;
  color: var(--cor1);
}

.bloco-titulo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bloco-titulo h3 {
  margin: 0;
  font-size: 20px;
  color: var(--cor1);
}

.bloco-titulo .icone {
  width: 30px;
  height: 8px;
  background: var(--cor5);
  border-radius: 10px;
  position: relative;
}

.bloco-titulo .icone::before {
  content: "";
  position: absolute;
  left: -10px;
  top: -6px;
  width: 20px;
  height: 20px;
  border: 4px solid var(--cor5);
  border-radius: 50%;
}

.bloco-nav {
  display: flex;
  gap: 10px;
}

.swiper-btn-next,
.swiper-btn-prev {
  width: 45px;
  height: 45px;
  background: var(--cor1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.swiper-btn-next::after {
  content: "›";
  color: var(--cor2);
  font-size: 22px;
}

.swiper-btn-prev::after {
  content: "‹";
  color: var(--cor2);
  font-size: 22px;
}

/* =====================================================
BANNERS
===================================================== */
.banners-container-interno {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  margin-bottom: 15px;
}

/* =====================================================
CONTAINER IMÓVEIS
===================================================== */
.container-imovel {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 15px;
}

/* =====================================================
COLUNA ESQUERDA
===================================================== */
.col-esq {
  flex: 1;
  min-width: 0;
}

/* =====================================================
COLUNA DIREITA
===================================================== */
.col-dir {
  width: 300px;
  flex: 0 0 300px;
  position: sticky;
  top: 0;
  align-self: flex-start;
  margin-bottom: 20px;
  background-color: var(--cor4);
  padding: 20px;
  border-radius: 8px;
}

.conteudo-direita {
  background: var(--cor2);
  padding: 20px;
  border-radius: 6px;
}

/* =====================================================
DADOS DO CORRETOR
===================================================== */
.corretor-card {
  padding: 10px;
  background: var(--cor1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.corretor-card img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
}

.corretor-info h3 {
  margin: 0;
  font-size: 16px;
  color: var(--cor2);
  font-weight: 700;
}

.corretor-meta {
  font-size: 13px;
  color: var(--cor2);
  margin: 4px 0;
}

.corretor-numeros {
  font-size: 14px;
  color: var(--cor2);
}

.corretor-numeros strong {
  font-size: 12px;
}

@media (max-width: 600px) {
  .corretor-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .corretor-card img {
    width: 60px;
    height: 60px;
  }
}

/* =====================================================
CONTATO
===================================================== */
.contato-box {
  width: 100%;
  max-width: 350px;
  background: var(--cor2);
  padding: 20px;
  border-radius: 6px;
}

.contato-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.contato-header h3 {
  margin: 0;
  font-size: 18px;
  color: var(--cor1);
}

.contato-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-group {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cor2);
  border-radius: 8px;
  padding: 10px;
  border: 1px solid var(--cor9);
}

.input-group input,
.input-group textarea {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  background: transparent;
}

.input-group textarea {
  height: 120px;
  resize: none;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--cor3);
}

.btn-enviar {
  background: var(--cor1);
  color: var(--cor2);
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-enviar svg {
  width: 16px;
  height: 16px;
}

.contato-termos {
  font-size: 12px;
  color: var(--cor3);
  margin-top: 10px;
}

.contato-extra {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.telefone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.telefone a {
  margin-left: auto;
  text-decoration: underline;
  color: var(--cor3);
}

.chat {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat strong {
  font-size: 16px;
}

.contato-header svg {
  width: 18px;
  height: 18px;
  color: var(--cor1);
}

/* =====================================================
GALERIA SWIPER
===================================================== */
.galeria-swiper {
  width: 100%;
}

.galeria-swiper .swiper-slide {
  height: 350px;
  overflow: hidden;
}

.galeria-item {
  width: 100%;
  height: 100%;
  position: relative;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.galeria-btn-next,
.galeria-btn-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 45px;
  height: 45px;
  background: var(--cor15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.galeria-btn-prev {
  left: 10px;
}

.galeria-btn-next {
  right: 10px;
}

.galeria-btn-prev svg,
.galeria-btn-next svg {
  color: var(--cor2);
  font-size: 22px;
}

.galeria-overlay-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  pointer-events: none;
}

.galeria-like,
.galeria-badge {
  pointer-events: all;
}

.galeria-topo {
  display: flex;
  justify-content: flex-end;
}

.galeria-like {
  width: 40px;
  height: 40px;
  background: var(--cor15);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.galeria-like svg {
  color: var(--cor2);
}

.galeria-footer {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.galeria-badge {
  background: var(--cor15);
  backdrop-filter: blur(6px);
  color: var(--cor2);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.galeria-badge a {
  display: flex;
  gap: 5px;
  color: var(--cor2);
}

.galeria-badge svg {
  width: 16px;
  height: 16px;
  color: var(--cor2);
}

/* =====================================================
GALERIA MODAL
===================================================== */
.galeria-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.galeria-modal.ativo {
  display: block;
}

.galeria-overlay {
  position: absolute;
  inset: 0;
  background: var(--cor25);
  backdrop-filter: blur(12px);
}

.galeria-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 80%;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
}

.galeria-modal-swiper {
  width: 100%;
  height: 100%;
}

.galeria-modal-swiper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.galeria-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: var(--cor2);
  border: none;
  padding: 8px 12px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .galeria-swiper .swiper-slide {
    height: 200px;
  }
}

/* =====================================================
TÍTULOS INTERNOS
===================================================== */
.container-titulos {
  max-width: 1200px;
  margin: auto;
  padding: 30px 0;
}

.titulos-internos {
  background-color: var(--cor1);
  color: var(--cor2);
}

/* =====================================================
F.A.Q (DÚVIDAS FREQUENTES)
===================================================== */
.faq-container {
  max-width: 1200px;
  margin: 30px auto;
}

.faq-busca {
  position: relative;
}

.faq-busca input {
  width: 100%;
  padding: 14px 14px 14px 40px;
  border-radius: 10px;
  border: 1px solid var(--cor7);
  font-size: 14px;
  outline: none;
}

.faq-busca-icone {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--cor3);
}

.faq-busca input {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--cor7);
  font-size: 14px;
  outline: none;
}

.faq-item {
  background: var(--cor4);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item:hover {
  background-color: var(--cor1);
  color: var(--cor2);
}

.faq-pergunta {
  padding: 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.faq-icone {
  transition: 0.3s;
}

.faq-resposta {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.faq-item.ativo .faq-resposta {
  max-height: 200px;
  padding: 15px 18px;
}

.faq-item.ativo .faq-icone {
  transform: rotate(180deg);
}

.cadastro-item {
  border: 1px solid var(--cor7);
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
  color: var(--cor3);
}

.cadastro-pergunta {
  padding: 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.cadastro-icone {
  transition: 0.3s;
}

.cadastro-resposta {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}

.cadastro-item.ativo .cadastro-resposta {
  height: auto;
  max-height: none;
  min-height: 0;
  padding: 15px 18px;
}

.cadastro-item.ativo .cadastro-icone {
  transform: rotate(180deg);
}

/* =====================================================
CONTATO
===================================================== */
.frmContato-container {
  max-width: 1200px;
  margin: 30px auto;
  display: flex;
  gap: 30px;
}

.frmContato-info {
  width: 35%;
  background: var(--cor2);
  border-radius: 6px;
}

.frmContato-form {
  flex: 1;
  background: var(--cor2);
  border-radius: 6px;
}

.frmContato-titulo {
  display: flex;
  align-items: center;
  font-size: 18px;
  gap: 10px;
  color: var(--cor1);
  font-weight: 700;
}

.frmContato-titulo svg {
  width: 18px;
  height: 18px;
}

.frmContato-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  margin-top: 18px;
}

.frmContato-item a {
  text-decoration: none;
  font-weight: 700;
  color: var(--cor3);
}

.frmContato-item a:hover {
  text-decoration: underline;
}

.frmContato-item svg {
  width: 20px;
  height: 20px;
  color: var(--cor1);
}

.frmContato-form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.frmContato-form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.frmContato-form-group.full {
  width: 100%;
}

.frmContato-form-group label {
  font-size: 14px;
  margin-bottom: 5px;
}

.frmContato-form-group input,
.frmContato-form-group textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--cor7);
  font-size: 14px;
  outline: none;
}

.frmContato-form-group textarea {
  resize: none;
  min-height: 120px;
}

.frmContato-btn {
  background: var(--cor1);
  color: var(--cor2);
  border: none;
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-weight: 600;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.frmContato-btn svg {
  width: 16px;
  height: 16px;
}

.frmContato-btn:hover {
  filter: brightness(1.6);
}

@media (max-width: 768px) {
  .frmContato-container {
    flex-direction: column;
  }

  .frmContato-info {
    width: 100%;
  }

  .frmContato-form-row {
    flex-direction: column;
  }
}

/* =====================================================
RESPONSIVO
===================================================== */
@media (max-width: 1024px) {
  .banners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-center {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .footer-right {
    align-self: flex-start;
  }

  .depoimentos-container {
    flex-direction: column;
  }

  .depoimentos-left,
  .depoimentos-right {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
  .menu,
  .actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  main {
    padding: 15px;
  }

  .busca-box {
    flex-direction: column;
    border-radius: 20px;
  }

  .campo {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--cor6);
  }

  .btn-busca {
    width: 100%;
    border-radius: 0 0 20px 20px;
  }

  .busca-box {
    flex-direction: column;
    border-radius: 20px;
  }

  .campo {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--cor6);
  }

  .btn-busca {
    width: 100%;
    border-radius: 0 0 20px 20px;
  }

  .banners-container {
    flex-direction: column;
    gap: 12px;
  }

  .banner {
    aspect-ratio: 2.5 / 1;
  }

  .areas-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .areas-actions {
    width: 100%;
    justify-content: space-between;
  }

  .areasSwiper .swiper-slide {
    width: 140px;
  }

  .swiper-slide {
    width: 85%;
  }
}

@media (max-width: 600px) {
  .banners-grid {
    grid-template-columns: 1fr;
  }
  .menu-institucional {
    gap: 15px;
    text-align: center;
  }

  .menu-institucional a {
    width: 100%;
  }
}

/* Busca */
.container-imoveis {
  max-width: 1200px;
  margin: auto;
  padding: 20px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.coluna-direita {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.topo-lista {
  display: flex;
  justify-content: flex-end;
}

.topo-lista select {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--cor9);
  font-size: 14px;
}

.filtros {
  flex: 0 0 330px;
  padding: 15px;
  position: sticky;
  top: 10px;
  background: var(--cor2);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(95vh - 100px);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.06);
}

.filtros p {
  margin-top: 10px;
  margin-bottom: 10px;
}

.filtros p strong {
  font-weight: 700;
}

.filtros p a {
  text-decoration: underline;
  color: var(--cor1);
  font-weight: 700;
  display: flex;
  gap: 5px;
  align-items: center;
}

.filtros {
  display: flex;
  flex-direction: column;
  height: calc(95vh - 180px);
}

.filtros-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 15px 15px 0;
}

.filtros-footer {
  padding: 15px;
  background: #fff;
  border-top: 1px solid #eee;
}

.filtros-footer {
  padding: 15px;
  border-top: 1px solid var(--cor6);
  background: var(--cor2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.lista-imoveis {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.btn svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 900px) {
  .container-imoveis {
    flex-direction: column;
  }

  .filtros {
    position: relative;
    top: 0;
    max-height: none;
  }
}

.bs-imovel-card {
  display: flex;
  background: var(--cor2);
  border-radius: 6px;
  overflow: hidden;
  height: 250px;
  position: relative;
  margin-bottom: 20px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.06);
}

.bs-card-interno {
  border: 1px solid var(--cor7);
}

.bs-imovel-img {
  position: relative;
  width: 40%;
  height: 100%;
}

.bs-imovel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bs-imovel-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--cor1);
  color: var(--cor2);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 700;
  z-index: 500;
  text-transform: uppercase;
}

.bs-imovel-avatar {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--cor2);
  overflow: hidden;
  z-index: 500;
}

.bs-imovel-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bs-imovel-like a {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 500;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cor2);
  border-radius: 50%;
  cursor: pointer;
  color: var(--cor1);
}

.bs-imovel-like a:hover {
  background-color: var(--cor1);
  color: var(--cor2);
}

.bs-imovel-like svg {
  width: 16px;
  height: 16px;
}

.bs-imovel-like.ativo svg {
  stroke: var(--cor16) !important;
  fill: var(--cor16) !important;
}

.bs-imovel-info {
  flex: 1;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bs-imovel-desc {
  font-size: 12px;
  color: var(--cor3);
  margin-bottom: 10px;
}

.bs-imovel-titulo {
  font-size: 18px;
  font-weight: 700;
  color: var(--cor1);
  margin-bottom: 10px;
}

.bs-imovel-endereco {
  font-size: 12px;
  color: var(--cor3);
  margin-bottom: 10px;
}

.bs-imovel-detalhes {
  display: flex;
  gap: 15px;
  font-size: 12px;
  margin-bottom: 10px;
}

.bs-imovel-detalhes .item {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-direction: column;
  font-size: 12px;
}

.bs-imovel-detalhes .item svg {
  width: 12px;
  height: 12px;
}

.bs-imovel-preco {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.bs-imovel-extra {
  font-size: 12px;
  color: var(--cor3);
}

.bs-imovel-footer {
  display: flex;
  justify-content: flex-end;
}

.bs-imovel-btn {
  background: var(--cor1);
  color: var(--cor2);
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: 0.2s;
  display: flex;
  gap: 5px;
  align-items: center;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.bs-imovel-btn svg {
  width: 16px;
  height: 16px;
}

.bs-imovel-btn:hover {
  background: var(--cor1);
}

.bs-imovel-swiper {
  width: 100%;
  height: 100%;
}

.bs-imovel-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bs-imovel-prev,
.bs-imovel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cor24);
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
}

.bs-imovel-prev svg,
.bs-imovel-next svg {
  width: 16px;
  height: 16px;
  display: block;
}

.bs-imovel-prev:hover,
.bs-imovel-next:hover {
  background: var(--cor1);
  color: var(--cor2);
}

.bs-imovel-prev {
  left: 10px;
}

.bs-imovel-next {
  right: 10px;
}

.bs-imovel-prev::after,
.bs-imovel-next::after {
  font-size: 14px;
  color: var(--cor18);
}

.bs-imovel-swiper .swiper-slide {
  width: 100% !important;
  height: 100% !important;
  flex-shrink: 0;
}

.bs-imovel-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menor {
  font-size: 13px;
  margin-bottom: 5px;
}

@media (max-width: 900px) {
  .bs-imovel-card {
    flex-direction: column;
    height: auto;
  }

  .bs-imovel-img {
    width: 100%;
    height: 200px;
  }

  .bs-imovel-footer {
    justify-content: flex-start;
  }
}

.bs-switch-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bs-op-group {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.op a {
  width: 36px;
  height: 36px;
  background: var(--cor9);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--cor1);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

.op a:hover {
  background-color: var(--cor1);
  color: var(--cor2);
}

.op a.ativo {
  background: var(--cor1);
  color: var(--cor2);
}

.bs-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.bs-switch input {
  display: none;
}

.bs-switch-slider {
  width: 50px;
  height: 26px;
  background: var(--cor9);
  border-radius: 50px;
  position: relative;
  transition: 0.3s;
}

.bs-switch-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--cor2);
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: 0.3s;
}

.bs-switch input:checked + .bs-switch-slider {
  background: var(--cor1);
}

.bs-switch input:checked + .bs-switch-slider::before {
  transform: translateX(24px);
}

.bs-switch-label {
  font-size: 14px;
  color: var(--cor3);
}

.campos-linha {
  display: flex;
  gap: 5px;
  width: 100%;
}

.campos-group {
  flex: 1;
}

.campos-group input {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--cor9);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s ease;
  margin-top: 10px;
}

.loading-imoveis {
  display: none;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
}

.loading-imoveis.ativo {
  display: flex;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--cor6);
  border-top: 4px solid var(--cor1);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Anunciar */
#eIdade {
  display: none;
}

.bs-switch-colunas {
  display: flex;
  gap: 30px;
}

.bs-switch-colunas .coluna {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group-menor {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form-group-menor label {
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--cor3);
  font-weight: 500;
}

.container-cadastro {
  max-width: 1200px;
  margin: 40px auto;
}

.step h2 {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cor1);
  margin-bottom: 10px;
}

.step h3 {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cor1);
  margin-bottom: 15px;
}

.topo {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.topo::before {
  content: "";
  position: absolute;
  top: 18px;
  width: 100%;
  height: 4px;
  background: var(--cor7);
}

.progress {
  position: absolute;
  top: 18px;
  height: 4px;
  background: var(--cor1);
  width: 0%;
  transition: 0.3s;
}

.step-circle {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--cor7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 2;
}

.step-circle.active {
  background: var(--cor1);
  color: var(--cor2);
}

.main {
  display: flex;
  gap: 20px;
}

.sidebar {
  width: 280px;
}

.box {
  background: var(--cor4);
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 15px;
}

.menu-step {
  padding: 12px;
  background: var(--cor2);
  margin-bottom: 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
}

.menu-step.active {
  background: var(--cor1);
  color: var(--cor2);
}

.resumo-header {
  margin-bottom: 10px;
  color: var(--cor3);
}

.resumo-header strong {
  display: flex;
  gap: 5px;
  align-items: center;
}

.resumo-header strong svg {
  width: 16px;
  height: 16px;
}

.resumo-item {
  background: var(--cor2);
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 6px;
  font-size: 13px;
  display: none;
}

.content {
  flex: 1;
  background: var(--cor4);
  padding: 30px;
  border-radius: 10px;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.sub-step {
  display: none;
}

.sub-step.active {
  display: block;
}

.row {
  display: flex;
  gap: 15px;
}

.field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.input-error {
  border-color: var(--cor17);
}

.error-msg {
  color: var(--cor17);
  font-size: 12px;
  margin-top: 4px;
}

.actions-cadastro {
  display: flex;
  justify-content: space-between;
}

.actions-cadastro button,
.input-stepper button {
  padding: 12px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.actions-cadastro button svg {
  width: 16px;
  height: 16px;
}

.actions-cadastro .next {
  background: var(--cor1);
  color: var(--cor2);
}

.actions-cadastro .prev {
  background: var(--cor9);
}

.actions-cadastro .save {
  background: var(--cor3);
  color: var(--cor2);
}

.menu-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-step .check {
  display: none;
  color: var(--cor1);
  font-weight: bold;
}

.menu-step.done .check {
  display: block;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .main {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    order: 1;
  }

  .content {
    order: 2;
  }

  .box:first-child {
    display: flex;
    gap: 8px;
    overflow-x: auto;
  }

  .menu-step {
    min-width: 140px;
    flex-shrink: 0;
    text-align: center;
  }

  .row {
    flex-direction: column;
  }

  .actions {
    flex-direction: column;
    gap: 10px;
  }

  .actions button {
    width: 100%;
  }
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.step-label {
  margin-top: 6px;
  font-size: 12px;
  color: var(--cor3);
}

.step-item.active .step-circle {
  background: var(--cor1);
  color: var(--cor2);
}

.step-item.active .step-label {
  color: var(--cor1);
  font-weight: 600;
}

.topo {
  overflow: hidden;
}

.input-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--cor7);
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
  padding: 5px;
}

.input-stepper input {
  width: 100%;
  text-align: center;
  border: none;
  outline: none;
  font-size: 16px;
}

.stepper-btn {
  border: none;
  background: var(--cor19);
  cursor: pointer;
  transition: 0.2s;
}

.stepper-btn svg {
  width: 16px;
  height: 16px;
  color: var(--cor1);
}

.stepper-btn:hover {
  background: var(--cor1);
}

.stepper-btn:hover > svg {
  color: var(--cor2);
}

/* =====================================================
PLANOS
===================================================== */
.planos-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  margin: 50px auto;
  flex-wrap: wrap;
}

.grupo {
  border: 1px solid var(--cor6);
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 6px;
}

.grupo h3 {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  margin-top: 20px;
  color: var(--cor1);
}

.plano {
  flex: 1;
  min-width: 250px;
  max-width: 320px;
  background: var(--cor2);
  border-radius: 6px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid var(--cor6);
  position: relative;
  transition: 0.3s;

  display: flex;
  flex-direction: column;
}

.plano:hover {
  transform: translateY(-5px);
}

.plano strong {
  font-size: 20px;
  margin-bottom: 10px;
  text-align: center;
}

.preco-plano {
  font-size: 32px;
  font-weight: bold;
  margin: 15px 0;
}

.preco-plano span {
  font-size: 14px;
  color: var(--cor3);
}

.plano ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.plano ul li {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--cor3);
}

.plano ul li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  background: url("/imagens/site/bullet.png") center center / contain no-repeat;
}

.btn-plano {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: none;
  background: var(--cor6);
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;

  margin-top: auto;
}

.btn-plano svg {
  width: 16px;
  height: 16px;
}

.btn-plano:hover {
  background: var(--cor7);
}

.plano.destaque {
  transform: scale(1.08);
  border: 2px solid var(--cor1);
  box-shadow: 0 10px 30px var(--cor22);
  z-index: 2;
}

.plano.destaque .preco {
  color: var(--cor1);
}

#frmContrata button[type="submit"] {
  display: flex;
  margin-left: auto;
  padding: 10px 20px;
  border: 1px solid var(--cor1);
  color: var(--cor1);
  font-weight: 700;
  gap: 10px;
  background-color: transparent;
  cursor: pointer;
  border-radius: 6px;
}

#frmContrata button[type="submit"]:hover {
  background-color: var(--cor1);
  color: var(--cor2);
}

#frmContrata button[type="submit"] svg {
  width: 16px;
  height: 16px;
}

.badge-plano {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cor1);
  color: var(--cor2);
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 6px;
  font-weight: bold;
}

.plano-linha {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--cor23);
  padding: 15px 20px;
  border-radius: 6px;
  max-width: 900px;
  margin: 20px auto;
  transition: 0.3s;
}

.plano-linha:hover {
  background: var(--cor7);
}

.plano-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.plano-esquerda {
  display: flex;
  gap: 20px;
  align-items: center;
}

.plano-nome {
  font-weight: 500;
}

.plano-desc {
  font-weight: 600;
  color: var(--cor3);
}

.plano-direita {
  color: var(--cor3);
  white-space: nowrap;
}

.switch {
  position: relative;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  background: var(--cor9);
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 3px;
  left: 3px;
  background: var(--cor2);
  border-radius: 50%;
  transition: 0.3s;
}

.switch input:checked + .slider {
  background: var(--cor1);
}

.switch input:checked + .slider::before {
  transform: translateX(24px);
}

.btn-contratar-gratuito {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  padding: 12px 24px;
  border: 1px solid var(--cor1);
  background: var(--cor1);
  color: var(--cor2);
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
}

.btn-contratar-gratuito svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 600px) {
  .plano-linha {
    align-items: flex-start;
  }

  .plano-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .plano-esquerda {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .plano-direita {
    font-size: 14px;
  }
}

/* =====================================================
YOUTUBE
===================================================== */
.yt-container {
  margin-top: 10px;
}

.yt-item {
  position: relative;
  cursor: grab;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

.yt-item:active {
  cursor: grabbing;
}

.yt-item.dragging {
  opacity: 0.5;
  transform: scale(0.95);
}

.yt-item.drag-over {
  outline: 2px dashed var(--cor17);
  transform: scale(1.05);
}

.yt-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.yt-input-group input {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--cor7);
  border-radius: 6px;
}

.yt-input-group button {
  padding: 10px 15px;
  border: 1px solid var(--cor1);
  background: transparent;
  color: var(--cor1);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.yt-input-group button svg {
  width: 16px;
  height: 16px;
}

.yt-input-group button:hover {
  background-color: var(--cor1);
  color: var(--cor2);
}

.yt-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.yt-item {
  position: relative;
}

.yt-item img {
  width: 100%;
  border-radius: 6px;
}

.yt-remove {
  position: absolute;
  top: 5px;
  right: 5px;
  background: var(--cor17);
  color: var(--cor2);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.yt-remove svg {
  width: 16px;
  height: 16px;
}

/* =====================================================
LISTA DE USUÁRIOS
===================================================== */
.user-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--cor21);
  border-radius: 10px;
  padding: 15px;
  position: relative;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

/* LEFT */
.user-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user-titulo a {
  color: var(--cor1);
  text-decoration: none;
}

.user-titulo a:hover {
  text-decoration: underline;
}

.user-nome {
  font-weight: 700;
}

.user-linha {
  font-size: 13px;
  color: var(--cor3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-linha svg {
  width: 14px;
  height: 14px;
}

.user-divider {
  width: 1px;
  height: 50px;
  background: var(--cor9);
}

.user-right {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.user-titulo {
  font-weight: 600;
  color: var(--cor3);
}

.user-sub {
  font-size: 13px;
  color: var(--cor3);
}

.user-data {
  position: absolute;
  right: 15px;
  bottom: 10px;
  font-size: 12px;
  color: var(--cor3);
}

@media (max-width: 600px) {
  .user-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-divider {
    display: none;
  }

  .user-data {
    position: static;
    margin-top: 10px;
  }
}

/* =====================================================
MODAL COM SCROLL INFINITO
===================================================== */
.modal-scroll {
  position: fixed;
  inset: 0;
  background: var(--cor15);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-scroll.ativo {
  display: flex;
}

.modal-box {
  width: 500px;
  max-height: 80vh;
  background: var(--cor2);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  padding: 15px;
  border-bottom: 1px solid var(--cor6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.modal-body {
  overflow-y: auto;
  padding: 15px;
  flex: 1;
}

.modal-loading {
  text-align: center;
  padding: 10px;
  display: none;
}

.modal-scroll {
  padding: 10px;
}

.modal-box {
  width: 100%;
}

/* =====================================================
IMÓVEIS INTERNOS
===================================================== */
.card-acoes {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.card-acoes a {
  width: 48px;
  height: 48px;
  background: var(--cor28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cor2);
  text-decoration: none;
  transition: 0.2s;
}

.card-acoes a:hover {
  background: var(--cor29);
  transform: scale(1.05);
}

.card-acoes a svg {
  width: 18px;
  height: 18px;
}

.card-acoes a:nth-child(2) {
  background: var(--cor1);
}

.card-acoes a:nth-child(2):hover {
  filter: brightness(1.6);
}

.card-acoes a:nth-child(3) {
  background: var(--cor17);
}

.card-acoes a:nth-child(3):hover {
  background: var(--cor17);
}

.botao-novo a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--cor1);
  color: var(--cor2);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.botao-novo a:hover {
  transform: translateY(-1px);
}

.botao-novo a:active {
  transform: scale(0.98);
}

.botao-novo a svg {
  width: 18px;
  height: 18px;
}

/* .cards-interno {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px 0;
} */

.cards-interno {
  display: grid;
  grid-template-columns: repeat(auto-fill, 280px);
  gap: 20px;
  padding: 20px 0;
}

.cards-interno .sem-registros {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  padding: 60px 30px;
  text-align: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0;
}

/* =====================================================
DASHBOARD
===================================================== */
.container-interno {
  max-width: 1200px;
  margin: auto;
  padding: 20px 0;
}

.dash-container {
  max-width: 1200px;
  margin: auto;
  padding: 20px 0 0;
}

.dash-filtro {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.dash-filtro input,
.dash-filtro button {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid var(--cor7);
}

.dash-filtro button {
  background: var(--cor1);
  color: var(--cor2);
  cursor: pointer;
  display: flex;
  gap: 5px;
  align-items: center;
  font-weight: 700;
  text-transform: uppercase;
}

.dash-filtro button:hover {
  filter: brightness(1.6);
}

.dash-filtro button svg {
  width: 16px;
  height: 16px;
}

.dash-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dash-card {
  flex: 1;
  min-width: 160px;
  background: var(--cor4);
  padding: 15px;
  border-radius: 10px;
  position: relative;
}

.dash-card span {
  color: var(--cor3);
  font-size: 13px;
}

#modalEstatisticasConteudo .dash-card {
  border: 1px solid var(--cor7);
}

.dash-card strong {
  display: block;
  font-size: 26px;
  margin-top: 5px;
}

.dash-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: var(--cor1);
  border-radius: 10px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--cor2);
}

.dash-content {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.dash-chart {
  flex: 2;
  min-width: 300px;
  background: var(--cor4);
  padding: 20px;
  border-radius: 10px;
}

.dash-side {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dash-box {
  background: var(--cor4);
  padding: 30px;
  border-radius: 10px;
}

.dash-box h3 {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--cor1);
}

.dash-box h3 svg {
  width: 17px;
  height: 17px;
}

.dash-box .item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--cor7);
}

.dash-box .item a {
  text-decoration: none;
  color: var(--cor1);
}

.dash-box .item a:hover {
  text-decoration: underline;
}

.item:last-child {
  border-bottom: none;
}

.item strong {
  color: var(--cor1);
}

.erro-msg {
  color: var(--cor17);
  font-size: 12px;
  margin-top: 5px;
}

.input-password {
  position: relative;
}

.input-password input {
  width: 100%;
  padding-right: 40px;
}

.toggle-senha {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cor3);
}

/* =========================
   ALERTAS
========================= */
.alert-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
  padding: 20px;
}

.alert-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.alert-box {
  background: var(--cor2);
  border-radius: 5px;
  max-width: 420px;
  width: 90%;
  padding: 26px;
  text-align: center;
  transform: translateY(-20px);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.alert-box p {
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: 700;
}

.alert-overlay.active .alert-box {
  transform: translateY(0);
  opacity: 1;
}

.alert-box-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: 3px solid var(--cor1);
}

.alert-box-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--cor1);
  stroke-width: 2.2;
}

.alert-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--cor1);
}

.alert-message {
  font-size: 1rem;
  color: var(--cor3);
  margin-bottom: 24px;
}

.alert-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.alert-btn {
  border: none;
  border-radius: 5px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.alert-btn.confirm {
  background: var(--cor3);
  color: var(--cor2);
}

.alert-btn.confirm:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

.alert-btn.cancel {
  background: var(--cor4);
  color: var(--cor3);
}

.alert-btn.cancel:hover {
  background: var(--cor20);
}

.alert-btn.danger {
  background: var(--cor1);
  color: var(--cor2);
}

.alert-btn.danger:hover {
  background: var(--cor5);
}

/* =========================
   MENU USUÁRIO
========================= */
.user-dropdown {
  position: relative;
}

.user-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.user-name {
  font-weight: 700;
}

.user-arrow {
  font-size: 12px;
  transition: 0.3s;
}

.user-menu {
  position: absolute;
  top: 60px;
  right: 0;
  left: auto;
  width: 260px;
  background: var(--cor2);
  border-radius: 12px;
  box-shadow: 0 15px 40px var(--cor20);
  display: none;
  overflow: hidden;
  z-index: 999;
}

.user-header {
  padding: 16px;
}

.user-header strong {
  display: block;
  font-size: 16px;
}

.user-header span {
  font-size: 13px;
  color: var(--cor3);
}

.user-divider {
  height: 1px;
  background: var(--cor6);
}

.user-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--cor3);
  font-size: 14px;
  transition: 0.2s;
}

.user-menu a:hover {
  background: var(--cor1);
  color: var(--cor2);
}

.user-menu .logout {
  color: var(--cor17);
}

.user-dropdown.active .user-menu {
  display: block;
}

.user-dropdown.active .user-arrow {
  transform: rotate(180deg);
}

form.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

form.loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cor27);
}

form.loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 4px solid var(--cor9);
  border-top: 4px solid var(--cor1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 0.8s linear infinite;
  z-index: 2;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* =====================================================
CHAT
===================================================== */
.chat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--cor6);
  cursor: pointer;
  transition: 0.2s;
  background: var(--cor2);
}

.chat-item:hover {
  background: var(--cor19);
}

.chat-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-top span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
}

.chat-top a {
  color: var(--cor3);
}

.chat-avatars {
  position: relative;
  width: 48px;
  height: 32px;
}

.chat-avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  border: 2px solid var(--cor2);
  box-shadow: 0 0 0 1px var(--cor7);
}

.chat-avatars .a1 {
  left: 0;
  z-index: 2;
}

.chat-avatars .a2 {
  left: 16px;
  z-index: 1;
}

.chat-nomes {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 14px;
}

.chat-nomes strong {
  font-weight: 600;
  color: var(--cor18);
}

.chat-nomes span {
  color: var(--cor3);
  font-size: 12px;
}

.chat-msg {
  font-size: 13px;
  color: var(--cor3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-badge {
  margin-left: auto;
  font-size: 11px;
  background: var(--cor18);
  color: var(--cor2);
  padding: 2px 6px;
  border-radius: 6px;
}

#chatLista {
  overflow-y: auto;
  height: 100%;
}

.chat-modal {
  position: fixed;
  inset: 0;
  background: var(--cor15);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.chat-container {
  width: 90%;
  max-width: 1000px;
  height: 80vh;
  background: var(--cor2);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-top {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid var(--cor6);
}

.chat-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.chat-sidebar {
  width: 30%;
  border-right: 1px solid var(--cor6);
  overflow-y: auto;
}

.chat-conversa {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.chat-mensagens {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
}

.chat-item {
  padding: 15px;
  border-bottom: 1px solid var(--cor6);
  cursor: pointer;
}

.chat-item:hover {
  background: var(--cor19);
}

.chat-conversa {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.chat-header {
  padding: 15px;
  border-bottom: 1px solid var(--cor6);
  font-weight: bold;
}

.chat-mensagens {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
}

.msg {
  margin-bottom: 10px;
  max-width: 70%;
  padding: 10px;
  border-radius: 8px;
}

.msg-enviada {
  background: var(--cor1);
  color: var(--cor2);
  margin-left: auto;
}

.msg-recebida {
  background: var(--cor6);
}

.chat-input {
  display: flex;
  border-top: 1px solid var(--cor6);
}

.chat-input input {
  flex: 1;
  padding: 10px;
  border: none;
}

.chat-input button {
  padding: 10px 20px;
  border: none;
  background: var(--cor1);
  color: var(--cor2);
}

/* =====================================================
SWIPER IMÓVEL
===================================================== */
.swiper-imovel {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 10px;
}

.swiper-imovel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: var(--cor15);
  color: var(--cor2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.swiper-btn.prev {
  left: 10px;
}

.swiper-btn.next {
  right: 10px;
}

.swiper-btn:hover {
  background: var(--cor15);
}

/* =====================================================
AVATAR (MEUS DADOS)
===================================================== */
.avatar-upload {
  display: flex;
  align-items: center;
  gap: 20px;
}

.avatar-preview {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--cor6);
}

.avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-upload {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--cor1);
  color: var(--cor1);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  background-color: transparent;
}

.btn-upload:hover {
  background-color: var(--cor1);
  color: var(--cor2);
}

.btn-upload svg,
.btn-remove svg {
  width: 16px;
  height: 16px;
}

.btn-upload input {
  display: none;
}

.btn-remove {
  padding: 8px 14px;
  color: var(--cor17);
  border: 1px solid var(--cor17);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  background-color: transparent;
}

.btn-remove:hover {
  background-color: var(--cor17);
  color: var(--cor2);
}

/* =====================================================
MEUS DADOS
===================================================== */
.perfil-container {
  display: flex;
  max-width: 1200px;
  margin: 40px auto;
  border: 1px solid var(--cor6);
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--cor2);
  padding: 20px;
}

.perfil-menu {
  width: 250px;
  background: var(--cor19);
  border-radius: 6px;
  padding: 20px;
}

.menu-item {
  padding: 15px;
  cursor: pointer;
  border-bottom: 1px solid var(--cor7);
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.menu-item svg {
  width: 16px;
  height: 16px;
}

.menu-item:hover {
  background: var(--cor26);
  border-radius: 6px;
}

.menu-item.ativo {
  background: var(--cor1);
  color: var(--cor2);
  font-weight: bold;
  border-radius: 6px;
}

.perfil-content {
  flex: 1;
  padding: 0 40px;
}

.content-box {
  display: none;
}

.content-box.ativo {
  display: block;
}

.titulo-interno {
  display: flex;
  gap: 5px;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
}

.botao-dir {
  display: flex;
  justify-content: flex-end;
}

/* =====================================================
UPLOAD
===================================================== */
.upload-box {
  border: 2px dashed var(--cor9);
  padding: 40px;
  text-align: center;
  background: var(--cor2);
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s;
}

.upload-box.dragover {
  border-color: var(--cor18);
  background: var(--cor6);
}

.upload-controls {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.upload-controls button {
  padding: 10px 15px;
  border: 1px solid var(--cor1);
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
  color: var(--cor1);
  display: flex;
  align-items: center;
  gap: 5px;
}

.upload-controls button:hover {
  background-color: var(--cor1);
  color: var(--cor2);
}

.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.upload-item {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: grab;
  border: 2px solid transparent;
}

.upload-item.selected {
  border-color: var(--cor17);
}

.upload-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-item.dragging {
  opacity: 0.5;
}

.upload-item.drag-over {
  border: 2px dashed var(--cor18);
}

.upload-actions {
  position: absolute;
  top: 5px;
  right: 5px;
  display: flex;
  gap: 5px;
}

.upload-btn {
  background: var(--cor15);
  color: var(--cor2);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 0;
}

.upload-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
}

.upload-actions button {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.95);
  color: #fff;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.25s ease;

  backdrop-filter: blur(10px);

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.upload-actions button:hover {
  background: #dc2626;
  transform: scale(1.08);
}

.upload-actions button:active {
  transform: scale(0.95);
}

.upload-actions button i {
  width: 18px;
  height: 18px;
}

.upload-btn svg {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2;
  display: block;
}

.upload-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--cor6);
  border-radius: 5px;
  overflow: hidden;
  margin-top: 10px;
}

.upload-progress {
  height: 100%;
  width: 0%;
  background: var(--cor1);
  transition: width 0.2s;
}

/* Preview do anúncio*/
.preview-info p {
  line-height: 1.6;
  margin-bottom: 10px;
  margin-top: 10px;
}

.btn-plano.escolhido {
  background: var(--cor1);
  color: var(--cor2);
  transform: scale(1.05);
}

/* Dados do cartão */
.input-icon {
  position: relative;
}

.input-icon input {
  width: 100%;
  padding: 10px;
  padding-right: 50px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.input-icon img {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: auto;
  display: none;
}

.input-icon img {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  display: none;
}

#dados-cartao {
  display: none;
}

.campo-box {
  width: 100%;
  margin: 0;
}

.ios-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  cursor: pointer;
}

.ios-switch input {
  display: none;
}

.ios-slider {
  position: relative;
  width: 52px;
  min-width: 52px;
  height: 30px;
  background: #d1d5db;
  border-radius: 999px;
  transition: 0.3s;
}

.ios-slider::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  top: 3px;
  left: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}

.ios-switch input:checked + .ios-slider {
  background: var(--cor1);
}

.ios-switch input:checked + .ios-slider::before {
  transform: translateX(22px);
}

.ios-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
}

.tags-autocomplete {
  position: relative;
  width: 100%;
}

.tags-container {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-sizing: border-box;
  margin-top: 5px;
}

.tags-container:focus-within {
  border-color: var(--cor1);
}

.tags-container input {
  flex: 1;
  min-width: 120px;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
}

.tag-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--cor24);
  border-radius: 20px;
  font-size: 13px;
  line-height: 1;
}

.tag-remove {
  cursor: pointer;
  font-weight: bold;
  opacity: 0.7;
  transition: 0.2s;
}

.tag-remove svg {
  width: 16px;
  height: 16px;
}

.tag-remove:hover {
  opacity: 1;
}

.autocomplete-list {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--cor9);
  border-radius: 8px;
  max-height: 250px;
  overflow-y: auto;
  display: none;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.autocomplete-item {
  padding: 12px 15px;
  cursor: pointer;
  transition: 0.2s;
}

.autocomplete-item:hover {
  background: var(--cor24);
}

.autocomplete-item:first-child {
  border-radius: 8px 8px 0 0;
}

.autocomplete-item:last-child {
  border-radius: 0 0 8px 8px;
}

.campos-group input {
  padding: 10px 12px;
  border: 1px solid var(--cor9);
  border-radius: 8px;
}

.custom-fieldset {
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 10px;
}

.custom-fieldset legend {
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  height: 34px;
  background: var(--cor1);
  border-radius: 30px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.custom-fieldset legend svg {
  width: 16px;
  height: 16px;
}

.sem-registros {
  width: 100%;
  max-width: 1200px;
  padding: 60px 30px;
  text-align: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: auto;
}

.sem-registros svg {
  width: 70px;
  height: 70px;
  color: var(--cor1);
  stroke-width: 1.5;
}

.sem-registros h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cor1);
}

.sem-registros p {
  margin: 0;
  max-width: 500px;
  line-height: 1.6;
  color: #6b7280;
  font-size: 0.95rem;
}

.nenhum-registro {
  width: 100%;
  max-width: 1200px;
  text-align: center;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: auto;
}

.nenhum-registro svg {
  width: 70px;
  height: 70px;
  color: var(--cor1);
  stroke-width: 1.5;
}

.nenhum-registro h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cor1);
}

.nenhum-registro p {
  margin: 0;
  max-width: 500px;
  line-height: 1.6;
  color: #6b7280;
  font-size: 0.95rem;
}

.autocomplete {
  position: relative;
  display: flex;
  gap: 10px;
  width: 350px;
}

.autocomplete-item {
  padding: 15px 20px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: 0.2s;
}

.autocomplete-item:hover {
  background: #f7f8fa;
}

.autocomplete-item strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.autocomplete-item small {
  color: #666;
}

.multi-select {
  position: relative;
  width: 400px;
}

.multi-select-btn {
  width: 100%;

  background: #fff;

  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 15px;
  color: var(--cor1);
  transition: 0.2s;
}

.multi-select-btn:hover {
  border-color: #d1d5db;
}

.multi-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 10px;
  display: none;
  z-index: 1000;

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.06),
    0 4px 10px rgba(0, 0, 0, 0.04);

  max-height: 280px;
  overflow-y: auto;
}

.multi-select.active .multi-dropdown {
  display: block;
}

.multi-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.multi-option:hover {
  background: #f8fafc;
}

.multi-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--cor1);
}

.multi-option span {
  font-size: 14px;
  color: #374151;
}

.multi-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.multi-tag {
  background: #eef2ff;
  color: #4338ca;
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
}

.campo-preco {
  display: flex;
  align-items: center;
  gap: 12px;
}

.campo-preco input {
  flex: 1;
}

.campo-preco span {
  color: #6b7280;
  font-size: 14px;
  white-space: nowrap;
}

.input-error {
  border-color: #e53935 !important;
}

.error-msg {
  margin-top: 6px;
  font-size: 13px;
  color: #e53935;
  font-weight: 600;
}

.input-busca {
  position: relative;
  width: 100%;
}

.input-busca input {
  width: 100%;
  height: 48px;
  padding: 0 0 0 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  outline: none;
  font-size: 15px;
  transition: 0.2s;
  background: #fff;
}

.input-busca input:focus {
  border-color: #111;
}

.input-busca svg {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
}

.input-busca svg {
  width: 18px;
  height: 18px;
}

.loading-imoveis {
  grid-column: 1 / -1;
  width: 100%;
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-imoveis {
  width: 34px;
  height: 34px;
  border: 3px solid #e5e5e5;
  border-top-color: var(--cor1);
  border-radius: 50%;
  animation: girarLoader 0.8s linear infinite;
}

@keyframes girarLoader {
  to {
    transform: rotate(360deg);
  }
}

.assinatura-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 24px;
}

.assinatura-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.assinatura-label {
  font-size: 13px;
  color: #777;
}

.assinatura-header h2 {
  margin: 6px 0;
  font-size: 28px;
}

.assinatura-header p {
  margin: 0;
  color: #777;
}

.assinatura-status,
.historico-status {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.plano-ativo,
.plano-pago {
  background: #dcfce7;
  color: #166534;
}

.falhou {
  background: #fee2e2;
  color: #991b1b;
}

.assinatura-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.assinatura-info {
  background: #f9fafb;
  border-radius: 14px;
  padding: 16px;
}

.assinatura-info span {
  display: block;
  font-size: 13px;
  color: #777;
  margin-bottom: 6px;
}

.assinatura-info strong {
  font-size: 16px;
  color: #111;
}

.historico-box {
  margin-top: 28px;
}

.historico-box h3 {
  margin-bottom: 14px;
  display: flex;
  gap: 10px;
}

.historico-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.historico-item:last-child {
  border-bottom: 0;
}

.historico-item span {
  font-size: 13px;
  color: #777;
}

@media (max-width: 600px) {
  .assinatura-header,
  .historico-item {
    grid-template-columns: 1fr;
    display: grid;
  }

  .assinatura-status {
    width: fit-content;
  }
}

.assinatura-acoes {
  margin-top: 10px;
  padding: 20px;
  background: #f9fafb;
  border: 1px solid #eee;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.assinatura-acoes h3 {
  margin: 0 0 6px;
  font-size: 18px;
  display: flex;
  gap: 5px;
}

.assinatura-acoes p {
  margin: 0;
  color: #777;
  font-size: 14px;
}

.assinatura-botoes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-assinatura {
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-assinatura svg {
  width: 18px;
  height: 18px;
}

.btn-assina {
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--cor1);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: var(--cor1);
}

.btn-assina svg {
  width: 18px;
  height: 18px;
}

.btn-assina:hover {
  background-color: var(--cor1);
  color: var(--cor2);
}

.btn-assina:hover > svg {
  color: var(--cor2);
}

.btn-cartao {
  color: var(--cor1);
  background-color: transparent;
  border: 1px solid var(--cor1);
}

.btn-cartao:hover {
  background-color: var(--cor1);
  color: var(--cor2);
}

.btn-cancelar {
  background: #fee2e2;
  color: #991b1b;
}

@media (max-width: 700px) {
  .assinatura-acoes {
    align-items: flex-start;
    flex-direction: column;
  }

  .assinatura-botoes,
  .btn-assinatura {
    width: 100%;
  }

  .btn-assinatura {
    justify-content: center;
  }
}

fieldset {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 10px;
  margin: 0 0 20px 0;
  background: var(--cor2);
  position: relative;
}

fieldset legend {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--cor1);
  color: var(--cor2);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: flex;
  gap: 5px;
  align-items: center;
}

.xml-upload-container {
  margin: 0 auto;
  background: var(--cor2);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.xml-upload-header {
  margin-bottom: 28px;
}

.xml-upload-header span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--cor1);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.xml-upload-header h2 {
  margin: 0 0 10px;
  font-size: 32px;
  color: var(--cor1);
}

.xml-upload-header p {
  margin: 0;
  color: #6b7280;
  font-size: 16px;
}

.xml-upload-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.xml-upload-box {
  min-height: 220px;
  border: 2px dashed #cbd5e1;
  border-radius: 22px;
  background: #f8fafc;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  transition: all 0.2s ease;
}

.xml-upload-box:hover,
.xml-upload-box.active {
  border-color: var(--cor1);
  background: rgba(79, 176, 185, 0.08);
}

.xml-upload-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--cor1);
  color: var(--cor2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.xml-upload-box strong {
  color: var(--cor1);
  font-size: 18px;
}

.xml-upload-box small {
  color: #64748b;
}

.xml-upload-file {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f1f5f9;
  color: #475569;
  font-size: 14px;
}

.xml-upload-btn {
  height: 52px;
  border: 0;
  border-radius: 16px;
  background: var(--cor1);
  color: var(--cor2);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.xml-upload-btn:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.xml-upload-box.active {
  border-color: var(--cor1);
  background: rgba(79, 176, 185, 0.08);
}

.xml-info-container {
  padding: 20px 0;
}

.xml-info-header {
  margin-bottom: 32px;
}

.xml-info-header span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--cor1);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.xml-info-header h2 {
  margin: 0 0 12px;
  color: var(--cor1);
  font-size: 34px;
}

.xml-info-header p {
  margin: 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.7;
}

.xml-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.xml-info-card,
.xml-info-example,
.xml-info-alert {
  background: var(--cor2);
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.xml-info-card h3,
.xml-info-example h3 {
  margin: 0 0 14px;
  color: var(--cor1);
  font-size: 21px;
}

.xml-info-card p {
  margin: 0 0 16px;
  color: #64748b;
  line-height: 1.7;
}

.xml-info-card ul {
  margin: 0;
  padding-left: 20px;
  color: #475569;
}

.xml-info-card li {
  margin-bottom: 8px;
}

.xml-info-example code {
  color: var(--cor2);
  font-weight: 700;
}

.xml-info-card code {
  color: var(--cor1);
  font-weight: 700;
}

.xml-info-example {
  margin-bottom: 28px;
}

.xml-info-example pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  border-radius: 16px;
  background: #0f172a;
  color: #e5e7eb;
  font-size: 14px;
  line-height: 1.7;
}

.xml-info-alert {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .xml-info-grid {
    grid-template-columns: 1fr;
  }

  .xml-info-header h2 {
    font-size: 28px;
  }
}

.download {
  margin-top: 20px;
}

.download p a {
  display: inline-flex;
  padding: 10px 20px;
  border: 1px solid var(--cor1);
  color: var(--cor1);
  text-decoration: none;
  background-color: var(--cor2);
  border-radius: 6px;
  gap: 5px;
  align-items: center;
}

.download p a:hover {
  background-color: var(--cor1);
  color: var(--cor2);
}

.download p a svg {
  width: 16px;
  height: 16px;
}

.cartao-atual {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cartao-bandeira-img {
  width: 38px;
  height: 24px;
  object-fit: contain;
  display: inline-block;
}

.cartao-atual small {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.65;
}

.abas {
  width: 100%;
}

.abas-menu {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 8px;
  background: #f4f6f8;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}

.aba-btn {
  border: 0;
  background: transparent;
  color: #555;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.aba-btn svg {
  width: 18px;
  height: 18px;
}

.aba-btn:hover {
  background: #fff;
  color: #111;
}

.aba-btn.active {
  background: var(--cor1);
  color: #fff;
}

.aba-conteudo {
  display: none;
  padding: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  animation: abaFade 0.25s ease;
}

.aba-conteudo.active {
  display: block;
}

@keyframes abaFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-acao svg {
  width: 16px;
  height: 16px;
}

.sem-registros,
.tabela-loading {
  padding: 24px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  text-align: center;
  color: #666;
}

.botao {
  display: flex;
}

.botao button {
  margin-left: auto;
}

.btn-danger {
  background: #991b1b;
}

.testemunhas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
}

.testemunhas h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.testemunhas .btn {
  margin-left: auto;
  border: 1px solid var(--cor1);
  border-radius: 6px;
  background-color: transparent;
  color: var(--cor1);
}

.testemunhas .btn:hover {
  background-color: var(--cor1);
  color: var(--cor2);
}

@media (max-width: 600px) {
  .testemunhas {
    flex-direction: column;
    align-items: flex-start;
  }

  .testemunhas .btn {
    width: 100%;
    margin-left: 0;
  }
}

.bt-remove {
  display: inline;
  gap: 5px;
  align-items: center;
  padding: 9px 20px;
  border: 1px solid var(--cor17);
  color: var(--cor17);
  background-color: transparent;
  border-radius: 6px;
  cursor: pointer;
}

.bt-remove:hover {
  background-color: var(--cor17);
  color: var(--cor2);
}

.bt-remove svg {
  width: 16px;
  height: 16px;
}

.assinatura-page {
  max-width: 1100px;
  margin: 30px auto;
  padding: 20px;
}

.pdf-box {
  width: 100%;
  height: 75vh;
  border: 1px solid #ddd;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f4f6;
}

.pdf-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.assinatura-box {
  margin-top: 24px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
}

.assinatura-box h2 {
  margin-bottom: 16px;
  display: flex;
  gap: 5px;
}

.check-assinatura {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0;
  font-weight: 600;
}

.botao-assinar {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .pdf-box {
    height: 65vh;
  }

  .botao-assinar {
    justify-content: stretch;
  }

  .botao-assinar button {
    width: 100%;
  }
}

.assinatura-canvas-box {
  width: 100%;
  height: 220px;
  border: 2px dashed #d1d5db;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 12px;
}

#canvasAssinatura {
  width: 100%;
  height: 100%;
  display: block;
  cursor:
    url("/imagens/site/caneta.png") 4 28,
    crosshair;
}

.switch-assinatura {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.switch-assinatura input {
  display: none;
}

.slider {
  width: 52px;
  height: 28px;
  background: #ccc;
  border-radius: 999px;
  position: relative;
  transition: 0.3s;
  flex-shrink: 0;
}

.slider::before {
  content: "";
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: 0.3s;
}

.switch-assinatura input:checked + .slider {
  background: #22c55e;
}

.switch-assinatura input:checked + .slider::before {
  transform: translateX(24px);
}

.texto-switch {
  font-size: 14px;
  color: #333;
}

.linha-assinatura {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.switch-assinatura {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.botao-assinar {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .linha-assinatura {
    flex-direction: column;
    align-items: stretch;
  }

  .botao-assinar button {
    width: 100%;
  }
}

.card-imovel-negociacao {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 24px;
  margin: 25px 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.card-imovel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.label-card {
  display: inline-block;
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.card-imovel-header h3 {
  margin: 0;
  font-size: 22px;
  color: #0f172a;
}

.valor-imovel {
  font-size: 22px;
  font-weight: 800;
  color: var(--cor1);
  white-space: nowrap;
}

.dados-imovel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.dado-imovel {
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px;
}

.dado-imovel small {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 5px;
}

.dado-imovel strong {
  font-size: 15px;
  color: var(--cor1);
}

.status-negociacao {
  color: #2563eb !important;
}

@media (max-width: 900px) {
  .dados-imovel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-imovel-header {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .dados-imovel-grid {
    grid-template-columns: 1fr;
  }

  .valor-imovel {
    font-size: 20px;
  }
}

.linha-limpar-assinatura {
  display: flex;
  justify-content: flex-end;
}

.btn-assinatura {
  padding: 10px 16px;
  border: 1px solid var(--cor17);
  border-radius: 10px;
  background: transparent;
  color: var(--cor17);
  font-weight: 600;
  cursor: pointer;
}

.btn-assinatura:hover {
  background: var(--cor17);
  color: var(--cor2);
}

.badge-status.assinado {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.badge-status.pendente {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.badge-assinaturas {
  display: block;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  text-align: center;
}

.badge-assinaturas.ok {
  background: #dcfce7;
  color: #166534;
  border-color: #86efac;
}

.badge-assinaturas.pendente {
  background: #fff7ed;
  color: #9a3412;
  border-color: #fdba74;
}

.badge-status {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  display: block;
  text-align: center;
}

.badge-status.ativo {
  background: #dcfce7;
  color: #166534;
}

.badge-status.inativo {
  background: #fee2e2;
  color: #991b1b;
}

.badge-status.rascunho {
  background: #f3f4f6;
  color: #374151;
}

.badge-status.aguardando_assinatura {
  background: #fef3c7;
  color: #92400e;
}

.badge-status.assinado {
  background: #dcfce7;
  color: #166534;
}

.badge-status.cancelado {
  background: #fee2e2;
  color: #991b1b;
}

.badge-status.finalizado {
  background: #dbeafe;
  color: #1e40af;
}

.tabela-responsiva {
  width: 100%;
  overflow-x: auto;
}

.tabela-responsiva table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.tabela-responsiva th {
  background: var(--cor1);
  color: #fff;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
}

.tabela-responsiva td {
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  vertical-align: middle;
  text-align: center;
}

.tabela-responsiva tbody tr {
  transition: 0.2s;
}

.tabela-responsiva tbody tr:hover {
  background: #f9fafb;
}

.tabela-responsiva td:last-child {
  white-space: nowrap;
}

/* BOTÕES */

.tabela-responsiva .btn-acao,
.tabela-responsiva td a.btn-acao,
.tabela-responsiva td button.btn-acao {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: #f3f4f6;
  color: #374151;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s;
  margin-right: 5px;
}

.tabela-responsiva .btn-acao:last-child {
  margin-right: 0;
}

.tabela-responsiva .btn-acao svg {
  width: 18px;
  height: 18px;
}

.tabela-responsiva .btn-acao:hover {
  background: var(--cor1);
  color: var(--cor2);
  transform: translateY(-2px);
}

.tabela-responsiva .btn-danger {
  background: #fee2e2;
  color: #dc2626;
}

.tabela-responsiva .btn-danger:hover {
  background: #dc2626;
  color: #fff;
}

/* STATUS */

.badge-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.badge-status.assinado {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.badge-status.pendente {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

/* ASSINATURAS */

.badge-assinaturas {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 55px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.badge-assinaturas.ok {
  background: #dcfce7;
  color: #166534;
}

.badge-assinaturas.pendente {
  background: #fff7ed;
  color: #9a3412;
}

/* MOBILE */

@media (max-width: 768px) {
  .tabela-responsiva {
    overflow: visible;
  }

  .tabela-responsiva table,
  .tabela-responsiva tbody,
  .tabela-responsiva tr,
  .tabela-responsiva td {
    display: block;
    width: 100%;
  }

  .tabela-responsiva table {
    background: transparent;
    box-shadow: none;
  }

  .tabela-responsiva thead {
    display: none;
  }

  .tabela-responsiva tr {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 18px;
    padding: 12px 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  }

  .tabela-responsiva td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border: 0;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    white-space: normal;
  }

  .tabela-responsiva td:last-child {
    border-bottom: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-top: 15px;
  }

  .tabela-responsiva td::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    min-width: 110px;
    flex-shrink: 0;
  }

  .tabela-responsiva td:last-child::before {
    display: none;
  }

  .tabela-responsiva .btn-acao {
    width: 40px;
    height: 40px;
  }
}

.paginacao {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 12px;
}

.btn-pagina {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: var(--cor1);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.btn-pagina:hover {
  background: var(--cor1);
  color: #fff;
  border-color: var(--cor1);
  transform: translateY(-2px);
}

.btn-pagina.ativo {
  background: var(--cor1);
  color: #fff;
  border-color: var(--cor1);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.25);
}

@media (max-width: 600px) {
  .paginacao {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 16px;
  }

  .btn-pagina {
    min-width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }
}

.bt-busca {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 10px 20px;
  justify-content: center;
  height: 42px;
  border: 1px solid var(--cor1);
  color: var(--cor1);
  border-radius: 6px;
  background-color: transparent;
  cursor: pointer;
  font-weight: 700;
}

.bt-busca svg {
  width: 16px;
  height: 16px;
}

.bt-busca:hover {
  background-color: var(--cor1);
  color: var(--cor2);
}

.wizard-negociacao {
  width: 100%;
}

.wizard-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 25px 0;
}

.wizard-tab {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  padding: 10px 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.2s;
}

.wizard-tab:hover {
  background: var(--cor1);
  color: var(--cor2);
}

.wizard-tab.active {
  background: var(--cor1);
  color: var(--cor2);
}

.wizard-body {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 25px;
}

.wizard-page {
  display: none;
}

.wizard-page.active {
  display: block;
}

.wizard-page h2 {
  font-size: 20px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cor1);
}

.wizard-acoes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

.wizard-acoes .btn:only-child,
.wizard-acoes .btn-wizard-next:first-child {
  margin-left: auto;
}

.testemunhas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

@media (max-width: 900px) {
  .wizard-menu {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .wizard-menu {
    grid-template-columns: 1fr;
  }

  .wizard-body {
    padding: 18px;
  }

  .wizard-acoes {
    flex-direction: column;
    align-items: stretch;
  }

  .wizard-acoes .btn {
    width: 100%;
    justify-content: center;
  }

  .testemunhas {
    flex-direction: column;
    align-items: stretch;
  }
}

.input-busca-icon {
  position: relative;
  width: 100%;
}

.input-busca-icon input {
  width: 100%;
  height: 46px;
  padding: 0 46px 0 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
  font-size: 14px;
}

.input-busca-icon svg {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #777;
  pointer-events: none;
}
