:root {
  --bg-dark: #050505;
  --text-light: #ffffff;
  --muted: #9ca3af;
  --border-radius-pill: 999px;
  --btn-dark: #111111;
  --btn-dark-hover: #000000;
  --gray-soft: #f3f4f6;
  --filter-border: #e5e7eb;
  --transition-fast: 0.18s ease-out;
  --container-max: 1200px;
  --navbar-height: 80px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.35);
}

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-dark);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text-light);
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* CARROSSEL DE FUNDO */
.hero-bg-carousel {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-bg-carousel .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fadeCarousel 24s infinite;
}

.hero-bg-carousel .slide:nth-child(1) { animation-delay: 0s; }
.hero-bg-carousel .slide:nth-child(2) { animation-delay: 6s; }
.hero-bg-carousel .slide:nth-child(3) { animation-delay: 12s; }
.hero-bg-carousel .slide:nth-child(4) { animation-delay: 18s; }

@keyframes fadeCarousel {
  0% { opacity: 0; }
  5% { opacity: 1; }
  25% { opacity: 1; }
  30% { opacity: 0; }
  100% { opacity: 0; }
}

/* OVERLAY SUAVE */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top,
      rgba(0, 0, 0, 0.35),
      transparent 60%
    ),
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.55)
    );
  z-index: -1;
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  z-index: 10;
  background: transparent;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 40px;
  filter: brightness(0) invert(1);
}

/* MENU */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--text-light);
  transition: width .2s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ===================== HERO CONTENT ===================== */
.hero-content {
  position: relative;
  z-index: 5;
  margin-top: var(--navbar-height);
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - var(--navbar-height));
}

/* TOGGLE (VENDA/LOCAÇÃO) */
.purpose-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--border-radius-pill);
  background: rgba(31, 41, 55, 0.9);
  margin: 0 auto 0.8rem;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.purpose-btn {
  border: none;
  background: transparent;
  padding: 0.3rem 1.2rem;
  border-radius: var(--border-radius-pill);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  cursor: pointer;
  color: #e5e7eb;
}

.purpose-btn.active {
  background: #ffffff;
  color: #111827;
}

/* ===================== BARRA DE FILTROS ===================== */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: var(--border-radius-pill);
  padding: 0.4rem 0.4rem 0.4rem 0.8rem;
  box-shadow: var(--shadow-soft);
  overflow-x: auto;
  white-space: nowrap;
}

.filter-item {
  position: relative;
  padding: 0 1rem;
  border-right: 1px solid var(--filter-border);
}

.filter-item:last-of-type {
  border-right: none;
}

.filter-item input,
.filter-item select {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.85rem;
  color: #111;
  height: 40px;
  min-width: 120px;
}

.filter-item select {
  appearance: none;
  padding-right: 1.2rem;
  cursor: pointer;
}

/* SETA DOS DROPDOWNS */
.filter-select::after {
  content: "";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-right: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  opacity: 0.7;
  pointer-events: none;
}

/* BOTÃO BUSCAR */
.btn-buscar {
  border: none;
  background: var(--btn-dark);
  color: #ffffff;
  padding: 0.55rem 1.3rem;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
  cursor: pointer;
}

.btn-buscar:hover {
  background: var(--btn-dark-hover);
}

/* ===================== MOBILE FILTER ===================== */
@media (max-width: 640px) {

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 14px !important;
    padding: 1rem;
    gap: .75rem;
  }

  .filter-item {
    width: 100%;
    padding: 0;
    border-right: none;
  }

  .filter-item input,
  .filter-item select {
    width: 100%;
    min-width: 100%;
    height: 48px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 0 1rem;
    background: #fff;
  }

  .filter-select::after {
    right: 1.2rem;
  }

  .btn-buscar {
    width: 100%;
    height: 48px;
    border-radius: 14px;
  }

  .nav-links {
    display: none;
  }
}

/* ===================== SESSÃO DOS CARDS ===================== */
.secao-cards {
  background: #ffffff;
  padding: 4rem 0;
}

/* GRID DOS CARDS */
.imoveis-lista {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* CARD */
.imovel-card {
  background: #ffffff;
  border-radius: 18px;
  padding-bottom: 1rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  cursor: pointer;
  transition: .25s ease;
}



/* IMAGEM DO CARD */
.card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 16px;
  margin: 0.8rem;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .3s;
}



/* ID */
.card-id {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: .75rem;
  font-weight: 600;
}

/* FAVORITO */
.fav-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

/* TEXTO DO CARD */
.card-body {
  padding: 0 1rem;
}

.card-titulo {
  font-size: 1.1rem;
  margin: 0.4rem 0 0;
  color: #111;
  font-weight: 700;
}

.card-local {
  color: #555;
  font-size: .9rem;
  margin: 0;
}

.card-preco {
  margin: 0.5rem 0;
  font-size: 1.2rem;
  color: #111;
  font-weight: 700;
}

/* DIVISOR */
.divider {
  height: 1px;
  background: #e6e6e6;
  margin: 0.6rem 0;
}

/* ICONES */
.card-infos {
  display: flex;
  gap: 1.6rem;
  font-size: .9rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #444;
}

/* RESPONSIVO DOS CARDS */
@media (max-width: 992px) {
  .imoveis-lista {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .imoveis-lista {
    grid-template-columns: 1fr;
  }
}
.info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #444;
  font-size: .9rem;
  font-weight: 500;
}

.icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) saturate(0) invert(40%) sepia(5%) saturate(350%) hue-rotate(180deg) brightness(93%) contrast(85%);
  /* deixa o SVG cinza fixo */
}
/* MOBILE */
@media (max-width: 768px) {

  /* Centraliza a barra inteira */
  .nav-inner {
    justify-content: center !important;
  }

  /* Centraliza o link do logo */
  .brand {
    margin: 0 auto;
  }

  /* Ajusta o tamanho se quiser menor */
  .brand .logo {
    max-width: 140px; /* opcional */
  }

  /* Esconde temporariamente os links do menu (ou podemos fazer ele virar hambúrguer) */
  .nav-links {
    display: none;
  }
}
.site-footer {
  background: #ffffff;            /* FUNDO BRANCO */
  color: #1D1D1D;                 /* texto escuro elegante */
  padding: 32px 0;
  margin-top: 48px;
  border-top: 1px solid #e5e7eb;  /* linha sutil para separar */
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-creci {
  font-size: 0.875rem;
  color: #555;        /* cor neutra elegante */
}

.footer-contact h4 {
  font-size: 0.95rem;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #444;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-link {
  color: #1d1d1d;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-link:hover {
  opacity: 0.6;
}

.footer-copy {
  font-size: 0.85rem;
  color: #555;
  text-align: right;
}

/* Responsivo – centraliza tudo no mobile */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-copy {
    text-align: center;
  }
}
.card-actions {
  padding: 0 1rem;
  margin-top: 0.75rem;
}

.btn-detalhes {
  width: 100%;
  border: none;
  background: #111111;
  color: #ffffff;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-detalhes:hover {
  background: #000000;
  transform: translateY(-1px);
}
/* ===================== DETALHE DO IMÓVEL ===================== */
.detalhe-main {
  padding-top: calc(var(--navbar-height) + 40px);
  padding-bottom: 4rem;
  background: #ffffff !important;
  min-height: 100vh;
}


.detalhe-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

/* GALERIA */
.detalhe-gallery {
  background: rgba(58, 59, 63, 0.8);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.gallery-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 420px;
}

#gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(34, 34, 34, 0.55);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
}

.gallery-nav.prev {
  left: 12px;
}

.gallery-nav.next {
  right: 12px;
}

.gallery-thumbs {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.thumb-btn {
  border: none;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  width: 80px;
  height: 60px;
  cursor: pointer;
  opacity: 0.7;
  flex: 0 0 auto;
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-btn.active {
  outline: 2px solid #ffffff;
  opacity: 1;
}

/* INFO */
.detalhe-info {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
  color: #111827;
}

.detalhe-id {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0;
}

.detalhe-titulo {
  font-size: 1.5rem;
  margin: 0.2rem 0;
  font-weight: 700;
}

.detalhe-local {
  margin: 0;
  color: #38404b;
  font-size: 0.95rem;
}

.detalhe-preco {
  margin-top: 1rem;
  font-size: 1.7rem;
  font-weight: 700;
}

.detalhe-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 1rem 0 1.2rem;
}

.detalhe-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 1.2rem 0;
}

.detalhe-subtitle {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #6b7280;
}

.detalhe-descricao {
  margin: 0;
  color: #374151;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* CTA */
.detalhe-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.btn-cta {
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn-cta.primary {
  background: #111111;
  color: #ffffff;
  border: none;
}

.btn-cta.primary:hover {
  background: #000000;
}

.btn-cta.secondary {
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.btn-cta.secondary:hover {
  background: #e5e7eb;
}

.detalhe-feedback {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: #16a34a;
}

/* Responsivo detalhe */
@media (max-width: 992px) {
  .detalhe-grid {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    height: 320px;
  }
}
/* ===================== MODAL DE CONTATO ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;              /* começa escondida */
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-overlay.is-visible {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.8rem 2rem;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  position: relative;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: none;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: #e5e7eb;
}

.modal-title {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
}

.modal-subtitle {
  margin: 0 0 1.2rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.modal-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.modal-field label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #4b5563;
}

.modal-field input {
  height: 44px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 0 0.85rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.modal-field input:focus {
  border-color: #111111;
  box-shadow: 0 0 0 1px #11111111;
}

.modal-submit {
  width: 100%;
  margin-top: 0.4rem;
  text-align: center;
}

.modal-success {
  font-size: 0.85rem;
  color: #16a34a;
  margin: 0.6rem 0 0;
  text-align: center;
}

/* Responsivo modal */
@media (max-width: 480px) {
  .modal-card {
    margin: 0 1rem;
    padding: 1.5rem 1.4rem;
  }
}
.cards-section-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #9ca3af;           /* cinza claro */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
}

/* Espaçamento entre grupos */
.secao-cards .imoveis-lista {
  margin-bottom: 2.5rem;
}
/* ===== NAVBAR ESPECÍFICA DA PÁGINA DE DETALHES ===== */
.detalhe-page .navbar-detalhe {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  z-index: 1000;
}

/* Garante que o conteúdo não fique escondido atrás da navbar */
.detalhe-main {
  padding-top: 100px; /* espaço para a navbar fixa */
  background: #ffffff;
  min-height: 100vh;
}

/* Garante que o logo apareça bonitinho */
.detalhe-page .navbar .logo {
  height: 40px;
  width: auto;
  display: block;
  filter: none !important;  /* remove aquele invert() da home, se tiver */
  opacity: 1;
}

/* Mantém os links visíveis no desktop */
.detalhe-page .nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.detalhe-page .nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* No mobile, some com os links (se quiser depois podemos pôr hambúrguer) */
@media (max-width: 768px) {
  .detalhe-page .nav-inner {
    justify-content: center;
  }

  .detalhe-page .brand {
    margin: 0 auto;
  }

  .detalhe-page .nav-links {
    display: none;
  }
}
/* BOTÃO VOLTAR - MOBILE */
.btn-voltar-mobile {
  display: none;
}

/* -------- MOBILE -------- */
@media (max-width: 768px) {

  .btn-voltar-mobile {
    display: block;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f2937; /* cinza escuro elegante */
    text-decoration: underline;
    cursor: pointer;
    z-index: 60;
  }

  /* Centraliza o logo */
  .navbar-detalhe .brand {
    margin: 0 auto;
  }

  /* Links desktop somem */
  .navbar-detalhe .nav-links {
    display: none;
  }

  /* Ajuste do container para centralizar corretamente */
  .navbar-detalhe .nav-inner {
    position: relative;
    justify-content: center;
  }
}
.semelhantes-section {
  padding: 3rem 1.5rem 4rem;
  background: #f9fafb;
}
.semelhantes-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1.5rem;
}
.semelhantes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.semelhante-card {
  background: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.semelhante-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.semelhante-image-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.semelhante-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.semelhante-body {
  padding: 0.9rem 1rem 1rem;
}
.semelhante-ref {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}
.semelhante-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}
.semelhante-local {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.35rem;
}
.semelhante-preco {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}
.card-image {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

.card-main-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
}

.card-arrow-left {
  left: 8px;
}

.card-arrow-right {
  right: 8px;
}

.card-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}
.imovel-card {
  height: 520px; /* Altura aumentada */
  display: flex;
  flex-direction: column;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  padding-bottom: 25px;
}

.card-actions {
  margin-top: auto; /* Isso é crucial - empurra para baixo */
  padding-top: 25px;
}

/* Garantir que o conteúdo acima ocupe o espaço disponível */
.card-infos {
  margin-bottom: auto; /* Empurra o card-actions para baixo */
}
.btn-detalhes {
  text-decoration: none;
}
.card-actions {
  margin-top: auto;
  padding-top: 25px;
  width: 100%;
}

.btn-detalhes {
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  padding: 14px 20px;
  background: #000000; /* Sua cor principal */
  color: white;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 200;
  transition: background 0.3s ease;
}

.btn-detalhes:hover {
  background: #252525; /* Cor do hover */
  text-decoration: none;
}
/* Reduzir drasticamente o espaço acima dos semelhantes */
.semelhantes-section {
  margin-top: 20px !important;
  padding-top: 20px;
}

/* Reduzir o espaço abaixo do conteúdo principal */
.detalhe-main {
  padding-bottom: 0;
  margin-bottom: 0;
}

/* Se ainda não funcionar, use position relative e negative margin */
.semelhantes-section {
  position: relative;
  top: -80px;
  margin-top: 0;
}

/* Ou mais agressivo ainda */
.semelhantes-section {
  margin-top: -40px !important;
  position: relative;
  z-index: 2;
}
/* Mobile */
@media (max-width: 768px) {
  .semelhantes-section {
    margin-top: 80px !important;
  }
}
.footer-produced {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.8;
}

.footer-produced span {
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-produced-logo {
  height: 40px;
  width: auto;
  opacity: 0.9;
}
body {
  background-color: #ffffff;
}
/* Apenas para mobile */
@media (max-width: 768px) {
  .detalhe-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .btn-cta {
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    box-sizing: border-box;
  }
}
/* ===== MODAL SOLICITAR CONTATO ===== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45); /* fundo escuro translúcido */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}

.modal-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  max-width: 480px;
  width: 100%;
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18);
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #111827;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.modal-form .field {
  margin-bottom: 1rem;
}

.modal-form .label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}

.modal-form input[type="text"],
.modal-form input[type="email"],
.modal-form input[type="tel"] {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: #111827;
  outline: none;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.modal-form input[type="text"]:focus,
.modal-form input[type="email"]:focus,
.modal-form input[type="tel"]:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35);
}

.modal-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.modal-success {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #16a34a;
}

/* Botão de fechar */
.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  border: none;
  background: transparent;
  font-size: 1rem;
  cursor: pointer;
  color: #6b7280;
  transition: color 0.15s ease-out, transform 0.1s ease-out;
}

.modal-close:hover {
  color: #111827;
  transform: scale(1.05);
}

/* Responsivo */
@media (max-width: 480px) {
  .modal-content {
    padding: 1.75rem 1.25rem 1.25rem;
    border-radius: 1rem;
  }

  .modal-title {
    font-size: 1.25rem;
  }
}
/* ===== ALERTA DE SUCESSO ===== */

.alert-sucesso {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}

.alert-sucesso.visible {
  opacity: 1;
  pointer-events: auto;
}

.alert-card {
  background: #ffffff;
  padding: 2rem 2.2rem;
  border-radius: 1.2rem;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  transition: transform 0.25s ease-out;
}

.alert-sucesso.visible .alert-card {
  transform: translateY(0);
}

.alert-icon {
  font-size: 2.4rem;
  color: #10b981; /* verde elegante */
  display: block;
  margin-bottom: 0.8rem;
}

.alert-text {
  font-size: 1.1rem;
  color: #111827;
  font-weight: 500;
}
/* Wrapper para inputs de preço */
.preco-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* Texto fixo "R$" */
.preco-prefix {
  position: absolute;
  left: 10px;
  color: #6b7280;
  font-size: 14px;
  pointer-events: none;
}

/* Input com padding extra */
.preco-wrapper input {
  width: 100%;
  padding-left: 32px !important;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 14px;
}
/* ============================
   SEÇÃO SOBRE
============================ */
.secao-sobre {
  padding: 6rem 1.5rem;
  background: #f9fafb; /* leve cinza neutro */
  border-top: 1px solid #e5e7eb;
}

.sobre-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 3.5rem;
  align-items: flex-start;
}

/* Colunas */
.sobre-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Texto principal */
.sobre-titulo {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #111827;
}

.sobre-descricao {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4b5563;
  max-width: 520px;
}

/* Botão preto arredondado */
.btn-sobre-contato {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.2rem;
  background: #111111;
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #111111;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
  margin-top: 0.5rem;
}

.btn-sobre-contato:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.16);
}

/* Serviços */
.sobre-subtitulo {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111827;
}

/* Grid de cards */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Card de serviço */
.servico-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.4rem 1.3rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.servico-card h4 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: #111827;
}

.servico-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6b7280;
}

/* Hover sutil */
.servico-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
  border-color: #111827;
}

/* Responsivo */
@media (max-width: 900px) {
  .sobre-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .secao-sobre {
    padding: 3.5rem 1.25rem;
  }

  .servicos-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sobre-titulo {
    font-size: 1.7rem;
  }
}
.whatsapp-fixo {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  background: #25d366; /* verde oficial do WhatsApp */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fixo img {
  width: 32px;
  height: 32px;
}

.whatsapp-fixo:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.recaptcha-container {
  margin: 15px 0;
  display: flex;
  justify-content: center;
  min-height: 78px;
}

.recaptcha-container > div {
  transform: scale(0.9);
  transform-origin: center;
}
@media (max-width: 640px) {
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 14px !important;
    padding: 1rem;
    gap: .75rem;
    background: transparent; /* ADICIONE ESTA LINHA */
  }

  /* O resto do seu CSS mobile permanece igual */
  .filter-item {
    width: 100%;
    padding: 0;
    border-right: none;
  }

  .filter-item input,
  .filter-item select {
    width: 100%;
    min-width: 100%;
    height: 48px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 0 1rem;
    background: #fff;
  }

  .filter-select::after {
    right: 1.2rem;
  }

  .btn-buscar {
    width: 100%;
    height: 48px;
    border-radius: 14px;
  }

  .nav-links {
    display: none;
  }
}