/* 
* Luxury Imóveis - Estilos Personalizados
* Versão: 1.0
*/

/* Variáveis de Cores */
:root {
    --primary: #2c3e50;
    --primary-light: #34495e;
    --primary-dark: #1a252f;
    --secondary: #18bc9c;
    --secondary-light: #1ed2b0;
    --secondary-dark: #16a085;
    --white: #ffffff;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --gray-light: #dee2e6;
    --gray-dark: #495057;
    
    /* Novas variáveis para gradientes e efeitos */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Import de fontes */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Estilos Gerais */
body {
    font-family: 'Poppins', 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
    background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    color: var(--primary);
    transition: var(--transition);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

.btn {
    border-radius: 4px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 2px 5px rgba(44, 82, 130, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(44, 82, 130, 0.4);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.text-primary {
    color: var(--primary) !important;
}

.section-title {
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
}

.section-title.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Badge especial para destaque */
.badge-luxury {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 10px;
}

/* Navbar */
.navbar {
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.navbar .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.navbar .nav-link:after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar .nav-link:hover:after,
.navbar .nav-link.active:after {
    transform: scaleX(1);
}

.navbar .btn {
    box-shadow: 0 2px 5px rgba(44, 82, 130, 0.2);
    transition: all 0.3s ease;
}

.navbar .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(44, 82, 130, 0.3);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    margin-top: -80px;
    z-index: 1;
}

.hero-slider {
    height: 100%;
}

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

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.search-section {
    background-color: var(--light);
    position: relative;
    z-index: 5;
    margin-top: -80px;
}

.search-box-wrapper {
    position: relative;
    width: 100%;
    z-index: 10;
    margin-bottom: 30px;
}

.search-box {
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    transition: var(--transition);
}

.search-box label {
    font-weight: 500;
}

.search-box .form-control, 
.search-box .form-select {
    border: 1px solid var(--gray-light);
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.search-box .form-control:focus, 
.search-box .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

/* Property Cards */
.property-card {
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.property-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    height: 250px;
}

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

.property-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    z-index: 2;
}

.property-price {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.property-title {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
}

.property-title a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.property-title a:hover {
    color: var(--secondary);
}

.property-location {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 10px;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.property-features span {
    font-size: 14px;
    color: var(--gray-dark);
}

.property-card-footer {
    margin-top: auto;
    padding: 15px;
    border-top: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
}

.property-card-footer .btn {
    padding: 8px 15px;
    font-size: 14px;
}

/* Service Cards */
.service-card {
    transition: var(--transition);
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.service-icon {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: var(--light);
    padding: 1rem;
    border-radius: 50%;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Testimonial Cards */
.testimonial-card {
    transition: var(--transition);
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.testimonial-card:before {
    content: '\201C';
    font-family: Georgia, serif;
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-light);
    opacity: 0.3;
    line-height: 0;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.testimonial-author-info h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial-author-info p {
    color: var(--gray);
    margin: 0;
}

/* Blog Cards */
.blog-card {
    transition: var(--transition);
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.blog-card img {
    height: 220px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.8s ease;
}

.blog-card:hover img {
    transform: scale(1.1);
}

.blog-image {
    overflow: hidden;
    position: relative;
}

.blog-date {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-date i {
    font-size: 0.9rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-excerpt {
    color: var(--gray);
    margin-bottom: 1rem;
}

/* Property Details Page */
.property-gallery {
    margin-bottom: 30px;
    position: relative;
}

.property-main-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
    box-shadow: var(--box-shadow);
}

.property-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.property-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.property-thumbnail:hover {
    opacity: 1;
}

.property-thumbnail.active {
    opacity: 1;
    border-color: var(--secondary);
}

.property-details-content {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--box-shadow);
}

.property-price-large {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin: 15px 0;
}

.property-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
}

.property-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.property-feature-item i {
    color: var(--secondary);
    font-size: 18px;
}

.property-description {
    margin: 25px 0;
}

.property-description h4 {
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 600;
}

.property-sidebar {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--box-shadow);
}

.property-sidebar-title {
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 600;
    border-bottom: 2px solid var(--gray-light);
    padding-bottom: 10px;
}

.property-agent {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-light);
}

.property-agent img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.property-agent-info h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.property-agent-info p {
    color: var(--gray);
    margin-bottom: 0;
}

.property-contact-form {
    margin-top: 25px;
}

.views-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.views-badge i {
    color: var(--primary);
    font-size: 0.9rem;
}

.social-share {
    display: flex;
}

.social-share a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-share a:hover {
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: var(--gradient-primary);
}

.footer h4, .footer h5 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.footer h4:after, .footer h5:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer a:hover {
    color: var(--primary-light) !important;
    transform: translateX(5px);
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    transition: var(--transition);
}

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

/* Alert Float */
.alert-float {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    min-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    border-left: 4px solid;
    animation: slideInRight 0.5s forwards;
}

.alert-float.alert-success {
    border-left-color: #28a745;
}

.alert-float.alert-danger {
    border-left-color: #dc3545;
}

.alert-float.alert-warning {
    border-left-color: #ffc107;
}

.alert-float.alert-info {
    border-left-color: #17a2b8;
}

/* Modals */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid var(--gray-light);
    padding: 1.5rem;
}

.modal-header.bg-primary {
    background: var(--gradient-primary) !important;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--dark);
}

.modal-header.bg-primary .modal-title {
    color: white;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--gray-light);
    padding: 1.25rem 1.5rem;
    background-color: var(--light);
}

.modal .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--gray-dark);
}

.modal .form-control,
.modal .form-select {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--gray-light);
    transition: all 0.3s ease;
}

.modal .form-control:focus,
.modal .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.modal .form-control.is-invalid,
.modal .form-select.is-invalid {
    border-color: var(--danger);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.modal .form-control.is-invalid:focus,
.modal .form-select.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.modal .form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.15em;
    transition: all 0.2s ease;
}

.modal .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.modal .form-check-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.modal .btn-close {
    transition: transform 0.2s ease;
}

.modal .btn-close:hover {
    transform: rotate(90deg);
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal.fade .modal-dialog {
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Responsividade do Modal */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-content {
        border-radius: 8px;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-footer {
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

/* Breadcrumb */
.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1773&q=80') center/cover no-repeat;
    opacity: 0.2;
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item a {
    color: white;
    font-weight: 500;
}

/* Contact Form */
.contact-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    margin-bottom: 4rem;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    width: 30px;
    height: 30px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: var(--transition);
}

.contact-info li:hover i {
    background: var(--primary);
    color: white !important;
}

/* About Us */
.team-card {
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover) !important;
}

.team-card img {
    transition: transform 0.5s ease;
}

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

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animated {
    animation: fadeInUp 1s ease-in-out;
}

/* Media Queries */
@media (max-width: 991.98px) {
    .hero-section {
        height: 65vh;
        min-height: 450px;
        margin-bottom: 0;
    }
    
    .search-section {
        margin-top: 0;
        padding: 20px 0;
    }
    
    .search-box-wrapper {
        position: relative;
        margin-bottom: 20px;
        padding: 0 15px;
    }
    
    .search-box {
        padding: 20px 15px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .property-main-image {
        height: 350px;
    }
    
    .property-details-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 55vh;
        min-height: 350px;
        margin-bottom: 0;
    }
    
    .search-section {
        padding: 15px 0;
    }
    
    .search-box-wrapper {
        position: relative;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    .search-box {
        padding: 15px 10px;
    }
    
    .search-box .form-label {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .search-box .form-control,
    .search-box .form-select {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .property-features {
        flex-direction: column;
        gap: 5px;
    }
    
    .property-card-footer {
        flex-direction: column;
    }
    
    .property-main-image {
        height: 250px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        height: 62vh;
        min-height: 300px;
        margin-bottom: 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .search-section {
        padding: 10px 0;
    }
    
    .search-box-wrapper {
        margin-bottom: 15px;
    }
    
    .search-box {
        padding: 12px 8px;
    }
    
    .search-box .row > div {
        margin-bottom: 10px;
    }
}

/* Call-to-action Banner */
.cta-banner {
    background: var(--gradient-primary);
    padding: 4rem 0;
    color: white;
    position: relative;
    overflow: hidden;
    margin: 4rem 0;
}

.cta-banner:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1775&q=80') center/cover no-repeat;
    opacity: 0.2;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: white;
    color: var(--primary);
    font-weight: 600;
    border-radius: 30px;
    padding: 0.75rem 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--dark);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

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

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

/* Similar Properties Section */
.similar-properties {
    padding: 60px 0;
}

.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .property-features-list {
        gap: 10px;
    }
    
    .property-feature-item {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .property-price-large {
        font-size: 24px;
    }
    
    .property-thumbnail {
        width: 60px;
        height: 45px;
    }
    
    .property-sidebar {
        margin-top: 30px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 575px) {
    .property-features {
        flex-direction: column;
        gap: 5px;
    }
    
    .property-card-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
}

.featured-properties {
    position: relative;
    z-index: 1;
    padding-top: 50px;
}

/* Estado de carregamento para o grid de propriedades */
.loading {
    position: relative;
    min-height: 200px;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 10;
}

.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    margin-left: -25px;
    border: 5px solid var(--gray-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 11;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Filtros Avançados */
#advanced-filters {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: opacity;
    pointer-events: auto;
    z-index: 5;
    background-color: var(--white);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-top: 10px;
}

#advanced-filters.show {
    display: block;
    opacity: 1;
}

#advanced-filter-toggle {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 10;
    font-size: 0.9rem;
    font-weight: 500;
    background-color: rgba(44, 62, 80, 0.05);
    border: 1px solid rgba(44, 62, 80, 0.1);
}

#advanced-filter-toggle:hover {
    background-color: rgba(44, 62, 80, 0.1);
    text-decoration: none;
    transform: translateY(-2px);
}

#advanced-filter-toggle i {
    transition: transform 0.3s ease;
}

#advanced-filter-toggle:hover i {
    transform: rotate(90deg);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 767.98px) {
    #advanced-filters .row > div {
        margin-bottom: 10px;
    }
    
    #advanced-filters .d-flex.flex-wrap {
        gap: 10px !important;
    }
} 