/* ImobCloud Atlas Theme - Performance-first design */
/* Modern, sophisticated layout with blue color palette */

:root {
  /* Atlas Color Palette */
  --atlas-primary: #2563eb;
  --atlas-primary-dark: #1d4ed8;
  --atlas-primary-light: #60a5fa;
  --atlas-secondary: #1e40af;
  --atlas-accent: #3b82f6;
  
  /* Neutral Colors */
  --atlas-white: #ffffff;
  --atlas-gray-50: #f8fafc;
  --atlas-gray-100: #f1f5f9;
  --atlas-gray-200: #e2e8f0;
  --atlas-gray-300: #cbd5e1;
  --atlas-gray-400: #94a3b8;
  --atlas-gray-500: #64748b;
  --atlas-gray-600: #475569;
  --atlas-gray-700: #334155;
  --atlas-gray-800: #1e293b;
  --atlas-gray-900: #0f172a;
  
  /* Status Colors */
  --atlas-success: #10b981;
  --atlas-warning: #f59e0b;
  --atlas-error: #ef4444;
  
  /* Spacing & Effects */
  --atlas-radius-sm: 0.375rem;
  --atlas-radius-md: 0.5rem;
  --atlas-radius-lg: 0.75rem;
  --atlas-radius-xl: 1rem;
  --atlas-radius-2xl: 1.5rem;
  --atlas-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --atlas-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --atlas-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --atlas-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --atlas-transition: 0.3s ease-out;
}

/* ===== BASE STYLES ===== */
.atlas-home {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--atlas-gray-800);
  background: var(--atlas-gray-50);
  margin: 0;
  padding: 0;
}

.atlas-home * {
  box-sizing: border-box;
}

.atlas-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== HEADER ATLAS ===== */
.atlas-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--atlas-gray-200);
  box-shadow: var(--atlas-shadow-sm);
  transition: all var(--atlas-transition);
}

.atlas-header .header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.atlas-header .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease-out;
}

.atlas-header .brand:hover {
  transform: translateY(-1px);
}

.atlas-header .brand-logo {
  height: 40px;
  width: auto;
}

.atlas-header .brand-text {
  display: flex;
  flex-direction: column;
}

.atlas-header .brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--atlas-gray-900);
}

.atlas-header .brand-tagline {
  font-size: 0.75rem;
  color: var(--atlas-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.atlas-header .main-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.atlas-header .nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--atlas-radius-lg);
  text-decoration: none;
  color: var(--atlas-gray-600);
  font-weight: 500;
  transition: all 0.15s ease-out;
  position: relative;
}

.atlas-header .nav-link:hover {
  color: var(--atlas-primary);
  background: var(--atlas-gray-100);
  transform: translateY(-1px);
}

.atlas-header .nav-link.active {
  color: var(--atlas-primary);
  font-weight: 600;
}

.atlas-header .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: linear-gradient(135deg, var(--atlas-primary), var(--atlas-primary-dark));
  border-radius: 999px;
}

.atlas-header .btn-login {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, var(--atlas-primary), var(--atlas-primary-dark));
  color: var(--atlas-white);
  text-decoration: none;
  border-radius: var(--atlas-radius-lg);
  font-weight: 600;
  box-shadow: var(--atlas-shadow-md);
  transition: all 0.15s ease-out;
}

.atlas-header .btn-login:hover {
  transform: translateY(-2px);
  box-shadow: var(--atlas-shadow-lg);
  filter: brightness(1.05);
}

/* Reset escopado para evitar espaço branco do body */
body.imob-site-page { margin: 0; }

/* ===== ATLAS THEME STYLES ===== */

/* Hero Atlas */
.hero-atlas {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  color: var(--atlas-white);
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--atlas-primary) 0%, var(--atlas-primary-dark) 50%, var(--atlas-secondary) 100%);
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--atlas-white) 0%, rgba(255, 255, 255, 0.8) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

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

.stat-number {
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Search Form Atlas */
.atlas-search-form {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: var(--atlas-shadow-2xl);
  max-width: 800px;
  margin: 0 auto;
}

.search-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.search-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.search-header p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.search-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.atlas-select {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--atlas-radius-lg);
  background: rgba(255, 255, 255, 0.9);
  color: var(--atlas-gray-800);
  font-weight: 500;
  transition: all 0.15s ease-out;
}

.atlas-select:focus {
  outline: none;
  border-color: var(--atlas-white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.atlas-search-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--atlas-white) 0%, var(--atlas-gray-100) 100%);
  color: var(--atlas-primary);
  border: none;
  border-radius: var(--atlas-radius-xl);
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--atlas-shadow-lg);
  transition: all 0.15s ease-out;
  overflow: hidden;
}

.atlas-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--atlas-shadow-xl);
}

.btn-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.atlas-search-btn:hover .btn-glow {
  transform: translateX(100%);
}

/* Features Atlas */
.features-atlas {
  padding: 4rem 0;
  background: var(--atlas-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--atlas-radius-xl);
  background: var(--atlas-white);
  border: 1px solid var(--atlas-gray-200);
  box-shadow: var(--atlas-shadow-sm);
  transition: all var(--atlas-transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--atlas-shadow-lg);
  border-color: var(--atlas-primary-light);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--atlas-primary), var(--atlas-primary-dark));
  border-radius: var(--atlas-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--atlas-white);
  font-size: 1.25rem;
  box-shadow: var(--atlas-shadow-md);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--atlas-gray-900);
}

.feature-card p {
  color: var(--atlas-gray-600);
  margin: 0;
}

/* Properties Atlas */
.properties-atlas {
  padding: 5rem 0;
  background: var(--atlas-gray-50);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.section-header.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--atlas-gray-900);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--atlas-gray-600);
  margin: 0;
  max-width: 600px;
}

.section-actions {
  display: flex;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--atlas-gray-300);
  background: var(--atlas-white);
  color: var(--atlas-gray-600);
  border-radius: var(--atlas-radius-lg);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease-out;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--atlas-primary), var(--atlas-primary-dark));
  color: var(--atlas-white);
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: var(--atlas-shadow-md);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.property-card {
  background: var(--atlas-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(10px);
  position: relative;
}

.property-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(29, 78, 216, 0.04) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 20px;
}

.property-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.25);
  border-color: rgba(37, 99, 235, 0.2);
}

.property-card:hover::before {
  opacity: 1;
}

.property-image {
  position: relative;
  height: 280px;
  width: 100%;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  margin: 0;
  padding: 0;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease-out;
  display: block;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.badge-type,
.badge-featured {
  padding: 0.25rem 0.75rem;
  border-radius: var(--atlas-radius-lg);
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.badge-type {
  background: rgba(0, 0, 0, 0.6);
  color: var(--atlas-white);
}

.badge-featured {
  background: linear-gradient(135deg, var(--atlas-primary), var(--atlas-primary-dark));
  color: var(--atlas-white);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.property-actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity var(--atlas-transition);
}

.property-card:hover .property-actions {
  opacity: 1;
}

.action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--atlas-gray-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: all 0.15s ease-out;
}

.action-btn:hover {
  background: var(--atlas-primary);
  color: var(--atlas-white);
  transform: scale(1.1);
}

.property-content {
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.property-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.property-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--atlas-gray-900);
  margin: 0;
  flex: 1;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.property-price {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--atlas-primary) 0%, var(--atlas-primary-dark) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 1rem;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--atlas-gray-600);
  margin-bottom: 1rem;
}

.property-features {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(37, 99, 235, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.08);
}

.property-features .feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--atlas-gray-700);
  font-size: 0.9rem;
  font-weight: 500;
}

.property-features .feature i {
  color: var(--atlas-primary);
  font-size: 1rem;
}

.property-footer {
  display: flex;
  gap: 1rem;
}

.btn-whatsapp,
.btn-details {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--atlas-success) 0%, #059669 100%);
  color: var(--atlas-white);
  border: none;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-whatsapp:hover::before {
  left: 100%;
}

.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-details {
  background: linear-gradient(135deg, var(--atlas-white) 0%, #f8fafc 100%);
  color: var(--atlas-primary);
  border: 2px solid var(--atlas-primary);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}

.btn-details::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
  transition: left 0.5s;
}

.btn-details:hover::before {
  left: 100%;
}

.btn-details:hover {
  background: linear-gradient(135deg, var(--atlas-primary) 0%, var(--atlas-primary-dark) 100%);
  color: var(--atlas-white);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.section-footer {
  text-align: center;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--atlas-primary), var(--atlas-primary-dark));
  color: var(--atlas-white);
  text-decoration: none;
  border-radius: var(--atlas-radius-xl);
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: var(--atlas-shadow-lg);
  transition: all 0.15s ease-out;
}

.btn-view-all:hover {
  transform: translateY(-2px);
  box-shadow: var(--atlas-shadow-xl);
  filter: brightness(1.05);
}

/* Testimonials Atlas */
.testimonials-atlas {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-background {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
}

/* Header Melhorado */
.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.testimonials-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.testimonials-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.highlight-text {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.testimonials-subtitle {
  font-size: 1.125rem;
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Slider Container */
.testimonials-slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-slider {
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-slide {
  min-width: 100%;
  flex-shrink: 0;
}

/* Desktop: Show 3 testimonials */
@media (min-width: 1024px) {
  .testimonial-slide {
    min-width: calc(100% / 3);
    flex-shrink: 0;
  }
}

/* Card Minimalista */
.testimonial-slide {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  margin: 0 0.75rem;
  position: relative;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: left;
}

.testimonial-slide:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.quote-section {
  margin-bottom: 1.5rem;
}

.quote-icon-modern {
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #2563eb;
}

.testimonial-text-modern {
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
  font-style: normal;
  margin: 0;
  font-weight: 400;
}

.author-section-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
}

.author-avatar-modern {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f1f5f9;
}

.author-info-modern {
  text-align: left;
  flex: 1;
}

.author-name-modern {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.25rem 0;
}

.author-role-modern {
  font-size: 0.8rem;
  color: #64748b;
  display: block;
  margin-bottom: 0.5rem;
}

.rating-stars-modern {
  display: flex;
  gap: 0.125rem;
  color: #fbbf24;
  font-size: 0.8rem;
}

/* Navigation */
.slider-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 -1rem;
  pointer-events: none;
  z-index: 10;
}

.nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  pointer-events: all;
}

.nav-btn:hover {
  background: #f8fafc;
  color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Indicators */
.slider-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.indicator.active {
  background: #2563eb;
  width: 24px;
}

.indicator:hover {
  background: #94a3b8;
}

/* CTA Atlas */
.cta-atlas {
  padding: 5rem 0;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--atlas-radius-xl);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.15s ease-out;
}

.btn-primary {
  background: var(--atlas-white);
  color: var(--atlas-primary);
  box-shadow: var(--atlas-shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--atlas-shadow-xl);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--atlas-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Footer Minimalista */
.minimal-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 2rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 2fr 1.5fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-logo {
  height: 28px;
  width: auto;
}

.footer-description {
  color: #64748b;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.footer-link {
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #2563eb;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.contact-text {
  color: #64748b;
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  color: #64748b;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.social-link:hover {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  gap: 1rem;
}

.copyright {
  color: #64748b;
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.legal-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

.legal-link:hover {
  color: #2563eb;
}

.access-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.access-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--atlas-success) 0%, #059669 100%);
  color: var(--atlas-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--atlas-shadow-lg);
  transition: all var(--atlas-transition);
  z-index: 40;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: var(--atlas-shadow-xl);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .search-fields { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .atlas-header .main-nav { display: none; }
  .atlas-header .header-content { justify-content: space-between; }
  .hero-title { font-size: 2rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .section-actions { align-self: stretch; }
  .filter-btn { flex: 1; text-align: center; }
  .features-grid { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-content { 
    grid-template-columns: 1fr 1fr; 
    gap: 2rem; 
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 1rem;
  }
  .footer-nav { 
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .footer-contact {
    align-items: center;
  }
  .footer-bottom { 
    flex-direction: column; 
    gap: 1rem; 
    text-align: center;
  }
  .footer-legal { 
    justify-content: center; 
  }
  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 640px) {
  .atlas-container { padding: 0 1rem; }
  .hero-atlas { padding: 3rem 0; }
  .hero-title { font-size: 1.75rem; }
  .hero-description { font-size: 1rem; }
  .atlas-search-form { padding: 1.5rem; }
  .hero-stats { grid-template-columns: 1fr; gap: 1rem; }
  .features-atlas { padding: 3rem 0; }
  .properties-atlas { padding: 3rem 0; }
  .testimonials-atlas { padding: 3rem 0; }
  .cta-atlas { padding: 3rem 0; }
  .cta-title { font-size: 1.75rem; }
  .footer-content { 
    grid-template-columns: 1fr; 
    gap: 1.5rem; 
    padding-bottom: 1rem;
  }
  .footer-brand {
    text-align: center;
  }
  .footer-nav { 
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .footer-contact {
    align-items: center;
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

/* Reset para body */
body.atlas-page { margin: 0; }

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* Preload critical styles */
.atlas-home *,
.atlas-home *::before,
.atlas-home *::after {
  box-sizing: border-box;
}

/* Hardware acceleration for animations */
.property-card,
.feature-card,
.testimonial-card,
.atlas-search-btn,
.btn-primary,
.btn-secondary,
.floating-whatsapp {
  will-change: transform;
}

/* Optimize image loading */
.property-image img,
.author-avatar {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Custom Property Card Styles */
.btn-whatsapp {
  background: linear-gradient(135deg, var(--atlas-success) 0%, #059669 100%);
  color: var(--atlas-white);
  border: none;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.property-price {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--atlas-primary) 0%, var(--atlas-primary-dark) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 1rem;
}

.property-features {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(37, 99, 235, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.08);
}

/* Reduce layout shifts */
.atlas-container {
  contain: layout style paint;
}

/* Critical CSS loading optimization */
.atlas-home {
  font-display: swap;
  text-rendering: optimizeSpeed;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar - Atlas Theme */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--atlas-gray-100);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: var(--atlas-primary);
  border-radius: 6px;
  border: 2px solid var(--atlas-gray-100);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--atlas-primary-dark);
}

::-webkit-scrollbar-thumb:active {
  background: var(--atlas-secondary);
}

/* Firefox scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--atlas-primary) var(--atlas-gray-100);
}

/* Focus management for accessibility */
.atlas-header .nav-link:focus,
.atlas-search-btn:focus,
.btn-primary:focus,
.btn-secondary:focus {
  outline: 2px solid var(--atlas-primary);
  outline-offset: 2px;
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .atlas-home {
    font-size: 14px;
  }
  
  .hero-title {
    font-size: 1.75rem !important;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  /* Mobile navigation */
  .atlas-header .main-nav {
    display: none;
  }
  
  .atlas-header .btn-login {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  /* Reduce animations on mobile for better performance */
  .property-card:hover,
  .feature-card:hover,
  .testimonial-card:hover {
    transform: none;
  }
  
  /* Mobile search form */
  .atlas-search-form {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  /* Mobile property cards */
  .property-footer {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .btn-whatsapp,
  .btn-details {
    width: 100%;
    justify-content: center;
  }
}

/* ===== FOOTER IMOBCLOUD ===== */
.imobcloud-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-left: 4px solid var(--atlas-primary);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

/* Brand Section */
.footer-brand-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--atlas-gray-500);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-description {
  color: var(--atlas-gray-600);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--atlas-gray-100);
  border-radius: 8px;
  color: var(--atlas-gray-600);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--atlas-primary);
  color: white;
  transform: translateY(-2px);
}

/* Contact Section */
.footer-info-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--atlas-gray-800);
  margin: 0 0 1rem 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--atlas-gray-600);
  font-size: 0.875rem;
  line-height: 1.5;
}

.contact-item i {
  color: var(--atlas-primary);
  margin-top: 0.125rem;
  width: 16px;
  flex-shrink: 0;
}

.contact-item:not(:has(i)) {
  padding-left: 1.5rem;
}

/* Align contact items with section title */
.footer-info-section .contact-item {
  margin-left: 0;
  padding-left: 0;
}

.footer-info-section .contact-item:not(:has(i)) {
  padding-left: 1.5rem;
}

/* Certificates Section */
.footer-certificates-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.certificates {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.certificate-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--atlas-gray-50);
  border: 1px solid var(--atlas-gray-200);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--atlas-gray-700);
  transition: all 0.3s ease;
}

.certificate-badge:hover {
  background: var(--atlas-primary-light);
  border-color: var(--atlas-primary);
  color: var(--atlas-primary-dark);
}

.certificate-badge {
  text-decoration: none;
}

.certificate-badge:hover {
  text-decoration: none;
}

.certificate-badge i {
  color: var(--atlas-primary);
  font-size: 1rem;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--atlas-gray-200);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-copyright span {
  color: var(--atlas-gray-600);
  font-size: 0.875rem;
}

.footer-copyright a {
  color: var(--atlas-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-copyright a:hover {
  color: var(--atlas-primary-dark);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: var(--atlas-gray-500);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--atlas-primary);
}

.footer-access {
  display: flex;
  align-items: center;
}

.access-panel-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--atlas-primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.access-panel-btn:hover {
  background: var(--atlas-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Mobile Footer */
@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-copyright {
    align-items: center;
  }
  
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .imobcloud-footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-main {
    gap: 1.5rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .certificate-badge {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
}
