:root {
    --premium-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --premium-shadow: 0 24px 80px -30px rgba(15, 23, 42, 0.38);
    --premium-shadow-soft: 0 14px 44px -24px rgba(15, 23, 42, 0.28);
    --premium-border: rgba(148, 163, 184, 0.18);
    --premium-glass: rgba(255, 255, 255, 0.14);
    --premium-glass-strong: rgba(255, 255, 255, 0.22);
    --premium-dark: #10170d;
    --premium-blue: #c68631;
    --premium-cyan: #5f7857;
}

body {
    cursor: auto;
    letter-spacing: -0.015em;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: none;
}

body.page-ready {
    animation: none;
}

.premium-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: linear-gradient(90deg, #e0b169, #c68631, #10170d);
    box-shadow: none;
    z-index: 9999;
}

.premium-loader {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top, rgba(67,92,61, 0.2), transparent 35%),
        linear-gradient(135deg, rgba(6, 15, 7, 0.96), rgba(9, 43, 15, 0.94));
    backdrop-filter: none;
    z-index: 10000;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    animation: none;
}

.premium-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.premium-loader__inner {
    width: min(440px, calc(100vw - 48px));
    text-align: center;
    color: #fff;
}

.premium-loader__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(320px, 82vw);
    min-height: 120px;
    border-radius: 36px;
    margin-bottom: 28px;
    padding: 1.4rem 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(198,134,49, 0.35), rgba(95,120,87, 0.12));
    box-shadow: 0 12px 30px -18px rgba(67,92,61, 0.45);
}

.premium-loader__logo-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.28rem;
}

.premium-loader__brand-main {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 10px 30px rgba(67,92,61, 0.35);
}

.premium-loader__brand-sub {
    font-size: 0.78rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.74);
}

.premium-loader__title {
    font-size: 0.82rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 18px;
}

.premium-loader__bar {
    position: relative;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.premium-loader__bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #e0b169, #c68631, #f0dbb0);
    transition: width 0.2s linear;
}

.premium-loader__text {
    margin-top: 14px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
}

/* Brand lockup — mirrors the printed logo: thin, wide-tracked "VALOR"
   over a small "uma empresa MULTCONS" endorsement line. */
.brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Footer variant: badge above the caption instead of side by side. */
.brand-lockup--stacked {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
}

.brand-lockup--stacked .brand-badge__img {
    height: 2.6rem;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-badge__img {
    display: block;
    height: 2.55rem;
    width: auto;
    max-width: 100%;
}

.brand-caption {
    font-family: 'Figtree', sans-serif;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: #273621;
    white-space: nowrap;
}

/* The header row is dense (5 nav links + phone + CTA + menu). Below very
   wide screens the caption is dropped so the lockup never pushes the nav
   into horizontal overflow — the badge alone still carries the brand. */
@media (max-width: 1399px) {
    .brand-lockup:not(.brand-lockup--stacked) .brand-caption {
        display: none;
    }
}

@media (max-width: 640px) {
    .brand-badge__img {
        height: 1.9rem;
    }
}

/* Brand textures, lifted from the client's brand guide (wood / leather /
   linen mood board). Used sparingly and always behind a strong tint so
   they read as a subtle material hint, never a loud pattern. */
.texture-linen {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
        url('/textures/linen.jpg');
    background-size: cover;
    background-position: center;
}

.texture-wood-dark {
    background-image:
        linear-gradient(to bottom, rgba(2, 6, 3, 0.93), rgba(16, 23, 13, 0.88), rgba(2, 6, 3, 0.93)),
        url('/textures/wood.jpg');
    background-size: cover;
    background-position: center;
}

.texture-leather-dark {
    background-image:
        linear-gradient(135deg, rgba(13, 31, 16, 0.93), rgba(16, 23, 13, 0.9)),
        url('/textures/leather.jpg');
    background-size: cover;
    background-position: center;
}

[data-smart-nav] {
    position: relative;
    transition:
        background-color 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: none;
}

[data-smart-nav].is-scrolled {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 12px 34px -20px rgba(15, 23, 42, 0.35);
    border-radius: 0;
}

[data-smart-nav].is-compact {
    padding-top: inherit !important;
    padding-bottom: inherit !important;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 12px 34px -20px rgba(15, 23, 42, 0.35);
}

.premium-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(8px);
    border: 1px solid var(--premium-border);
    box-shadow: var(--premium-shadow-soft);
}

.premium-button,
.btn-gradient,
button,
input[type="submit"],
input[type="button"],
a[class*="btn"],
a[class*="hover:"],
.property-card,
.premium-card,
.premium-interactive {
    cursor: pointer;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        color 180ms ease,
        border-color 180ms ease;
}

.premium-button:hover,
.btn-gradient:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.premium-card:hover,
.premium-interactive:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 14px 28px -18px rgba(198,134,49, 0.32);
}

.premium-icon {
    transition: transform 0.3s var(--premium-ease), color 0.3s var(--premium-ease);
}

.premium-interactive:hover .premium-icon,
a:hover .premium-icon,
button:hover .premium-icon {
    transform: translateY(-2px) scale(1.1);
}

[data-reveal] {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition: opacity 0.8s var(--premium-ease), transform 0.8s var(--premium-ease);
    will-change: opacity, transform;
}

[data-reveal="up"] { transform: translate3d(0, 26px, 0); }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translate3d(-32px, 0, 0); }
[data-reveal="right"] { transform: translate3d(32px, 0, 0); }
[data-reveal="zoom"] { transform: scale3d(0.95, 0.95, 1); }
[data-reveal="scale"] { transform: scale3d(0.95, 0.95, 1); }

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
}

[data-stagger] > * {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition: opacity 0.65s var(--premium-ease), transform 0.65s var(--premium-ease);
}

[data-stagger].is-visible > * {
    opacity: 1;
    transform: none;
}

[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0.05s; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 0.12s; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 0.19s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 0.26s; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 0.33s; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 0.4s; }
[data-stagger].is-visible > *:nth-child(n+7) { transition-delay: 0.46s; }

.hero-parallax-media {
    transform-origin: center;
    will-change: transform;
    animation: heroKenBurns 22s ease-in-out infinite alternate;
}

.hero-layer {
    will-change: transform;
    transform: translate3d(0, 0, 0);
    transition: none;
}

.hero-copy-float {
    animation: none;
}

.hero-button-rise {
    animation: none;
}

.hero-search-float {
    animation: none;
}

.fada-search-shell {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 28px 60px -34px rgba(15, 23, 42, 0.42);
}

.fada-search-col {
    position: relative;
}

.fada-search-trigger {
    min-height: 62px;
    background: transparent;
}

.fada-search-caption {
    font-size: 0.66rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
    font-weight: 700;
}

.fada-search-submit {
    min-height: 58px;
    letter-spacing: 0.03em;
}

.search-options-scroll {
    /* No independent scroll here on purpose — the list just expands and
       the page's own scrollbar handles it, so there's only ever one
       scrollbar on screen at a time. */
}

.hero-ambient-orb {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.4;
    mix-blend-mode: screen;
    display: block;
    animation: orbDrift 14s ease-in-out infinite alternate;
    will-change: transform;
}

.hero-gradient-animated {
    background:
        linear-gradient(140deg, rgba(3, 10, 4, 0.5), rgba(13, 41, 16, 0.22), rgba(0, 0, 0, 0.62)),
        radial-gradient(circle at 20% 20%, rgba(67,92,61, 0.24), transparent 30%),
        radial-gradient(circle at 80% 30%, rgba(95,120,87, 0.18), transparent 25%),
        radial-gradient(circle at 50% 70%, rgba(15, 23, 42, 0.32), transparent 42%);
    background-size: 130% 130%;
    animation: heroGradientShift 18s ease-in-out infinite alternate;
}

.property-card,
.premium-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.property-card::before,
.premium-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.02) 15%, rgba(2, 6, 23, 0.18) 58%, rgba(2, 6, 23, 0.48) 100%),
        linear-gradient(180deg, transparent 38%, rgba(2, 6, 23, 0.12) 100%);
    opacity: 0;
    transition: opacity 0.45s var(--premium-ease);
    pointer-events: none;
    z-index: 1;
}

.property-card__media {
    position: relative;
    overflow: hidden;
}

.property-card__media img {
    transition:
        transform 280ms ease,
        filter 280ms ease;
}

.property-card__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.02), rgba(2, 6, 23, 0.12) 52%, rgba(2, 6, 23, 0.55)),
        radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.12), transparent 26%);
    opacity: 0;
    transition: opacity 240ms ease;
    backdrop-filter: none;
    pointer-events: none;
    z-index: 1;
}

.property-card__content {
    position: relative;
    z-index: 2;
}

.property-card__content-inner {
    transition:
        transform 240ms ease,
        opacity 240ms ease;
}

.property-card__meta {
    transition:
        transform 240ms ease,
        opacity 240ms ease;
}

.property-card__cta {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
    transition:
        transform 240ms ease,
        opacity 240ms ease;
    pointer-events: none;
}

.property-card__badge {
    position: relative;
    z-index: 2;
    transition:
        transform 200ms ease,
        opacity 200ms ease;
}

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

.property-card:hover::before,
.premium-card:hover::before {
    opacity: 1;
}

.property-card:hover .property-card__overlay,
.premium-card:hover .property-card__overlay {
    opacity: 1;
}

.property-card:hover img,
.premium-card:hover img {
    transform: scale(1.03);
    filter: brightness(0.92);
}

.property-card:hover .property-card__content-inner,
.premium-card:hover .property-card__content-inner,
.property-card:hover .property-card__meta,
.premium-card:hover .property-card__meta {
    transform: translate3d(0, -4px, 0);
}

.property-card:hover .property-card__badge,
.premium-card:hover .property-card__badge {
    transform: translate3d(0, -1px, 0);
}

.property-card:hover .property-card__cta,
.premium-card:hover .property-card__cta {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
}

.image-fade {
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: none;
}

.image-fade.is-loaded {
    opacity: 1;
}

.premium-skeleton {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(226, 232, 240, 0.65), rgba(248, 250, 252, 0.9), rgba(226, 232, 240, 0.65));
    background-size: 200% 100%;
    animation: skeletonWave 1.25s linear infinite;
}

.premium-skeleton-card {
    border-radius: 1.5rem;
    border: 1px solid rgba(226, 232, 240, 0.85);
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem;
}

.premium-counter {
    font-variant-numeric: tabular-nums;
}

[data-auto-slider] {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

[data-auto-slider-track] {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    will-change: transform;
    animation: marqueeScroll 36s linear infinite;
}

[data-auto-slider]:hover [data-auto-slider-track],
[data-auto-slider]:focus-within [data-auto-slider-track] {
    animation-play-state: paused;
}

[data-auto-slider-track].no-loop {
    animation: none;
    overflow-x: auto;
}

.faq-item {
    border: 1px solid rgba(203, 213, 225, 0.5);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.faq-item [data-faq-content] {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.28s ease, opacity 0.2s ease, visibility 0.2s ease;
}

.faq-item [data-faq-content] > div {
    overflow: hidden;
}

.faq-item.is-open [data-faq-content] {
    max-height: 220px;
    opacity: 1;
    visibility: visible;
}

.faq-item .faq-icon {
    transition: transform 0.35s var(--premium-ease);
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}

/* Floating contact pills — a calmer, on-brand replacement for generic
   colored circles. They sit as a plain icon by default and unfold to
   reveal a label on hover, so nothing is fighting for attention at rest. */
.fab-pill {
    display: inline-flex;
    align-items: center;
    height: 60px;
    max-width: 60px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 14px 34px -16px rgba(16, 23, 13, 0.5);
    text-decoration: none;
    overflow: hidden;
    transition: max-width 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, transform 0.3s ease;
}

.fab-pill:hover,
.fab-pill:focus-visible {
    max-width: 230px;
    box-shadow: 0 20px 44px -16px rgba(16, 23, 13, 0.55);
    transform: translateY(-2px);
}

.fab-pill__icon {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    color: #fff;
}

.fab-pill--gold .fab-pill__icon {
    background: linear-gradient(135deg, #a16b24, #c68631);
}

.fab-pill--whatsapp .fab-pill__icon {
    background: linear-gradient(135deg, #1f9e50, #25d366);
}

.fab-pill__label {
    white-space: nowrap;
    font-weight: 700;
    font-size: 0.9rem;
    color: #1c2818;
    padding-left: 0.85rem;
    padding-right: 1.35rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.fab-pill:hover .fab-pill__label,
.fab-pill:focus-visible .fab-pill__label {
    opacity: 1;
    transition: opacity 0.3s ease 0.15s;
}

.fab-pill__badge {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 19px;
    height: 19px;
    background: #dc2626;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.premium-lightbox {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 10002;
}

.premium-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.premium-lightbox img {
    max-width: min(92vw, 1280px);
    max-height: 82vh;
    border-radius: 24px;
    box-shadow: var(--premium-shadow);
}

.premium-lightbox__close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.premium-page-out {
    opacity: 0;
    transform: none;
    filter: none;
    transition: opacity 0.18s ease;
}

@keyframes ambientShift {
    0% { transform: scale(1) translate3d(0, 0, 0); }
    100% { transform: scale(1.08) translate3d(0, -12px, 0); }
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

@keyframes heroKenBurns {
    0% { transform: scale(1) translate3d(0, 0, 0); }
    100% { transform: scale(1.1) translate3d(-1%, -1.5%, 0); }
}

@keyframes orbDrift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(4%, -8%, 0) scale(1.12); }
}

@keyframes marqueeScroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@keyframes heroCopyFloat {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(0, -10px, 0); }
}

@keyframes heroButtonRise {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(0, -8px, 0); }
}

@keyframes heroSearchFloat {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(0, -12px, 0); }
}

@keyframes heroGradientShift {
    0% {
        transform: scale(1) translate3d(0, 0, 0);
        opacity: 0.94;
    }
    100% {
        transform: scale(1.08) translate3d(0, -14px, 0);
        opacity: 1;
    }
}

@keyframes skeletonWave {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

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

@keyframes loaderIntro {
    from {
        opacity: 0;
        transform: scale(1.02);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes whatsappPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px -12px rgba(34, 139, 65, 0.9); }
    50% { transform: scale(1.06); box-shadow: 0 24px 55px -14px rgba(34, 139, 65, 0.9); }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal],
    [data-stagger] > * {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}
