header {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.0);
  border-bottom: none;
  z-index: 999;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.corretora {
  color: #5b6170;
}

.hero {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-color: #103633;
  text-align: center;
  padding: 120px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero img#logo {
  max-width: 450px;
  margin-bottom: 20px;
}

@media (max-width: 480px) {
  .hero img#logo {
  max-width: 250px;
  }
}

.hero h1 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 300;
  color: #FFFFFF;
  margin-bottom: 40px;
  font-family: "Montserrat-Bold", sans-serif;
  letter-spacing: 4px;
}

.hero p {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  margin-bottom: 40px;
  font-weight: 100;
  color: #998570;
  font-family: "Montserrat-Medium", sans-serif;
  letter-spacing: 4px;
}

.abertura {
  width: 80%;
  max-width: 900px;
  margin: 0px auto;
  padding: 60px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.abertura h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #000;
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: 20px;
  font-family: "Montserrat-Medium", sans-serif;
}

.abertura p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 0px;
  color: #555;
  line-height: 1.6;
  max-width: 700px;
  font-family: "Montserrat-Light", sans-serif;
}

.bairro {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin: 0px auto;
  gap: 24px;
  padding: 60px 16px;
  box-sizing: border-box;
  background-color: #f5f5f5;
}

.bairro-imagem {
  flex: 1;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bairro-imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.bairro-texto {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.bairro-texto h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #000;
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: 20px;
  font-family: "Montserrat-Medium", sans-serif;
}

.bairro-texto p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #555;
  margin-bottom: 0px;
  line-height: 1.5;
  font-family: "Montserrat-Light", sans-serif;
}

@media (max-width: 480px) {
  .bairro {
    flex-direction: column;
    gap: 16px;
  }

  .bairro-texto {
    text-align: left;
  }
}

.galeria {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 60px 16px;
  margin: 0px auto;
  background-color: #ffffff;
}

.galeria h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #000;
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: 20px;
  font-family: "Montserrat-Medium", sans-serif;
}

.galeria-container {
  width: 100%;
  max-width: 1200px;
  text-align: center;
  box-sizing: border-box;
}

.galeria-controles {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.galeria-controles button {
  padding: 6px 14px;
  border: none;
  border-radius: 8px;
  background: #ddd;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 500;
}

.galeria-controles button.ativo {
  background: #333;
  color: #fff;
}

.carousel {
  display: none;
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  aspect-ratio: 16 / 9;
}
.carousel.ativo { display: block; }

.carousel-inner { position: relative; width: 100%; height: 100%; }

.carousel-item {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
}
.carousel-item.ativo { display: block; }

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.legenda {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  color: #fff;
  width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  text-align: left;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.carousel-item.ativo .legenda { opacity: 1; }

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: bold;
  color: white;
  background: rgba(0,0,0,0.4);
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 36px;
  text-align: center;
  user-select: none;
}
.prev:hover, .next:hover { background: rgba(0,0,0,0.7); }
.prev { left: 10px; }
.next { right: 10px; }

.fullscreen {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  flex-direction: column;
  padding: 10px;
}

#close-fullscreen {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 28px;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 36px;
  text-align: center;
  z-index: 1010;
}

.fullscreen img {
  max-width: 95%;
  max-height: 80%;
  border-radius: 12px;
  object-fit: contain;
  margin-bottom: 10px;
}

.fullscreen-legenda {
  color: #fff;
  font-size: 16px;
  text-align: center;
}
.fullscreen.mostrar { display: flex; }

body, html { margin: 0; padding: 0; }

@media (max-width: 480px) {
  .galeria-container {
    min-width: auto;
    max-width: 100%;
    padding: 0 10px;
  }
  .legenda { font-size: 14px; padding: 4px 8px; }
  .prev, .next { width: 32px; height: 32px; font-size: 22px; line-height: 28px; }
}

.diferenciais {
  width: 100%;
  background-color: #103633;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.diferenciais-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

.diferenciais h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #FFFFFF;
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: 20px;
  font-family: "Montserrat-Medium", sans-serif;
}

.diferenciais .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: start; /* garante que o topo das colunas fique alinhado */
}

.diferenciais .col {
  text-align: left;
  color: #FFFFFF;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-family: "Montserrat-Light", sans-serif;
  line-height: 1.6;
}

.diferenciais ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.diferenciais li {
  margin-bottom: 10px;
}

.diferenciais p {
  display: block;
  font-size: clamp(0.8rem, 1.8vw, 1.0rem);
  color: #FFFFFF;
  margin-top: 12px;
  line-height: 1.4;
  text-align: left;
  font-family: "Montserrat-Light", sans-serif;
}

@media (max-width: 768px) {
  .diferenciais {
    padding: 40px 16px;
  }

  .diferenciais .row {
    grid-template-columns: 1fr;
  }

  .diferenciais h2 {
    text-align: center;
    margin-bottom: 24px;
  }
}

.final {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0px auto;
  gap: 24px;
  padding: 60px 16px;
  box-sizing: border-box;
  background-color: #FFFFFF;
}

.final-imagem {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.final-imagem img {
  width: 100%;
  height: auto;
  max-width: 300px;
  object-fit: cover;
  object-position: center
  display: block;
  border-radius: 12px;
}

.final-texto {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.final-texto h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #000;
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: 20px;
  font-family: "Montserrat-Medium", sans-serif;
}

.final-texto p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #555;
  margin-bottom: 0px;
  line-height: 1.5;
  font-family: "Montserrat-Light", sans-serif;
}

@media (max-width: 480px) {
  .final {
    flex-direction: column;
    gap: 16px;
  }

  .final-texto {
    text-align: left;
  }
}

.video {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 60px 16px;
  margin: 0px auto;
  background-color: #f2f2f2;
}

.video h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #000;
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: 20px;
  font-family: "Montserrat-Medium", sans-serif;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  aspect-ratio: 16 / 9;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.endereco {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 60px 16px;
  background-color: #ffffff;
  gap: 40px;
}

.endereco h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #2B2E39;
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: 20px;
  font-family: "Montserrat-Medium", sans-serif;
}

.endereco h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  color: #2B2E39;
  font-weight: 500;
  margin: 0;
  text-align: center;
  margin-top: 0px;
  margin-bottom: 0px;
  font-family: "Montserrat-Medium", sans-serif;
}

.endereco-imagem {
  width: 100%;
  max-width: 500px;
  position: relative;
}

.endereco-imagem img {
  width: 100%;
  height: auto;
  display: block;
}

.endereco-imagem-texto {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 1rem;
  font-family: "Montserrat-Medium", sans-serif;
}

.proximidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 900px;
  justify-items: start;
}

.proximidades-grid .item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: "Montserrat-Medium", sans-serif;
  color: #333;
  min-height: 70px;
}

.proximidades-grid .item .local {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.3;
}

.proximidades-grid .item .info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.proximidades-grid .item .info .tempo {
  font-size: 0.95rem;
}

.proximidades-grid .item .info .icone {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

@media (max-width: 480px) {
  .proximidades-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .proximidades-grid .item .info {
    justify-content: center;
    gap: 8px;
  }
}

.floating-box {
  position: fixed;
  top: 20px;
  right: 40px;
  width: 200px;
  background-color: #998570;
  color: #103633;
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: sans-serif;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .floating-box {
    right: 10px;
    width: 260px;
    font-size: 0.9rem;
    padding: 8px 14px;
  }
}

@media (max-width: 480px) {
  .floating-box {
    right: 8px;
    width: 240px;
    font-size: 0.85rem;
    padding: 8px 12px;
  }
}

.floating-box p {
  flex: 1;
  text-align: center;
  margin: 0;
}

.floating-box.show {
  transform: translateY(0);
  opacity: 1;
}

.floating-box.hide {
  transform: translateY(-20px);
  opacity: 0;
}

.floating-box .close-btn {
  background: transparent;
  border: none;
  color: #103633;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
  margin-left: 10px;
}

.floating-box .close-btn:hover {
  opacity: 0.7;
}

.card {
  position: fixed;
  top: 100px;
  right: 0;
  width: 300px;
  background-color: #EB194B;
  color: #fff;
  padding: 15px 20px;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-family: Arial, sans-serif;
  text-align: center;
  z-index: 9999;
  transition: all 0.4s ease;
  overflow: hidden;
}

.card.collapsed {
  width: 50px;
  height: 200px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseWidth 1.5s infinite;
  transition: width 0.3s ease;
  transform-origin: right;
}

@keyframes pulseWidth {
  0%, 100% { width: 50px; }
  50% { width: 55px; }
}

.card.collapsed .card-text,
.card.collapsed .card-cta,
.card.collapsed .card-text-legal {
  display: none;
}

.card.collapsed .vertical-text {
  display: block;
}

.collapse-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.collapse-btn .plus {
  display: none;
}

.collapse-btn .minus {
  display: block;
}

.card.collapsed .collapse-btn .plus {
  display: block;
}

.card.collapsed .collapse-btn .minus {
  display: none;
}

.collapse-btn:hover { opacity: 0.7; }

.vertical-text {
  display: none;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}

.card-text { font-weight: bold; font-size: 16px; margin-bottom: 10px; }
.card-text-legal { font-size: 10px; margin-top: 10px; }

.card-cta {
  display: inline-block;
  background-color: #fff;
  color: #EB194E;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}
.card-cta:hover { background-color: #ffeded; color: #C1000F; }

.texto-legal {
  width: 80%;
  margin: 30px auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.texto-legal p {
  font-size: clamp(0.8rem, 1.0vw, 1.0rem);
  color: #555;
}