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

:root {
    --primary: #0000cc;
    --primary-dark: #000099;
    --success: #2d8c4e;
    --warning: #cc8800;
    --danger: #cc0000;
    --dark: #111111;
    --gray: #666666;
    --gray-light: #a0a0a0;
    --light: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

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

.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    max-height: 120px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--dark);
}

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 4.5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.95;
}

.filters-section {
    background: var(--white);
    padding: 2.25rem;
    margin: -6.75rem auto 2.5rem;
    max-width: 1200px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 10;
}

.filters-title {
    margin-bottom: 1.75rem;
    color: var(--dark);
    font-size: 1.5rem;
    font-weight: 600;
}

.filters-grid {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 0;
}

.filter-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: var(--gray);
    font-size: 0.8rem;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 204, 0.1);
}

.filters-extra {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.filters-extra.open {
    max-height: 600px;
    padding-top: 1.5rem;
}

.btn-toggle {
    background: var(--dark);
    color: var(--white);
}

.btn-toggle:hover {
    background: var(--gray);
}

.filters-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 204, 0.3);
}

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

.btn-secondary:hover {
    background: var(--dark);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.properties-section {
    padding: 2.5rem 0 4.5rem;
}

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

.section-header h2 {
    font-size: 1.75rem;
    color: var(--dark);
}

.properties-count {
    color: var(--gray);
    font-weight: 500;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.25rem;
}

.property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.property-link {
    text-decoration: none;
    color: inherit;
}

.property-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    color: var(--gray-light);
    font-size: 3.5rem;
}

.property-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.property-badge.venda {
    background: var(--primary);
}

.property-badge.aluguel {
    background: var(--success);
}

.property-details {
    padding: 1.75rem;
}

.property-title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 700;
}

.property-type {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.property-features {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

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

.property-description {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.property-price {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--primary);
}

.no-properties {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.no-properties i {
    font-size: 4.5rem;
    color: var(--gray-light);
    margin-bottom: 1.25rem;
}

.no-properties h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.property-detail-section {
    padding: 2.5rem 0 4.5rem;
}

.breadcrumb {
    margin-bottom: 2rem;
    color: var(--gray);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.property-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
}

.carousel-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.carousel {
    position: relative;
}

.carousel-slide {
    display: none;
    width: 100%;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.35rem;
    color: var(--primary);
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.carousel-btn.prev {
    left: 18px;
}

.carousel-btn.next {
    right: 18px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.25rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: var(--white);
    transform: scale(1.2);
}

.no-image-large {
    width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: 12px;
    font-size: 6.5rem;
    color: var(--gray-light);
}

.property-video {
    margin-top: 2.5rem;
}

.property-video h3 {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.35rem;
    color: var(--dark);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

.property-info {
    background: var(--white);
    padding: 2.25rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.property-info-header {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.property-status {
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
}

.property-status.disponivel {
    background: var(--success);
}

.property-status.vendido {
    background: var(--primary);
}

.property-status.alugado {
    background: var(--warning);
}

.property-status.inativo {
    background: var(--gray);
}

.property-info .property-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.property-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin: 2.25rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--light);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.feature-item span {
    font-weight: 600;
    color: var(--dark);
}

.property-description-section,
.property-additional-info {
    margin: 2.25rem 0;
}

.property-description-section h3,
.property-additional-info h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
    color: var(--dark);
}

.property-description-section p,
.property-additional-info p {
    line-height: 1.8;
    color: var(--gray);
    font-size: 1rem;
}

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3.5rem 0 1.5rem;
}

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

.footer-section h3 {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.25rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 1.35rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .logo-img {
        max-height: 90px;
    }
    
    .filters-grid {
        flex-direction: column;
    }
    
    .property-detail-content {
        grid-template-columns: 1fr;
    }
    
    .carousel-slide img,
    .no-image-large {
        height: 280px;
    }
    
    .filters-actions {
        flex-direction: column;
    }
    
    .filters-actions .btn {
        width: 100%;
    }
    
    .property-features-grid {
        grid-template-columns: 1fr;
    }
}
