/* =========================
   GERAL & RESPONSIVIDADE
========================= */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
}

/* =========================
   HEADER
========================= */
header {
  background-color: var(--color-primary);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  border-bottom: 2px solid var(--color-accent);
}

header .header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top {
  display: flex;
  flex-direction: column;
}

.header-top p {
  font-family: var(--font-titles);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 400;
}

.header-container img {
  max-height: 75px;
  width: auto;
  object-fit: contain;
}

nav {
  display: flex;
  gap: var(--space-md);
}

nav a {
  font-family: var(--font-titles);
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: var(--space-xs) 0;
  transition: color 0.2s ease, border-color 0.2s ease;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

body {
  padding-top: 70px;
}

@media (max-width: 768px) {
  header .header-container {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xs);
  }

  .header-top p {
    display: none;
  }

  nav {
    gap: var(--space-sm);
    width: 100%;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xs);
  }

  nav a {
    font-size: 0.85rem;
  }
  
  body {
    padding-top: 120px;
  }
}

/* =========================
   HERO
========================= */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--color-white);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.hero-title {
  font-family: var(--font-titles);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

.hero-description {
  font-family: var(--font-base);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-image img {
  width: 400px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  width: 100%;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 var(--space-sm);
  gap: var(--space-xs);
  font-family: var(--font-titles);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.hero-actions a i {
  font-size: 1.15rem;
  color: inherit;
}

.hero-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  font-family: var(--font-base);
  padding: 1rem;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  grid-column: 1 / -1; /* Faz os benefícios ocuparem a largura inteira abaixo da imagem e texto no Desktop se necessário */
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  color: var(--color-primary-dark);
}

.hero-benefits li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-olive);
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
}

/* 📱 RESPONSIVIDADE HERO (Dispositivos Móveis) */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr; /* Coluna única no celular */
    gap: 2.5rem;
    text-align: center;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-image {
    order: 2; /* Garante que a foto fique após o texto principal */
    margin: 0 auto;
  }

  .hero-image img {
    width: 280px; /* Reduz levemente o diâmetro da imagem para encaixar harmonicamente nas telas de celular */
  }

  .hero-actions {
    flex-direction: column;
    gap: var(--space-xs);
    width: 100%;
  }

  .hero-actions a {
    width: 100%;
    white-space: normal;
  }

  .hero-benefits {
    order: 3;
    width: 100%;
    box-sizing: border-box;
    padding: 1.25rem 1rem;
  }

  .hero-benefits li {
    display: flex;
    align-items: flex-start; /* Força o alinhamento no topo da primeira linha quando houver quebra */
    gap: 0.75rem;
    font-size: 1rem;
    text-align: left; /* Garante que o texto comece alinhado à esquerda na quebra */
  }

  .hero-benefits li::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-olive);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0; /* Impede que a bolinha amasse quando o texto quebrar */
  }
}

/* =========================
   SOBRE
========================= */
#sobre {
  background-color: var(--color-white);
  padding: var(--space-md, 4rem) 1.5rem;
}

.sobre-conteudo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.sobre-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: var(--space-md);
}

.sobre-logo img {
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
}

.sobre-textos {
  text-align: center;
  width: 100%;
}

.sobre-textos h2 {
  font-family: var(--font-titles);
  color: var(--color-primary);
  font-size: 2.5rem;
}

.sobre-textos p {
  font-family: var(--font-text);
  color: var(--color-primary-dark);
  line-height: 1.6;
  font-size: 1.15rem;
}

@media (min-width: 768px) {
  .sobre-conteudo {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 4rem;
  }
  
  .sobre-logo {
    flex: 1;
    max-width: 380px;
  }

  .sobre-logo img {
    max-width: 320px;
  }

  .sobre-textos {
    flex: 1.5;
    text-align: left;
  }
}

/* ===================================
   SEÇÃO DIFERENCIAIS / VALORES
=================================== */
.secao-diferenciais {
  padding: var(--space-md, 4rem) 1.5rem;
  background-color: var(--color-off-white, #ede8df);
  color: var(--color-marrom-terroso, #352118);
}

.diferenciais-cabecalho {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.diferenciais-tagline {
  font-family: var(--font-titles, 'Inter', sans-serif);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-verde-profundo, #2c3d26);
  font-weight: 600;
  display: block;
  margin-top: 2.5rem;
}

.diferenciais-titulo {
  font-family: var(--font-titles, serif);
  font-size: 2.5rem;
  color: var(--color-verde-profundo, #2c3d26);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.diferenciais-subtitulo {
  font-family: var(--font-text, 'Inter', sans-serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-marrom-terroso, #352118);
  opacity: 0.9;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.card-diferencial {
  background-color: var(--color-white, #ffffff);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(165, 155, 145, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card-diferencial:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.card-icone {
  width: 56px;
  height: 56px;
  background-color: var(--color-creme, #cfc9bd);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-verde-profundo, #2c3d26);
  margin-bottom: 1.25rem;
}

.card-diferencial h3 {
  font-family: var(--font-title, serif);
  font-size: 1.25rem;
  color: var(--color-verde-profundo, #2c3d26);
  margin-bottom: 0.75rem;
}

.card-diferencial p {
  font-family: var(--font-text, 'Inter', sans-serif);
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--color-marrom-terroso, #352118);
}

.diferenciais-cta {
  text-align: center;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(53, 33, 24, 0.1);
}

.diferenciais-cta p {
  font-family: var(--font-text, 'Inter', sans-serif);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.btn-diferencial {
  display: inline-block;
  background-color: var(--color-verde-profundo, #2c3d26);
  color: var(--color-off-white, #ede8df);
  font-family: var(--font-text, 'Inter', sans-serif);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-diferencial:hover {
  background-color: var(--color-vinho, #3d1515);
}

/* ===================================
   SEÇÃO IMÓVEIS EM DESTAQUE (CARROSSEL)
=================================== */
.imovel-galeria-section {
  padding: 3.5rem 0 2rem 0;
  width: 100%;
}

.galeria-cabecalho {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 1.75rem auto;
}

.galeria-cabecalho .secao-titulo {
  font-family: var(--font-titles, serif);
  font-size: 2.2rem;
  color: var(--color-verde-profundo, #2c3d26);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.galeria-instrucao {
  font-family: var(--font-text, 'Inter', sans-serif);
  font-size: 0.925rem;
  color: var(--color-cinza-fendi, #a59b91);
  display: block;
}

.carousel-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  overflow: hidden;
}

.galeria-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.75rem 0.5rem 1.5rem 0.5rem;
  scrollbar-width: none;
}

.galeria-carousel-track::-webkit-scrollbar {
  display: none;
}

.galeria-item {
  flex: 0 0 85%;
  max-width: 360px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/11;
  cursor: pointer;
  background-color: var(--color-creme, #cfc9bd);
  scroll-snap-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  text-decoration: none;
}

.galeria-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.galeria-item:hover img {
  transform: scale(1.05);
}

.galeria-badge {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  background-color: rgba(44, 61, 38, 0.9);
  color: var(--color-off-white, #ede8df);
  font-family: var(--font-text, 'Inter', sans-serif);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(44, 61, 38, 0.88);
  color: #ffffff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-btn:hover {
  background-color: var(--color-verde-profundo, #2c3d26);
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn.prev {
  left: 0.5rem;
}

.carousel-btn.next {
  right: 0.5rem;
}

@media (min-width: 768px) {
  .galeria-item {
    flex: 0 0 calc((100% - 3rem) / 3);
    max-width: 360px;
  }
}

/* Destaque ao final da seção */
.destaque-busca {
  margin-top: 2.5rem;
  padding: 2rem 1.5rem;
  background-color: var(--color-white, #ffffff);
  border-radius: 12px;
  border: 1px solid rgba(165, 155, 145, 0.25);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.destaque-busca-texto {
  font-family: var(--font-titles, serif);
  font-size: 1.35rem;
  color: var(--color-verde-profundo, #2c3d26);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.destaque-busca-texto strong {
  display: block;
  font-family: var(--font-text, 'Inter', sans-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-marrom-terroso, #352118);
  margin-top: 0.35rem;
}

.btn-destaque-busca {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-verde-profundo, #2c3d26);
  color: var(--color-off-white, #ede8df);
  font-family: var(--font-text, 'Inter', sans-serif);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-destaque-busca:hover {
  background-color: var(--color-vinho, #3d1515);
  transform: translateY(-2px);
}

/* ===================================
   SEÇÃO DEPOIMENTOS
=================================== */
.secao-depoimentos {
  padding: var(--space-md, 4rem) 1.5rem;
  background-color: var(--color-white, #ffffff);
  color: var(--color-marrom-terroso, #352118);
}

.depoimentos-cabecalho {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

.depoimentos-titulo {
  font-family: var(--font-titles, serif);
  font-size: 2.2rem;
  color: var(--color-verde-profundo, #2c3d26);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.depoimentos-subtitulo {
  font-family: var(--font-text, 'Inter', sans-serif);
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 4rem auto;
}

.card-depoimento {
  background-color: var(--color-off-white, #ede8df);
  padding: 2rem;
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.depoimento-aspas {
  font-family: var(--font-title, serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-verde-profundo, #2c3d26);
  opacity: 0.25;
  position: absolute;
  top: 10px;
  left: 15px;
}

.depoimento-texto {
  font-family: var(--font-text, 'Inter', sans-serif);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.depoimento-autor {
  border-top: 1px solid rgba(53, 33, 24, 0.15);
  padding-top: 1rem;
}

.depoimento-autor strong {
  display: block;
  font-family: var(--font-text, 'Inter', sans-serif);
  font-weight: 600;
  color: var(--color-verde-profundo, #2c3d26);
  font-size: 0.95rem;
}

.depoimento-autor span {
  font-size: 0.8rem;
  color: var(--color-cinza-fendi, #a59b91);
}

.depoimento-form-container {
  max-width: 650px;
  margin: 0 auto;
  background-color: var(--color-off-white, #ede8df);
  border: 1px solid var(--color-creme, #cfc9bd);
  padding: 1.5rem 2rem;
  border-radius: 12px;
}

.form-chamada {
  text-align: center;
  margin-bottom: 1.75rem;
}

.form-chamada h3 {
  font-family: var(--font-title, serif);
  font-size: 1.5rem;
  color: var(--color-verde-profundo, #2c3d26);
  margin-bottom: 0.5rem;
}

.form-chamada p {
  font-family: var(--font-text, 'Inter', sans-serif);
  font-size: 0.9rem;
  color: var(--color-marrom-terroso, #352118);
  opacity: 0.85;
}

.form-depoimento .form-grupo {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.form-depoimento label {
  font-family: var(--font-base, 'Inter', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-marrom-terroso, #352118);
  margin-bottom: 0.4rem;
}

.form-depoimento input,
.form-depoimento textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-creme, #cfc9bd);
  border-radius: 6px;
  background-color: #ffffff;
  font-family: var(--font-text, 'Inter', sans-serif);
  font-size: 0.9rem;
  color: var(--color-marrom-terroso, #352118);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-depoimento input:focus,
.form-depoimento textarea:focus {
  outline: none;
  border-color: var(--color-verde-profundo, #2c3d26);
  box-shadow: 0 0 0 3px rgba(44, 61, 38, 0.1);
}

.btn-enviar-depoimento {
  width: 100%;
  background-color: var(--color-verde-profundo, #2c3d26);
  color: var(--color-off-white, #ede8df);
  border: none;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-text, 'Inter', sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 0.5rem;
}

.btn-enviar-depoimento:hover {
  background-color: var(--color-vinho, #3d1515);
}

/* =========================
   RODAPÉ 
========================= */
#rodape {
  background-color: var(--color-marrom-terroso, #352118);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-sm);
}

.rodape-conteudo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.rodape-logo img {
  max-width: 160px;
  height: auto;
  display: block;
}

.rodape-contato h3 {
  font-family: var(--font-titles);
  font-size: 1.25rem;
  color: var(--color-accent);
  margin: 0 0 0.5rem 0;
}

.rodape-contato ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rodape-contato li, 
.rodape-contato a {
  font-family: var(--font-base);
  color: var(--color-white);
  text-decoration: none;
  line-height: 1.6;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.rodape-contato a:hover {
  color: var(--color-olive); 
}

.rodape-creditos {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(237, 232, 223, 0.15);
}

.rodape-creditos p {
  font-family: var(--font-base);
  font-size: 0.8rem;
  color: var(--color-fendy);
  margin: 0;
}

@media (min-width: 768px) {
  .rodape-conteudo {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}