﻿:root {
    --brand-blue: #00598d;
    --brand-navy: #00355D;
    --brand-red: #cf151f;
    --ink: #071426;
    --muted: #5d6775;
    --line: #e6eaf0;
    --surface: #f6f8fb;
    --shadow: 0 18px 42px rgba(7, 20, 38, 0.11);
}

html { scroll-behavior: smooth; }

body.site-body {
    color: var(--ink);
    background: #fff;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

.skip-link {
    position: absolute;
    top: -52px;
    left: 16px;
    z-index: 2000;
    padding: .7rem 1rem;
    background: var(--brand-navy);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
}

.skip-link:focus { top: 16px; }

.site-navbar {
    min-height: 86px;
    background: #fff;
    
    border-bottom: 1px solid var(--line);
}

.brand-logo {
    width: 172px;
    height: auto;
}

.navbar .nav-link {
    color: var(--ink);
    font-weight: 600;
    padding: .65rem .9rem;
    text-shadow: none;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
    color: var(--brand-red);
}

.btn-brand,
.btn-brand-outline {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0;
}

.btn-brand {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    color: #fff;
}

.btn-brand:hover,
.btn-brand:focus {
    background: #002844;
    border-color: #002844;
    color: #fff;
}

.btn-azul-marinho,
.btn-laranja {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    color: #fff;
}

.btn-outline-laranja {
    border-color: var(--brand-red);
    color: var(--brand-red);
}

.btn-outline-laranja:hover,
.btn-outline-laranja:focus {
    background: var(--brand-red);
    color: #fff;
}

.text-azul-marinho { color: var(--brand-navy); }
.text-laranja { color: var(--brand-red); }
.bg-azul-marinho { background-color: var(--brand-navy); }
.bg-azul-claro { background-color: #eef6fb; }
.bg-laranja { background-color: var(--brand-red); }

.btn-brand-outline {
    color: var(--brand-navy);
    border: 1px solid rgba(0, 53, 93, .28);
    padding-inline: 1.2rem;
    text-decoration: none;
}

.btn-brand-outline:hover,
.btn-brand-outline:focus {
    background: #fff;
    color: var(--brand-navy);
}

.hero-home {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    padding: 130px 0 88px;
    background: url("../../bgpesquisa.jpg") center center / cover no-repeat;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 15, 31, .45), rgba(5, 15, 31, .58));
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 920px;
    margin: 0 auto 2.2rem;
}

.hero-kicker,
.section-kicker {
    margin-bottom: .55rem;
    color: var(--brand-red);
    font-weight: 700;
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: .08em;
}

.hero-copy h1 {
    font-size: clamp(2.4rem, 6vw, 4.9rem);
    line-height: 1.02;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-copy p:not(.hero-kicker) {
    max-width: 740px;
    margin: 0 auto;
    font-size: 1.08rem;
    color: rgba(255,255,255,.9);
}

.hero-search {
    max-width: 1080px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0,0,0,.24);
}

.hero-action {
    margin-top: 1.55rem;
}

.hero-action a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: .18em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

.hero-action a:hover,
.hero-action a:focus {
    color: #fff;
}

.hero-search .form-select,
.hero-search .form-control,
.hero-search .btn {
    min-height: 64px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.hero-search .form-select,
.hero-search .form-control {
    border-right: 1px solid var(--line);
    padding-inline: 1.35rem;
}

.section-block {
    padding: 74px 0;
}

.section-muted {
    background: var(--surface);
}

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

.section-heading h2,
.announce-band h2,
.page-hero h1 {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
}

.section-link {
    color: var(--brand-navy);
    font-weight: 700;
    text-decoration: none;
}

.property-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(7, 20, 38, .08);
    transition: transform .18s ease, box-shadow .18s ease;
}

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

.property-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #dfe7ef;
}

.property-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.like-button {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: var(--brand-navy);
}

.like-button.is-liked {
    color: var(--brand-red);
}

.property-body {
    padding: 1rem;
}

.property-type {
    margin-bottom: .35rem;
    color: var(--brand-navy);
    font-size: .98rem;
    font-weight: 700;
}

.property-body h3 {
    min-height: 2.65rem;
    margin-bottom: .9rem;
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.32;
}

.property-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: .8rem;
}

.property-meta span {
    display: grid;
    gap: .25rem;
    text-align: center;
}

.property-meta i {
    color: var(--brand-navy);
}

.property-footer {
    display: grid;
    gap: .28rem;
    padding-top: .9rem;
}

.property-footer-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
}

.property-label {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 600;
}

.property-value {
    text-align: right;
    line-height: 1.15;
    white-space: nowrap;
}

.property-footer strong {
    color: var(--ink);
    text-align: right;
    line-height: 1.15;
}

.property-value-secondary {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 500;
}

.empty-state {
    padding: 1.5rem;
    border: 1px dashed #b9c3cf;
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    text-align: center;
}

.announce-band {
    padding: 74px 0;
    background: linear-gradient(90deg, #fff 0%, #f4f8fb 100%);
}

.announce-image {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(7, 20, 38, .08);
}

.page-hero {
    padding: 150px 0 36px;
    background: linear-gradient(135deg, #f7fbff 0%, #eef4f9 100%);
}

.page-hero p {
    max-width: 680px;
    color: var(--muted);
}

.contact-map {
    width: 100%;
    aspect-ratio: 16 / 7;
    margin-top: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 12px 34px rgba(7, 20, 38, .08);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.details-hero {
    padding-bottom: 23px;
}

#propertyCarousel {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #dfe7ef;
    box-shadow: 0 12px 34px rgba(7, 20, 38, .08);
}

#propertyCarousel.details-carousel {
    padding-right: calc(25% + 1px);
    background: transparent;
    box-shadow: none;
    border-radius: 14px;
}

#propertyCarousel.details-carousel .carousel-inner {
    overflow: hidden;
    border-radius: 14px 0 0 14px;
    background: #dfe7ef;
    box-shadow: 0 12px 34px rgba(7, 20, 38, .08);
}

#propertyCarousel.details-carousel .carousel-inner.rounded {
    border-radius: 14px 0 0 14px !important;
}

#propertyCarousel.details-carousel .carousel-item,
#propertyCarousel.details-carousel .carousel-item img {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#propertyCarousel .carousel-inner,
#propertyCarousel .carousel-item {
    aspect-ratio: 16 / 9;
}

#propertyCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-peek {
    position: absolute;
    top: 0;
    right: 0;
    width: 25%;
    height: 100%;
    overflow: hidden;
    border-left: 1px solid #fff;
    border-radius: 0 14px 14px 0;
    background: #dfe7ef;
    box-shadow: 0 12px 34px rgba(7, 20, 38, .08);
    pointer-events: none;
}

.carousel-peek img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.68);
}

#propertyCarousel.details-carousel .carousel-control-prev,
#propertyCarousel.details-carousel .carousel-control-next {
    width: 11%;
    z-index: 4;
}

#propertyCarousel.details-carousel .carousel-control-prev {
    left: 0;
    right: auto;
}

#propertyCarousel.details-carousel .carousel-control-next {
    left: auto;
    right: 0;
}

@media (max-width: 767.98px) {
    #propertyCarousel.details-carousel {
        padding-right: 0;
    }

    #propertyCarousel.details-carousel .carousel-control-prev,
    #propertyCarousel.details-carousel .carousel-control-next {
        width: 15%;
    }
}

.similar-properties {
    padding: 74px 0;
    background: var(--surface);
}

.details-copy {
    padding-top: 1.2rem;
}

.details-title {
    margin-bottom: 1rem;
    color: var(--ink);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.15;
}

.details-location,
.details-code {
    margin-bottom: .55rem;
    color: var(--muted);
}

.details-location {
    font-weight: 600;
}

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

.details-feature {
    display: flex;
    align-items: center;
    gap: .85rem;
    min-width: 0;
    padding-right: 1rem;
    border-right: 1px solid var(--line);
    color: var(--ink);
    font-weight: 600;
}

.details-feature:nth-child(3n),
.details-feature:last-child {
    border-right: 0;
}

.details-feature i {
    width: 28px;
    color: var(--brand-navy);
    font-size: 1.35rem;
    text-align: center;
}

.property-details-section {
    max-width: 860px;
}

.property-details-section h2 {
    margin-bottom: 1.1rem;
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 700;
}

.property-details-section p {
    color: var(--muted);
    line-height: 1.7;
}

.property-highlight {
    position: sticky;
    top: 112px;
    margin-top: 1.2rem;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(7, 20, 38, .08);
}

.details-price-row,
.details-cost-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.details-price-row {
    margin-bottom: 1.25rem;
}

.details-cost-row {
    padding: .75rem 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.details-cost-row strong {
    color: var(--ink);
    font-weight: 700;
    text-align: right;
}

.price-tag {
    color: var(--brand-navy);
    font-size: 1.45rem;
    font-weight: 700;
    text-align: right;
}

.contact-card {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.utility-card,
.contact-panel {
    height: 100%;
    display: block;
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(7, 20, 38, .06);
}

.utility-card i {
    color: var(--brand-red);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.utility-card h2,
.contact-panel h2 {
    font-size: 1.25rem;
    font-weight: 700;
}

.utility-card p,
.contact-panel p {
    color: var(--muted);
}

.liked-grid {
    display: grid;
    gap: 1rem;
}

.liked-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.site-footer {
    padding: 64px 0 24px;
    background: #fff;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.footer-logo {
    width: 90%;
    max-width: 450px;
    height: auto;
}

.footer-title {
    margin-bottom: 1rem;
    color: var(--brand-navy);
    font-size: .8rem;
    font-weight: 700;
}

.footer-links li {
    margin-bottom: .6rem;
}

.footer-links a,
.site-footer a {
    color: var(--brand-navy);
    text-decoration: none;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    font-size: .8rem;
}

@media (max-width: 991.98px) {
    .property-highlight {
        position: static;
    }

    .details-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .details-feature:nth-child(3n) {
        border-right: 1px solid var(--line);
    }

    .details-feature:nth-child(2n),
    .details-feature:last-child {
        border-right: 0;
    }

    .site-navbar {
        background: #fff;
    }

    .navbar .nav-link,
    .btn-brand-outline {
        color: var(--ink);
        text-shadow: none;
    }

    .btn-brand-outline {
        justify-content: center;
        border-color: var(--line);
    }

    .hero-home {
        min-height: auto;
        padding-top: 130px;
    }

    .hero-search {
        border-radius: 8px;
    }

    .hero-search .form-select,
    .hero-search .form-control {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .section-heading {
        display: block;
    }

    .section-link {
        display: inline-flex;
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .details-feature-grid {
        grid-template-columns: 1fr;
        margin: 1.5rem 0 2.25rem;
    }

    .details-feature,
    .details-feature:nth-child(3n) {
        border-right: 0;
    }

    .brand-logo {
        width: 138px;
    }

    .hero-home,
    .section-block,
    .announce-band {
        padding-block: 56px;
    }

    .hero-home {
        padding-top: 118px;
    }

    .property-meta {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .property-meta span {
        display: flex;
        justify-content: space-between;
        text-align: left;
    }
}


.property-meta {
    grid-template-columns: repeat(4, 1fr);
}


/* Property meta labels - 2026-05-18 */
.property-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .45rem;
}

.property-meta-item,
.property-stats .property-meta-item {
    display: grid;
    grid-template-rows: auto auto auto;
    align-items: center;
    justify-items: center;
    min-width: 0;
    text-align: center;
    gap: .18rem;
}

.property-meta-item i,
.property-stats .property-meta-item i {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: var(--brand-navy);
    font-size: .95rem;
}

.property-meta-item small,
.property-stats .property-meta-item small {
    display: block;
    width: 100%;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.05;
}

.property-meta-item strong,
.property-stats .property-meta-item strong {
    display: block;
    width: 100%;
    color: var(--ink);
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

/* Bootstrap primary and radius tuning - 2026-05-18 */
:root {
    --bs-primary: var(--brand-navy);
    --bs-primary-rgb: 0, 53, 93;
    --bs-link-color: var(--brand-navy);
    --bs-link-hover-color: #002844;
}

.btn-primary,
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    --bs-btn-bg: var(--brand-navy);
    --bs-btn-border-color: var(--brand-navy);
    --bs-btn-hover-bg: #002844;
    --bs-btn-hover-border-color: #002844;
    --bs-btn-active-bg: #002844;
    --bs-btn-active-border-color: #002844;
}

.btn-outline-primary {
    --bs-btn-color: var(--brand-navy);
    --bs-btn-border-color: var(--brand-navy);
    --bs-btn-hover-bg: var(--brand-navy);
    --bs-btn-hover-border-color: var(--brand-navy);
    --bs-btn-active-bg: #002844;
    --bs-btn-active-border-color: #002844;
}

.btn,
.form-control,
.form-select,
.hero-search,
.utility-card,
.contact-panel,
.property-card,
.announce-image {
    border-radius: 14px;
}

.hero-search {
    border-radius: 999px;
}

.hero-search .form-select,
.hero-search .form-control,
.hero-search .btn {
    border-radius: 0;
}

.site-navbar .btn,
.btn-brand,
.btn-outline-primary {
    border-radius: 999px;
}

/* Primary color exact match - 2026-05-18 */
:root {
    --brand-primary: #00355D;
    --brand-primary-hover: #002844;
    --bs-primary: #00355D;
    --bs-primary-rgb: 0, 53, 93;
}

.btn-brand,
.btn-primary {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #fff !important;
}

.btn-brand:hover,
.btn-brand:focus,
.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--brand-primary-hover) !important;
    border-color: var(--brand-primary-hover) !important;
    color: #fff !important;
}

.btn-outline-primary {
    color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    background-color: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #fff !important;
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
}


/* Navbar scroll behavior - 2026-05-18 */
.site-navbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(7, 20, 38, .06);
    transition: min-height .2s ease, box-shadow .2s ease, padding .2s ease;
}

.site-navbar .container {
    transition: min-height .2s ease;
}

.brand-logo {
    transition: width .2s ease;
}

body.is-scrolled .site-navbar {
    min-height: 58px;
    box-shadow: 0 10px 26px rgba(7, 20, 38, .12);
}

body.is-scrolled .brand-logo {
    width: 118px;
}

body.is-scrolled .site-navbar .nav-link {
    padding-top: .38rem;
    padding-bottom: .38rem;
}

body.is-scrolled .site-navbar .btn {
    min-height: 36px;
    padding-top: .32rem;
    padding-bottom: .32rem;
}

@media (max-width: 575.98px) {
    body.is-scrolled .brand-logo {
        width: 104px;
    }
}

/* Navbar menu font tuning - 2026-05-18 */
.site-navbar .nav-link {
    font-size: 1.18rem;
    font-weight: 500;
}

body.is-scrolled .site-navbar .nav-link {
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .site-navbar .nav-link,
    body.is-scrolled .site-navbar .nav-link {
        font-size: 1.12rem;
        font-weight: 500;
    }
}

/* Hero kicker visibility - 2026-05-18 */
.hero-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .34rem .8rem;
    border-radius: 999px;
    background: rgba(0, 53, 93, .86);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .24);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
}

/* Property card icon size - 2026-05-18 */
.property-meta-item i,
.property-stats .property-meta-item i {
    width: 30px;
    height: 30px;
    font-size: 1.25rem;
}

/* Property meta weight - 2026-05-18 */
.property-meta-item strong,
.property-stats .property-meta-item strong {
    font-weight: 500;
}

/* Internal page hero fixed navbar offset - 2026-05-18 */
.page-hero {
    padding-top: 178px;
}

@media (max-width: 991.98px) {
    .page-hero {
        padding-top: 150px;
    }
}

@media (max-width: 575.98px) {
    .page-hero {
        padding-top: 132px;
    }
}

/* Home search mobile layout - 2026-05-19 */
@media (max-width: 991.98px) {
    .hero-home {
        align-items: flex-start;
        min-height: auto;
        padding-top: 166px;
        padding-bottom: 64px;
    }

    .hero-copy {
        margin-bottom: 1.35rem;
    }

    .hero-copy h1 {
        font-size: 2.35rem;
        line-height: 1.08;
    }

    .hero-search {
        width: 100%;
        overflow: visible;
        border-radius: 14px;
    }

    .hero-search .row {
        --bs-gutter-y: 0;
    }

    .hero-search .form-select,
    .hero-search .form-control,
    .hero-search .btn {
        min-height: 56px;
        border-radius: 0;
    }

    .hero-search .form-select,
    .hero-search .form-control {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .hero-search .row > div:first-child .form-select,
    .hero-search .row > div:first-child .form-control {
        border-top-left-radius: 14px;
        border-top-right-radius: 14px;
    }

    .hero-search .row > div:last-child .btn {
        border-bottom-left-radius: 14px;
        border-bottom-right-radius: 14px;
    }
}

@media (max-width: 575.98px) {
    .hero-home {
        padding-top: 150px;
        padding-bottom: 52px;
    }

    .hero-copy h1 {
        font-size: 2rem;
    }

    .hero-copy p:not(.hero-kicker) {
        font-size: 1rem;
    }
}
