* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/*
  Paleta Contime House – verde profundo + dourado rico.
*/
:root {
  --body-bg: #F7F6F2;
  --card-bg: #FFFFFF;

  --text-color: #1F2A24;
  --muted-text: #5B6A62;
  --border: #E6E2D8;

  --contime-green: #1A4D3A;
  --contime-green-dark: #123626;
  --contime-green-soft: #E8F1ED;

  --contime-orange: #C9A86B;
  --contime-orange-dark: #B28F54;
  --contime-label: #DBCEA5;

  --hero-overlay: rgba(26, 77, 58, 0.78);

  --shadow: 0 10px 24px rgba(0, 0, 0, 0.10);

  --primary-dark: #1A4D3A;
  --accent-color: #C9A86B;
  --hero-bg: #E8F1ED;
  --radius: 12px;
  --container: 1100px;
}

body {
  background: var(--body-bg);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Scroll Reveal (entrada ao aparecer) ===== */
[data-reveal],
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: transform, opacity;
}

[data-reveal="left"] { transform: translateX(-22px); }
[data-reveal="right"] { transform: translateX(22px); }
[data-reveal="zoom"] { transform: scale(0.96); }

.is-in[data-reveal],
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Header das páginas internas – verde Contime, texto branco */
header:not(.header-hero) {
  background: var(--contime-green);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

header:not(.header-hero) .logo {
  height: 130px;
  width: auto;
  filter: brightness(0) invert(1);
}

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

header:not(.header-hero) nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

header:not(.header-hero) nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Link ativo nas páginas internas (script.js pode adicionar .active) */
header:not(.header-hero) nav a.active {
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.logo {
  height: 150px;
}

.hero {
  background: var(--hero-bg);
  color: var(--primary-dark);
  text-align: center;
  padding: 80px 20px;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hero-overlay);
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* ========== HOME – Hero no estilo Contime House ========== */
.hero-home {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-home-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/casa 9/casa 9 foto 2.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
  will-change: transform;
  transform: scale(1.06);
}

.hero-home-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.header-hero {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  flex-wrap: wrap;
  gap: 16px;
  background: transparent;
}

/* Logo: ícone em caixa arredondada cinza clara com sombra */
.header-hero-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.header-hero .logo-hero {
  height: 100%;
  width: auto;
  max-height: 130px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand-name {
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.nav-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.header-hero .nav-hero a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 10px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.header-hero .nav-hero a:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Link ativo: caixa verde-acinzentada com sombra */
.header-hero .nav-hero a.active {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}

.hero-home-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px 120px;
  max-width: 720px;
  margin: 0 auto;
}

.hero-home-label {
  color: var(--contime-label);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}

.hero-home-title {
  color: #fff;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.1;
}

.hero-home-subtitle {
  color: #fff;
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.95;
}

.hero-home-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-hero:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* botão dourado: texto verde (melhor contraste) */
.btn-hero-primary,
.btn,
.btn-primary,
.btn-cta {
  background: var(--contime-orange);
  color: var(--contime-green);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.btn-hero-primary:hover,
.btn:hover,
.btn-primary:hover,
.btn-cta:hover {
  background: var(--contime-orange-dark);
}

/* botão outline */
.btn-hero-outline {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.10);
}

.btn,
.btn-primary {
  display: inline-block;
  margin-top: 12px;
  text-decoration: none;
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

/* ========== Seção "O que você procura?" ========== */
.home-o-que-procura {
  padding: 72px 24px 80px;
  background: var(--body-bg);
}

.home-section-title {
  text-align: center;
  color: var(--text-color);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.home-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--contime-green);
  margin: 0 auto;
  margin-top: 12px;
  border-radius: 2px;
}

.home-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 48px;
}

.home-cards-grid-single {
  grid-template-columns: minmax(0, 680px);
  justify-content: center;
}

.home-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: #fff;
  transition: transform 0.25s ease;
}

.home-card:hover {
  transform: translateY(-4px);
}

.home-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.home-card-gradient {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.home-card-content {
  position: relative;
  z-index: 2;
  padding: 28px 24px;
}

.home-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--contime-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.home-card-icon svg {
  flex-shrink: 0;
}

.home-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.home-card-content p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 14px;
  opacity: 0.95;
  color: #fff;
}

.home-card-link {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

/* ========== Footer CTA (Contime House) ========== */
.footer-home {
  margin-top: auto;
}

.footer-cta {
  background: var(--contime-green);
  color: #fff;
  text-align: center;
  padding: 64px 24px 56px;
}

.footer-cta-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.footer-cta-text {
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.5;
  opacity: 0.95;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--contime-orange);
  color: var(--contime-green);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 32px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.btn-cta:hover {
  background: var(--contime-orange-dark);
  transform: translateY(-2px);
}

.footer-copy {
  background: var(--contime-green-dark);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

.footer-copy p {
  margin: 0;
}

.hero-overlay {
  max-width: 820px;
  margin: 0 auto;
  padding: 34px 22px;
  border-radius: var(--radius);
  background: rgba(26, 77, 58, 0.15);
  backdrop-filter: none;
}

.hero h1 {
  color: var(--primary-dark);
}

.hero p {
  color: var(--text-color);
  margin: 10px 0 18px;
  font-size: 16px;
  line-height: 1.5;
}

main {
  display: block;
  flex: 1;
}

section {
  padding: 60px 40px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

h1 {
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-size: 40px;
  line-height: 1.1;
}

.page p {
  margin-bottom: 18px;
  line-height: 1.5;
}

.page h1 {
  color: var(--primary-dark);
}

h2 {
  margin-bottom: 30px;
  color: var(--primary-dark);
  font-size: 28px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 15px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 18px;
}

.card p {
  margin-bottom: 10px;
  line-height: 1.4;
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}


.card img {
  width: 100%;
  border-radius: 6px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.05);
}

.card span {
  color: var(--contime-orange);
  font-weight: bold;
}

/* ========== Página Quem Somos ========== */
.page-title-strip {
  background: var(--contime-green);
  color: #fff;
  text-align: center;
  padding: 50px 20px 44px;
  border-bottom: 4px solid var(--contime-orange);
}

.page-title-label {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.page-title-strip h1 {
  color: #fff;
  font-size: 42px;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.page-title-sub {
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  margin-bottom: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.page-title-underline {
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--contime-orange) 0%, var(--contime-orange-dark) 100%);
  margin: 0 auto;
  border-radius: 2px;
}

.quem-somos-intro {
  padding: 64px 24px;
  background: var(--card-bg);
}

.quem-somos-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.quem-somos-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.quem-somos-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.quem-somos-experience {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--contime-green);
  color: #fff;
  padding: 20px 24px;
  border-radius: 12px;
  text-align: left;
}

.quem-somos-number {
  display: block;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
}

.quem-somos-label {
  font-size: 14px;
  opacity: 0.95;
}

.quem-somos-text h2 {
  color: var(--text-color);
  font-size: 28px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.quem-somos-text p {
  color: var(--muted-text);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Nossos Pilares */
.pilares {
  padding: 72px 24px 80px;
  background: var(--body-bg);
}

.pilares-title {
  text-align: center;
  color: var(--text-color);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pilares-subtitle {
  display: block;
  text-align: center;
  color: var(--muted-text);
  font-size: 16px;
  margin-bottom: 16px;
}

.pilares-underline {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--contime-green);
  margin: 0 auto 48px;
  border-radius: 2px;
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.pilar-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pilar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.pilar-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(26, 77, 58, 0.1);
  border: 2px solid var(--contime-green);
  color: var(--contime-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pilar-icon svg {
  flex-shrink: 0;
}

.pilar-card h3 {
  color: var(--text-color);
  font-size: 22px;
  margin-bottom: 12px;
}

.pilar-card p {
  color: var(--muted-text);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

/* Estatísticas Quem Somos */
.quem-somos-stats {
  padding: 56px 24px 64px;
  background: var(--contime-green);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
}

/* ========== Página Venda (Imóveis à Venda) ========== */
.venda-content {
  padding: 56px 24px 72px;
  background: var(--body-bg);
}

.venda-section-title {
  text-align: center;
  color: var(--text-color);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.venda-section-subtitle {
  text-align: center;
  color: var(--muted-text);
  font-size: 16px;
  margin-bottom: 16px;
}

.venda-section-underline {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--contime-green);
  margin: 0 auto 40px;
  border-radius: 2px;
}

.imovel-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.imovel-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.imovel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.imovel-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.imovel-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.imovel-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--contime-green);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.imovel-card-body {
  padding: 20px 20px 24px;
}

.imovel-card-body h3 {
  color: var(--text-color);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.imovel-card-details {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: 14px;
  color: var(--muted-text);
}

.imovel-card-details li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.imovel-card-details .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-color: var(--contime-green);
  opacity: 0.85;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.icon-bed {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 9v6a2 2 0 002 2h14a2 2 0 002-2V9'/%3E%3Cpath d='M3 13h18'/%3E%3Cpath d='M5 9V6a2 2 0 012-2h10a2 2 0 012 2v3'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 9v6a2 2 0 002 2h14a2 2 0 002-2V9'/%3E%3Cpath d='M3 13h18'/%3E%3Cpath d='M5 9V6a2 2 0 012-2h10a2 2 0 012 2v3'/%3E%3C/svg%3E");
}

.icon-car {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 16H9m10 0h3v-3.15a1 1 0 00-.84-.99L16 11l-2.7-3.6a1 1 0 00-.8-.4H8.24a1 1 0 00-.8.4L5 11l-2.16 1a1 1 0 00-.84 1V16h3'/%3E%3Cpath d='M17.24 5H6.76a2 2 0 00-1.88 1.32L3 11v5a2 2 0 002 2h14a2 2 0 002-2v-5l-2.12-4.68A2 2 0 0017.24 5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 16H9m10 0h3v-3.15a1 1 0 00-.84-.99L16 11l-2.7-3.6a1 1 0 00-.8-.4H8.24a1 1 0 00-.8.4L5 11l-2.16 1a1 1 0 00-.84 1V16h3'/%3E%3Cpath d='M17.24 5H6.76a2 2 0 00-1.88 1.32L3 11v5a2 2 0 002 2h14a2 2 0 002-2v-5l-2.12-4.68A2 2 0 0017.24 5z'/%3E%3C/svg%3E");
}

.icon-bath {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M9 6L6.5 3.5a1.5 1.5 0 00-2.12 0L3 6'/%3E%3Cpath d='M6 21v-4a2 2 0 012-2h8a2 2 0 012 2v4'/%3E%3Cpath d='M6 12h12v6H6z'/%3E%3Cpath d='M2 12h2'/%3E%3Cpath d='M20 12h2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M9 6L6.5 3.5a1.5 1.5 0 00-2.12 0L3 6'/%3E%3Cpath d='M6 21v-4a2 2 0 012-2h8a2 2 0 012 2v4'/%3E%3Cpath d='M6 12h12v6H6z'/%3E%3Cpath d='M2 12h2'/%3E%3Cpath d='M20 12h2'/%3E%3C/svg%3E");
}

.icon-area {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 9h18'/%3E%3Cpath d='M9 21V9'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 9h18'/%3E%3Cpath d='M9 21V9'/%3E%3C/svg%3E");
}

.imovel-card-valor {
  margin: 0;
  font-size: 14px;
  color: var(--muted-text);
}

.imovel-card-valor strong {
  display: block;
  font-size: 20px;
  color: var(--contime-green);
  margin-top: 4px;
}

/* Card sem foto (ex.: aluguel) */
.imovel-card-no-img .imovel-card-body {
  padding-top: 24px;
}

.imovel-card-badge-inline {
  position: static;
  display: inline-block;
  margin-bottom: 12px;
  font-size: 11px;
  padding: 4px 10px;
  background: var(--contime-label);
  color: var(--contime-green-dark);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
  .imovel-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .quem-somos-intro-grid {
    grid-template-columns: 1fr;
  }

  .quem-somos-img-wrap {
    max-width: 500px;
    margin: 0 auto;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .page-title-strip {
    padding: 36px 16px 32px;
  }

  .page-title-strip h1 {
    font-size: 32px;
    margin-bottom: 10px;
  }

  .page-title-sub {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .quem-somos-text h2 {
    font-size: 22px;
  }
}

.corretora {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.corretora img {
  width: min(340px, 100%);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* ========== Página Corretora ========== */
.corretora-intro {
  padding: 56px 24px 64px;
  background: var(--card-bg);
}

.corretora-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.corretora-photo-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.corretora-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.corretora-creci {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--contime-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 10px;
}

.corretora-label {
  color: var(--contime-orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.corretora-intro-text h2 {
  color: var(--text-color);
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.corretora-intro-text p {
  color: var(--muted-text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.btn-corretora {
  margin-top: 8px;
  background: var(--contime-green) !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-corretora .btn-icon {
  display: inline-flex;
}

.btn-corretora .btn-icon svg {
  display: block;
}

.btn-corretora:hover {
  filter: brightness(1.08);
}

/* Por que escolher nossa corretora? */
.corretora-pilares {
  padding: 64px 24px 72px;
  background: var(--body-bg);
}

.corretora-pilares-title {
  text-align: center;
  color: var(--text-color);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.corretora-pilares-underline {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--contime-green);
  margin: 0 auto 40px;
  border-radius: 2px;
}

.corretora-pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.corretora-pilar-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.corretora-pilar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.corretora-pilar-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(26, 77, 58, 0.1);
  border: 2px solid var(--contime-green);
  color: var(--contime-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.corretora-pilar-icon svg {
  flex-shrink: 0;
}

.corretora-pilar-card h3 {
  color: var(--text-color);
  font-size: 20px;
  margin-bottom: 10px;
}

.corretora-pilar-card p {
  color: var(--muted-text);
  font-size: 15px;
  line-height: 1.4;
  margin: 0;
}

/* CTA Corretora */
.corretora-cta {
  background: var(--contime-green);
  color: #fff;
  text-align: center;
  padding: 56px 24px 64px;
}

.corretora-cta-title {
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.corretora-cta-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin-bottom: 24px;
}

.btn-cta-corretora {
  background: var(--contime-orange) !important;
  color: var(--contime-green) !important;
  padding: 14px 28px;
  font-size: 16px;
}

.btn-cta-corretora:hover {
  filter: brightness(1.08);
}

/* ========== Página Contato ========== */
.contato-content {
  padding: 60px 24px 80px;
  background: var(--body-bg);
}

.contato-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

/* Coluna Esquerda */
.contato-left {
  min-width: 0;
  padding-right: 0;
}

.contato-left-title {
  color: var(--contime-green);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.contato-left-desc {
  color: var(--muted-text);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.contato-mobile-photo {
  display: none;
}

.contato-mobile-photo img {
  display: block;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

/* Coluna Direita */
.contato-right {
  min-width: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.contato-right-title {
  color: var(--contime-green);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

/* Formulário */
.contato-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: none;
}

.contato-form input,
.contato-form textarea {
  width: 100%;
  margin-bottom: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  text-transform: capitalize;
}

.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-text);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--contime-green);
  box-shadow: 0 0 0 3px rgba(26, 77, 58, 0.2);
}

.btn-contato-enviar {
  background: var(--contime-green);
  color: #fff;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
  width: 100%;
  max-width: 280px;
  align-self: flex-start;
}

.btn-contato-enviar:hover {
  background: var(--contime-green-dark);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Bloco Corretora na página Contato */
.contato-corretora {
  padding: 80px 24px;
  background: var(--body-bg);
}

.contato-corretora-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.contato-corretora-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.contato-corretora-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.contato-corretora-photo-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--contime-green) 0%, var(--contime-orange) 100%);
}

.contato-corretora-text {
  padding-left: 0;
}

.contato-corretora-label {
  display: inline-block;
  color: var(--contime-orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.contato-corretora-text h2 {
  color: var(--contime-green);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.contato-corretora-text p {
  color: var(--muted-text);
  line-height: 1.8;
  margin-bottom: 28px;
  font-size: 16px;
}

.btn-contato-corretora {
  background: var(--contime-green) !important;
  color: #fff !important;
  padding: 12px 20px;
  font-size: 15px;
}

.btn-contato-corretora:hover {
  filter: brightness(1.08);
}

@media (max-width: 768px) {
  .contato-content {
    padding: 40px 20px 60px;
  }

  .contato-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contato-left {
    order: 1;
  }

  .contato-mobile-photo {
    display: block;
    order: 2;
  }

  .contato-right {
    order: 3;
  }

  .contato-left-title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .contato-left-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .contato-right {
    padding: 32px 24px;
  }

  .contato-right-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
    padding: 12px 12px;
  }

  .btn-contato-enviar {
    padding: 12px 24px;
    font-size: 14px;
    max-width: none;
  }

  .contato-corretora {
    padding: 50px 16px;
  }

  .contato-corretora-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contato-corretora-photo {
    display: none;
  }

  .contato-corretora-text h2 {
    font-size: 28px;
  }

  .contato-rodape-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contato-mapa-wrap {
    min-height: 300px;
  }

  .contato-mapa-dados {
    padding: 20px;
  }

  .contato-rodape-title {
    font-size: 28px;
    margin-bottom: 36px;
  }
}

/* Rodapé da página Contato: mapa + cards */
.contato-rodape {
  padding: 80px 24px;
  background: var(--body-bg);
}

.contato-rodape-title {
  color: var(--contime-green);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
  text-align: center;
  letter-spacing: -0.5px;
}

.contato-rodape-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.contato-mapa-solo {
  grid-template-columns: 1fr;
  max-width: 900px;
}

.contato-mapa-wrap {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  min-height: 350px;
  background: var(--contime-green-soft);
}

.contato-mapa-wrap iframe {
  display: block;
}

.contato-mapa-dados {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
}

.contato-mapa-dados h3 {
  color: var(--contime-green);
  font-size: 20px;
  margin-bottom: 10px;
}

.contato-mapa-dados p {
  color: var(--muted-text);
  line-height: 1.6;
  margin-bottom: 14px;
}

.contato-mapa-link {
  color: var(--contime-green);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.contato-mapa-link:hover {
  text-decoration: underline;
}

.contato-info-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contato-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--contime-green);
  transition: all 0.3s ease;
}

.contato-info-card:hover {
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.contato-info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--contime-green);
  background-color: var(--contime-green);
  mask-size: 20px;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: 20px;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.contato-info-icon-endereco {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='black' stroke='white' stroke-width='1.5'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='black' stroke='white' stroke-width='1.5'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.contato-info-icon-telefone {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='black' stroke='white' stroke-width='1.5'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='black' stroke='white' stroke-width='1.5'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.contato-info-icon-email {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='black' stroke='white' stroke-width='1.5'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M2 6l10 7 10-7'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='black' stroke='white' stroke-width='1.5'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M2 6l10 7 10-7'/%3E%3C/svg%3E");
}

.contato-info-icon-horario {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='black' stroke='white' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='black' stroke='white' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}

.contato-info-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contato-info-label {
  font-size: 12px;
  color: var(--muted-text);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.contato-info-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.contato-info-link {
  color: var(--contime-green);
  text-decoration: none;
  font-weight: 700;
}

.contato-info-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .contato-rodape-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contato-mapa-wrap {
    min-height: 280px;
  }

  .contato-mapa-dados {
    padding: 18px 18px 20px;
  }

  .contato-rodape {
    padding: 60px 20px;
  }

  .contato-rodape-title {
    font-size: 28px;
    margin-bottom: 36px;
  }
}

/* Mobile extra pequeno (até 480px) */
@media (max-width: 480px) {
  .contato-content {
    padding: 30px 16px 50px;
  }

  .contato-grid {
    gap: 24px;
  }

  .contato-left-title {
    font-size: 22px;
  }

  .contato-left-desc {
    font-size: 13px;
  }

  .contato-info-card {
    padding: 14px 18px;
    gap: 14px;
  }

  .contato-right {
    padding: 24px 20px;
  }

  .contato-right-title {
    font-size: 20px;
  }

  .form-group {
    gap: 6px;
  }

  .form-group label {
    font-size: 13px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 14px;
  }

  .btn-contato-enviar {
    padding: 11px 20px;
    font-size: 13px;
    max-width: none;
  }

  .contato-info-label {
    font-size: 11px;
  }

  .contato-info-value {
    font-size: 14px;
  }

  .contato-info-icon {
    width: 38px;
    height: 38px;
  }

  .contato-corretora {
    padding: 40px 16px;
  }

  .contato-corretora-grid {
    gap: 30px;
  }

  .contato-corretora-text h2 {
    font-size: 24px;
  }

  .contato-corretora-text p {
    font-size: 15px;
  }

  .contato-rodape {
    padding: 40px 16px;
  }

  .contato-rodape-title {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .contato-mapa-wrap {
    min-height: 250px;
  }

  .contato-mapa-dados {
    padding: 16px;
  }

  .contato-mapa-dados h3 {
    font-size: 18px;
  }

  .contato-mapa-link {
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .corretora-intro-grid {
    grid-template-columns: 1fr;
  }

  .corretora-photo-wrap {
    max-width: 400px;
    margin: 0 auto;
  }

  .corretora-pilares-grid {
    grid-template-columns: 1fr;
  }
}

form {
  max-width: 400px;
  display: flex;
  flex-direction: column;
}

form input,
form textarea {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  outline: none;
  font-family: inherit;
}

form input:focus,
form textarea:focus {
  border-color: var(--contime-green);
  box-shadow: 0 0 0 3px rgba(26, 77, 58, 0.25);
}

button {
  background: var(--contime-orange);
  color: var(--contime-green);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s ease, filter 0.2s ease;
}

button:hover {
  background: var(--contime-orange-dark);
}

/* Labels / chips genéricos */
.label,
.chip,
.tag {
  background: var(--contime-label);
  color: var(--contime-green-dark);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Rodapé padrão (páginas internas) – mesmo estilo da home */
footer {
  margin-top: auto;
}

footer:not(.footer-home) .footer-cta,
.footer-cta {
  background: var(--contime-green);
  color: #fff;
  text-align: center;
  padding: 56px 24px 48px;
}

footer:not(.footer-home) .footer-cta-title,
.footer-cta-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

footer:not(.footer-home) .footer-cta-text,
.footer-cta-text {
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.5;
  opacity: 0.95;
}

footer:not(.footer-home) .footer-copy,
.footer-copy {
  background: var(--contime-green-dark);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 18px;
  font-size: 14px;
}

footer:not(.footer-home) .footer-copy p,
.footer-copy p {
  margin: 0;
}

/* Footer com só um parágrafo (páginas internas sem CTA) */
footer > p:only-child {
  background: var(--contime-green);
  color: #fff;
  text-align: center;
  padding: 20px;
  margin: 0;
}

/* Filtros de imóveis */
.filters {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  margin: 18px 0 22px;
  display: grid;
  grid-template-columns: 1fr 180px 140px;
  gap: 12px;
  align-items: center;
}

.filters input,
.filters select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
}

.filters button {
  margin-top: 0;
}

/* Página de detalhes do imóvel */
.btn-voltar {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  transition: transform 0.12s ease;
}

.btn-voltar:hover {
  transform: translateX(-4px);
}

.property-details {
  max-width: 1000px;
  margin: 0 auto;
}

.property-header {
  margin-bottom: 30px;
}

.property-price {
  display: block;
  font-size: 28px;
  font-weight: bold;
  color: var(--accent-color);
  margin-top: 10px;
}

.gallery-main {
  margin-bottom: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.main-photo {
  width: 100%;
  height: 500px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: var(--contime-green-soft);
}

.gallery-thumbnails {
  margin-bottom: 40px;
}

.gallery-thumbnails h2 {
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.thumbnails-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
}

.thumbnail {
  width: 100%;
  height: 120px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
  background: var(--contime-green-soft);
}

.thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-color);
}

.property-info {
  background: var(--card-bg);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.property-info h2 {
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 500px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.info-item {
  padding: 14px 16px;
  background: var(--contime-green-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
}

.info-item strong {
  color: var(--primary-dark);
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.property-description-full {
  margin-bottom: 30px;
}

.property-description-full h3 {
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.property-description-full p {
  line-height: 1.6;
  color: var(--text-color);
}

.property-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.property-actions .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 32px;
  font-size: 16px;
}

/* Botão WhatsApp nas property-actions */
.btn-whatsapp {
  background: var(--contime-green) !important;
  color: #fff !important;
  border: none;
}

.btn-whatsapp:hover {
  background: var(--contime-green-dark) !important;
}

/* Botão WhatsApp nos cards de imóveis */
.btn-whatsapp-card {
  background: var(--contime-label) !important;
  color: var(--contime-green-dark) !important;
  display: inline-block;
  margin-top: 12px !important;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  font-weight: 600;
}

.btn-whatsapp-card:hover {
  background: var(--contime-orange-dark) !important;
  filter: brightness(1) !important;
}

/* Responsividade básica */
@media (max-width: 700px) {
  header {
    padding: 15px 20px;
  }

  section {
    padding: 40px 20px;
  }

  h1 {
    font-size: 30px;
  }

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

  .main-photo {
    height: 300px;
  }

  .thumbnails-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
  }

  .thumbnail {
    height: 80px;
  }

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

  .property-actions {
    flex-direction: column;
  }

  .property-actions .btn,
  .property-actions .btn-primary,
  .property-actions .btn-whatsapp {
    width: 100%;
    min-width: unset;
    text-align: center;
  }

  /* Home – responsivo */
  .hero-home-content {
    padding-bottom: 80px;
  }
}

/* ========== Botão WhatsApp Flutuante ========== */
.whatsapp-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.whatsapp-button img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

@media (max-width: 768px) {
  header:not(.header-hero) {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  header:not(.header-hero) nav {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    gap: 6px;
  }

  header:not(.header-hero) nav a {
    padding: 10px 14px;
  }

  .header-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-hero {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    gap: 6px;
  }

  .header-hero .nav-hero a {
    padding: 10px 14px;
  }

  .whatsapp-button {
    bottom: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-button img {
    width: 54px;
    height: 54px;
  }

  .hero-home-title {
    font-size: 32px;
  }

  .hero-home-buttons {
    flex-direction: column;
  }

  .btn-hero {
    width: 100%;
    justify-content: center;
  }

  .home-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 36px;
  }

  .home-card {
    min-height: 300px;
  }

  .footer-cta-title {
    font-size: 22px;
  }
}

@media (max-width: 500px) {
  .header-hero {
    padding: 16px 20px;
  }

  .logo-box {
    width: auto;
    height: auto;
  }

  .header-hero .logo-hero {
    max-height: 95px;
  }

  .brand-name {
    font-size: 18px;
  }

  .header-hero .nav-hero a {
    font-size: 13px;
    padding: 8px 12px;
  }
}
