.site-main--home {
    padding: 0;
    margin: 0;
}

.home-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: visible;
    background: #0d245a;
    z-index: 5;
}

.home-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.home-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
    display: block;
    animation: heroMediaReveal 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(7, 18, 46, 0.20) 0%,
            rgba(7, 18, 46, 0.06) 14%,
            rgba(7, 18, 46, 0) 26%
        ),
        linear-gradient(
            90deg,
            rgba(8, 21, 54, 0.74) 0%,
            rgba(8, 21, 54, 0.56) 20%,
            rgba(8, 21, 54, 0.28) 42%,
            rgba(8, 21, 54, 0.10) 68%,
            rgba(8, 21, 54, 0.02) 100%
        );
}

.home-hero__content {
    position: relative;
    z-index: 2;
    min-height: 88vh;
    display: flex;
    align-items: center;
}

.home-hero__inner {
    max-width: 760px;
    margin-left: 0;
    padding: 8.5rem 0 5.5rem;
    color: #ffffff;
    animation: heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.12s;
}

.home-hero__title {
    margin: 0;
    max-width: 13ch;
    font-size: clamp(2.8rem, 4.3vw, 4.1rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
    font-weight: 700;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
    color: #ffffff;
    white-space: normal;
}

.home-hero__text {
    max-width: 500px;
    margin: 1.4rem 0 0;
    font-size: 1.15rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.18);
    white-space: normal;
    opacity: 0.92;
}

.home-search {
    position: relative;
    margin-top: 2rem;
    max-width: 720px;
}

.home-search__input-wrap {
    position: relative;
    min-width: 0;
}

.home-search__input-wrap .home-search__input {
    height: 100%;
}

.home-search__suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 80;
    margin-top: 0;

    background: #ffffff;
    color: #0d245a;

    border: 1px solid rgba(13, 36, 90, 0.08);
    border-radius: 0 0 4px 4px;

    box-shadow: 0 24px 60px rgba(13, 36, 90, 0.22);
    overflow: hidden;
}


.home-search__suggestions-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;

    padding: 0.75rem 1.2rem 0.65rem;

    font-size: 0.92rem;
    font-weight: 800;
    color: #0d245a;

    border-bottom: 1px solid rgba(13, 36, 90, 0.08);
}

.home-search__suggestions-icon {
    width: 30px;
    height: 30px;

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

    border-radius: 50%;
    background: rgba(6, 49, 149, 0.08);
    color: #063195;

    font-size: 1rem;
    font-weight: 800;
}

.home-search__suggestions-list {
    display: grid;
    max-height: 230px;
    overflow-y: auto;
    padding: 0.65rem 0;
}

.home-search__suggestion {
    width: 100%;
    padding: 0.58rem 1.2rem;

    display: grid;
    gap: 0.08rem;

    border: 0;
    background: #ffffff;
    color: #0d245a;

    font: inherit;
    text-align: left;
    cursor: pointer;

    transition: background 0.18s ease;
}

.home-search__suggestion:hover {
    background: #f3f7ff;
}

.home-search__suggestion-label {
    font-size: 0.95rem;
    font-weight: 800;
    color: #063195;
    line-height: 1.15;
}

.home-search__suggestion-type {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(13, 36, 90, 0.62);
    line-height: 1.15;
}

.home-search__tabs {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-bottom: 0;
    border-radius: 2px 2px 0 0;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(13, 36, 90, 0.10);
}

.home-search__tab {
    min-height: 46px;
    padding: 0 1.2rem;
    border: 0;
    background: rgba(255, 255, 255, 0.94);
    color: #0d245a;
    font: inherit;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.home-search__tab.is-active {
    background: #0d245a;
    color: #ffffff;
}

.home-search__tab:hover {
    background: #0d245a;
    color: #ffffff;
}

.home-search__tab:not(.is-active):hover {
    background: #ceddf4;
    color: #0d245a;
}

.home-search__bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 178px;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(13, 36, 90, 0.18);
    border-radius: 2px;
}

.home-search__input {
    min-height: 64px;
    width: 100%;
    padding: 0 1.3rem;
    border: 0;
    background: rgba(255, 255, 255, 0.98);
    color: #0d245a;
    font: inherit;
    font-size: 1rem;
}

.home-search__input:focus {
    outline: none;
}

.home-search__input::placeholder {
    color: rgba(13, 36, 90, 0.55);
}

.home-search__submit {
    min-width: 160px;
    padding: 0 1.25rem;
    border: 0;
    background: #063195;
    color: #ffffff;
    font: inherit;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 18px rgba(13, 36, 90, 0.18);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.home-search__submit:hover {
    background: #0d245a;
}

.section {
    padding: 5rem 0;
}

.section-heading {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.section-heading__eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #063195;
}

.section-heading__title {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #0d245a;
}

.section-heading__link {
    color: #063195;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.section-heading__link:hover {
    opacity: 0.75;
    transform: translateY(-1px);
}

.home-featured {
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f6f9ff 100%
    );
    position: relative;
    z-index: 1;
}

.home-featured__footer {
    display: none;
}

.home-featured__heading-link  {
    color: #063195;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.15s ease;
    position: relative;
}

.home-featured__more {
    color: #063195;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.home-featured__more:hover {
    color: #063195;
}

.home-featured__slider {
    position: relative;
}

.home-featured__viewport {
    overflow: hidden;
}

.home-featured__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    transition: transform 0.4s ease;
    will-change: transform;
    align-items: stretch;
}

.home-featured__track .listing-card {
    flex: 0 0 calc((100% - 4.5rem) / 4);
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home-featured__track .listing-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* cards menos altos no desktop */
.home-featured__track .listing-card__media {
    height: 220px;
}

.home-featured__track .listing-card__body {
    padding: 1rem 1.1rem 1.1rem;
}

.home-featured__track .listing-card__title {
    min-height: 2.7rem;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    line-height: 1.1;
}

.home-featured__track .listing-card__price {
    font-size: 1.85rem;
}

.home-featured__track .listing-card__location {
    font-size: 0.86rem;
}

.home-featured__track .listing-card__meta-row {
    padding-top: 0.8rem;
    margin-top: auto;
}

.home-featured__track .listing-card__feature-value,
.home-featured__track .listing-card__property-type {
    font-size: 0.85rem;
}

.home-featured__track .listing-card--premium {
    border-color: rgba(184, 154, 97, 0.42);
    box-shadow:
        0 10px 24px rgba(13, 36, 90, 0.08),
        0 4px 10px rgba(184, 154, 97, 0.12);
}

.home-featured__track .listing-card--featured {
    border-color: rgba(6, 49, 149, 0.22);
    box-shadow:
        0 10px 24px rgba(13, 36, 90, 0.08),
        0 4px 10px rgba(6, 49, 149, 0.08);
}

.home-featured__track .listing-card--premium::before,
.home-featured__track .listing-card--featured::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    z-index: 2;
}

.home-featured__track .listing-card--premium::before {
    background: linear-gradient(90deg, #b89a61, #d8c08a);
}

.home-featured__track .listing-card--featured::before {
    background: linear-gradient(90deg, #063195, #3d7be0);
}

.home-featured__track .listing-card--premium .listing-card__badge {
    background: linear-gradient(135deg, #b89a61, #d8c08a);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 18px rgba(184, 154, 97, 0.28);
}

.home-featured__track .listing-card--premium .listing-card__badge span {
    color: #ffffff;
}

.home-featured__track .listing-card--premium .listing-card__price {
    color: #a88445;
}

.home-featured__track .listing-card--featured .listing-card__badge {
    background: #063195;
}

.home-featured__nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;

    background: #063195;
    backdrop-filter: blur(6px);

    color: #ffffff;
    font-size: 1.6rem;

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

    box-shadow: 0 6px 18px rgba(13, 36, 90, 0.18);
    cursor: pointer;

    transition: all 0.25s ease;
    z-index: 5;
}

.home-featured__nav.is-disabled {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.92);
}

.home-featured__nav:hover {
    background: #0d245ad2;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}

.home-featured__nav--prev {
    left: -10px;
}

.home-featured__nav--next {
    right: -10px;
}

.arrow {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-width: 2.5px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}

.arrow--right {
    transform: rotate(45deg);
}

.arrow--left {
    transform: rotate(-135deg);
}

.home-sell {
    position: relative;
    padding: 2rem 0 1.8rem;
    background: #f6f9ff;
}

.home-sell__benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.8rem;
}

.home-sell__benefit {
    padding: 1rem;
    border: 1px solid rgba(13, 36, 90, 0.10);
    background: #ffffff;
    border: 1px solid rgba(13, 36, 90, 0.08);
    border-radius: 6px;
}

.home-sell__benefit strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #0d245a;
    font-size: 1.1rem;
}

.home-sell__benefit span {
    display: block;
    color: rgba(13, 36, 90, 0.72);
    font-size: 1rem;
    line-height: 1.45;
}


.home-sell::before {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: rgba(13, 36, 90, 0.08);
    margin: 0 auto 1.4rem;
}

.home-sell__button {
    margin-top: 2rem;
    min-height: 52px;
    padding: 0 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    background: #063195;
    color: #ffffff;
    border: 1px solid #063195;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(6, 49, 149, 0.18);
}

.home-sell__button:hover {
    background: #0d245a;
    border-color: #0d245a;
    color: #ffffff;
    transform: translateY(-1px);
}

.home-sell__card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 3.5rem;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-sell__content {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.home-sell__title {
    margin: 0;
    max-width: 620px;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #0d245a;
}

.home-sell__text {
    max-width: 560px;
    margin: 1.25rem 0 0;
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(13, 36, 90, 0.78);
}

.home-sell__media {
    min-height: 340px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: none;
    background: transparent;
    position: relative;
}

.home-sell__media::after {
    display: none;
}

.home-sell__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-services {
    background: linear-gradient(
        180deg,
        #f6f9ff 0%,
        #ffffff 100%
    );
    padding: 2.6rem 0 5rem;
    border-top: 1px solid rgba(13, 36, 90, 0.025);
    border-bottom: 0px solid rgba(13, 36, 90, 0.025);
}

.home-services__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.home-services__title {
    margin: 0;
    max-width: 620px;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: #0d245a;
}

.home-services__text {
    max-width: 560px;
    margin: 1.2rem 0 0;
    font-size: 1.03rem;
    line-height: 1.75;
    color: rgba(13, 36, 90, 0.76);
}

.home-services__content {
    order: 2;
    max-width: 620px;
    justify-self: center;
}

.home-services__cta {
    margin-top: 1.5rem;
    display: inline-block;
    position: relative;

    color: #063195;
    font-weight: 800;
    text-decoration: none;
}

.home-services__cta::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: #063195;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.home-services__cta:hover::after {
    transform: scaleX(1);
}

.home-services__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    order: 1;
}

.home-services__card {
    padding: 1.25rem 1.35rem;
    border: 1px solid rgba(13, 36, 90, 0.07);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 26px rgba(13, 36, 90, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-services__card:hover {
    transform: translateY(-2px);
    border-color: rgba(6, 49, 149, 0.14);
    box-shadow: 0 16px 34px rgba(13, 36, 90, 0.08);
}

.home-services__card span {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: #b89a61;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.home-services__card h3 {
    margin: 0;
    color: #0d245a;
    font-size: 1.08rem;
    line-height: 1.2;
}

.home-services__card p {
    margin: 0.55rem 0 0;
    color: rgba(13, 36, 90, 0.72);
    font-size: 0.95rem;
    line-height: 1.55;
}

.home-about {
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #ffffff 60%,
        #ffffff 100%
    );
    padding: 5.5rem 0;
}

.home-about .section-heading__eyebrow,
.home-about__title {
    color: #ffffff;
}

.home-about__cta {
    margin-top: 1.6rem;
    display: inline-flex;
    align-items: center;

    font-weight: 800;
    color: #063195;
    text-decoration: none;

    position: relative;
}

.home-about__cta,
.home-featured__heading-link,
.home-featured__more {
    position: relative;
    display: inline-block;
}

.home-about__cta::after,
.home-featured__heading-link::after,
.home-featured__more::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: #063195;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.home-about__cta:hover::after,
.home-featured__heading-link:hover::after,
.home-featured__more:hover::after {
    transform: scaleX(1);
}

.home-about__content .button {
    margin-top: 1.6rem;
    background: #ffffff;
    border-color: #ffffff;
    color: #0d245a;
}

.home-about__content .button:hover {
    background: #063195;
    border-color: #063195;
    color: #ffffff;
}

.home-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

.home-about__media {
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 25px 60px rgba(13, 36, 90, 0.12);
}

.home-about__media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    overflow: hidden; /* importante para cortar a imagem */
}

.home-about__title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #0d245a;
}

.home-about__text {
    max-width: 520px;
    margin: 1.2rem 0 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(13, 36, 90, 0.82);
}


.home-contact {
    background: #f6f9ff;
    padding: 4rem 0;
    padding-bottom: 1.5rem;
}

.home-contact__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
}

.home-contact__box {
    padding: 3.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 0 24px 48px rgba(7, 18, 46, 0.22);
}

.home-contact .section-heading__eyebrow,
.home-contact__title,
.home-contact__text,
.home-contact__label,
.home-contact__value {
    color: #ffffff;
}

.home-contact__title {
    margin: 0;
    max-width: 500px;
    font-size: clamp(2rem, 2.7vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #0d245a;
}

.home-contact__content {
    padding-top: 1.5rem;
}

.home-contact__text {
    margin: 1rem 0 0;
    max-width: 620px;
    font-size: 1.20rem;
    line-height: 1.7;
    color: rgba(13, 36, 90, 0.78);
}

.home-contact__details {
    margin-top: 1.2rem;
    display: grid;
    gap: 0.45rem;
    color: #0d245a;
}

.home-contact__details p {
    margin: 0;
    line-height: 1.45;
}

.home-contact__details span {
    color: rgba(13, 36, 90, 0.62);
    font-weight: 700;
}

.home-contact__cta-secondary {
    margin-top: 1.4rem;
    margin-bottom: 1.6rem;
    min-height: 44px;
    padding: 0 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: 1px solid rgba(6, 49, 149, 0.45);
    border-radius: 4px;
    color: #063195;

    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: none;

    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.home-contact__cta-secondary:hover {
    background: #063195;
    color: #ffffff;
    transform: translateY(-1px);
}

.button--outline {
    background: transparent;
    border: 1px solid #063195;
    color: #063195;
}

.button--outline:hover {
    background: #063195;
    color: #ffffff;
}

.home-contact__items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.home-contact__item {
    padding: 1.1rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.home-contact__item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.09);
}

.home-contact__feedback {
    margin: 0;
    padding: 0.9rem 1rem;
    border-radius: 4px;
    font-weight: 700;
    line-height: 1.4;
}

.home-contact__feedback.is-success {
    background: rgba(33, 150, 83, 0.10);
    color: #166534;
    border: 1px solid rgba(33, 150, 83, 0.22);
}

.home-contact__feedback.is-error {
    background: rgba(220, 38, 38, 0.08);
    color: #991b1b;
    border: 1px solid rgba(220, 38, 38, 0.20);
}

.home-contact__form button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.home-contact__form {
    padding: 2.2rem;
    background: #ffffff;
    border: 1px solid rgba(13, 36, 90, 0.08);
    border-radius: 6px;
    box-shadow: 0 18px 45px rgba(13, 36, 90, 0.10);
    display: grid;
    gap: 1rem;
}

.home-contact__form input:not([type="checkbox"]),
.home-contact__form textarea {
    width: 100%;
    min-height: 54px;
    padding: 0 1rem;
    border: 1px solid rgba(13, 36, 90, 0.18);
    border-radius: 4px;
    font: inherit;
    font-size: 1rem;
    color: #0d245a;
    background: #ffffff;
}

.home-contact__form textarea {
    min-height: 150px;
    padding-top: 1rem;
    resize: vertical;
}

.home-contact__form input:not([type="checkbox"]):focus,
.home-contact__form textarea:focus {
    outline: none;
    border-color: #063195;
    box-shadow: 0 0 0 3px rgba(6, 49, 149, 0.08);
}

.home-contact__form button {
    min-height: 52px;
    padding: 0 1.6rem;
    width: fit-content;
    border: 1px solid #063195;
    background: #063195;
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 12px 26px rgba(6, 49, 149, 0.18);
    transition: background 0.2s ease, transform 0.15s ease;
}

.home-contact__form button:hover {
    background: #0d245a;
    transform: translateY(-1px);
}

.home-contact__label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.home-contact__value {
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}

.home-contact__actions {
    margin-top: 2rem;
}

.home-contact__actions .button--primary {
    min-height: 52px;
    padding: 0 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    color: #0d245a;
    border: 1px solid #ffffff;

    font-weight: 800;
    text-decoration: none;

    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
    transition: all 0.2s ease;
}

.home-contact__actions .button--primary:hover {
    background: #063195;
    border-color: #063195;
    color: #ffffff;
    transform: translateY(-1px);
}

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

@keyframes heroMediaReveal {
    from {
        opacity: 0.88;
        transform: scale(1.04);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 1100px) {

    .section {
        padding: 3.5rem 0;
    }

    .home-featured.section {
        padding-bottom: 2.5rem;
    }

    .home-featured__track .listing-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
    }

    .home-sell {
        padding: 1.8rem 0 2.5rem;
    }

    .home-sell__card,
    .home-about__grid {
        grid-template-columns: 1fr;
    }

    .home-sell__card {
        gap: 1.8rem;
        padding: 0;
        text-align: center;
    }

    .home-sell__content {
        order: 2;
        text-align: center;
        align-items: center;
    }

    .home-sell__title {
        max-width: 760px;
        font-size: clamp(2rem, 4.4vw, 2.7rem);
    }

    .home-sell__button {
        align-self: center;
    }

    .home-sell__media {
        width: 100%;
        max-width: 560px;
        min-height: 260px;
        margin: 0 auto;
        border-radius: 6px;
        overflow: hidden; /* importante para cortar a imagem */
        order: 1;
    }

    .home-sell__title,
    .home-sell__text {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .home-sell__actions,
    .home-sell__benefits {
        justify-content: center;
    }

    .home-services {
        padding: 3rem 0 3.5rem;
    }

    .home-services__grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .home-services__cards {
        order: 2;
        max-width: 760px;
        margin: 0 auto;
        width: 100%;
    }

    .home-services__content {
        order: 1;
        max-width: 760px;
        margin: 0 auto;
        text-align: center;
        justify-self: center;
    }

    .home-services__title,
    .home-services__text {
        margin-left: auto;
        margin-right: auto;
    }

    .home-about {
        padding: 3.5rem 0;
    }

    .home-about__media img {
        max-height: 340px;
        min-width: 0;
    }

    .home-about__grid {
        gap: 1.8rem;
    }

    .home-hero__media img {
        animation-duration: 1s;
        transform: scale(1.02);
    }

    .home-contact {
        padding: 3.2rem 0 1.5rem;
    }

    .home-contact__items {
        grid-template-columns: 1fr;
    }

    .home-contact__grid {
        align-items: center;
        gap: 2rem;
    }

    .home-contact__content {
        padding-top: 1rem;
    }

    .home-hero__title {
        font-size: clamp(3rem, 4.5vw, 4rem);
        line-height: 0.92;
        letter-spacing: -0.06rem;
        max-width: 13.5ch;
    }
    .home-hero__text {
        white-space: normal;
        max-width: 560px;
        font-size: 1rem;
    }

    .home-hero__inner {
        margin-left: 0;
        max-width: 680px;
        animation-duration: 0.8s;
        animation-delay: 0.1s;
    }
}

@media (max-width: 580px) {
    .home-hero {
        min-height: 76vh;
    }

    .home-hero__media img {
        animation-duration: 0.9s;
    }

    .home-hero__inner {
        margin-left: 0;
        padding: 7rem 0 3.2rem;
        max-width: 100%;
        animation-duration: 0.7s;
        animation-delay: 0.08s;
    }

    .home-hero__title {
        max-width: 13ch;
        font-size: 2rem;
        line-height: 1.12;
        letter-spacing: -0.025em;
    }

    .home-hero__text {
        max-width: 26ch;
        font-size: 1rem;
        line-height: 1.55;
        margin-top: 0.95rem;
    }

    .home-hero__content {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .button {
        min-height: 44px;
        padding: 0 1rem;
        font-size: 0.94rem;
    }

    .home-search {
        position: relative;
        margin-top: 1.2rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        width: min(100%, 350px);
    }

    .home-search__suggestions {
        top: 100%;
        margin-top: 0;
    }

    .home-search__suggestions-list {
        max-height: 145px;
        overflow-y: auto;
    }

    .home-search__suggestions-header {
        padding: 0.95rem 0.9rem 0.55rem;
        gap: 0.65rem;
        font-size: 0.86rem;
    }

    .home-search__suggestions-icon {
        width: 27px;
        height: 27px;
        font-size: 0.9rem;
    }

    .home-search__suggestion {
        padding: 0.48rem 0.9rem;
        gap: 0.04rem;
    }

    .home-search__suggestion-label {
        font-size: 1rem;
        line-height: 1.12;
    }

    .home-search__suggestion-type {
        font-size: 0.76rem;
        line-height: 1.1;
    }

    .home-search__tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        border-radius: 2px 2px 0 0;
        overflow: hidden;
    }

    .home-search__tab {
        min-height: 44px;
        padding: 0 0.75rem;
        font-size: 0.96rem;
    }

    .home-search__bar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        overflow: hidden;
        background: transparent;
    }

    .home-search__input-wrap {
        min-width: 0;
        height: 50px;
        background: #ffffff;
    }

    .home-search__input {
        min-height: 50px;
        height: 50px;
        display: block;
        border: 0;
        background: #ffffff;
    }

    .home-search__submit {
        min-width: 0;
        min-height: 50px;
        height: 50px;
        display: block;
        margin: 0;
        border: 0;
    }

    .section {
        padding: 2.4rem 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 1.2rem;
    }

    .home-sell__content {
        padding: 0;
    }

    .home-sell.section {
        padding-top: 2.2rem;
        padding-bottom: 2.4rem;
    }

    .home-sell::before {
        margin: 0 auto 0.9rem;
    }

    .home-sell__card {
        grid-template-columns: 1fr;
        gap: 0.7rem;
        padding: 0;
    }

    .home-sell__media {
        width: 100%;
        max-width: 96%;
        min-height: 185px;
        margin: 0rem auto;
        margin-bottom: 1.2rem;
        border-radius: 6px;
        overflow: hidden;
    }

    .home-sell__text {
        display: none;
    }

    .home-sell__benefits {
        grid-template-columns: 1fr;
        margin-top: 1.1rem;
        gap: 0.65rem;
    }

    .home-sell__benefit {
        padding: 0.85rem 1rem;
    }

    .home-sell__button {
        width: 100%;
        min-height: 48px;
        margin-top: 1.2rem;
    }

    .home-services {
        padding: 2.5rem 0 2.6rem;
    }

    .home-services__grid {
        gap: 1.25rem;
        text-align: left;
    }

    .home-services__text {
        font-size: 0.96rem;
        line-height: 1.6;
        margin-top: 0.8rem;
        max-width: 34ch;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .home-services__cta {
        margin-top: 1rem;
        display: inline-block;
        margin-top: 1rem;
    }

    .home-services__card {
        padding: 1.05rem 1rem;
    }

    .home-services__card h3 {
        font-size: 1rem;
    }

    .home-services__card p {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .home-about {
        padding: 2.5rem 0 2.6rem;
    }

    .home-about__grid {
        gap: 0.9rem;
        grid-template-columns: 1fr;
    }

    .home-about__media {
        order: -1; /* imagem em cima */
        margin-bottom: 1.3rem;
    }

    .home-about__media img {
        height: 245px;
        border-radius: 6px;
        min-height: 0;
        object-fit: cover;
    }
    
    .home-about__content {
        padding-top: 0;
    }

    .home-about__text {
        margin-top: 0.8rem;
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .home-about__cta {
        margin-top: 1rem;
    }

    .home-featured {
        padding-top: 2.5rem;
    }

    .home-featured .section-heading__title,
    .home-sell__title,
    .home-services__title,
    .home-about__title,
    .home-contact__title {
        font-size: clamp(1.65rem, 8vw, 2rem);
        line-height: 1.08;
        letter-spacing: -0.035em;
    }

    .home-contact__title {
        max-width: 15ch;
    }

    .home-about__title {
        max-width: 16ch;
    }

    .home-featured.section {
        padding-top: 2.6rem;
        padding-bottom: 2.4rem;
    }

    .home-featured__track {
        gap: 0.9rem;
        align-items: flex-start;
    }

    .home-featured__track .listing-card {
        flex: 0 0 100%;
        min-width: 0;
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .home-featured__track .listing-card__media {
        height: 175px;
    }

    .home-featured__track .listing-card__meta-row {
        margin-top: auto;
        padding-top: 0.7rem;
    }

    .home-featured__heading-link {
        display: none;
    }

    .home-featured__footer {
        position: relative;
        z-index: 20;
        display: flex;
        justify-content: center;
        margin-top: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .home-featured__footer .home-featured__more {
        position: relative;
        z-index: 21;
        display: inline-block;
        font-size: 1rem;
        font-weight: 800;
        color: #063195;
        text-decoration: none;
        pointer-events: auto;
        margin-top: 0;
    }

    .home-featured__viewport {
        overflow: hidden;
        padding-bottom: 0;
        margin-bottom: 0;
        height: auto;
    }

    .home-featured__track .listing-card__body {
        padding: 0.85rem 0.9rem 0.95rem;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .home-featured__track .listing-card__title {
        font-size: 1rem;
        line-height: 1.15;
        min-height: auto;
        margin-bottom: 0.45rem;
    }


    .home-featured__track .listing-card__price {
        font-size: 1.35rem;
    }

    .home-featured__track .listing-card__location {
        font-size: 0.82rem;
        min-height: auto;
    }


    .home-featured__nav {
        width: 32px;
        height: 32px;
        top: 48%;
    }

    .home-featured__nav--prev {
        left: -4px;
    }

    .home-featured__nav--next {
        right: -4px;
    }

    .home-contact {
        padding: 2.6rem 0 2.2rem;
    }

    .home-contact__grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .home-contact__content {
        padding-top: 0;
    }

    .home-contact__form {
        padding: 1.15rem;
    }

    .home-contact__form .button {
        width: 100%;
    }

    .home-contact__box {
        padding: 1.6rem 1.15rem;
    }    
}