/* =========================================================
   Jijoca Residencial — estilos compartilhados
   ========================================================= */

:root {
    --navy-950: #071a2a;
    --navy-900: #0b2236;
    --navy-800: #13304a;
    --navy-700: #1c4260;
    --teal-700: #155b64;
    --teal-600: #1d6f7a;
    --teal-500: #23858f;
    --teal-100: #d5ebea;
    --teal-50: #edf6f5;
    --sand-50: #fbf8f3;
    --sand-100: #f5eee3;
    --sand-200: #ebdfcc;
    --sun-500: #e9824a;
    --sun-300: #ffc98a;
    --ink: #13212e;
    --text: #3f4d5a;
    --muted: #6a7784;
    --line: #e8e0d3;
    --wa: #11804a;
    --wa-dark: #0d6a3d;

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --shadow-sm: 0 1px 2px rgba(11, 34, 54, .05), 0 4px 14px -6px rgba(11, 34, 54, .08);
    --shadow: 0 22px 44px -22px rgba(11, 34, 54, .28);
    --shadow-lg: 0 40px 80px -34px rgba(11, 34, 54, .4);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
    --header-h: 68px;
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--sand-50);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

:focus-visible {
    outline: 3px solid var(--sun-500);
    outline-offset: 3px;
    border-radius: 6px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: fixed; left: 16px; top: -60px; z-index: 300;
    background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 10px;
    text-decoration: none; font-weight: 600; transition: top .2s ease;
}
.skip-link:focus-visible { top: 16px; }

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 26px; height: 26px; }

/* ---------- Typography ---------- */
h1, h2, h3, .serif {
    font-family: var(--font-serif);
    font-optical-sizing: auto;
    color: var(--navy-900);
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.1;
}

h1 em, h2 em { font-style: italic; font-weight: 400; }

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--teal-600);
}
.kicker::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.kicker.light { color: var(--sun-300); }

.section { padding: clamp(80px, 10vw, 132px) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .kicker::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section-title {
    margin-top: 16px;
    font-size: clamp(34px, 4.4vw, 54px);
    text-wrap: balance;
}
.section-title em { color: var(--teal-600); }
.section-lead { margin-top: 18px; font-size: 17.5px; color: var(--text); text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
    --mx: 0px; --my: 0px; --lift: 0px; --press: 1;
    --bg: var(--navy-900); --fg: #fff; --bd: transparent;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    border: 1px solid var(--bd);
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .005em;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(var(--mx), calc(var(--my) + var(--lift)), 0) scale(var(--press));
    transition:
        transform .45s var(--ease-out),
        box-shadow .35s var(--ease-out),
        background-color .25s ease,
        border-color .25s ease,
        color .25s ease;
}
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .38) 50%, transparent 75%);
    transform: translateX(-130%);
    transition: transform .9s var(--ease);
}
.btn:hover { --lift: -3px; box-shadow: 0 16px 30px -14px rgba(7, 26, 42, .55); }
.btn:hover::before { transform: translateX(130%); }
.btn:active { --press: .96; transition-duration: .12s; }
.btn .icon { transition: transform .45s var(--ease-out); }
.btn:hover .icon-arrow { transform: translateX(5px); }

.btn-light { --bg: #fff; --fg: var(--navy-900); }
.btn-light:hover { --bg: var(--sand-100); }
.btn-dark { --bg: var(--navy-900); --fg: #fff; }
.btn-dark:hover { --bg: var(--navy-800); }
.btn-teal { --bg: var(--teal-600); --fg: #fff; }
.btn-teal:hover { --bg: var(--teal-700); }
.btn-wa { --bg: var(--wa); --fg: #fff; }
.btn-wa:hover { --bg: var(--wa-dark); box-shadow: 0 16px 30px -14px rgba(13, 106, 61, .7); }
.btn-glass {
    --bg: rgba(255, 255, 255, .1); --fg: #fff; --bd: rgba(255, 255, 255, .32);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.btn-glass:hover { --bg: rgba(255, 255, 255, .2); --bd: rgba(255, 255, 255, .55); }
.btn-outline { --bg: transparent; --fg: var(--navy-900); --bd: rgba(11, 34, 54, .2); }
.btn-outline:hover { --bg: var(--navy-900); --fg: #fff; --bd: var(--navy-900); }
.btn-outline::before { background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .18) 50%, transparent 75%); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14.5px; gap: 8px; }
.btn-block { width: 100%; }

.ripple {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    background: currentColor;
    opacity: .22;
    transform: scale(0);
    pointer-events: none;
    animation: ripple .7s var(--ease) forwards;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--teal-600);
    text-decoration: none;
    background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
    padding-bottom: 3px;
    transition: background-size .35s var(--ease), color .2s ease;
}
.text-link:hover { color: var(--teal-700); background-size: 0 1.5px; background-position: 100% 100%; }
.text-link:hover .icon { transform: translateX(4px); }
.text-link .icon { transition: transform .35s var(--ease-out); }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 14px;
    left: 0;
    right: 0;
    z-index: 100;
    pointer-events: none;
}

.header-bar {
    pointer-events: auto;
    width: min(100% - 28px, calc(var(--container) + 36px));
    margin-inline: auto;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 10px 0 22px;
    background: rgba(255, 255, 255, .98);
    -webkit-backdrop-filter: saturate(1.5) blur(18px);
    backdrop-filter: saturate(1.5) blur(18px);
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 20px;
    box-shadow: 0 14px 36px -18px rgba(7, 26, 42, .5);
    transition: box-shadow .35s ease, background-color .35s ease, transform .35s var(--ease-out);
}
.site-header.is-scrolled .header-bar {
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 14px 34px -16px rgba(7, 26, 42, .32);
}

.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 38px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
    position: relative;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--navy-800);
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease;
}
.nav a:hover { background: var(--teal-50); color: var(--teal-700); }
.nav a.is-active { color: var(--teal-700); }
.nav a.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: var(--teal-600);
}

.header-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--navy-900);
    position: relative;
    transition: background-color .2s ease;
}
.nav-toggle span {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .4s var(--ease-out), opacity .2s ease, top .4s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.menu-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.menu-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
    position: fixed;
    top: calc(var(--header-h) + 26px);
    left: 14px;
    right: 14px;
    z-index: 99;
    padding: 14px;
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(.98);
    transform-origin: top center;
    transition: opacity .3s ease, transform .45s var(--ease-out), visibility 0s linear .45s;
}
.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .3s ease, transform .45s var(--ease-out), visibility 0s;
}
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 12px;
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--navy-900);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s ease, transform .5s var(--ease-out), color .2s ease;
}
.mobile-menu nav a .icon { color: var(--teal-600); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .04s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .08s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .12s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .16s; }
.mobile-menu .btn { margin-top: 14px; }

.menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 98;
    background: rgba(7, 26, 42, .45);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility 0s linear .3s;
}
.menu-open .menu-backdrop { opacity: 1; visibility: visible; transition: opacity .3s ease; }

/* ---------- Hero ---------- */
.hero {
    --art-w: max(100vw, 900px);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: max(700px, 100svh);
    display: flex;
    flex-direction: column;
    background: #0b2236;
    color: #fff;
    padding-bottom: calc(var(--art-w) * .205 + 70px);
}

@supports (height: 1svh) {
    .hero { --art-w: max(100vw, 900px, 110svh); }
}

.hero-art {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: -2;
    width: var(--art-w);
    transform: translate3d(-50%, var(--parallax, 0px), 0);
    will-change: transform;
}
.hero-art img { width: 100%; height: auto; }

.hero::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 70%;
    z-index: -1;
    background: radial-gradient(ellipse 60% 70% at 50% 30%, rgba(7, 26, 42, .45), transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: auto;
    padding: calc(var(--header-h) + 84px) 20px 0;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, .92);
}

.pulse-dot {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #4ade80;
    flex: none;
}
.pulse-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    animation: pulse 2s ease-out infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3.2); opacity: 0; } }

.hero h1 {
    margin-top: 26px;
    font-size: clamp(44px, 7vw, 88px);
    line-height: 1;
    letter-spacing: -.03em;
    color: #fff;
    text-wrap: balance;
    text-shadow: 0 4px 30px rgba(7, 26, 42, .35);
}
.hero h1 em {
    color: var(--sun-300);
    background: linear-gradient(90deg, #ffd9a0, #ffb27a 60%, #ffcf8f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: .06em;
    text-shadow: none;
}

.hero-lead {
    max-width: 640px;
    margin: 24px auto 0;
    font-size: clamp(16.5px, 1.5vw, 19px);
    line-height: 1.7;
    color: rgba(255, 255, 255, .84);
    text-shadow: 0 2px 16px rgba(7, 26, 42, .5);
    text-wrap: pretty;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
}

/* Entrance animation for hero content */
.js .hero-content > * { opacity: 0; transform: translateY(22px); animation: rise 1s var(--ease-out) forwards; }
.js .hero-content > :nth-child(2) { animation-delay: .1s; }
.js .hero-content > :nth-child(3) { animation-delay: .2s; }
.js .hero-content > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Facts strip ---------- */
.facts { position: relative; z-index: 3; margin-top: -72px; }
.facts-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(232, 224, 211, .8);
    padding: 8px;
}
.fact {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
}
.fact + .fact { border-left: 1px solid var(--line); }
.fact-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--teal-50);
    color: var(--teal-600);
    flex: none;
}
.fact small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.fact strong { display: block; font-size: 16.5px; font-weight: 600; color: var(--navy-900); line-height: 1.35; }

/* ---------- Listings ---------- */
.listings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.listings.two { grid-template-columns: repeat(2, 1fr); }

.listing {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .3s ease;
}
.listing:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.listing:focus-within { outline: 3px solid var(--sun-500); outline-offset: 4px; }
.listing:focus-within :focus-visible { outline: none; }

.listing-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--sand-100);
}
.listing-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-out);
}
.listing:hover .listing-media img { transform: scale(1.07); }
.listings.two .listing-media { aspect-ratio: 16 / 10; }

.tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    color: var(--navy-900);
    font-size: 12.5px;
    font-weight: 600;
    box-shadow: 0 6px 16px -8px rgba(7, 26, 42, .5);
}
.tag .icon { width: 15px; height: 15px; color: var(--sun-500); }

.illus-note {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(7, 26, 42, .55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, .92);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .02em;
}

.listing-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 26px 24px;
}
.listing-title { font-size: 27px; }
.listing-title a { text-decoration: none; }
.listing-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.listing-loc {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 14px;
    color: var(--muted);
}
.listing-loc .icon { width: 15px; height: 15px; color: var(--teal-600); }
.listing-desc { margin-top: 14px; font-size: 15px; line-height: 1.6; }

.mini-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px dashed var(--line);
}
.mini-features li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--navy-800);
}
.mini-features .icon { width: 17px; height: 17px; color: var(--teal-600); }

.listing-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 24px;
}
.price small { display: block; font-size: 12.5px; color: var(--muted); }
.price strong {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 600;
    color: var(--navy-900);
    letter-spacing: -.02em;
    line-height: 1.1;
}
.price span { font-size: 14px; color: var(--muted); margin-left: 2px; }

.round-btn {
    --mx: 0px; --my: 0px;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--navy-900);
    color: #fff;
    flex: none;
    transform: translate3d(var(--mx), var(--my), 0);
    transition: transform .45s var(--ease-out), background-color .3s ease;
}
.round-btn .icon { transition: transform .45s var(--ease-out); }
.listing:hover .round-btn { background: var(--teal-600); }
.listing:hover .round-btn .icon { transform: rotate(-45deg); }

/* ---------- Amenities ---------- */
.amenities { background: var(--sand-100); }
.amenities-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: start;
}
.amenities-intro { position: sticky; top: 120px; }
.amenities-intro .btn { margin-top: 32px; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature {
    padding: 28px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: var(--teal-50);
    color: var(--teal-600);
    transition: transform .6s var(--ease-out), background-color .3s ease, color .3s ease;
}
.feature-icon .icon { width: 26px; height: 26px; }
.feature:hover .feature-icon { transform: rotate(-8deg) scale(1.08); background: var(--teal-600); color: #fff; }
.feature h3 { font-family: var(--font-sans); font-size: 17px; font-weight: 600; letter-spacing: 0; color: var(--navy-900); }
.feature p { margin-top: 6px; font-size: 14.5px; line-height: 1.6; }
.feature .note { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--sun-500); }

/* ---------- Region ---------- */
.region { background: var(--navy-900); color: rgba(255, 255, 255, .78); overflow: hidden; }
.region .section-title { color: #fff; }
.region .section-title em { color: var(--sun-300); }
.region .section-lead { color: rgba(255, 255, 255, .75); }
.region-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}
.region-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.region-media img {
    position: absolute;
    inset: -10% 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    object-position: 40% 50%;
    transform: translate3d(0, var(--shift, 0px), 0);
    will-change: transform;
}
.region-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(7, 26, 42, .55);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
}
.region-caption .icon { color: var(--sun-300); }

.region-list { display: grid; gap: 26px; margin-top: 40px; }
.region-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.region-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .04);
    color: var(--sun-300);
}
.region-list h3 { font-family: var(--font-sans); font-size: 17px; font-weight: 600; letter-spacing: 0; color: #fff; }
.region-list p { margin-top: 4px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .68); }

/* ---------- Steps ---------- */
.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.steps::before {
    content: "";
    position: absolute;
    top: 55px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--teal-500) 0 8px, transparent 8px 16px);
    opacity: .5;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.6s var(--ease-out) .2s;
}
.steps.is-visible::before { transform: scaleX(1); }
.step {
    position: relative;
    padding: 28px 24px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--navy-900);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 22px;
    box-shadow: 0 0 0 8px var(--sand-50);
}
.step:nth-child(4) .step-num { background: var(--teal-600); }
.step h3 { font-family: var(--font-sans); font-size: 17.5px; font-weight: 600; letter-spacing: 0; }
.step p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; }

/* ---------- Location ---------- */
.location { background: var(--sand-100); }
.location-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}
.map-card {
    position: relative;
    min-height: 440px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--sand-200);
    box-shadow: var(--shadow);
}
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.address-card {
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 4vw, 40px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.address-card h3 { font-size: 28px; margin-top: 14px; }
.address-card p { margin-top: 10px; }
.address-card .btn-stack { display: grid; gap: 10px; margin-top: auto; padding-top: 28px; }

/* ---------- CTA ---------- */
.cta { padding-bottom: clamp(80px, 10vw, 132px); }
.cta-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: 32px;
    align-items: center;
    padding: clamp(40px, 6vw, 76px);
    border-radius: 32px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700) 60%, var(--teal-700));
    color: rgba(255, 255, 255, .8);
}
.cta-card::before {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -220px;
    width: 520px;
    height: 520px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 201, 138, .55), rgba(233, 130, 74, .2) 45%, transparent 70%);
    animation: breathe 7s ease-in-out infinite alternate;
}
.cta-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 90px;
    z-index: -1;
    background:
        radial-gradient(60px 14px at 20% 100%, rgba(255, 255, 255, .06), transparent),
        repeating-radial-gradient(circle at 50% 260%, transparent 0 22px, rgba(255, 255, 255, .06) 22px 23px);
}
@keyframes breathe { from { transform: scale(1); opacity: .85; } to { transform: scale(1.12); opacity: 1; } }
.cta-card h2 { color: #fff; font-size: clamp(32px, 4vw, 50px); text-wrap: balance; }
.cta-card h2 em { color: var(--sun-300); }
.cta-card p { margin-top: 14px; font-size: 17px; max-width: 520px; }
.cta-actions { display: grid; gap: 12px; min-width: 260px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .64); font-size: 14.5px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 72px 0 48px;
}
.footer-brand img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { margin-top: 18px; max-width: 300px; line-height: 1.7; }
.site-footer h3 {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: var(--sun-300); }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
}

/* ---------- Floating WhatsApp ---------- */
.wa-fab {
    --mx: 0px; --my: 0px;
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    height: 60px;
    padding: 0 18px;
    gap: 0;
    border-radius: 999px;
    background: var(--wa);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 18px 36px -12px rgba(13, 106, 61, .65);
    opacity: 0;
    visibility: hidden;
    transform: translate3d(var(--mx), calc(var(--my) + 24px), 0) scale(.9);
    transition: transform .5s var(--ease-out), opacity .3s ease, visibility 0s linear .5s, background-color .2s ease, gap .4s var(--ease-out);
}
.wa-fab.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate3d(var(--mx), var(--my), 0);
    transition: transform .5s var(--ease-out), opacity .3s ease, visibility 0s, background-color .2s ease, gap .4s var(--ease-out);
}
.wa-fab::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid var(--wa);
    animation: ring 2.4s ease-out infinite;
}
@keyframes ring { from { transform: scale(1); opacity: .6; } to { transform: scale(1.35); opacity: 0; } }
.wa-fab .icon { width: 26px; height: 26px; }
.wa-fab .label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width .5s var(--ease-out);
}
.wa-fab:hover { background: var(--wa-dark); gap: 10px; }
.wa-fab:hover .label { max-width: 160px; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
    transition-delay: var(--d, 0s);
}
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal="left"] { transform: translate3d(-40px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(40px, 0, 0); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .steps[data-reveal] { opacity: 1; transform: none; }
/* Keep hover lift working after cards are revealed */
.js .listing[data-reveal].is-visible:hover,
.js .feature[data-reveal].is-visible:hover,
.js .step[data-reveal].is-visible:hover { transition-delay: 0s; }
.js .listing[data-reveal].is-visible:hover { transform: translateY(-10px); }
.js .feature[data-reveal].is-visible:hover,
.js .step[data-reveal].is-visible:hover { transform: translateY(-6px); }

.js .listing[data-reveal] .listing-media { clip-path: inset(0 0 100% 0 round 0); transition: clip-path 1.2s var(--ease-out) calc(var(--d, 0s) + .1s); }
.js .listing[data-reveal].is-visible .listing-media { clip-path: inset(0 0 0 0 round 0); }

/* =========================================================
   Página de detalhes
   ========================================================= */
.page-top { padding-top: calc(var(--header-h) + 52px); }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumb a { text-decoration: none; transition: color .2s ease; }
.breadcrumb a:hover { color: var(--teal-600); }
.breadcrumb .icon { width: 14px; height: 14px; opacity: .6; }
.breadcrumb [aria-current] { color: var(--navy-900); font-weight: 500; }

.detail-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 22px 0 30px;
}
.detail-head h1 { font-size: clamp(40px, 5.4vw, 64px); letter-spacing: -.03em; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 12px; color: var(--muted); font-size: 15px; }
.detail-meta span { display: inline-flex; align-items: center; gap: 7px; }
.detail-meta .icon { width: 17px; height: 17px; color: var(--teal-600); }
.status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px 8px 12px;
    border-radius: 999px;
    background: #e8f6ee;
    color: #11683f;
    font-size: 13.5px;
    font-weight: 600;
}
.status .pulse-dot { background: #22a35a; width: 8px; height: 8px; }

.gallery {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--navy-900);
    aspect-ratio: 16 / 9;
    max-height: 640px;
    width: 100%;
    box-shadow: var(--shadow);
}
.gallery:focus-visible { outline-offset: 4px; }
.gallery-track {
    display: flex;
    height: 100%;
    touch-action: pan-y;
    transition: transform .8s var(--ease-out);
    cursor: grab;
}
.gallery-track.is-dragging { transition: none; cursor: grabbing; }
.gallery-slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.gallery-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(7, 26, 42, .6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12.5px;
    font-weight: 500;
}
.gallery-slide .gallery-chip { left: 18px; bottom: 18px; }
.gallery-counter { right: 18px; bottom: 18px; font-variant-numeric: tabular-nums; }
.gallery-arrow {
    --mx: 0px; --my: 0px;
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-top: -27px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--navy-900);
    box-shadow: 0 12px 26px -12px rgba(7, 26, 42, .6);
    transform: translate3d(var(--mx), var(--my), 0);
    transition: transform .45s var(--ease-out), background-color .2s ease, color .2s ease;
}
.gallery-arrow:hover { background: var(--navy-900); color: #fff; }
.gallery-arrow:active { transform: translate3d(var(--mx), var(--my), 0) scale(.92); }
.gallery-arrow.prev { left: 18px; }
.gallery-arrow.next { right: 18px; }

.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; overflow-x: auto; padding: 4px 2px; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs button {
    position: relative;
    flex: none;
    width: 128px;
    height: 84px;
    border-radius: 14px;
    overflow: hidden;
    opacity: .55;
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: opacity .25s ease, outline-color .25s ease, transform .35s var(--ease-out);
}
.gallery-thumbs button:hover { opacity: .9; transform: translateY(-2px); }
.gallery-thumbs button.is-active { opacity: 1; outline-color: var(--teal-600); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: clamp(36px, 5vw, 72px);
    margin-top: 56px;
    align-items: start;
}
.detail-block + .detail-block { margin-top: 52px; padding-top: 52px; border-top: 1px solid var(--line); }
.detail-block h2 { font-size: clamp(28px, 3vw, 36px); margin-top: 12px; }
.detail-block > p { margin-top: 16px; font-size: 17px; line-height: 1.8; max-width: 680px; }

.amenity-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.amenity-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: transform .4s var(--ease-out), border-color .3s ease, box-shadow .4s var(--ease-out);
}
.amenity-list li:hover { transform: translateY(-3px); border-color: var(--teal-100); box-shadow: var(--shadow-sm); }
.amenity-list .fact-icon { width: 46px; height: 46px; }
.amenity-list strong { display: block; font-size: 15.5px; font-weight: 600; color: var(--navy-900); line-height: 1.3; }
.amenity-list small { display: block; font-size: 13.5px; color: var(--muted); }

.detail-map {
    position: relative;
    margin-top: 26px;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--sand-200);
}
.detail-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-actions { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 18px; }

.booking-card {
    position: sticky;
    top: calc(var(--header-h) + 40px);
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.booking-card .price strong { font-size: 42px; }
.booking-card .price span { font-size: 16px; }
.booking-facts { margin-top: 22px; border-top: 1px solid var(--line); }
.booking-facts li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 14.5px;
}
.booking-facts li span:last-child { font-weight: 600; color: var(--navy-900); text-align: right; }
.booking-actions { display: grid; gap: 10px; margin-top: 24px; }
.booking-note {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    padding: 14px;
    border-radius: 14px;
    background: var(--teal-50);
    color: var(--teal-700);
    font-size: 13.5px;
    line-height: 1.5;
}
.booking-note .icon { margin-top: 1px; }

.others { margin-top: clamp(72px, 9vw, 120px); padding: clamp(72px, 9vw, 110px) 0; background: var(--sand-100); }

.mobile-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 95;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px 10px 20px;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 18px 40px -14px rgba(7, 26, 42, .45);
    transform: translateY(150%);
    transition: transform .5s var(--ease-out);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar .price strong { font-size: 24px; }
.mobile-bar .price small { font-size: 11.5px; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1080px) {
    .nav a { padding: 10px 10px; font-size: 14px; }
    .listings { grid-template-columns: repeat(2, 1fr); }
    .facts-card { grid-template-columns: repeat(2, 1fr); }
    .fact:nth-child(3) { border-left: 0; }
    .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .steps::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .detail-grid { grid-template-columns: minmax(0, 1fr) 340px; }
}

@media (max-width: 960px) {
    .nav, .header-actions .btn { display: none; }
    .nav-toggle { display: block; }
    .amenities-grid, .region-grid, .location-grid { grid-template-columns: 1fr; }
    .amenities-intro { position: static; }
    .region-media { aspect-ratio: 16 / 11; }
    .cta-card { grid-template-columns: 1fr; }
    .cta-actions { min-width: 0; grid-template-columns: repeat(2, max-content); }
    .detail-grid { grid-template-columns: 1fr; }
    .booking-card { position: static; }
    .mobile-bar { display: flex; }
    .js [data-reveal="left"], .js [data-reveal="right"] { transform: translate3d(0, 34px, 0); }
    .has-mobile-bar .wa-fab { display: none; }
    .has-mobile-bar .site-footer { padding-bottom: 90px; }
}

@media (max-width: 720px) {
    :root { --header-h: 62px; }
    html { scroll-padding-top: 92px; }
    .site-header { top: 10px; }
    .header-bar { width: calc(100% - 20px); padding: 0 8px 0 16px; border-radius: 18px; }
    .brand img { height: 30px; }
    .mobile-menu { left: 10px; right: 10px; top: calc(var(--header-h) + 20px); }

    .hero-content { padding-top: calc(var(--header-h) + 56px); }
    /* Enquadra as kitnets e a Pedra Furada na tela do celular */
    .hero { --art-w: 820px; }
    .hero-art { transform: translate3d(-58%, var(--parallax, 0px), 0); }
    .hero-actions { flex-direction: column; align-items: stretch; max-width: 340px; margin-inline: auto; }
    .hero-actions .btn { width: 100%; }

    .facts { margin-top: -56px; }
    .facts-card { grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 20px; }
    .fact { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
    .fact-icon { width: 40px; height: 40px; border-radius: 12px; }
    .fact strong { font-size: 15px; }

    .listings, .listings.two { grid-template-columns: 1fr; }
    .feature-grid { gap: 12px; }
    .feature { padding: 20px 18px; }
    .feature-icon { width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; }
    .feature-icon .icon { width: 22px; height: 22px; }
    .feature h3 { font-size: 15.5px; }
    .feature p { font-size: 13.5px; }
    .hero-badge .extra { display: none; }
    .steps { grid-template-columns: 1fr; }
    .cta-actions { grid-template-columns: 1fr; }
    .cta-actions .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
    .map-card { min-height: 340px; }

    .gallery { aspect-ratio: 4 / 3; border-radius: 22px; }
    .gallery-arrow { width: 44px; height: 44px; margin-top: -22px; }
    .gallery-arrow.prev { left: 10px; }
    .gallery-arrow.next { right: 10px; }
    .gallery-thumbs button { width: 96px; height: 66px; border-radius: 12px; }
    .amenity-list { gap: 10px; }
    .amenity-list li { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
    .amenity-list .fact-icon { width: 40px; height: 40px; border-radius: 12px; }
    .detail-map { height: 320px; }
    .booking-card { padding: 24px; }
    .wa-fab { right: 16px; bottom: 16px; height: 56px; padding: 0 15px; }
}

@media (hover: none) {
    .wa-fab:hover .label { max-width: 0; }
    .wa-fab:hover { gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }
    .js [data-reveal], .js .hero-content > * { opacity: 1; transform: none; }
    .js .listing[data-reveal] .listing-media { clip-path: none; }
    .pulse-dot::after, .wa-fab::before { display: none; }
}
