/* ========================================
   Reset e Estilos Globais
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: 0.3s ease;
}

/* ========================================
   Botões
   ======================================== */
.btn {
  display: inline-block;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
}

.btn-primary {
  background-color: #007bff;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #218838;
  transform: scale(1.05);
}

.btn-light {
  background-color: #ffffff;
  color: #28a745;
}

.btn-light:hover {
  background-color: #f0f0f0;
  transform: scale(1.05);
}

/* ========================================
   Cabeçalho
   ======================================== */
.header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(14, 76, 146, 0.1);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  padding: 18px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.header-left,
.header-right {
  flex: 1;
}

.header-center {
  flex: 1;
  text-align: center;
}

.header-right {
  text-align: right;
}

.header-left span,
.header-right span {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid rgba(14, 76, 146, 0.12);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8fc 100%);
  color: #28435c;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.header-left span {
  justify-content: flex-start;
  font-weight: 700;
  color: #0f4c81;
}

.header-center img {
  max-height: 80px; /* Tamanho padrão da logomarca */
  width: auto;
}

.header-center img {
  max-height: 88px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding-top: 20vh;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.badge {
  display: inline-block;
  background-color: #ffc107;
  color: #333333;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: #ffffff;
}

.hero-campanha {
  color: #ffffff;
  font-size: 28px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h3 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 600;
}

.hero p {
  font-size: 20px;
  opacity: 0.9;
}

.hero-countdown {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 22px 0 10px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(9, 18, 33, 0.35);
  backdrop-filter: blur(10px);
}

.hero-countdown-label {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-countdown-date {
  margin: -6px 0 0;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.hero-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 14px;
}

.hero-countdown-item {
  padding: 16px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-countdown-item strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 8px;
}

.hero-countdown-item span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ========================================
   Seção de Preço
   ======================================== */
.price-section {
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.price-section h2 {
  font-size: 32px;
  color: #333333;
  margin-bottom: 15px;
}

.lote-info {
  font-size: 18px;
  color: #666666;
  margin-bottom: 30px;
}

.price {
  margin-bottom: 40px;
}

.price-label {
  display: block;
  font-size: 16px;
  color: #666666;
  margin-bottom: 5px;
}

.price-value {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: #007bff;
  font-family: "Montserrat", sans-serif;
}

.price-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  padding: 16px 20px 24px;
}

.carousel-slide.is-active {
  opacity: 1;
}

.price-description {
  max-width: 520px;
  margin: 20px auto 30px;
  color: #555555;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 999px;
  background-color: #c9d7cc;
  cursor: pointer;
}

.carousel-dot.is-active {
  width: 36px;
  background-color: #28a745;
}

/* ========================================
   Seção de Benefícios
   ======================================== */
.benefits-section {
  padding: 60px 20px;
  background-color: #f5f5f5;
}

.benefits-section h2 {
  font-size: 32px;
  color: #333333;
  text-align: center;
  margin-bottom: 40px;
}

.benefits-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.benefits-list {
  list-style: none;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 18px;
  color: #333333;
  padding: 15px;
  margin-bottom: 10px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.benefits-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.benefits-map {
  min-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.benefits-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: #28a745;
  color: #ffffff;
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
}

/* ========================================
   Seção Descritiva
   ======================================== */
.description-section {
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.description-section h2 {
  font-size: 32px;
  color: #333333;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 20px;
  color: #666666;
  margin-bottom: 40px;
  font-style: italic;
}

.description-content {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: left;
}

.description-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #555555;
}

/* ========================================
   Galeria de Fotos
   ======================================== */
.gallery-section {
  padding: 80px 20px;
  background-color: #fafafa;
  text-align: center;
}

.gallery-section h2 {
  font-size: 32px;
  color: #333333;
  margin-bottom: 50px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* ========================================
   Seção CTA Final
   ======================================== */
.cta-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
  text-align: center;
}

.cta-section h2 {
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 50px;
  text-transform: uppercase;
}

.cta-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
  align-items: stretch;
}

.cta-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  min-height: 260px;
}

.cta-box h3 {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 10px;
}

.cta-box p {
  font-size: 16px;
  color: #ffffff;
  opacity: 0.9;
  margin-bottom: 25px;
  min-height: 48px;
}

/* ========================================
   Rodapé
   ======================================== */
.footer {
  background-color: #1a1a1a;
  padding: 40px 20px;
  text-align: center;
}

.footer-address {
  color: #cccccc;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-link {
  display: inline-block;
  color: #cccccc;
  font-size: 14px;
  margin-bottom: 20px;
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.copyright {
  color: #888888;
  font-size: 14px;
}

/* ========================================
   Responsividade
   ======================================== */
@media (max-width: 768px) {
  .header {
    padding: 14px 0;
  }

  .header-content {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .header-left,
  .header-center,
  .header-right {
    width: 100%;
    text-align: center;
  }

  .header-center {
    order: -1;
  }

  .header-left span,
  .header-right span {
    justify-content: center;
    width: 100%;
    min-height: auto;
    padding: 12px 16px;
  }

  .header-center img {
    max-height: 74px;
  }

  .hero {
    min-height: 500px;
  }

  .hero h2 {
    font-size: 24px;
  }

  .hero h3 {
    font-size: 20px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-countdown {
    width: 100%;
    max-width: 420px;
    padding: 18px;
  }

  .hero-countdown-label {
    font-size: 15px;
  }

  .hero-countdown-grid {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .hero-countdown-item strong {
    font-size: 28px;
  }

  .price-section h2,
  .description-section h2,
  .gallery-section h2 {
    font-size: 24px;
  }

  .price-value {
    font-size: 36px;
  }

  .carousel-slide {
    padding: 12px 12px 24px;
  }

  .btn {
    padding: 12px 30px;
    width: 100%;
    max-width: 300px;
  }

  .benefits-wrapper {
    grid-template-columns: 1fr;
  }

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

  .cta-content {
    grid-template-columns: 1fr;
  }

  .logo h1 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .header-left span,
  .header-right span {
    font-size: 13px;
    border-radius: 16px;
  }

  .hero h2 {
    font-size: 20px;
  }

  .hero h3 {
    font-size: 18px;
  }

  .hero-countdown {
    padding: 16px 14px;
  }

  .hero-countdown-grid {
    grid-template-columns: 1fr;
  }

  .badge {
    font-size: 12px;
    padding: 6px 15px;
  }

  .section {
    padding: 50px 15px;
  }
}

/* Animação para a logomarca */
@keyframes pulse-logo {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* ========================================
   Botão Flutuante do WhatsApp
   ======================================== */
@keyframes pulse-whatsapp {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 4px 4px 8px #888;
  animation: none; /* Pausa a animação de pulso no hover */
}

.whatsapp-float:active {
  transform: scale(1.05);
  box-shadow: 1px 1px 2px #999;
}

/* Animação para o botão de contato */
@keyframes pulse-button {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 20px rgba(40, 167, 69, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

.hero .btn-primary {
  animation: pulse-button 2s infinite;
}

.hero .btn-primary:hover {
  animation: none;
}

/* ========================================
   Modal Popup - Formulário de Contato
   ======================================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background-color: #ffffff;
  border-radius: 15px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
  color: #ffffff;
  padding: 20px 30px;
  border-radius: 15px 15px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 22px;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.modal-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
  padding: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-label {
  display: block;
  font-weight: 600;
  color: #333333;
  margin-bottom: 12px;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #28a745;
}

.form-group input.input-erro {
  border-color: #dc3545;
}

.erro-mensagem {
  display: block;
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
  font-weight: 500;
}

.form-group select {
  cursor: pointer;
  background-color: #ffffff;
}

.form-group select:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.broker-options {
  display: grid;
  gap: 15px;
}

.broker-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  background-color: #f8f9fa;
  cursor: pointer;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
}

.broker-card:hover {
  border-color: #28a745;
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.12);
  transform: translateY(-2px);
}

.broker-card input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #28a745;
}

.broker-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.broker-card-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.broker-card-content strong {
  color: #1f2933;
  font-size: 15px;
}

.broker-card:has(input[type="radio"]:checked) {
  border-color: #28a745;
  background: linear-gradient(135deg, #f4fbf6 0%, #e6f6ea 100%);
  box-shadow: 0 10px 24px rgba(40, 167, 69, 0.18);
}

.lote-info {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-top: 15px;
  display: none;
}

.lote-info.active {
  display: block;
}

.lote-info h4 {
  color: #28a745;
  font-size: 16px;
  margin-bottom: 10px;
}

.lote-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lote-info ul li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
}

.text-promo {
  color: #dc3545 !important;
  font-weight: 600;
}

#info-preco {
  color: #000000 !important;
  font-weight: 700;
}

.lote-info ul li:last-child {
  border-bottom: none;
  font-weight: 700;
  color: #28a745;
  font-size: 16px;
}

.lote-info ul li span:first-child {
  color: #666666;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background-color: #28a745;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
}

.btn-submit:hover {
  background-color: #218838;
}

.btn-submit:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

/* Responsividade do Modal */
@media (max-width: 768px) {
  .modal-container {
    max-height: 95vh;
  }

  .modal-header {
    padding: 15px 20px;
  }

  .modal-header h2 {
    font-size: 18px;
  }

  .modal-body {
    padding: 20px;
  }

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

  .broker-card {
    align-items: center;
    justify-content: center;
  }
}

/* ========================================
   Modal Vídeo
   ======================================== */
.modal-video-container {
  max-width: 800px;
}

.modal-video-container video {
  border-radius: 8px;
  background: #000;
}

@media (max-width: 768px) {
  .modal-video-container {
    max-width: 95%;
  }
}
