/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Clauss brand colors - using white as primary */
  --color-background: #09131a;
  --color-foreground: #ffffff;
  --color-primary: #ffffff;
  --color-primary-foreground: #09131a;
  --color-secondary: #f1f5f9;
  --color-muted: #cbd5e1;
  --color-border: #cbd5e1;
  --color-accent: #ffffff;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Border radius */
  --radius: 0.5rem;
  --radius-lg: 0.75rem;

  /* Transitions */
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-foreground);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(9, 19, 26, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(203, 213, 225, 0.1);
  transition: var(--transition);
}

.nav.scrolled {
  background-color: rgba(9, 19, 26, 0.95);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.nav-logo .logo {
  height: 4rem;
  width: auto;
}

.nav-menu {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link.admin-link {
  color: var(--color-accent);
  font-weight: 600;
}

.nav-cta {
  display: none;
}

@media (min-width: 768px) {
  .nav-cta {
    display: block;
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.hamburger {
  width: 1.5rem;
  height: 2px;
  background-color: var(--color-foreground);
  position: relative;
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 1.5rem;
  height: 2px;
  background-color: var(--color-foreground);
  transition: var(--transition);
}

.hamburger::before {
  top: -0.5rem;
}

.hamburger::after {
  bottom: -0.5rem;
}

.nav-toggle.active .hamburger {
  background-color: transparent;
}

.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* Mobile Menu */
.nav-menu.mobile-active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 4rem;
  left: 0;
  right: 0;
  background-color: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem;
  gap: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-foreground);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-primary);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

.btn-icon-left {
  margin-right: 0.5rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(51, 65, 85, 0.85), rgba(51, 65, 85, 0.75), rgba(51, 65, 85, 0.65));
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 2rem 0;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.hero-badge {
  opacity: 0;
}

.badge-text {
  color: var(--color-primary);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-weight: 300;
  color: var(--color-foreground);
  opacity: 0;
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
  display: block;
}

.hero-description {
  font-size: 1.25rem;
  color: #e2e8f0;
  line-height: 1.6;
  max-width: 42rem;
  opacity: 0;
  text-align: center;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  opacity: 0;
  width: 100%;
  max-width: 800px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 300;
  color: var(--color-foreground);
}

.stat-label {
  font-size: 0.875rem;
  color: #cbd5e1;
}

.hero-images {
  display: none;
  position: relative;
  opacity: 0;
}

@media (min-width: 1024px) {
  .hero-images {
    display: flex;
    justify-content: flex-end;
  }
}

.hero-image-main {
  width: 24rem;
  height: 24rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-small {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 8rem;
  height: 8rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.hero-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
}

.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid var(--color-muted);
  border-radius: 1.25rem;
  display: flex;
  justify-content: center;
}

.scroll-wheel {
  width: 0.25rem;
  height: 0.75rem;
  background-color: var(--color-muted);
  border-radius: 0.125rem;
  margin-top: 0.5rem;
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(0.5rem);
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

/* Services Section */
.services-section {
  padding: 6rem 0;
  background-color: rgba(241, 245, 249, 0.05);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  color: var(--color-primary);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--color-foreground);
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 48rem;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background-color: var(--color-background);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: rgba(255, 255, 255, 0.2);
}

.service-icon svg {
  color: var(--color-primary);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.75rem;
}

.service-description {
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.bullet {
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* Projects Section */
.projects-section {
  padding: 6rem 0;
}

.section-header-flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .section-header-flex {
    flex-direction: row;
    align-items: flex-end;
  }
}

.projects-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-card {
  background-color: var(--color-background);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.project-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 16rem;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.project-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-available {
  background-color: #dcfce7;
  color: #166534;
}

.status-completed {
  background-color: #dbeafe;
  color: #1e40af;
}

.status-sold {
  background-color: #f3f4f6;
  color: #374151;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.project-card:hover .project-title {
  color: var(--color-primary);
}

.project-location {
  display: flex;
  align-items: center;
  color: var(--color-muted);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.project-location svg {
  margin-right: 0.25rem;
}

.project-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.project-detail {
  display: flex;
  align-items: center;
  color: var(--color-muted);
}

.project-detail svg {
  margin-right: 0.5rem;
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-price {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background-color: rgba(241, 245, 249, 0.02);
}

.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.about-image-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.about-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.05);
}

.about-name-overlay {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background-color: rgba(255, 255, 255, 0.95);
  color: #09131a;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  z-index: 10;
}

@media (max-width: 768px) {
  .about-name-overlay {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    top: 1rem;
    left: 1rem;
  }
}

.about-badge-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.badge-number {
  font-size: 1.875rem;
  font-weight: 300;
}

.badge-text-small {
  font-size: 0.875rem;
}

.values-section {
  margin-top: 6rem;
}

.values-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-foreground);
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background-color: var(--color-background);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-icon svg {
  color: var(--color-primary);
}

.value-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.75rem;
}

.value-description {
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background-color: rgba(241, 245, 249, 0.05);
}

/* Added simplified contact grid for WhatsApp and Instagram only */
.contact-simple-grid {
  display: grid;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-simple-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-simple-card {
  background-color: var(--color-background);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  transition: var(--transition);
}

.contact-simple-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.contact-simple-icon {
  width: 5rem;
  height: 5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-simple-icon svg {
  color: var(--color-primary);
}

.contact-simple-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-foreground);
}

.contact-simple-text {
  font-size: 1.125rem;
  color: var(--color-muted);
}

.contact-simple-card .btn {
  margin-top: 0.5rem;
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 2fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background-color: var(--color-background);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-card {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  color: var(--color-primary);
}

.contact-details {
  flex: 1;
}

.contact-title {
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.5rem;
}

.contact-text {
  color: var(--color-muted);
  font-size: 0.875rem;
}

.contact-link {
  color: var(--color-primary);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: inline-block;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-form-wrapper {
  display: flex;
}

.contact-form-card {
  background-color: var(--color-background);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  width: 100%;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-foreground);
  margin-bottom: 0.5rem;
}

.form-input {
  padding: 0.75rem;
  background-color: rgba(241, 245, 249, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-foreground);
  font-size: 0.875rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 8rem;
}

/* Footer */
.footer {
  background-color: #ffffff;
  color: #09131a;
  padding: 4rem 0 0;
}

.footer-container {
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-company {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  height: 120px;   /* altura no desktop */
  width: 350px;     /* mantém a proporção */
  display: block;
  margin-bottom: 15px;
}

/* Ajuste para telas menores (mobile) */
@media (max-width: 768px) {
  .footer-logo {
    height: auto;   /* altura reduzida no mobile */
    margin: 0 auto 18px auto;
  }
}


.footer-description {
  color: #09131a;
  line-height: 1.6;
  max-width: 28rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(238, 146, 42, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background-color: rgba(238, 146, 42, 0.2);
}

.social-link svg {
  color: #ee922a;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #64748b;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: #ee922a;
}

.footer-link.admin-footer-link {
  color: #ee922a;
  font-weight: 600;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  color: #64748b;
  font-size: 0.875rem;
}

.footer-contact-item svg {
  color: #ee922a;
  margin-right: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  color: #64748b;
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-link {
  color: #64748b;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-legal-link:hover {
  color: #ee922a;
}

.page-hero {
  padding: 8rem 0 4rem;
  background-color: var(--color-background);
  position: relative;
  text-align: center;
}

.page-hero-content {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-hero .section-badge {
  color: var(--color-primary);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.page-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-foreground);
  margin-bottom: 1rem;
}

.page-title .text-primary {
  color: var(--color-primary);
  display: block;
}

.page-description {
  font-size: 1.125rem;
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 42rem;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .page-hero {
    padding: 6rem 0 3rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .page-description {
    font-size: 1rem;
  }
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
    padding: 6rem 0 4rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }
}
/* ===== 1. FILTERS SECTION (Filtros de Imóveis) ===== */
.filters-section {
  padding: 3rem 0;
  background-color: rgba(241, 245, 249, 0.02);
  border-bottom: 1px solid rgba(203, 213, 225, 0.1);
}

.filters-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .filters-container {
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
  }
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  max-width: 300px;
}

.filter-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-foreground);
}

.filter-select {
  padding: 0.75rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-foreground);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.filter-select option {
  background-color: var(--color-background);
  color: var(--color-foreground);
}

/* ===== 2. PROPERTIES SECTION ===== */
.properties-section {
  padding: 4rem 0 6rem;
}

.properties-count {
  margin-bottom: 2rem;
  text-align: center;
}

.properties-count p {
  font-size: 1.125rem;
  color: var(--color-muted);
}

.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  gap: 1rem;
}

.no-results svg {
  color: var(--color-muted);
  opacity: 0.5;
}

.no-results h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-foreground);
}

.no-results p {
  color: var(--color-muted);
  max-width: 28rem;
}

/* ===== 3. PROPERTIES GRID ===== */
.properties-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== 4. PROPERTY CARD (Cards de imóveis) ===== */
.property-card {
  background-color: var(--color-background);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.property-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.property-image {
  position: relative;
  overflow: hidden;
  height: 16rem;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

/* ===== 5. PROPERTY BADGES (Badges de status) ===== */
.property-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.property-status-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

.property-status-badge.status-available {
  color: var(--color-success);
}

.property-status-badge.status-sold {
  color: var(--color-error);
}

.property-furnished-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: #dcfce7;
  color: #166534;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ===== 6. PROPERTY GALLERY (Galeria de imagens) ===== */
.property-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--color-surface);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
}

.gallery-thumbnail {
  aspect-ratio: 4 / 3;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  object-fit: cover;
}

.gallery-thumbnail:hover {
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.gallery-thumbnail.active {
  border-color: var(--color-primary);
}

/* ===== 7. PROPERTY DETAIL SECTION ===== */
.property-detail-section {
  padding: 6rem 0 4rem;
  background: var(--color-background);
}

.back-button-container {
  margin-bottom: 2rem;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.back-button:hover {
  color: var(--color-primary);
  transform: translateX(-4px);
}

.property-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .property-detail-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

/* ===== 8. PROPERTY INFO ===== */
.property-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.property-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .property-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.property-type-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.property-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .property-title {
    font-size: 2rem;
  }
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-secondary);
  font-size: 1rem;
}

.property-price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--color-surface);
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .property-price-box {
    align-items: flex-end;
  }
}

.property-price-label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.25rem;
}

.property-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* ===== 9. PROPERTY FEATURES ===== */
.property-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
}

@media (min-width: 640px) {
  .property-features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.feature-item div {
  display: flex;
  flex-direction: column;
}

.feature-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.2;
}

.feature-label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* ===== 10. PROPERTY DESCRIPTION ===== */
.property-description h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}

.description-content {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.description-content p {
  margin-bottom: 1rem;
}

.description-content p:last-child {
  margin-bottom: 0;
}

/* ===== 11. PROPERTY CTA ===== */
.property-cta {
  padding: 2rem;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-surface) 100%);
  border-radius: 1rem;
  border: 1px solid var(--color-border);
}

.property-cta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.property-cta p {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* ===== 12. LOADING AND ERROR STATES ===== */
.loading-state,
.error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-state p,
.error-state p {
  color: var(--color-text-secondary);
  margin-top: 1rem;
}

.error-state svg {
  color: var(--color-error);
  margin-bottom: 1rem;
}

.error-state h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.error-state .btn {
  margin-top: 1.5rem;
}

/* Galeria de imagens */
.gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.gallery-main {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-main img:hover {
    transform: scale(1.02);
}

.gallery-thumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-thumbs .thumb {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s;
    border: 2px solid transparent;
}

.gallery-thumbs .thumb:hover {
    opacity: 1;
    transform: scale(1.05);
}

.gallery-thumbs .thumb.active {
    opacity: 1;
    border-color: #007bff;
}

/* === GALERIA DE IMAGENS DETALHE DO IMÓVEL === */
.gallery-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.gallery-main img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.gallery-thumbs .thumb {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.gallery-thumbs .thumb:hover,
.gallery-thumbs .thumb.active {
  opacity: 1;
  transform: scale(1.05);
  border: 2px solid var(--color-primary);
}




/* === TÍTULO DO IMÓVEL (ACIMA DAS FOTOS) === */
.property-name-header {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

/* === GALERIA === */
.property-gallery {
    max-width: 900px;
    margin: 0 auto 2rem auto;
    text-align: center;
}

.gallery-main img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.gallery-thumbs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.gallery-thumbs .thumb {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-thumbs .thumb.active,
.gallery-thumbs .thumb:hover {
    opacity: 1;
    border-color: #fff;
}

/* === DETALHES DO IMÓVEL === */
.property-details-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #101820;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    min-width: 150px;
}

.detail-item svg {
    color: #fff;
}

.detail-label {
    font-weight: 600;
    color: #ddd;
    display: block;
}

.detail-value {
    color: #fff;
    font-size: 1rem;
}

/* === DESCRIÇÃO === */
.property-description {
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.property-description h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.property-description p {
    color: #ccc;
    line-height: 1.6;
}

/* === BOTÕES === */
.property-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn.btn-full {
    width: auto;
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
    border-radius: 6px;
}

.btn-primary {
    background-color: #fff;
    color: #000;
    border: none;
}

.btn-primary:hover {
    background-color: #00bfa6;
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
}
/* Espaçamento extra abaixo dos botões de ação */
.property-actions {
    margin-bottom: 4rem; /* aumenta o espaço acima do rodapé */
}
 
 /* --- Tipo e cidade lado a lado, centralizados --- */
.property-meta-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px; /* espaço entre o tipo e o ícone */
    margin-top: 30px;
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.1rem;
}

.property-meta-centered svg {
    vertical-align: middle;
    margin-right: 3px;
}

.property-meta-centered .property-type {
    font-weight: 500;
}

.property-location-inline {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Centralizar preço */
.property-price {
    text-align: center;
    margin: 10px 0 30px;
    color: #fff;
}

.property-price .price-label {
    display: block;
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.property-price .price-value {
    font-size: 2rem;
    font-weight: 600;
    color: #00c896; /* mesma cor do botão principal */
}

/* Corrige o cabeçalho tampando o conteúdo */
.property-detail {
    padding-top: 120px; /* Ajuste conforme a altura da sua navbar */
}
/* === LOCALIZAÇÃO (CENTRALIZADA ABAIXO DAS FOTOS) === */
.property-location-info {
    text-align: center;
    margin-top: 2rem;
}

.property-location-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.property-location-info p {
    color: #ccc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    line-height: 1.6;
}
/* === DESCRIÇÃO CENTRALIZADA === */
.property-description {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto;
}

.property-description h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.property-description p {
    color: #ccc;
    line-height: 1.6;
}
/* === CORREÇÃO DA GALERIA NO MOBILE === */
.gallery-main img {
    width: 100%;
    height: auto; /* garante que não corte a imagem */
    object-fit: contain; /* mostra a imagem inteira */
    border-radius: 12px;
}

.gallery-thumbs img {
    object-fit: cover;
}

@media (max-width: 768px) {
    .gallery-main img {
        max-height: 300px; /* limita a altura no mobile */
    }
}

/* === LIGHTBOX COM NAVEGAÇÃO === */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}

.lightbox-close {
    top: 20px;
    right: 40px;
    font-size: 3rem;
}

.lightbox-prev, .lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
    color: #00bfa6;
    background: rgba(255,255,255,0.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Responsivo */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 80%;
    }
    .lightbox-prev, .lightbox-next {
        font-size: 2rem;
    }
}
/* === Layout Lado a Lado apenas no Desktop === */
@media (min-width: 992px) {
    .property-main {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 50px;
        margin-top: 20px;
    }

    .property-gallery {
        flex: 1;
        max-width: 50%;
    }

    .property-info-box {
        flex: 1;
        max-width: 50%;
        color: #fff;
    }

    .property-gallery img {
        width: 100%;
        border-radius: 10px;
        object-fit: cover;
    }

    .gallery-thumbs {
        margin-top: 15px;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .gallery-thumbs img {
        width: 70px;
        height: 70px;
        object-fit: cover;
        border-radius: 6px;
        cursor: pointer;
        opacity: 0.7;
        transition: all 0.2s ease;
    }

    .gallery-thumbs img.active,
    .gallery-thumbs img:hover {
        opacity: 1;
        transform: scale(1.05);
        border: 2px solid #ffd700;
    }

    .property-info-box .property-price {
        margin-bottom: 20px;
        font-size: 1.4rem;
    }

    .property-description,
    .property-location-info {
        margin-top: 20px;
    }
}

/* === No Mobile, volta a ser empilhado === */
@media (max-width: 991px) {
    .property-main {
        display: block;
    }

    .property-gallery,
    .property-info-box {
        max-width: 100%;
    }

    .gallery-thumbs img {
        width: 60px;
        height: 60px;
    }
}
/* ==== Novo layout de cards ==== */
.project-card {
  background-color: #0f1319;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.project-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-category,
.project-status {
  position: absolute;
  top: 10px;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.project-category {
  left: 10px;
  background: #fff;
  color: #111;
}
.project-status {
  right: 10px;
  background: #e8f5e9;
  color: #2e7d32;
}

.project-content {
  padding: 20px;
  color: #fff;
}
.project-title {
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.project-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #bbb;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.project-details {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  color: #ccc;
  font-size: 0.9rem;
}
.project-detail {
  display: flex;
  align-items: center;
  gap: 5px;
}
.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.project-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
}
.btn.btn-ghost.btn-sm {
  color: #00bcd4;
  background: none;
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn.btn-ghost.btn-sm:hover {
  color: #26d3e6;
}
/* ==== MAPA DE LOCALIZAÇÃO ==== */
.property-location-info {
    margin-top: 1.5rem;
    text-align: center;
}

.property-location-info h3 {
    margin-bottom: 0.5rem;
}

.map-container {
    width: 100%;
    max-width: 550px; /* controla a largura máxima do mapa */
    margin: 1rem auto; /* centraliza o mapa */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
}
/* ===== GALERIA MOBILE: miniaturas em 1 fileira (snap + visual) ===== */
@media (max-width: 768px) {

  /* garante que a imagem principal fique com largura adequada */
  .gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .gallery-main {
    width: 100%;
    max-width: 920px; /* mantém desktop igual */
  }

  .gallery-main img,
  #mainImage {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }

  /* MINIATURAS: única linha rolável horizontal */
  .gallery-thumbs {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
    padding: 10px 8px;
    -webkit-overflow-scrolling: touch; /* inércia no iOS */
    scroll-snap-type: x mandatory; /* encaixe */
    justify-content: flex-start;
  }

  .gallery-thumbs::-webkit-scrollbar { display: none; }

  .gallery-thumbs .thumb {
    flex: 0 0 auto;
    width: 92px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: transform 0.18s ease, opacity 0.18s ease;
    scroll-snap-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  }

  .gallery-thumbs .thumb.active {
    opacity: 1;
    transform: scale(1.02);
    border: 2px solid rgba(255,255,255,0.95);
  }

  /* se quiser, centraliza a fileira dentro do container */
  .thumbnail-list-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

/* ===== Fundo translúcido na área de descrição ===== */
.descricao-box,
.descricao,
.property-description {
  background: rgba(255, 255, 255, 0.1); /* cor preta translúcida */
  border-radius: 12px;
  padding: 24px 28px;
  backdrop-filter: blur(8px); /* vidro fosco */
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: #f5f5f5; /* melhora legibilidade */
  margin-top: 20px;
}

/* título dentro da descrição */
.descricao-box h3,
.descricao h3,
.property-description h3 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 12px;
}

/* melhora o espaçamento entre parágrafos */
.descricao-box p,
.descricao p,
.property-description p {
  line-height: 1.6;
  margin-bottom: 10px;
}
/* Espaçamento entre o caminho (breadcrumb) e o título */
.breadcrumb {
  margin-bottom: 25px;
}

/* Espaçamento entre o título e as imagens / preço */
.property-name-header {
  margin-top: 30px;
  margin-bottom: 40px;
  text-align: center;
  font-size: 1.8rem;
}

/* Espaçamento geral da seção */
.property-content {
  margin-top: 40px;
}
.property-details-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}

.detail-item {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  gap: 8px;
  transition: background 0.3s ease;
}

.detail-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.detail-item svg {
  stroke: #00b37e;
  flex-shrink: 0;
}
