:root {
    --background: #f8f7f4;
    --white: #ffffff;
    --black: #1d1d1b;
    --gray: #70706c;
    --light-gray: #e8e6e1;
    --accent: #b59b72;
    --dark: #252522;
}


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


html {
    scroll-behavior: smooth;
}


body {
    font-family: "DM Sans", sans-serif;
    background: var(--background);
    color: var(--black);
}


/* =========================
   HEADER
========================= */

.header {
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    background: rgba(248, 247, 244, 0.9);

    position: relative;
    z-index: 10;

    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.08);
}


.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 200px;
    height: auto;
    display: block;
}


.nav {
    display: flex;
    gap: 38px;
}


.nav a,
.footer-links a {
    color: var(--black);
    text-decoration: none;
    font-size: 14px;

    transition: color .3s ease;
}


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


.header-button {
    text-decoration: none;
    color: var(--white);

    background: var(--black);

    padding: 13px 22px;

    border-radius: 2px;

    font-size: 13px;

    transition:
        transform .3s ease,
        background .3s ease;
}


.header-button:hover {
    transform: translateY(-2px);
    background: var(--accent);
}


.menu-button {
    display: none;

    border: none;
    background: none;

    font-size: 24px;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 720px;

    display: grid;
    grid-template-columns: 48% 52%;

    padding-left: 8%;

    overflow: hidden;
}


.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-bottom: 50px;

    animation: fadeUp 1s ease forwards;
}


.eyebrow {
    font-size: 11px;

    font-weight: 600;

    letter-spacing: 3px;

    color: var(--accent);

    margin-bottom: 22px;
}


.hero h1 {
    font-family: "Playfair Display", serif;

    font-size: clamp(48px, 5vw, 76px);

    line-height: 1.05;

    font-weight: 400;

    max-width: 650px;
}


.hero h1 span {
    display: block;

    color: var(--accent);
}


.hero-description {
    max-width: 480px;

    color: var(--gray);

    line-height: 1.8;

    margin-top: 30px;

    font-size: 16px;
}


.hero-buttons {
    display: flex;

    align-items: center;

    gap: 25px;

    margin-top: 38px;
}


.button-primary {
    display: inline-flex;

    align-items: center;
    gap: 18px;

    background: var(--black);

    color: white;

    text-decoration: none;

    padding: 16px 24px;

    font-size: 13px;

    transition:
        transform .3s ease,
        background .3s ease;
}


.button-primary:hover {
    transform: translateY(-3px);

    background: var(--accent);
}


.button-secondary {
    color: var(--black);

    text-decoration: none;

    font-size: 13px;

    border-bottom: 1px solid var(--black);

    padding-bottom: 5px;
}


/* =========================
   HERO IMAGE
========================= */

.hero-image-container {
    position: relative;

    min-height: 720px;

    display: flex;

    align-items: center;
    justify-content: center;
}


.image-background {
    position: absolute;

    width: 72%;
    height: 85%;

    right: 0;

    background: #e8e1d5;
}


.hero-image {
    position: relative;

    z-index: 2;

    width: 68%;
    height: 78%;

    object-fit: cover;

    object-position: center;

    animation: imageReveal 1.2s ease forwards;
}


.experience-card {
    position: absolute;

    z-index: 3;

    bottom: 13%;

    left: 8%;

    background: white;

    padding: 22px 28px;

    display: flex;

    flex-direction: column;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
}


.experience-card strong {
    font-family: "Playfair Display", serif;

    font-size: 34px;

    font-weight: 400;
}


.experience-card span {
    color: var(--gray);

    font-size: 11px;

    margin-top: 2px;
}


.creci-card {
    position: absolute;

    z-index: 4;

    right: 6%;

    top: 20%;

    background: var(--black);

    color: white;

    padding: 14px 20px;

    display: flex;

    flex-direction: column;

    font-size: 9px;

    letter-spacing: 2px;
}


.creci-card strong {
    font-size: 11px;

    margin-top: 4px;
}


/* =========================
   SEARCH
========================= */

.search-section {
    padding: 0 8%;

    position: relative;

    z-index: 5;
}


.search-box {
    background: white;

    box-shadow: 0 20px 60px rgba(0, 0, 0, .08);

    padding: 30px;

    display: grid;

    grid-template-columns: 1fr 2fr;

    align-items: center;

    gap: 40px;
}


.search-title {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.search-title span {
    font-family: "Playfair Display", serif;

    font-size: 25px;
}


.search-title small {
    color: var(--gray);

    font-size: 12px;
}


.search-fields {
    display: grid;

    grid-template-columns: 1fr 1fr 1.5fr auto;

    gap: 10px;
}


.search-fields input,
.search-fields select {
    border: 1px solid var(--light-gray);

    background: white;

    padding: 15px;

    color: var(--gray);

    font-family: inherit;

    outline: none;
}


.search-fields button {
    border: none;

    background: var(--black);

    color: white;

    padding: 0 25px;

    cursor: pointer;

    transition: background .3s ease;
}


.search-fields button:hover {
    background: var(--accent);
}

.featured-carousel {
    display: flex;
    align-items: center;
    gap: 20px;
}


.featured-carousel-viewport {
    flex: 1;
    overflow: hidden;
}


.featured-carousel .property-grid {
    display: flex;

    gap: 24px;

    transition: transform 0.5s ease;

    will-change: transform;
}


.featured-carousel .property-card {
    flex: 0 0 calc((100% - 48px) / 3);
}


.carousel-button {
    width: 46px;
    height: 46px;

    padding: 0;

    border: none;
    background: transparent;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    transition: opacity 0.2s ease;
}


.carousel-button img {
    width: 24px;
    height: 24px;

    object-fit: contain;
}


.carousel-button:hover {
    opacity: 0.65;
}


.carousel-button:disabled {
    opacity: 0.25;
    cursor: default;
}

/* =========================
   PROPERTIES
========================= */

.properties {
    padding: 140px 8% 120px;
}


.section-heading {
    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 55px;
}


.section-heading h2,
.about h2,
.cta h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(36px, 4vw, 54px);

    font-weight: 400;

    line-height: 1.15;
}


.section-heading>a {
    color: var(--black);

    text-decoration: none;

    font-size: 13px;
}


.property-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


.property-card {
    background: white;

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}


.property-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 20px 50px rgba(0, 0, 0, .1);
}


.property-image {
    height: 300px;

    position: relative;

    overflow: hidden;
}


.property-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .7s ease;
}


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


.property-tag {
    position: absolute;

    top: 15px;
    left: 15px;

    background: white;

    padding: 8px 12px;

    font-size: 9px;

    letter-spacing: 2px;
}


.property-info {
    padding: 25px;
}


.property-location {
    font-size: 11px;

    color: var(--accent);

    margin-bottom: 10px;
}


.property-info h3 {
    font-family: "Playfair Display", serif;

    font-size: 20px;

    font-weight: 400;
}


.property-details {
    display: flex;

    gap: 15px;

    color: var(--gray);

    font-size: 11px;

    margin: 20px 0;
}


.property-price {
    font-size: 18px;
}

/* =========================
   BOTÃO DOS IMÓVEIS
========================= */

.property-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-top: 5px;

    padding: 13px 18px;

    background: var(--black);

    color: white;

    text-decoration: none;

    font-size: 12px;

    transition:
        background .3s ease,
        transform .3s ease;

}

.property-button:hover {

    background: var(--accent);

    transform: translateY(-2px);

}


/* =========================
   ABOUT
========================= */

.about {
    background: white;

    padding: 120px 8%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}


.about-image {
    height: 600px;

    overflow: hidden;
}


.about-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.about-content {
    max-width: 540px;
}


.about-content h2 {
    margin-bottom: 30px;
}


.about-content p:not(.eyebrow) {
    color: var(--gray);

    line-height: 1.8;

    margin-bottom: 20px;
}


.about-content .button-primary {
    margin-top: 20px;
}


/* =========================
   FEATURES
========================= */

.features {
    padding: 130px 8%;
}


.centered {
    display: block;

    text-align: center;
}


.features-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 70px;

    margin-top: 70px;
}


.feature {
    border-top: 1px solid var(--light-gray);

    padding-top: 25px;
}


.feature-number {
    font-family: "Playfair Display", serif;

    color: var(--accent);

    font-size: 20px;

    margin-bottom: 25px;
}


.feature h3 {
    font-family: "Playfair Display", serif;

    font-size: 25px;

    font-weight: 400;

    margin-bottom: 15px;
}


.feature p {
    color: var(--gray);

    line-height: 1.8;

    font-size: 14px;
}


/* =========================
   CTA
========================= */

.cta {
    background: var(--dark);

    color: white;

    padding: 130px 8%;

    text-align: center;
}


.cta>div {
    max-width: 800px;

    margin: auto;
}


.cta .eyebrow {
    color: #c8b28d;
}


.cta h2 {
    margin-bottom: 25px;
}


.cta p {
    color: #aaa;

    margin-bottom: 35px;
}


.button-light {
    display: inline-block;

    background: white;

    color: var(--black);

    text-decoration: none;

    padding: 16px 25px;

    font-size: 13px;

    transition:
        transform .3s ease,
        background .3s ease;
}


.button-light:hover {
    transform: translateY(-3px);

    background: var(--accent);

    color: white;
}


/* =========================
   FOOTER
========================= */

footer {
    background: var(--dark);

    border-top: 1px solid #3b3b38;

    color: white;

    padding: 35px 8%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 11px;
}


footer>div:nth-child(2) {
    display: flex;

    gap: 20px;

    color: #999;
}


.footer-links {
    display: flex;

    gap: 20px;
}


.footer-links a {
    color: #999;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-links img {
    width: 23px;
    height: 23px;

    object-fit: contain;

    margin-bottom: -5px;

}


/* =========================
   ANIMAÇÕES
========================= */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes imageReveal {

    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


/* =========================
   RESPONSIVO
========================= */
/* =========================
   NOTEBOOKS
========================= */

@media (max-width: 1400px) and (min-width: 1001px) {

    /* HERO */
    .hero {
        min-height: 600px;
    }

    .hero-image-container {
        min-height: 600px;
    }

    .hero h1 {
        font-size: clamp(42px, 3.8vw, 54px);
    }

    .hero-description {
        font-size: 14px;
        margin-top: 22px;
    }

    .hero-buttons {
        margin-top: 28px;
    }

    /* TÍTULOS DAS SEÇÕES */
    .section-heading h2,
    .about h2,
    .cta h2 {
        font-size: 38px;
    }

    /* IMÓVEIS EM DESTAQUE */
    .properties {
        padding: 80px 6% 75px;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .property-image {
        height: 230px;
    }

    .property-info {
        padding: 18px;
    }

    .property-info h3 {
        font-size: 19px;
    }

    .property-details {
        margin: 14px 0;
    }

    /* SOBRE */
    .about {
        padding: 80px 6%;
        gap: 65px;
    }

    .about-image {
        height: 460px;
    }

    .about-content h2 {
        margin-bottom: 22px;
    }

    .about-content p:not(.eyebrow) {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 16px;
    }

    /* DIFERENCIAIS */
    .features {
        padding: 85px 6%;
    }

    .features-grid {
        gap: 45px;
        margin-top: 45px;
    }

    .feature h3 {
        font-size: 21px;
    }

    .feature p {
        font-size: 13px;
        line-height: 1.7;
    }

    /* CTA */
    .cta {
        padding: 85px 6%;
    }

    .cta h2 {
        margin-bottom: 20px;
    }

    .cta p {
        margin-bottom: 28px;
        font-size: 14px;
    }
}


@media (max-width: 1000px) {

    .header {
        position: relative;
    }


    .header-button {
        display: none;
    }


    .menu-button {
        display: block;

        position: relative;
        z-index: 20;

        cursor: pointer;

        color: var(--black);
    }


    .nav {
        position: absolute;

        top: 90px;
        left: 0;

        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 0;

        background: var(--background);

        padding: 10px 6% 20px;

        border-top: 1px solid var(--light-gray);

        box-shadow:
            0 20px 35px rgba(0, 0, 0, 0.08);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        pointer-events: none;

        transition:
            opacity .25s ease,
            transform .25s ease,
            visibility .25s ease;

        z-index: 15;
    }


    .nav.active {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);

        pointer-events: auto;
    }


    .nav a {
        width: 100%;

        padding: 15px 0;

        border-bottom:
            1px solid var(--light-gray);
    }


    .nav a:last-child {
        border-bottom: none;
    }


    /* restante do seu CSS responsivo... */


    .hero {
        grid-template-columns: 1fr;

        padding: 60px 8%;
    }


    .hero-image-container {
        min-height: 600px;

        margin-top: 50px;
    }


    .search-box {
        grid-template-columns: 1fr;
    }


    .search-fields {
        display: grid;

        grid-template-columns: 1fr 1.5fr auto;

        gap: 10px;
    }


    .property-grid {
        grid-template-columns: 1fr 1fr;
    }


    .about {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .features-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {

    .featured-carousel {
        gap: 10px;
    }


    .featured-carousel .property-card {
        flex: 0 0 100%;
    }


    .carousel-button {
        width: 36px;
        height: 36px;
    }


    .carousel-button img {
        width: 20px;
        height: 20px;
    }

}

@media (max-width: 650px) {

    .header {
        padding: 0 5%;
    }


    .hero {
        padding: 50px 5%;
    }


    .hero h1 {
        font-size: 46px;
    }


    .hero-image-container {
        min-height: 480px;
    }


    .hero-image {
        width: 80%;
        height: 75%;
    }


    .experience-card {
        left: 0;
    }


    .search-section {
        padding: 0 5%;
    }


    .search-fields {
        grid-template-columns: 1fr;
    }


    .search-fields button {
        padding: 15px;
    }


    .properties,
    .features,
    .about {
        padding-left: 5%;
        padding-right: 5%;
    }


    .section-heading {
        display: block;
    }


    .section-heading>a {
        display: inline-block;

        margin-top: 20px;
    }


    .property-grid {
        grid-template-columns: 1fr;
    }


    .property-image {
        height: 280px;
    }


    .about-image {
        height: 450px;
    }


    footer {
        flex-direction: column;

        gap: 25px;

        text-align: center;
    }

}