/* Reset e configurações globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --error-color: #f56565;
    --info-color: #4299e1;
    --dark-color: #2d3748;
    --light-color: #f7fafc;
    --gray-100: #f7fafc;
    --gray-200: #edf2f7;
    --gray-300: #e2e8f0;
    --gray-400: #cbd5e0;
    --gray-500: #a0aec0;
    --gray-600: #718096;
    --gray-700: #4a5568;
    --gray-800: #2d3748;
    --gray-900: #1a202c;
    --border-radius: 12px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--light-color);
    overflow-x: hidden;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
}

.logo-icon {
    font-size: 2rem;
    color: var(--accent-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: linear-gradient(135deg, var(--warning-color), #ff8c00);
    color: white;
}

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

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

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

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #38a169);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Botões compactos do header */
.btn-compact {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
}

.btn-compact .btn-text {
    display: inline;
    white-space: nowrap;
}

.btn-compact i {
    font-size: 0.9rem;
}

/* Menu hambúrguer */
.menu-toggle {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    padding: 1rem;
}

.mobile-menu.show {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 1rem;
    color: var(--gray-800);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu a:hover {
    background: var(--gray-100);
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(135deg, rgba(40, 50, 80, 0.7), rgba(60, 40, 90, 0.8)),
        url('https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Otimização para dispositivos móveis */
@media (max-width: 1024px) {
    .hero {
        background-attachment: scroll;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(255, 215, 0, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 10% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
}

.hero-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 70% 10%, rgba(255, 215, 0, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    animation: float 12s ease-in-out infinite reverse;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(40, 50, 80, 0.6) 0%, 
        rgba(60, 40, 90, 0.7) 50%, 
        rgba(80, 60, 120, 0.5) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    width: 100%;
    box-sizing: border-box;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    animation: slideInDown 0.8s ease-out;
}

.hero-badge i {
    color: #ffd700;
    animation: pulse 2s infinite;
}

.hero-title {
    margin-bottom: 3rem;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-accent {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

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

.hero-feature i {
    color: #ffd700;
    font-size: 1.1rem;
}

.hero-separator {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.hero-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffd700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #2d3748;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

.btn-hero-primary:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-hero-secondary:active {
    transform: translateY(-1px) scale(1.02);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 8rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-scroll-indicator:hover {
    transform: translateX(-50%) scale(1.1);
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.hero-scroll-indicator:hover .scroll-arrow {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

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

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

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

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

/* Ajustes da seta para diferentes telas */
@media (max-width: 768px) {
    .hero-scroll-indicator {
        bottom: 6rem;
    }
}

@media (max-width: 480px) {
    .hero-scroll-indicator {
        bottom: 5rem;
    }
}

@media (max-width: 360px) {
    .hero-scroll-indicator {
        bottom: 4rem;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero-scroll-indicator {
        bottom: 3rem;
    }
}

/* Search Bar */
.search-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    margin: -2rem auto 0;
    max-width: 600px;
    position: relative;
    z-index: 10;
}

.search-form {
    display: flex;
    gap: 1rem;
}

.search-input {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-btn {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

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

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

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

/* Apartamentos Grid */
.apartamentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.apartamento-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
}

.apartamento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Card alugado - estilo cinza e não clicável */
.apartamento-card.alugado {
    background: #f8f9fa;
    opacity: 0.75;
    filter: grayscale(0.5);
    cursor: not-allowed;
    pointer-events: none;
    border: 1px solid #dee2e6;
    position: relative;
}

.apartamento-card.alugado:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.apartamento-card.alugado .apartamento-image img {
    filter: grayscale(0.8);
}

.apartamento-card.alugado .apartamento-title,
.apartamento-card.alugado .apartamento-location,
.apartamento-card.alugado .apartamento-price,
.apartamento-card.alugado .apartamento-details {
    color: var(--gray-600);
}

.apartamento-card.alugado .whatsapp {
    display: none;
}

.apartamento-card.alugado .apartamento-actions {
    opacity: 0.5;
}

.apartamento-card.alugado::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 249, 250, 0.3);
    z-index: 1;
    pointer-events: none;
}

.apartamento-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.apartamento-image .status-badges {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    display: flex !important;
    z-index: 25 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.apartamento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.image-slider {
    position: relative;
    height: 100%;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.image-slider:active {
    cursor: grabbing;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-image.active {
    opacity: 1;
}

.image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 5;
}

.image-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.image-nav.prev {
    left: 10px;
}

.image-nav.next {
    right: 10px;
}

.image-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 5;
}

.image-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.image-dot.active {
    background: white;
}

.status-badge {
    position: relative;
    display: inline-block !important;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 5;
    white-space: nowrap;
    flex-shrink: 0;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Container para múltiplas etiquetas */
.status-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex !important;
    gap: 0.5rem;
    z-index: 10;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    max-width: calc(100% - 30px);
    overflow: hidden;
    visibility: visible !important;
    pointer-events: none;
}

.status-badge.aluga-se {
    background: var(--success-color);
    color: white;
}

.status-badge.alugado {
    background: var(--gray-500);
    color: white;
}

.status-badge.destaque {
    background: var(--warning-color);
    color: white;
}

.status-badge.destaque,
.apartamento-image .status-badge.destaque {
    background: #ffc107 !important;
    color: #212529 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.status-badge.novo {
    background: white;
    color: #2d3748;
    border: 2px solid #e2e8f0;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: pulse-novo 2s infinite;
}

@keyframes pulse-novo {
    0% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transform: scale(1);
    }
}

.apartamento-content {
    padding: 1.5rem;
}

.apartamento-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

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

.apartamento-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--gray-600);
    font-size: 0.85rem;
}

.apartamento-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.apartamento-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: nowrap;
}

.apartamento-actions .btn {
    flex: 1;
    min-width: 100px;
    max-width: 150px;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-xs {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    line-height: 1.3;
}

.btn.compact {
    padding: 0.45rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 6px;
}

.btn.compact i {
    font-size: 0.85rem;
    margin-right: 0.3rem;
    vertical-align: middle;
}

.btn.compact span {
    vertical-align: middle;
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Quick Actions */
.quick-actions {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    margin-bottom: 4rem;
}

.quick-actions h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--gray-800);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.action-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: var(--gray-50);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--gray-200);
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: white;
}

.action-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.action-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.action-description {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 2rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo i {
    color: #4299e1;
    font-size: 2rem;
}

.footer-description {
    color: #a0aec0;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: #4299e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: #4299e1;
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a:hover {
    color: #4299e1;
    transform: translateX(5px);
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #4299e1;
}

.footer-links a:hover::before {
    opacity: 1;
    left: -20px;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #a0aec0;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: #4299e1;
    transform: translateX(5px);
}

.contact-item i {
    width: 20px;
    color: #4299e1;
    font-size: 1rem;
}

.contact-item span {
    font-size: 0.95rem;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

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

.copyright-content p {
    color: #718096;
    font-size: 0.9rem;
    margin: 0;
}

.copyright-subtitle {
    color: #4a5568 !important;
    font-size: 0.8rem !important;
    font-style: italic;
}

/* Responsividade do Footer */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-sections {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a:hover {
        transform: translateX(0);
    }
    
    .contact-item:hover {
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
    
    .footer-logo i {
        font-size: 1.5rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
}



/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    width: 100%;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-500);
    padding: 0.5rem;
    flex-shrink: 0;
    transition: var(--transition);
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--gray-800);
    background: var(--gray-100);
}

.modal-body {
    padding: 1.5rem;
}

.modal-image-main {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.modal-image-thumbs {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.modal-image-thumb {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
}

.modal-image-thumb.active {
    border-color: var(--primary-color);
}

.modal-image-thumb:hover {
    opacity: 0.8;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.modal-info-section h4 {
    margin-bottom: 1rem;
    color: var(--gray-800);
    font-weight: 600;
}

.modal-info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.modal-info-item:last-child {
    border-bottom: none;
}

.modal-info-label {
    font-weight: 500;
    color: var(--gray-700);
}

.modal-info-value {
    color: var(--gray-800);
    text-align: right;
}

.modal-comodidades {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.modal-comodidade {
    background: var(--gray-200);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--gray-700);
}

.modal-description {
    margin: 2rem 0;
}

.modal-description h4 {
    margin-bottom: 1rem;
    color: var(--gray-800);
    font-weight: 600;
}

.modal-description p {
    line-height: 1.6;
    color: var(--gray-700);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-maps {
    background: linear-gradient(135deg, #ea4335, #4285f4);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
}

.btn-maps:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .header-actions .btn-compact {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .header-actions .btn-compact .btn-text {
        display: inline;
        font-size: 0.7rem;
    }
    
    .header-actions .btn-compact i {
        font-size: 0.8rem;
    }
    
    .hero {
        height: 100vh;
        background-attachment: scroll; /* Melhor performance em mobile */
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .hero-title-main {
        font-size: 2.8rem;
        line-height: 1.1;
    }
    
    .hero-title-accent {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-feature {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .hero-stat {
        padding: 1rem 1.5rem;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .apartamentos-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    

    
    .apartamento-features {
        font-size: 0.8rem;
    }
    
    .apartamento-actions {
        flex-direction: row;
        gap: 0.5rem;
        justify-content: space-between;
    }
    
    .apartamento-actions .btn {
        min-width: 85px;
        max-width: 130px;
    }
    
    .btn.compact {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .btn.compact i {
        font-size: 0.75rem;
        margin-right: 0.25rem;
    }

    /* Melhorar visibilidade das setas em mobile */
    .image-nav {
        width: 35px;
        height: 35px;
        background: rgba(0, 0, 0, 0.7);
    }

    .image-nav.prev {
        left: 5px;
    }

    .image-nav.next {
        right: 5px;
    }

    .image-dots {
        bottom: 5px;
    }

    .image-dot {
        width: 10px;
        height: 10px;
    }
    
    /* Ajustar etiquetas em mobile */
    .status-badges {
        flex-wrap: nowrap;
        max-width: calc(100% - 30px);
        gap: 0.3rem;
    }
    
    .status-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* Modal responsivo */
    .modal {
        padding: 0.5rem;
    }
    
    .modal-content {
        max-width: 100%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .modal-image-main {
        height: 200px;
    }
    
    .modal-image-thumbs {
        gap: 0.5rem;
    }
    
    .modal-image-thumb {
        width: 90px;
        height: 68px;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-maps {
        padding: 0.65rem 1.25rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 2rem 1rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    

    
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        height: 100vh;
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title-main {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-title-accent {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-feature {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .hero-stat {
        padding: 0.8rem 1rem;
    }
    
    .hero-stat-number {
        font-size: 1.5rem;
    }
    
    .hero-stat-label {
        font-size: 0.8rem;
    }
    
    .search-container {
        margin: -1rem 1rem 0;
    }
    
    .header-content {
        padding: 0.6rem 0.75rem;
    }
    
    .header-actions {
        gap: 0.4rem;
    }
    
    .header-actions .btn-compact {
        padding: 0.3rem 0.4rem;
        font-size: 0.65rem;
        min-width: auto;
    }
    
    .header-actions .btn-compact .btn-text {
        display: inline;
        font-size: 0.6rem;
    }
    
    .header-actions .btn-compact i {
        font-size: 0.7rem;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
    
    .menu-toggle {
        padding: 0.25rem;
        font-size: 1.25rem;
    }
    
    /* Ajustar etiquetas em telas muito pequenas */
    .status-badges {
        gap: 0.25rem;
    }
    
    .status-badge {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }
    
    /* Modal responsivo pequeno */
    .modal {
        padding: 0.25rem;
    }
    
    .modal-header {
        padding: 0.75rem;
    }
    
    .modal-body {
        padding: 0.75rem;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
    
    .modal-image-main {
        height: 180px;
    }
    
    .modal-info-grid {
        gap: 1rem;
        margin: 1rem 0;
    }
}

/* Telas muito pequenas (até 360px) */
@media (max-width: 360px) {
    .hero {
        height: 100vh;
    }
    
    .hero-content {
        padding: 0 0.8rem;
    }
    
    .hero-title-main {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-title-accent {
        font-size: 1.1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        margin-bottom: 2rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
    
    .status-badges {
        gap: 0.2rem;
        top: 12px;
        left: 12px;
    }
    
    .status-badge {
        font-size: 0.55rem;
        padding: 0.2rem 0.4rem;
        min-width: auto;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* Media query para tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero {
        height: 100vh;
    }
    
    .hero-content {
        padding: 0 2rem;
    }
    
    .hero-title-main {
        font-size: 3.2rem;
        line-height: 1.1;
    }
    
    .hero-title-accent {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 0.95rem;
        padding: 0.8rem 1.8rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 1.05rem;
        padding: 1rem 2.2rem;
    }
    
    .header-actions .btn-compact {
        padding: 0.45rem 0.7rem;
        font-size: 0.75rem;
    }
}

/* Media query para telas pequenas-médias */
@media (max-width: 600px) {
    .header-actions {
        gap: 0.6rem;
    }
    
    .header-actions .btn-compact {
        padding: 0.35rem 0.5rem;
        font-size: 0.65rem;
    }
    
    .header-actions .btn-compact .btn-text {
        font-size: 0.65rem;
    }
    
    .header-actions .btn-compact i {
        font-size: 0.75rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.w-full { width: 100%; }
.h-full { height: 100%; }

/* Como Funciona Section */
.como-funciona {
    padding: 4rem 0;
    background: var(--light-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 1rem 0;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.05"><circle cx="50" cy="50" r="20"/><circle cx="150" cy="30" r="15"/><circle cx="250" cy="70" r="10"/></svg>') repeat;
    background-size: 200px 100px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .como-funciona,
    .cta-section {
        padding: 3rem 0;
    }
} 

/* Modal de Zoom para Imagens */
.image-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-zoom-modal.show {
    opacity: 1;
    visibility: visible;
}

.image-zoom-container {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-zoom-content {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.image-zoom-close {
    position: absolute;
    top: -50px;
    right: -50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #333;
    transition: all 0.3s ease;
    z-index: 2001;
}

.image-zoom-close:hover {
    background: white;
    transform: scale(1.1);
}

.image-zoom-info {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Cursor pointer para indicar que a imagem é clicável */
.modal-image-main {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.modal-image-main:hover {
    opacity: 0.9;
}

/* Responsivo para o modal de zoom */
@media (max-width: 768px) {
    .image-zoom-close {
        top: 20px;
        right: 20px;
        width: 35px;
        height: 35px;
        font-size: 1.25rem;
    }
    
    .image-zoom-info {
        bottom: 20px;
        left: 20px;
        right: 20px;
        font-size: 0.8rem;
        padding: 0.75rem;
    }
    
    .image-zoom-container {
        max-width: 100vw;
        max-height: 100vh;
        padding: 80px 20px 100px;
    }
} 

/* Contact Popup Styles */
.contact-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.contact-popup-content {
    background: white;
    border-radius: var(--border-radius);
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    width: 100%;
    box-shadow: var(--shadow-xl);
}

.contact-popup-content h3 {
    margin-bottom: 1rem;
    color: var(--gray-800);
    font-size: 1.5rem;
}

.contact-popup-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-600);
}

.contact-popup .form-group {
    margin-bottom: 1rem;
}

.contact-popup .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
}

.contact-popup .form-group input,
.contact-popup .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-popup .form-group input:focus,
.contact-popup .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-popup .btn {
    width: 100%;
    margin-top: 1rem;
}

.contact-popup .contact-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.contact-popup .contact-info h4 {
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.contact-popup .contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
}

.contact-popup .contact-info i {
    color: var(--primary-color);
    width: 16px;
}

@media (max-width: 480px) {
    .contact-popup-content {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .contact-popup-content h3 {
        font-size: 1.25rem;
    }
} 

/* ---- Botão Perto de Mim ---- */
.near-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    margin-left: 0.5rem;
}

.near-btn:hover {
    text-decoration: underline;
}

.near-btn i {
    font-size: 0.95rem;
} 

/* Modal de consentimento de localização */
.location-consent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.location-consent-overlay.hide {
    animation: fadeOut 0.3s ease forwards;
}

.location-consent-modal {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    max-width: 340px;
    width: calc(100% - 2rem);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.location-consent-modal h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--gray-800);
}

.location-consent-modal p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

@keyframes fadeOut {
    to { opacity: 0; }
}

/* Áreas Comuns no Modal */
.modal-areas-comuns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.modal-area-comum {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: capitalize;
    animation: slideInBounce 0.4s ease-out forwards;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
}

.modal-area-comum::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;
}

.modal-area-comum:hover::before {
    left: 100%;
}

.modal-area-comum:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Cor única para todos os badges */
.modal-area-comum {
    background: #000000 !important;
    color: white !important;
}

/* Delays de animação para entrada escalonada */

.modal-area-comum:nth-child(1) { animation-delay: 0.1s; }
.modal-area-comum:nth-child(2) { animation-delay: 0.15s; }
.modal-area-comum:nth-child(3) { animation-delay: 0.2s; }
.modal-area-comum:nth-child(4) { animation-delay: 0.25s; }
.modal-area-comum:nth-child(5) { animation-delay: 0.3s; }
.modal-area-comum:nth-child(6) { animation-delay: 0.35s; }
.modal-area-comum:nth-child(7) { animation-delay: 0.4s; }
.modal-area-comum:nth-child(8) { animation-delay: 0.45s; }
.modal-area-comum:nth-child(9) { animation-delay: 0.5s; }
.modal-area-comum:nth-child(10) { animation-delay: 0.55s; }

@keyframes slideInBounce {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: translateY(-5px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsividade para áreas comuns */
@media (max-width: 768px) {
    .modal-areas-comuns {
        gap: 0.375rem;
    }
    
    .modal-area-comum {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
    }
} 

/* Botões compactos - tablets */
@media (max-width: 768px) and (min-width: 481px) {
    .apartamento-actions {
        gap: 0.5rem;
    }
    
    .apartamento-actions .btn.compact {
        padding: 0.4rem 0.65rem;
        font-size: 0.72rem;
        min-width: 85px;
    }
    
    .apartamento-actions .btn.compact i {
        font-size: 0.8rem;
        margin-right: 0.25rem;
    }
}

/* Botões compactos - mobile */
@media (max-width: 480px) {
    .apartamento-actions {
        gap: 0.4rem;
    }
    
    .apartamento-actions .btn.compact {
        padding: 0.35rem 0.5rem;
        font-size: 0.68rem;
        min-width: 75px;
    }
    
    .apartamento-actions .btn.compact i {
        font-size: 0.7rem;
        margin-right: 0.2rem;
    }
}

@media (max-width: 360px) {
    .apartamento-actions .btn.compact {
        padding: 0.3rem 0.45rem;
        font-size: 0.65rem;
        min-width: 70px;
    }
    
    .apartamento-actions .btn.compact i {
        font-size: 0.68rem;
        margin-right: 0.15rem;
    }
}

/* Garantir que os botões sempre fiquem na mesma linha */
.apartamento-actions .btn {
    flex-shrink: 0;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Telas muito pequenas - apenas ícones */
@media (max-width: 320px) {
    .apartamento-actions .btn.compact span {
        display: none;
    }
    
    .apartamento-actions .btn.compact {
        min-width: 45px;
        padding: 0.6rem 0.4rem;
        border-radius: 8px;
    }
    
    .apartamento-actions .btn.compact i {
        margin-right: 0;
        font-size: 1rem;
    }
} 

/* Botões para desktop grande - garantir tamanho adequado */
@media (min-width: 1200px) {
    .apartamento-actions .btn.compact {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 110px;
    }
    
    .apartamento-actions .btn.compact i {
        font-size: 0.9rem;
        margin-right: 0.35rem;
    }
}

/* Melhorias para telas grandes */
@media (min-width: 1400px) {
    .hero {
        height: 100vh;
    }
    
    .hero-content {
        max-width: 1400px;
    }
    
    .hero-title-main {
        font-size: 4.5rem;
        line-height: 1.1;
    }
    
    .hero-title-accent {
        font-size: 2.8rem;
    }
    
    .hero-badge {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 1.2rem;
        padding: 1.2rem 2.5rem;
    }
}

/* Media query para mobile em paisagem */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
    }
    
    .hero-title-main {
        font-size: 2rem;
    }
    
    .hero-title-accent {
        font-size: 1.3rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        margin-bottom: 1.5rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
}

/* Ajuste para desktop padrão */
@media (min-width: 769px) and (max-width: 1199px) {
    .apartamento-actions .btn.compact {
        padding: 0.45rem 0.75rem;
        font-size: 0.78rem;
        min-width: 105px;
    }
    
    .apartamento-actions .btn.compact i {
        font-size: 0.88rem;
        margin-right: 0.32rem;
    }
} 