/* VARIÁVEIS DE DESIGN SLICK */
:root {
    --bg-dark: #0B261A;           /* O teu Verde Escuro */
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.65);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --radius-large: 28px;         /* Cantos bem arredondados como nas fotos */
    --radius-small: 16px;
    --transition-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

/* ANIMAÇÕES BASE (REVEAL ON SCROLL) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s var(--transition-smooth), transform 1.2s var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* BOTÕES */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.4s var(--transition-smooth);
}

.btn--header {
    background-color: var(--glass-bg);
    color: var(--text-light);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    padding: 10px 24px;
    font-size: 0.85rem;
}

.btn--header:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

.btn--primary {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

.btn--primary:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(255,255,255,0.1);
}

/* CABEÇALHO FLUTUANTE */
.header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header__wrapper {
    background: rgba(11, 38, 26, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 12px 30px;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.nav-toggle.active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.logo img {
    height: 32px;
    filter: brightness(0) invert(1); /* Garante que o logo fica branco */
}

.nav__list {
    display: flex;
    gap: 40px;
}

.nav__link {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: var(--text-light);
}

/* HERO SECTION - VISUAL IMERSIVO */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: stretch;
    padding-top: 100px;
    padding-bottom: 40px;
    isolation: isolate;
    overflow: hidden;
}

.hero__bg-wrapper {
    position: absolute;
    top: 15px;
    left: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    border-radius: var(--radius-large);
    overflow: hidden;
    z-index: 0;
}

.hero__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.75);
    background-color: #1a3a2b;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to bottom, rgba(11,38,26,0.45), rgba(11,38,26,0.7)),
        radial-gradient(ellipse at center 40%, rgba(11,38,26,0.15) 0%, rgba(11,38,26,0.55) 70%);
}

.hero__layout {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 32px;
    padding-bottom: 20px;
}

.hero__center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0 20px;
    pointer-events: none;
}

.hero__content {
    max-width: 720px;
    pointer-events: auto;
}

.hero__title {
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
    text-wrap: balance;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0 auto 30px;
    max-width: 560px;
    text-wrap: pretty;
}

.hero__tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Cards flutuantes no hero */
.hero__floaters {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.hero__card--floater {
    position: absolute;
    pointer-events: auto;
    max-width: 260px;
    padding: 12px;
    animation: floatSoft 7s ease-in-out infinite;
}

.hero__card--floater .hero__card-image {
    width: 64px;
    height: 64px;
}

.hero__card--floater .hero__card-info h4 {
    font-size: 0.88rem;
}

.hero__card--floater .hero__card-info p {
    font-size: 0.75rem;
    margin-bottom: 0;
}

.hero__floater--1 { top: 14%; right: 6%; animation-delay: 0s; }
.hero__floater--2 { top: 38%; left: 4%; animation-delay: -2.5s; }
.hero__floater--3 { bottom: 32%; right: 10%; animation-delay: -4.5s; }
.hero__floater--4 { top: 20%; left: 8%; animation-delay: -1.2s; }

@keyframes floatSoft {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(0.4deg); }
    66% { transform: translateY(6px) rotate(-0.3deg); }
}

.hero__card--floater:hover {
    animation-play-state: paused;
    transform: translateY(-6px) scale(1.02);
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
}

/* Card Flutuante com Efeito Glassmorphism */
.hero__card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(25px);
    padding: 16px;
    border-radius: var(--radius-large);
    display: flex;
    gap: 16px;
    align-items: center;
    max-width: 360px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transition: transform 0.35s var(--transition-smooth), border-color 0.3s ease;
}

.hero__card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero__card-image {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-small);
    overflow: hidden;
}

.hero__card-image img {
    width: 100%;
    height: 100%;
}

.hero__card-info h4 {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 2px;
}

.hero__card-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.hero__card-link {
    font-size: 0.85rem;
    font-weight: 500;
}

.quick-search__btn:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

/* CIDADES DISCRETAS (ABAIXO DA BUSCA) */
.cities-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 20px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cities-inline a {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.cities-inline a:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* IMÓVEIS SELECIONADOS */
.selected {
    padding: 100px 0;
}

.selected__header {
    margin-bottom: 28px;
}

.selected__subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 8px;
    max-width: 520px;
    text-wrap: pretty;
}

.selected__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.selected-card {
    display: block;
    color: inherit;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-large);
    overflow: hidden;
    transition: transform 0.35s var(--transition-smooth), border-color 0.3s ease;
    animation: fadeUp 0.5s ease both;
}

.selected-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.25);
}

.selected-card__img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #1a3a2b;
}

.selected-card__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s var(--transition-smooth);
}

.selected-card:hover .selected-card__img img {
    transform: scale(1.05);
}

.selected-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 16px;
    background: rgba(11, 38, 26, 0.8);
    border: 1px solid var(--glass-border);
}

.selected-card__body {
    padding: 18px;
}

.selected-card__body h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.selected-card__body p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.4;
}

.selected-card__price {
    font-size: 0.95rem;
    font-weight: 600;
}

/* SOBRE — MARA METZ */
.about {
    padding: 100px 0;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about__creci {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 10px 0 20px;
    letter-spacing: 0.5px;
}

.about__cta {
    margin-top: 30px;
}

.about__visual {
    position: relative;
}

.about__img-box {
    height: 480px;
    border-radius: var(--radius-large);
    overflow: hidden;
    background-color: #1a3a2b;
}

.about__img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.5s var(--transition-smooth);
}

.about__visual:hover .about__img-box img {
    transform: scale(1.04);
}

.about__badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: #ffffff;
    color: #000000;
    padding: 24px 28px;
    border-radius: var(--radius-large);
    max-width: 300px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.about__badge h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.about__badge p {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.4;
}

/* SECÇÃO CONCEITO (legado) */
.concept {
    padding: 140px 0;
}

.section-number {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    display: block;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -1px;
    max-width: 600px;
}

.concept__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 30px;
}

.concept__visual {
    position: relative;
}

.concept__img-box {
    height: 500px;
    border-radius: var(--radius-large);
    overflow: hidden;
    background-color: #1a3a2b;
}

.concept__img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.5s var(--transition-smooth);
}

.concept__visual:hover .concept__img-box img {
    transform: scale(1.05);
}

.concept__badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: #ffffff;
    color: #000000;
    padding: 30px;
    border-radius: var(--radius-large);
    max-width: 320px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.concept__badge h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.concept__badge p {
    font-size: 0.85rem;
    color: #555555;
    line-height: 1.5;
}

/* SPOTLIGHT — GALERIA DE DESTAQUES */
.spotlight {
    padding: 100px 0 80px;
}

.spotlight__header {
    text-align: center;
    margin-bottom: 50px;
}

.spotlight__header .section-title {
    max-width: none;
    margin: 0 auto;
}

.spotlight__gallery {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    height: 420px;
}

.spotlight__item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.spotlight__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.55s ease;
}

.spotlight__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 24, 16, 0.82) 0%, transparent 48%);
    pointer-events: none;
    opacity: 0.65;
    transition: opacity 0.4s ease;
}

.spotlight__item-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 18px 16px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease 0.05s, transform 0.35s ease 0.05s;
    pointer-events: none;
}

.spotlight__item-info strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spotlight__item-info span {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

@media (hover: hover) and (pointer: fine) {
    .spotlight__gallery:hover .spotlight__item {
        flex: 0.7 1 0;
    }

    .spotlight__gallery:hover .spotlight__item:hover,
    .spotlight__item.is-active {
        flex: 3.2 1 0;
    }

    .spotlight__gallery:hover .spotlight__item:hover img,
    .spotlight__item.is-active img {
        transform: scale(1.04);
    }

    .spotlight__gallery:hover .spotlight__item:hover::after,
    .spotlight__item.is-active::after {
        opacity: 1;
    }

    .spotlight__gallery:hover .spotlight__item:hover .spotlight__item-info,
    .spotlight__item.is-active .spotlight__item-info {
        opacity: 1;
        transform: translateY(0);
    }
}

.spotlight__item.is-active {
    flex: 3.2 1 0;
}

.spotlight__item.is-active img {
    transform: scale(1.04);
}

.spotlight__item.is-active::after {
    opacity: 1;
}

.spotlight__item.is-active .spotlight__item-info {
    opacity: 1;
    transform: translateY(0);
}

.spotlight__cta {
    text-align: center;
    margin-top: 50px;
}

/* BUSCA RÁPIDA */
.quick-search {
    width: 100%;
}

.quick-search--hero {
    margin-top: auto;
}

.quick-search__toggle {
    display: none;
}

.quick-search__panel {
    width: 100%;
}

.quick-search__bar {
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    padding: 8px 8px 8px 0;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.quick-search__field {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    flex: 1;
    min-width: 0;
}

.quick-search__field--wide {
    flex: 1.6;
    padding-left: 32px;
}

.quick-search__field label {
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.quick-search__field input {
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-light);
    background: transparent;
    width: 100%;
}

.quick-search__field input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

/* SELECT CUSTOMIZADO */
.select-wrap {
    position: relative;
    width: 100%;
}

.select-wrap:not(.is-enhanced)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-light);
    background: transparent;
    width: 100%;
    padding-right: 20px;
    cursor: pointer;
}

.select-wrap.is-enhanced select {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.select-wrap select option {
    background: var(--bg-dark);
    color: var(--text-light);
}

.custom-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
}

.custom-select__value {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-select__value.is-placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.custom-select__chevron {
    flex-shrink: 0;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.2s ease;
}

.select-wrap.is-open .custom-select__chevron {
    transform: rotate(180deg);
}

.custom-select__menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 80;
    min-width: 100%;
    padding: 8px;
    background: #0b261a;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    max-height: 260px;
    overflow-y: auto;
}

.custom-select__option {
    display: block;
    width: 100%;
    padding: 11px 14px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.custom-select__option:hover,
.custom-select__option:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.custom-select__option.is-selected {
    background: rgba(200, 240, 216, 0.12);
    color: #c8f0d8;
}

.select-wrap--dark .custom-select__value.is-placeholder {
    color: var(--text-muted);
}

.select-wrap--dark .custom-select__menu {
    background: #0d2e1f;
    border-color: rgba(255, 255, 255, 0.12);
}

.quick-search__btn {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--text-light);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin-right: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-search__btn:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

/* CIDADES / CATEGORIAS (legado — removido da home) */
.cities {
    padding: 80px 0 100px;
}

.cities__header {
    text-align: center;
    margin-bottom: 50px;
}

.cities__header .section-title {
    max-width: none;
    margin: 0 auto 12px;
}

.cities__subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.cities__grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 16px;
}

.city-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-large);
    overflow: hidden;
    transition: transform 0.35s var(--transition-smooth);
}

.city-card:hover {
    transform: translateY(-6px);
}

.city-card__img {
    aspect-ratio: 1;
    overflow: hidden;
    background: #1a3a2b;
}

.city-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--transition-smooth);
}

.city-card:hover .city-card__img img {
    transform: scale(1.08);
}

.city-card__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--city-color);
    color: #fff;
    padding: 14px 12px;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.2;
    min-height: 52px;
}

.city-card__icon {
    font-size: 1rem;
    opacity: 0.85;
    flex-shrink: 0;
}

/* SHOWCASE DE IMÓVEIS (ASSIMÉTRICO) */
.showcase {
    padding-bottom: 140px;
}

.showcase__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-end;
    margin-bottom: 60px;
}

.showcase__subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 450px;
    justify-self: end;
    text-wrap: pretty;
}

.showcase__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
}

.showcase__item {
    display: block;
    color: inherit;
}

.showcase__item--large {
    grid-row: span 2;
}

.showcase__img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: var(--radius-large);
    overflow: hidden;
    background-color: #1a3a2b;
}

.showcase__item--large .showcase__img-wrapper {
    min-height: 700px;
}

.showcase__img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.2s var(--transition-smooth);
}

.showcase__item:hover .showcase__img-wrapper img {
    transform: scale(1.04);
}

/* Card Info Overlay */
.showcase__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(11,38,26,0.95));
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.property-tag {
    align-self: flex-start;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.showcase__card-bottom h3 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.showcase__card-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* RODAPÉ */
.footer {
    background-color: #061810;
    padding: 80px 0 40px;
    border-radius: var(--radius-large) var(--radius-large) 0 0;
    overflow: hidden;
}

/* SECÇÃO VENDER IMÓVEL */
.sell-cta {
    text-align: center;
    padding-bottom: 70px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sell-cta__eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.sell-cta__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1px;
    max-width: 640px;
    margin: 0 auto 16px;
}

.sell-cta__desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 520px;
    margin: 0 auto 10px;
    line-height: 1.6;
}

.sell-cta__gallery {
    position: relative;
    height: 260px;
    max-width: 700px;
    margin: 48px auto 40px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.sell-cta__gallery::before {
    content: '';
    position: absolute;
    inset: 40px -20% -20px;
    background:
        linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 2.5rem 2.5rem;
    opacity: 0.35;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
    pointer-events: none;
}

.sell-cta__photo {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 160px;
    height: 190px;
    margin-left: -80px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.12);
    z-index: var(--z, 1);
    opacity: 0;
    transform: translate(0, 50px) rotate(0deg) scale(0.88);
    transition:
        transform 0.9s cubic-bezier(0.34, 1.25, 0.64, 1),
        opacity 0.6s ease,
        box-shadow 0.35s ease,
        z-index 0s;
    transition-delay: calc(var(--order) * 0.12s);
}

.sell-cta__gallery.is-visible .sell-cta__photo {
    opacity: 1;
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(1);
}

.sell-cta__photo:hover {
    transform: translate(var(--tx), calc(var(--ty) - 12px)) rotate(var(--rot)) scale(1.06) !important;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
    z-index: 99 !important;
}

.sell-cta__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sell-cta__btn {
    margin-top: 8px;
}

.footer__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__logo {
    height: 28px;
    filter: brightness(0) invert(1);
}

.footer__copy {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* PÁGINA DE LISTAGEM */
.nav__link--active {
    color: var(--text-light);
}

.listings-page {
    padding-top: 100px;
}

.listings-hero {
    padding: 40px 0 30px;
}

.listings-hero__title {
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.listings-hero__subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.listings {
    padding-bottom: 100px;
}

.listings__layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.listings__filters {
    position: sticky;
    top: 100px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-large);
    padding: 28px;
    backdrop-filter: blur(16px);
}

.filters__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.filters__header h2 {
    font-size: 1.1rem;
    font-weight: 500;
}

.filters__clear {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 4px;
}

.filters__clear:hover {
    color: var(--text-light);
}

.filters__group {
    margin-bottom: 20px;
}

.filters__group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.filters__group input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-small);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.filters__group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.filters__group input:focus {
    border-color: rgba(255, 255, 255, 0.3);
}

.filters__group .select-wrap.is-enhanced .custom-select__trigger {
    padding: 12px 16px;
    border-radius: var(--radius-small);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
}

.filters__group .select-wrap:not(.is-enhanced) select {
    padding: 12px 16px;
    border-radius: var(--radius-small);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
}

.filters__group .select-wrap:not(.is-enhanced)::after {
    right: 16px;
}

.filters__group .custom-select__menu {
    left: 0;
    right: 0;
}

.filters__submit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.listings__toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.listings__count {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.filters__toggle {
    display: none;
}

.listings__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.listing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-large);
    overflow: hidden;
    transition: transform 0.35s var(--transition-smooth), border-color 0.3s ease;
    animation: fadeUp 0.5s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.listing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
}

.listing-card__img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #1a3a2b;
}

.listing-card__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s var(--transition-smooth);
}

.listing-card:hover .listing-card__img img {
    transform: scale(1.04);
}

.listing-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(11, 38, 26, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.listing-card__body {
    padding: 20px;
}

.listing-card__meta {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.listing-card__type,
.listing-card__listing {
    font-size: 0.72rem;
    text-transform: capitalize;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 10px;
    border-radius: 12px;
}

.listing-card__title {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.listing-card__details {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.listing-card__price {
    font-size: 1.05rem;
    font-weight: 600;
}

.listings__empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.listings__empty p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer--compact {
    padding: 40px 0;
    border-radius: 0;
}

.footer--compact .footer__meta {
    border-top: none;
    padding-top: 0;
}

/* PÁGINA DE DETALHE DO IMÓVEL */
.property-page {
    padding: 110px 0 100px;
}

.property-not-found {
    padding: 160px 0 100px;
    text-align: center;
}

.property-not-found h1 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.property-not-found p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.property__back {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    transition: color 0.2s ease;
}

.property__back:hover {
    color: var(--text-light);
}

.property__layout {
    display: flex;
    flex-wrap: nowrap;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 60px;
    width: 100%;
    max-width: 100%;
}

.property__gallery {
    flex: 1 1 0;
    min-width: 0;
    max-width: calc(100% - 392px);
}

.property__main-img {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 420px;
    border: none;
    padding: 0;
    cursor: zoom-in;
    border-radius: var(--radius-large);
    overflow: hidden;
    background: #0a1f15;
    box-sizing: border-box;
}

.property__main-img img,
.property__stage-media,
.property__stage-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.property__main-img:hover .property__gallery-hint {
    opacity: 1;
}

.property__gallery-hint {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(11, 38, 26, 0.85);
    border: 1px solid var(--glass-border);
    padding: 8px 14px;
    border-radius: 24px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* LIGHTBOX / CARROSSEL DE FOTOS */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox[hidden] {
    display: none;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 20, 14, 0.94);
    backdrop-filter: blur(8px);
}

.lightbox__stage {
    position: relative;
    z-index: 1;
    width: min(92vw, 1100px);
    height: min(78vh, 720px);
    border-radius: var(--radius-large);
    overflow: hidden;
}

.lightbox__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0a1f15;
}

.lightbox__img--out-next { animation: lbOutRTL 0.22s ease forwards; }
.lightbox__img--in-next  { animation: lbInRTL 0.38s ease forwards; }
.lightbox__img--out-prev { animation: lbOutLTR 0.22s ease forwards; }
.lightbox__img--in-prev  { animation: lbInLTR 0.38s ease forwards; }

@keyframes lbOutRTL {
    to { clip-path: inset(0 0 0 100%); opacity: 0; }
}
@keyframes lbInRTL {
    from { clip-path: inset(0 100% 0 0); opacity: 0.6; }
    to { clip-path: inset(0 0 0 0); opacity: 1; }
}
@keyframes lbOutLTR {
    to { clip-path: inset(0 100% 0 0); opacity: 0; }
}
@keyframes lbInLTR {
    from { clip-path: inset(0 0 0 100%); opacity: 0.6; }
    to { clip-path: inset(0 0 0 0); opacity: 1; }
}

.lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lightbox__close:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--glass-border);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lightbox__nav:hover {
    background: rgba(255,255,255,0.22);
}

.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

.lightbox__counter {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(11, 38, 26, 0.8);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.property__thumbs {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 4px;
}

.property__thumb {
    flex-shrink: 0;
    width: 100px;
    height: 72px;
    border-radius: var(--radius-small);
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: opacity 0.25s ease, border-color 0.25s ease;
}

.property__thumb--active,
.property__thumb:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.5);
}

.property__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property__sidebar {
    flex: 0 0 360px;
    width: 360px;
    max-width: 100%;
    box-sizing: border-box;
    position: sticky;
    top: 100px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-large);
    padding: 32px;
    backdrop-filter: blur(16px);
}

.property__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.property__tag {
    font-size: 0.75rem;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
}

.property__title {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.property__location {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.property__price {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
}

.property__specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.property__specs li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.property__specs span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
}

.property__specs strong {
    font-size: 1.1rem;
    font-weight: 500;
}

.btn--whatsapp {
    width: 100%;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn--whatsapp:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
    color: #fff;
}

.property__whatsapp-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.property__details h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.property__details h2:not(:first-child) {
    margin-top: 40px;
}

.property__details > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 800px;
}

.property__amenities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    max-width: 800px;
}

.property__amenities li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-small);
}

.property__amenities li::before {
    content: '✓';
    color: #6ecf9a;
    font-weight: 600;
    flex-shrink: 0;
}

.listing-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Nav mobile base — detalhes em mobile.css */
@media (max-width: 968px) {
    .nav-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        height: 100dvh;
        background: #061810;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        display: flex;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s ease, visibility 0.35s ease;
        z-index: 2000;
    }

    .nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav__list {
        flex-direction: column;
    }
}

@media (min-width: 969px) and (max-width: 1200px) {
    .cities__grid { grid-template-columns: repeat(5, 1fr); }
    .selected__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .property__layout {
        flex-wrap: wrap;
    }

    .property__gallery,
    .property__sidebar {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }

    .property__main-img {
        height: 280px;
    }

    .property__sidebar {
        position: static;
    }

    .listings__layout {
        grid-template-columns: 1fr;
    }
}
/* Status badges (vendido / alugado) */
.status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: rgba(11, 38, 26, 0.85);
    color: #f0c674;
    backdrop-filter: blur(8px);
}
.listing-card__img,
.selected-card__img,
.hero__card-image {
    position: relative;
}
.property__tag--status {
    background: rgba(240, 198, 116, 0.2);
    color: #f0c674;
}
.property__stage-media video {
    object-fit: contain;
}
.property__thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.property__thumb-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0,0,0,.35);
    color: #fff;
    font-size: 0.85rem;
    pointer-events: none;
}
.property__thumb { position: relative; }
