:root {
  --verde: #00854a;
  --laranja: #f7941d;
  --texto-principal: #333;
  --fundo-claro: #fafafa;
}

/* =====================================================
   NAVEGAÇÃO REFINADA COM SUBMENU
   ===================================================== */

/* Fontes sofisticadas */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Cormorant+Garamond:wght@400;500;600&display=swap');

/* ======== BARRA FIXA AJUSTADA ======== */
.barra-topo {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 58px;
  background: #f5f5f5;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  z-index: 1000;
}

/* conteúdo interno da barra */
.barra-conteudo {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 22px;
  height: 58px;
  box-sizing: border-box;
}

/* logo centralizado */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px; /* altura ideal pro logo pequeno */
}

.logo-img:hover {
  transform: scale(1.05);
}

/* botão de menu refinado */
.menu-toggle {
  width: 44px;
  height: 44px;
  background: #1a1a1a;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: #000;
}

.menu-toggle.ativo span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.ativo span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.ativo span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ======== MENU LATERAL ======== */
.menu-lateral {
  position: fixed;
  top: 0; right: -400px;
  width: 360px;
  height: 100vh;
  background: #fff;
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  transition: right 0.4s ease;
  z-index: 999;
  overflow-y: auto;
  padding: 100px 0 50px;
}
.menu-lateral.ativo { right: 0; }

/* itens */
.menu-item {
  display: block;
  padding: 18px 45px;
  color: #2c2c2c;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.menu-item:hover {
  background: #fafafa;
  color: #000;
  padding-left: 55px;
}

/* submenu */
.menu-item-com-submenu::after {
  content: '›';
  float: right;
  color: #6b6b6b;
  transition: transform 0.3s ease;
}
.menu-item-com-submenu.aberto::after { transform: rotate(90deg); }

.submenu {
  max-height: 0;
  overflow: hidden;
  background: #f8f8f8;
  transition: max-height 0.4s ease;
}
.submenu.aberto { max-height: 500px; }

.submenu-item {
  display: block;
  padding: 14px 45px 14px 65px;
  color: #4a4a4a;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}
.submenu-item:hover {
  background: #fff;
  color: #000;
  padding-left: 70px;
}

/* contato */
.menu-contato {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 45px 40px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.08);
  background: linear-gradient(135deg, #fafafa, #fff);
}
.menu-contato h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.btn-contato {
  display: inline-block;
  padding: 14px 34px;
  background: #1a1a1a;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-contato:hover {
  background: #000;
  transform: scale(1.05);
}

/* compensação para o conteúdo */
main, section {
  padding-top: 58px;
}




/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; background: #fff; color: var(--texto-principal); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }


.section-title {
  text-align: center;
  margin-bottom: 10px;
  color: black;
}

.section-description {
  text-align: center;
  margin: 0 0 30px;
  font-size: 1rem;
  color: #666;
}

.hero {
  background: url('../images/moinhos.jpg') center/cover no-repeat;
  height: 500px; /* ajuste conforme o visual desejado */
}

.hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 140px 20px 100px;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.15); /* pode remover */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: bold;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f1f1f1;
}
.hero button {
  background: #f7941d; /* seu laranja institucional */
  color: white;
  padding: 14px 30px;
  border: none;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
.hero button:hover {
  background: #e27d10;
}


/* FIXED CTA */
.fixed-cta {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--laranja);
  color: white;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  display: none;
  z-index: 999;
}

/* UNIDADES */

.section-title {
  text-align: center;
  color: black;
  font-size: 1.8rem;
  margin-bottom: 10px;
  margin-top: 60px; /* 👉 margem superior para afastar da seção anterior */
}

.section-description {
  text-align: center;
  font-size: 1rem;
  color: #666;
  max-width: 600px;
  margin: 10px auto 30px auto; /* 👉 margem entre título e elementos abaixo */
}


.regions-circles {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 20px;
  padding: 10px 0 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  flex-wrap: nowrap;  /* 🔑 ESSENCIAL: impede quebra de linha */
}

.region-circle {
  flex: 0 0 auto;
  min-width: 140px;
  max-width: 160px;
  scroll-snap-align: start;
  text-align: center;
  background-color: transparent;
}

.circle-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin: auto;
  border: 3px solid #00c853;
  transition: transform 0.3s ease;
}

.regions-circles::-webkit-scrollbar {
  display: none;
}

.region-circle h3 {
  font-size: 1rem;
  color: var(--verde, #00c853);
  margin-top: 10px;
}

.region-circle:hover .circle-img {
  transform: scale(1.05);
}

.cta-botao-centro {
  text-align: center;
  margin-top: 40px;
}

.cta-destaque {
  display: inline-block;
  background: linear-gradient(to right, #00c853, #00854a); /* degrade verde institucional */
  color: white;
  font-size: 1.05rem;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 14px rgba(0, 133, 74, 0.3);
}

.cta-destaque:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 133, 74, 0.4);
  background: linear-gradient(to right, #00854a, #00c853);
}


.cta-destaque::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.05);
  opacity: 0;
  transition: opacity 0.3s ease;
}


.cta-destaque:hover::before {
  opacity: 1;
}


/* Desktop - centraliza */
@media (min-width: 768px) {
  .regions-circles {
    justify-content: center;
    overflow-x: visible;
  }
}


.imoveis-carrossel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scroll-behavior: smooth;
}

.imoveis-carrossel::-webkit-scrollbar {
  display: none; /* oculta a barra de rolagem em navegadores webkit */
}
.card {
  flex: 0 0 auto;
  width: 280px;
  scroll-snap-align: start;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.02);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-titulo {
  font-size: 1rem;
  font-weight: bold;
  color: #007c47;
  min-height: 48px;
}

.icones-imovel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
  font-size: 0.88rem;
  color: #444;
}

.icones-imovel div {
  background: #f1f1f1;
  padding: 5px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.preco {
  font-weight: bold;
  color: #000000;
  font-size: 1rem;
  margin-top: 8px;
}

.botao-card {
  margin-top: auto;
  display: block;
  width: 100%;
  text-align: center;
  background: #f7941d;
  color: white;
  padding: 12px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

.botao-card:hover {
  background: #e68314;
}


/* Desktop: centraliza o carrossel */
@media (min-width: 768px) {
  .imoveis-carrossel {
    justify-content: center;
  }
}

.section-separator {
  height: 4px;
  width: 200px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--laranja), var(--verde));
}

.section-separator {
  height: 4px;
  max-width: 200px;
  width: 100%;
  margin: 30px auto;
  margin-bottom: 50px;;
  margin-top: -20px;;
  border-radius: 999px;
  background: linear-gradient(to right, var(--laranja), var(--verde));
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

/* FORMULÁRIO */
form {
  display: grid;
  gap: 15px;
  max-width: 600px;
  margin: auto;
}
input, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}
button[type="submit"] {
  background: var(--laranja);
  color: white;
  padding: 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
button[type="submit"]:hover {
  background: #e68314;
}
.msg-sucesso {
  text-align: center;
  color: var(--verde);
  margin-top: 10px;
}

/* RODAPÉ */
footer {
  text-align: center;
  background: #cccccc;
  padding: 20px;
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

@keyframes shine {
  0% {
    box-shadow: 0 0 0 rgba(0, 200, 83, 0); /* transparente no início */
  }
  50% {
    box-shadow: 0 0 18px rgba(0, 200, 83, 0.7); /* brilho verde mais forte */
  }
  100% {
    box-shadow: 0 0 0 rgba(0, 200, 83, 0);
  }
}

.whatsapp-float {
  /* seus estilos já existentes */
  animation: shine 2.5s infinite;
  transition: transform 0.3s ease;
}


/* RESPONSIVO */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .depoimentos { flex-direction: column; }
}


.marquee-container {
  overflow: hidden;
  background: #000000; /* leve tom de fundo puxado para o laranja */
  border-top: 1px solid #f1f1f1;
  border-bottom: 1px solid #f1f1f1;
  padding: 10px 0;
}

.marquee-content {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: scrollMarquee 20s linear infinite;
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
}

.marquee-content span {
  flex: none;
}

/* Animação horizontal */
@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}


.popup-lead {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: white;
  padding: 30px 20px;
  max-width: 300px;
  width: 90%;
  border-radius: 10px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  animation: fadeInUp 0.3s ease-out;
}

.popup-content h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.popup-content p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.popup-content a {
  background: #25d366;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

.popup-content a:hover {
  background: #1da851;
}

.popup-close {
  position: absolute;
  top: 10px; right: 15px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* Animação */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
