:root {
  --verde: #00854a;
  --laranja: #f7941d;
  --texto-principal: #333;
  --fundo-claro: #fafafa;
}

/* BARRA TOPO FIXA */
/* BARRA TOPO SUPER FINA */
.barra-topo {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: white;
  border-bottom: 1px solid #eee;
  box-shadow: 0 1px 5px rgba(0,0,0,0.03);
  z-index: 1000;
  height: 48px; /* 🔥 define altura exata */
  display: flex;
  align-items: center;
}

.barra-conteudo {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  height: 100%;
}

.link-barra {
  color: var(--texto-principal);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 8px;
  transition: color 0.2s ease;
  line-height: 1;
}

.link-barra:hover {
  color: var(--laranja);
}

/* Compensar altura da barra no conteúdo */
.hero {
  margin-top: 48px;
}

.link-barra:hover {
  color: var(--laranja);
}


/* 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/sc.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); }
}
