:root {
            --orange: #FF7A00;
            --dark-orange: #E56200;
            --dark-gray: #333333;
            --light-gray: #F5F5F5;
            --mid-gray: #777777;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            color: var(--dark-gray);
            line-height: 1.6;
        }

        header {
            background-color: var(--dark-gray);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .flex {
            display: flex;
        }

        .space-between {
            justify-content: space-between;
        }

        .align-center {
            align-items: center;
        }

        .logo {
            color: white;
            font-size: 1.8rem;
            font-weight: bold;
        }

        .logo span {
            color: var(--orange);
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav ul li {
            margin-left: 2rem;
        }

        nav ul li a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }

        nav ul li a:hover {
            color: var(--orange);
        }

        .hero {
            background: linear-gradient(135deg,
                    rgba(51, 51, 51, 0.7) 0%,
                    rgba(51, 51, 51, 0.5) 30%,
                    rgba(255, 122, 0, 0.7) 65%,
                    rgba(229, 98, 0, 0.8) 100%),
                url('casaBg.jpg') center/cover no-repeat;
            height: 80vh;
            color: white;
            display: flex;
            align-items: center;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
        }

        .btn {
            display: inline-block;
            padding: 0.8rem 2rem;
            background-color: var(--orange);
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: background-color 0.3s;
        }

        .btn:hover {
            background-color: var(--dark-orange);
        }

        section {
            padding: 5rem 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-title h2 {
            font-size: 2.5rem;
            color: var(--dark-gray);
            position: relative;
            display: inline-block;
            padding-bottom: 1rem;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 25%;
            width: 50%;
            height: 4px;
            background-color: var(--orange);
        }

        .about {
            background-color: var(--light-gray);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        .profile-img {
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .services {
            background-color: white;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .category-tabs {
            display: flex;
            justify-content: center;
            margin-bottom: 2rem;
        }

        .category-tab {
            padding: 1rem 2rem;
            background-color: var(--light-gray);
            color: var(--dark-gray);
            font-weight: bold;
            cursor: pointer;
            margin: 0 0.5rem;
            border-radius: 5px;
            transition: all 0.3s;
        }

        .category-tab.active,
        .category-tab:hover {
            background-color: var(--orange);
            color: white;
        }

        .service-card {
            background-color: var(--light-gray);
            padding: 2rem;
            border-radius: 10px;
            text-align: center;
            transition: transform 0.3s;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .service-card:hover {
            transform: translateY(-10px);
        }

        .service-icon {
            font-size: 3rem;
            color: var(--orange);
            margin-bottom: 1rem;
        }

        .properties {
            background-color: var(--light-gray);
        }

        .properties-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .property-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s;
        }

        .property-card:hover {
            transform: translateY(-10px);
            cursor: pointer;
        }

        /* INÍCIO - Novo CSS para o carrossel */
        .property-img-carousel {
            max-width: 500px;
            margin: 0 auto;
            position: relative;
            height: 300px;
            overflow: hidden;
        }

        .carousel-container {
            display: flex;
            height: 100%;
            transition: transform 0.5s ease;
        }

        .carousel-slide {
            min-width: 100%;
            background-size: cover;
            background-position: center;
        }

        .carousel-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 30px;
            height: 30px;
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            z-index: 10;
            transition: background-color 0.3s;
        }

        .carousel-arrow:hover {
            background-color: rgba(255, 122, 0, 0.8);
        }

        .carousel-prev {
            left: 10px;
        }

        .carousel-next {
            right: 10px;
        }

        .carousel-dots {
            position: absolute;
            bottom: 10px;
            width: 100%;
            display: flex;
            justify-content: center;
            gap: 5px;
        }

        .carousel-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
        }

        .carousel-dot.active {
            background-color: var(--orange);
        }

        /* FIM - Novo CSS para o carrossel */

        .property-info {
            padding: 1.5rem;
        }

        .property-price {
            color: var(--orange);
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .property-address {
            color: var(--mid-gray);
            margin-bottom: 1rem;
        }

        .property-features {
            display: flex;
            justify-content: space-between;
            border-top: 1px solid var(--light-gray);
            padding-top: 1rem;
        }

        .feature {
            text-align: center;
        }

        .testimonials {
            background-color: white;
        }

        .testimonial-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .testimonial-card {
            background-color: var(--light-gray);
            padding: 2rem;
            border-radius: 10px;
            position: relative;
        }

        .testimonial-card::before {
            content: '"';
            position: absolute;
            top: 10px;
            left: 20px;
            font-size: 4rem;
            color: var(--orange);
            opacity: 0.2;
        }

        .client-info {
            display: flex;
            align-items: center;
            margin-top: 1.5rem;
        }

        .client-img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin-right: 1rem;
        }

        .client-name {
            font-weight: bold;
        }

        .contact {
            background-color: var(--dark-gray);
            color: white;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
        }

        .contact-info p {
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
        }

        .contact-info i {
            color: var(--orange);
            margin-right: 1rem;
            font-size: 1.2rem;
        }

        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 1rem;
            margin-bottom: 1rem;
            border: none;
            border-radius: 5px;
        }

        .contact-form textarea {
            height: 150px;
            resize: none;
        }

        footer {
            background-color: #222;
            color: white;
            text-align: center;
            padding: 2rem 0;
        }

        .social-icons {
            margin: 1rem 0;
        }

        .social-icons a {
            color: white;
            margin: 0 0.5rem;
            font-size: 1.5rem;
            transition: color 0.3s;
        }

        .hidden {
            display: none;
        }

        .social-icons a:hover {
            color: var(--orange);
        }
        
        
        .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-content {
    background: #fff;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
    overflow-y: auto;
    max-height: 90vh;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
}

.hidden {
    display: none;
}


        @media (max-width: 768px) {

            .about-content,
            .contact-grid {
                grid-template-columns: 1fr;
            }

            nav {
                display: none;
            }

            .hero h1 {
                font-size: 2.2rem;
            }
        }