:root {
  --primary-color: #9B8B6C;
  --secondary-color: #4A4A4A;
  --text-color: #333;
  --light-bg: #f5f5f5;
  --white: #ffffff;
  --dark-bg: #1a1a1a;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary-color);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

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

.section-padding {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--light-bg);
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: 5px;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 5px;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  display: block;
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title {
  font-size: 42px;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader-content {
  text-align: center;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--light-bg);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s ease-in-out infinite;
  margin: 0 auto 20px;
}

.loader-logo {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary-color);
}

.loader-logo span:first-child {
  font-size: 24px;
  letter-spacing: 2px;
}

.loader-logo span:last-child {
  font-size: 18px;
  color: var(--primary-color);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loader-hidden {
  opacity: 0;
  visibility: hidden;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 40px;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 18px;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-weight: 600;
  color: var(--text-color);
  position: relative;
  transition: color 0.3s;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

.nav-link:hover:after, .nav-link.active:after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--secondary-color);
  cursor: pointer;
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(155, 139, 108, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(155, 139, 108, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(155, 139, 108, 0);
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 350px;
  height: 100vh;
  background-color: var(--secondary-color);
  z-index: 1001;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header img {
  height: 30px;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.mobile-nav-link {
  color: var(--white);
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.mobile-nav-link.active {
  color: var(--primary-color);
}

.mobile-menu-links .btn-primary {
  margin-top: 20px;
  text-align: center;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
}

.hero-slide {
  position: relative;
  height: 100%;
  background-size: cover;
  background-position: center;
}

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

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  width: 100%;
  padding: 0 20px;
  z-index: 1;
}

.hero-title {
  font-size: 72px;
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: 400;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.btn-hero {
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator span {
  margin-bottom: 10px;
  font-size: 14px;
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid var(--white);
  border-radius: 15px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: var(--white);
  border-radius: 2px;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

@keyframes scroll {
  0% {
    opacity: 1;
    top: 5px;
  }
  100% {
    opacity: 0;
    top: 20px;
  }
}

.swiper-button-next, .swiper-button-prev {
  color: var(--white) !important;
}

.swiper-pagination-bullet {
  background: var(--white) !important;
  opacity: 0.7 !important;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
  opacity: 1 !important;
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.about .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.about .section-subtitle {
  font-size: 16px;
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.about .section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.about-description {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.8;
  color: var(--text-color);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.feature-box {
  background-color: var(--white);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(155, 139, 108, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
  color: var(--primary-color);
  font-size: 24px;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.highlight-item {
  text-align: center;
}

.highlight-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
  font-family: var(--font-heading);
}

.highlight-text {
  font-size: 16px;
  color: var(--secondary-color);
}

/* About Image */
.about-image {
  position: relative;
}

.image-container {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.main-image {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.image-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.image-badge i {
  font-size: 16px;
}

/* Responsividade */
@media (max-width: 768px) {
  /* No mobile, exibe apenas a versão simplificada */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-features {
    display: none; /* Escondendo os cards no mobile */
  }

  .about-highlights {
    display: none; /* Escondendo os destaques no mobile */
  }

  .about-description {
    font-size: 16px;
  }

  .highlight-number {
    font-size: 32px;
  }

  .highlight-text {
    font-size: 14px;
  }

  .about-image {
    text-align: center;
  }

  /* Responsividade para o "Empreendimento premiado" */
  .image-badge {
    font-size: 12px; /* Reduzindo o tamanho da fonte */
    padding: 6px 12px; /* Ajustando o padding para o tamanho reduzido */
    right: 10px; /* Ajustando a posição */
    top: 10px; /* Ajustando a posição */
  }
}


/* Versão desktop - exibe todos os elementos */
@media (min-width: 769px) {
  .about-features {
    display: grid; /* Cards de funcionalidades visíveis no desktop */
  }

  .about-highlights {
    display: grid; /* Destaques visíveis no desktop */
  }
}


/* Video Section */
.video-section {
  background-color: var(--secondary-color);
  color: var(--white);
}

.video-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.video-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.video-placeholder {
  height: 0;
  padding-bottom: 56.25%;
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  border: none;
  color: var(--white);
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: none;
}

.video-content h2 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 36px;
}

.video-content p {
  margin-bottom: 30px;
  font-size: 18px;
  line-height: 1.8;
}

/* Architecture Section */
.architecture-tabs {
  margin-top: 40px;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
}

.tab-btn:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

.tab-btn:hover, .tab-btn.active {
  color: var(--primary-color);
}

.tab-btn.active:after {
  width: 100%;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.main-tab-image {
  max-height: 600px; /* Altura máxima, mas pode ser menor */
  overflow: hidden;
}

.small-image {
  max-height: 300px; /* Altura máxima para as secundárias */
}

.tab-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.tab-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}
/* Oculta os textos e abas no mobile */
@media (max-width: 768px) {
  /* Exibe os botões das abas no mobile, mas em versão mais compacta */
  .architecture-tabs .tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
  }

  .tab-btn {
    font-size: 0.9rem;
    padding: 6px 12px;
    border: 1px solid #ccc;
    background: white;
    border-radius: 6px;
  }

  /* Oculta apenas os textos */
  .tab-text {
    display: none !important;
  }

  /* Oculta imagem de assinatura Dal Pian */
  .main-tab-image img[src*="assinatura-dalpian.png"] {
    display: none !important;
  }

  /* Imagens em destaque no mobile */
  .tab-images {
    width: 100%;
  }

  .secondary-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .secondary-images .small-image img,
  .tab-images .main-tab-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
  }
}

/*features */

@media (max-width: 768px) {
  .features-section {
    display: none !important;
  }
}


.feature-list {
  list-style: none;
  margin: 25px 0;
}

.feature-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list i {
  color: var(--primary-color);
}

.signature {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.signature img {
  height: 40px;
  margin-bottom: 10px;
}

.signature span {
  font-style: italic;
}

.materials {
  margin-top: 30px;
}

.materials h4 {
  font-size: 18px;
  margin-bottom: 15px;
}

.material-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.material-badge {
  background-color: rgba(155, 139, 108, 0.1);
  color: var(--primary-color);
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
}

.tab-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-tab-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.secondary-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.small-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(155, 139, 108, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
  font-size: 30px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--secondary-color);
  line-height: 1.6;
}
.main-tab-image img,
.small-image img {

  height: 100%;
  object-fit: cover;
  display: block;
}


/* Apartments Section */
.apartments-tabs {
  margin-top: 40px;
}

.apartment-tab-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.apartment-tab-btn {
  background: none;
  border: 1px solid #ddd;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s;
}

.apartment-tab-btn:hover, .apartment-tab-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.apartment-tab-content {
  display: none;
}

.apartment-tab-content.active {
  display: block;
}

.apartment-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.apartment-info h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.apartment-specs {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.spec-item i {
  color: var(--primary-color);
}

.apartment-features {
  list-style: none;
  margin: 25px 0;
}

.apartment-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.apartment-features i {
  color: var(--primary-color);
}

.apartment-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  height: 500px;
}

.main-planta {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: var(--light-bg);
  
}

.zoom-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
}

.zoom-in, .zoom-out, .zoom-reset {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.zoom-in:hover, .zoom-out:hover, .zoom-reset:hover {
  background-color: var(--secondary-color);
}
/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
/* Garante que a seção de lazer não seja afetada */
.leisure-section .gallery-view-btn {
  display: none !important; /* Esconde completamente se houver */
}

/* Estilos específicos para a galeria real */
.gallery-section .gallery-view-btn {
  display: flex;
  /* seus estilos normais */
}

.gallery-item {
  position: relative;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  color: var(--white);
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay h3 {
  transform: translateY(0);
}

.gallery-view-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s;
}

.gallery-item:hover .gallery-view-btn {
  transform: translateY(0);
  opacity: 1;
}

.gallery-cta {
  text-align: center;
  margin-top: 40px;
}

.gallery-swiper {
  padding-bottom: 40px;
}

.gallery-item {
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 12px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

/* Esconde o carrossel no desktop */
@media (min-width: 768px) {
  .gallery-swiper {
    display: none;
  }

  .gallery-grid {
    display: grid;  /* Mantém o grid visível no desktop */
  }
}

/* Exibe o carrossel no mobile */
@media (max-width: 768px) {
  .gallery-grid {
    display: none;  /* Esconde a galeria grid no mobile */
  }

  .gallery-swiper {
    display: block;  /* Exibe o carrossel no mobile */
  }
}


/* Leisure Section */
.leisure-tab-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.leisure-tab-btn {
  background: none;
  border: 1px solid #ddd;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s;
}

.leisure-tab-btn:hover, .leisure-tab-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.leisure-tab-content {
  display: none;
}

.leisure-tab-content.active {
  display: block;
}

.leisure-slider {
  padding: 20px;
}

.leisure-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.leisure-image {
  height: 250px;
  background-size: cover;
  background-position: center;
}

.leisure-info {
  padding: 20px;
}

.leisure-info h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.leisure-info p {
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.leisure-specs {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  font-size: 14px;
}

.leisure-specs span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-color);
}

.leisure-specs i {
  font-size: 16px;
}

.swiper-pagination-bullet {
  background: var(--text-color) !important;
  opacity: 0.3 !important;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
  opacity: 1 !important;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .leisure-tab-btn {
    padding: 8px 15px;
    font-size: 14px;
  }

  .leisure-card {
    margin-bottom: 15px;
  }

  .leisure-info h3 {
    font-size: 18px;
  }

  .leisure-info p {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .leisure-specs {
    flex-direction: column;
    align-items: flex-start;
    font-size: 12px;
  }

  .leisure-specs span {
    margin-bottom: 5px;
  }

  .leisure-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .leisure-tab-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .leisure-info h3 {
    font-size: 16px;
  }

  .leisure-info p {
    font-size: 12px;
  }

  .leisure-specs {
    font-size: 10px;
  }

  .leisure-image {
    height: 180px;
  }
}

/* Location Section */
.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.location-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.location-text p {
  margin-bottom: 30px;
  line-height: 1.8;
}

.location-features {
  margin: 30px 0;
}

.location-feature {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.location-feature i {
  width: 50px;
  height: 50px;
  background-color: rgba(155, 139, 108, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  font-size: 20px;
  flex-shrink: 0;
}

.location-feature h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.location-feature p {
  margin: 0;
  font-size: 14px;
  color: var(--secondary-color);
}

.location-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.location-buttons .btn {
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-map {
  height: 500px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-group label {
  position: absolute;
  top: -10px;
  left: 15px;
  background-color: var(--white);
  padding: 0 5px;
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 16px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}

.contact-form button[type="submit"] {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 10%;
  border-radius: 5px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(155, 139, 108, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  font-size: 20px;
  flex-shrink: 0;
}

.info-content h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.info-content a, .info-content p {
  color: var(--secondary-color);
  transition: color 0.3s;
}

.info-content a:hover {
  color: var(--primary-color);
}

.contact-social h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(155, 139, 108, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  font-size: 16px;
  transition: all 0.3s;
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25D366;
  color: var(--white);
  padding: 15px;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
}

.footer-logo p {
  margin-top: 20px;
  opacity: 0.8;
}

.footer-links h3, .footer-contact h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--white);
}


.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-copyright, .footer-developer {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-developer a {
  color: var(--primary-color);
  font-weight: 600;
}

/* WhatsApp Button Pulsante e Fixo */
.whatsapp-button-pulsante {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  z-index: 9999;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
  animation: pulse 2s infinite, bounce 1.5s infinite;
  transition: all 0.3s ease;
}

.whatsapp-button-pulsante:hover {
  transform: scale(1.1);
  animation: none; /* Remove a animação no hover */
}

/* Animação de pulsação */
@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Animação de bounce (saltinho) */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Efeito de brilho */
.whatsapp-button-pulsante::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  opacity: 0;
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* Gallery Lightbox */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-image {
  max-height: 80vh;
  max-width: 100%;
  display: block;
  border-radius: 5px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 30px;
  cursor: pointer;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
}

.lightbox-prev:hover, .lightbox-next:hover {
  background-color: var(--primary-color);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .section-title {
    font-size: 36px;
  }
}

@media (max-width: 992px) {
  .about-grid, .tab-grid, .apartment-details, .location-content, .contact-content {
    grid-template-columns: 1fr;
  }
  
  .apartment-image {
    height: 400px;
    order: -1;
  }
  
  .location-map {
    height: 400px;
  }
  
  .video-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .video-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .about-features, .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tab-buttons, .apartment-tab-buttons, .leisure-tab-buttons {
    flex-wrap: wrap;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 28px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .about-features, .features-grid, .about-highlights {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .lightbox-close {
    top: 10px;
    right: 10px;
  }
}

/* Container principal do vídeo */
.video-wrapper {
  position: relative;
  width: 100%;
  height: 500px; /* Ajuste a altura conforme necessário */
  overflow: hidden;
  border-radius: 8px; /* Opcional: bordas arredondadas */
}

/* Estilo da imagem de fundo */
.video-placeholder {
  width: 100%;
  height: 100%;
  cursor: pointer; /* Mostra que é clicável */
}/* Estilos para a seção de localização */
.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.location-map {
  position: relative;
  height: 100%;
  min-height: 400px; /* Altura mínima */
}

.full-size-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsivo para telas menores */
@media (max-width: 768px) {
  .location-content {
    grid-template-columns: 1fr;
  }
  
  .location-map {
    min-height: 300px;
    order: -1; /* Opcional: coloca a imagem acima do texto em mobile */
  }
}

/* Botão de play */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  color: white;
  font-size: 20px;
  z-index: 10;
  transition: 0.3s;
}

.video-play-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* Iframe do YouTube (ocupa todo o espaço) */
.youtube-iframe-wrapper {
  width: 100%;
  height: 100%;
}

.youtube-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
}

/* Container principal do Hero */
.hero {
  width: 100%;
  height: 100vh; /* Ocupa a tela inteira */
  position: relative;
}

/* Estilo para cada slide */
.hero-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Overlay escuro para melhor legibilidade do texto */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Ajuste a opacidade conforme necessário */
}

/* Conteúdo centralizado */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 10;
  width: 90%;
  max-width: 1200px;
}

/* Títulos */
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Botão */
.btn-hero {
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 30px;
}

/* Indicador de scroll (opcional) */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  z-index: 10;
  text-align: center;
}
.hero-slide {
  width: 100%;
  height: 100vh !important; /* Força altura visível */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Estilos responsivos */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem; /* ou ajuste conforme o design */
    text-align: center;
    padding: 0 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    text-align: center;
    padding: 0 1rem;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }
}
.sidebar-button {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
}

@media (max-width: 768px) {
  .sidebar-button {
    width: 40px;
    height: 40px;
  }
}

.form-success {
  position: relative;
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-success.show {
  opacity: 1;
}

.success-content {
  text-align: center;
}

.success-content i {
  font-size: 50px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.success-content h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* escurece o vídeo para melhorar a leitura */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px;
}

.header {
  transition: top 0.3s ease, opacity 0.3s ease;
  top: -100px; /* fora da tela no início */
  opacity: 0;
}

.header.visible {
  top: 0;
  opacity: 1;
}
.contact-content {
  display: flex;
  justify-content: center;  /* centraliza horizontalmente */
}

.contact-form {
  max-width: 600px;         /* define uma largura máxima */
  width: 100%;              /* faz o formulário ocupar toda a largura disponível até 600px */
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-video-desktop,
.hero-video-mobile {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video-desktop video,
.hero-video-mobile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Por padrão, mostra só o desktop */
.hero-video-mobile {
  display: none;
}

/* No mobile, inverte */
@media (max-width: 768px) {
  .hero-video-desktop {
    display: none;
  }
  .hero-video-mobile {
    display: block;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* escurece o vídeo */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  padding: 0 20px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.btn-hero {
  padding: 1rem 2rem;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-hero:hover {
  background-color: #eee;
}
