:root {
    --green-950: #0d3e23;
    --green-900: #124e2b;
    --green-800: #176033;
    --green-700: #2f7c3d;
    --green-100: #eaf4e7;
    --blue: #0876bd;
    --orange: #f47c00;
    --orange-dark: #dd6d00;
    --ink: #17201b;
    --muted: #69736d;
    --line: #dfe4df;
    --surface: #fff;
    --surface-soft: #fafbf8;
    --shadow-sm: 0 5px 18px rgba(27, 50, 35, .08);
    --shadow-lg: 0 18px 48px rgba(13, 45, 27, .16);
    --radius: 12px;
    --container: 1370px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--surface-soft);
    font-family: "Inter", Arial, sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}
body.menu-open, body.filters-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 9px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--green-800), var(--green-950)); box-shadow: 0 7px 18px rgba(18, 78, 43, .18); }
.btn-primary:hover { background: var(--green-900); }

.site-header {
    position: relative;
    z-index: 40;
    height: 83px;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid rgba(18,78,43,.06);
}
.navbar { height: 100%; display: flex; align-items: center; gap: 44px; }
.brand { flex: 0 0 auto; width: 204px; height: 64px; overflow: hidden; display: flex; align-items: center; }
.brand img { width: 204px; transform: scale(1.12); }
.main-nav { display: flex; align-items: center; justify-content: space-between; gap: 32px; width: 100%; height: 100%; }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 32px; height: 100%; }
.nav-links a { position: relative; display: flex; align-items: center; height: 100%; font-weight: 500; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 2px; background: var(--green-700); transform: scaleX(0); transition: transform .2s; }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.favorite-link { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 500; }
.favorite-link svg, .btn-login svg { width: 20px; height: 20px; }
.favorite-link svg { color: var(--green-800); }
.btn-login { min-height: 46px; padding-inline: 21px; gap: 10px; white-space: nowrap; }
.mobile-menu-button { display: none; width: 42px; height: 42px; padding: 10px; background: transparent; border: 0; }
.mobile-menu-button span, .sidebar-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--green-900); border-radius: 4px; }

.hero {
    position: relative;
    min-height: 430px;
    isolation: isolate;
    background: #dce7d3;
    overflow: visible;
}
.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("../img/hero-chacara.png");
    background-position: center;
    background-size: cover;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(249,249,238,.98) 0%, rgba(249,249,238,.90) 24%, rgba(249,249,238,.46) 42%, rgba(249,249,238,.04) 67%);
}
.hero-content { position: relative; min-height: 430px; padding-top: 48px; }
.hero-copy { width: 475px; }
.eyebrow { display: none; }
.hero h1 { max-width: 470px; margin: 0 0 12px; color: var(--green-900); font-size: clamp(34px, 3vw, 44px); line-height: 1.23; letter-spacing: -.04em; }
.hero-copy > p { max-width: 430px; margin: 0; font-size: 17px; line-height: 1.48; }
.trust-list { display: flex; gap: 24px; margin-top: 28px; }
.trust-item { display: flex; align-items: center; gap: 10px; max-width: 145px; font-size: 12px; line-height: 1.35; }
.trust-item strong { display: block; }
.trust-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; color: var(--green-800); background: rgba(255,255,255,.78); border-radius: 50%; }
.trust-icon svg { width: 21px; height: 21px; }
.search-box {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -1px;
    display: grid;
    grid-template-columns: 1.15fr 1.15fr 1fr .88fr;
    min-height: 82px;
    padding: 16px 18px;
    background: rgba(255,255,255,.98);
    border-radius: 13px;
    box-shadow: var(--shadow-lg);
}
.search-field { display: flex; align-items: center; min-width: 0; gap: 16px; padding: 0 28px; border-right: 1px solid var(--line); cursor: text; }
.search-field:first-child { padding-left: 16px; }
.search-field svg { flex: 0 0 23px; width: 23px; height: 23px; color: var(--green-800); }
.search-field span { min-width: 0; width: 100%; }
.search-field strong { display: block; margin-bottom: 5px; font-size: 12px; }
.search-field input { width: 100%; padding: 0; color: var(--ink); background: transparent; border: 0; outline: none; font-size: 13px; }
.search-field input::placeholder { color: #848b87; opacity: 1; }
.btn-search { gap: 10px; margin-left: 18px; color: white; background: linear-gradient(135deg, #f79000, var(--orange)); font-size: 14px; box-shadow: 0 8px 18px rgba(244,124,0,.22); }
.btn-search:hover { background: var(--orange-dark); }
.btn-search svg { width: 21px; height: 21px; }

.listings-section { padding: 34px 0 70px; background: #fbfaf7; }
.listings-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); align-items: start; gap: 42px; }
.filters { padding: 20px 16px; background: #fff; border: 1px solid #ebede9; border-radius: 10px; box-shadow: var(--shadow-sm); }
.filters-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.filters-heading h2 { margin: 0; font-size: 18px; }
.filters-heading a { color: var(--green-700); font-size: 11px; font-weight: 700; }
.filters-heading svg { width: 21px; height: 21px; color: var(--green-700); }
.filter-group { margin: 0 0 20px; padding: 0 0 20px; border: 0; border-bottom: 1px solid #e8ebe7; }
.filter-group:last-child { margin: 0; padding: 0; border: 0; }
.filter-group label, .filter-group legend { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 700; }
.filter-group label span { font-weight: 400; }
.filter-group input[type="text"], .filter-group input[type="number"], .filter-group input[type="date"], .filter-group select {
    width: 100%;
    height: 37px;
    padding: 0 10px;
    color: var(--muted);
    background: #fff;
    border: 1px solid #dfe4df;
    border-radius: 5px;
    outline-color: var(--green-700);
    font-size: 11px;
}
.filter-group fieldset { border: 0; }
.filter-group > label:has(input[type="date"]) { margin-top: 9px; color: var(--muted); font-size: 10px; }
.filter-group > label input[type="date"] { margin-top: 5px; }
.filter-price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filter-price-grid label { margin: 0; color: var(--muted); font-size: 10px; }
.filter-price-grid input { margin-top: 5px; }
.btn-filter { width: 100%; min-height: 42px; color: #fff; background: var(--green-800); font-size: 12px; }
.filter-label-row, .price-labels { display: flex; align-items: center; justify-content: space-between; }
.filter-label-row small { margin-top: -8px; color: #819087; font-size: 8px; }
.price-labels { margin: 2px 0 9px; font-size: 10px; font-weight: 600; }
.range { width: 100%; accent-color: var(--green-700); }
.check-row { display: flex !important; align-items: center; gap: 8px; margin: 0 0 8px !important; cursor: pointer; }
.check-row input { width: 14px; height: 14px; margin: 0; accent-color: var(--green-700); }
.check-row span { font-size: 11px; }
.amenities { display: none; }
.listings-content { min-width: 0; }
.listings-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin-bottom: 16px; }
.listings-toolbar h2 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.02em; }
.listings-toolbar p { margin: 0; font-size: 12px; }
.sort-control { display: flex; align-items: center; min-width: 244px; height: 36px; padding: 0 8px 0 13px; background: #fff; border: 1px solid #d9ded9; border-radius: 5px; font-size: 11px; }
.sort-control label { color: var(--muted); white-space: nowrap; }
.sort-control select { flex: 1; min-width: 0; padding: 0 3px; color: var(--green-800); background: transparent; border: 0; outline: 0; font-weight: 700; }
.filter-mobile-button { display: none; }
.property-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.property-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid #e3e7e2; border-radius: 10px; box-shadow: 0 4px 12px rgba(34,50,39,.08); transition: transform .22s, box-shadow .22s; }
.property-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(34,50,39,.13); }
.property-image { position: relative; height: 205px; overflow: hidden; }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.property-card:hover .property-image img { transform: scale(1.03); }
.favorite-form { position: absolute; top: 12px; right: 12px; z-index: 2; margin: 0; }
.heart-button { display: grid; place-items: center; width: 34px; height: 34px; padding: 7px; color: #fff; background: rgba(17,41,25,.38); border: 1px solid rgba(255,255,255,.62); border-radius: 50%; cursor: pointer; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); transition: transform .2s, background .2s; }
.heart-button:hover { transform: scale(1.06); background: rgba(13,62,35,.78); }
.heart-button svg { width: 100%; height: 100%; stroke-width: 2; }
.heart-button.is-favorite { color: #fff; background: rgba(244,124,0,.95); border-color: rgba(255,255,255,.8); }
.heart-button.is-favorite svg { fill: currentColor; }
.featured-badge { display: none; position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; color: #fff; background: var(--green-700); border-radius: 14px; font-size: 10px; font-weight: 600; }
.featured-badge::first-letter { color: #ffc62a; }
.property-body { padding: 11px 10px 10px; }
.property-body h3 { margin: 0 0 7px; overflow: hidden; font-size: 15px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.property-location { display: flex; align-items: center; gap: 5px; margin: 0 0 13px; color: #68736c; font-size: 9px; }
.property-location svg { width: 12px; height: 12px; color: var(--green-700); }
.property-features { display: flex; align-items: center; gap: 11px; color: #465049; font-size: 9px; white-space: nowrap; }
.property-footer { display: flex; align-items: flex-end; justify-content: space-between; min-height: 60px; padding: 11px 10px; border-top: 1px solid #e5e8e4; }
.property-footer small { display: block; margin-bottom: 3px; color: #7a827d; font-size: 9px; }
.property-footer strong { display: block; color: var(--green-800); font-size: 17px; white-space: nowrap; }
.property-footer em { font-size: 10px; font-style: normal; }
.rating { padding-bottom: 3px; color: #ffab00; font-size: 10px; white-space: nowrap; }
.rating b { color: var(--ink); }
.availability-badge { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; color: #fff; background: var(--green-700); border-radius: 14px; font-size: 10px; font-weight: 700; }
.property-region { min-height: 15px; margin: -5px 0 2px; color: var(--green-700); font-size: 10px; font-weight: 600; }
.property-details { display: flex; align-items: center; justify-content: center; width: calc(100% - 20px); min-height: 40px; margin: 0 10px 10px; color: var(--green-800); background: var(--green-100); border: 0; border-radius: 7px; cursor: pointer; font-size: 12px; font-weight: 800; transition: color .2s, background .2s; }
.property-details:hover { color: #fff; background: var(--green-800); }
.property-description { margin: 0 10px 10px; padding: 10px; color: var(--muted); background: #f7f9f5; border-radius: 7px; font-size: 11px; line-height: 1.5; }
.listings-empty { display: grid; place-items: center; min-height: 330px; padding: 45px 25px; background: #fff; border: 1px dashed #cbd6cc; border-radius: 12px; text-align: center; }
.listings-empty > span { display: grid; place-items: center; width: 54px; height: 54px; color: var(--green-800); background: var(--green-100); border-radius: 50%; font-size: 27px; font-weight: 800; }
.listings-empty h3 { margin: 17px 0 8px; font-size: 20px; }
.listings-empty p { max-width: 470px; margin: 0 0 20px; color: var(--muted); line-height: 1.55; }

.steps-section { padding: 82px 0; text-align: center; background: #fff; }
.section-kicker { color: var(--green-700); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.steps-section h2 { margin: 10px 0 42px; color: var(--green-950); font-size: 32px; letter-spacing: -.03em; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; max-width: 960px; margin: auto; }
.steps-grid article { position: relative; }
.steps-grid span { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 17px; color: #fff; background: var(--green-700); border-radius: 50%; font-size: 14px; font-weight: 800; box-shadow: 0 7px 18px rgba(47,124,61,.2); }
.steps-grid h3 { margin: 0 0 8px; font-size: 18px; }
.steps-grid p { margin: 0; color: var(--muted); line-height: 1.6; }
.owner-cta { padding: 68px 0; color: #fff; background: linear-gradient(120deg, var(--green-950), var(--green-700)); }
.owner-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.owner-cta span { color: #b9dfb5; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.owner-cta h2 { max-width: 640px; margin: 9px 0 9px; font-size: 31px; line-height: 1.2; }
.owner-cta p { margin: 0; color: rgba(255,255,255,.78); }
.btn-light { color: var(--green-900); background: #fff; white-space: nowrap; }
.site-footer { padding: 55px 0 20px; color: #d8e5db; background: #0d2919; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-logo { width: 190px; height: 65px; object-fit: cover; object-position: left center; filter: brightness(0) invert(1); opacity: .95; }
.footer-grid p, .footer-grid span, .footer-grid a { margin: 0; color: #aebeb2; font-size: 13px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 20px; color: #819187; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.flash { position: fixed; z-index: 100; top: 96px; right: 24px; display: flex; align-items: center; gap: 14px; max-width: min(420px, calc(100vw - 32px)); padding: 14px 14px 14px 18px; color: #fff; border-radius: 8px; box-shadow: var(--shadow-lg); transition: opacity .25s, transform .25s; }
.flash span { line-height: 1.4; }
.flash button { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; padding: 0; color: inherit; background: rgba(255,255,255,.16); border: 0; border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1; }
.flash button:hover { background: rgba(255,255,255,.26); }
.flash.is-hiding { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.flash-success { background: var(--green-700); }
.flash-error { background: #a42d2d; }

/* Perfil público da chácara */
.profile-page { padding: 28px 0 85px; background: #fbfaf7; }
.profile-breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 24px; color: var(--muted); font-size: 12px; }
.profile-breadcrumb a:hover { color: var(--green-700); }
.profile-breadcrumb strong { color: var(--ink); font-weight: 600; }
.profile-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.profile-kicker { display: inline-block; margin-bottom: 9px; color: var(--green-700); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.profile-heading h1 { margin: 0 0 10px; color: var(--green-950); font-size: clamp(30px, 4vw, 44px); letter-spacing: -.04em; }
.profile-heading p { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--muted); }
.profile-heading p svg { width: 18px; height: 18px; color: var(--green-700); }
.profile-rating-summary { display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 7px; padding: 13px 18px; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow-sm); }
.profile-rating-summary span { color: #ffab00; font-size: 19px; }
.profile-rating-summary strong { font-size: 19px; }
.profile-rating-summary small { grid-column: 1 / -1; color: var(--muted); font-size: 10px; }
.profile-gallery { display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px; height: 490px; overflow: hidden; border-radius: 17px; }
.profile-gallery button { position: relative; padding: 0; overflow: hidden; background: #dfe7df; border: 0; cursor: pointer; }
.profile-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.profile-gallery button:hover img { transform: scale(1.025); }
.profile-main-photo > span { position: absolute; left: 18px; bottom: 18px; padding: 7px 11px; color: #fff; background: rgba(13,62,35,.82); border-radius: 20px; font-size: 10px; font-weight: 700; }
.profile-gallery-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; }
.gallery-more-badge { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 58px; height: 58px; color: #fff; background: rgba(13, 62, 35, .86); border: 2px solid rgba(255,255,255,.86); border-radius: 50%; box-shadow: 0 10px 24px rgba(0,0,0,.28); font-size: 18px; font-weight: 800; line-height: 1; }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 42px; margin-top: 38px; }
.profile-content { min-width: 0; }
.profile-section { padding: 0 0 42px; margin-bottom: 42px; border-bottom: 1px solid var(--line); scroll-margin-top: 30px; }
.profile-section:last-child { border-bottom: 0; }
.profile-section h2 { margin: 7px 0 19px; color: var(--green-950); font-size: 26px; letter-spacing: -.03em; }
.profile-description { margin: 0; color: #4f5c54; font-size: 16px; line-height: 1.8; }
.location-facts { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 10px; margin-top: 28px; }
.location-facts > div { padding: 16px; background: #fff; border: 1px solid #e5e9e4; border-radius: 9px; }
.location-facts span, .location-facts strong { display: block; }
.location-facts span { margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.location-facts strong { font-size: 12px; line-height: 1.45; }
.booking-card { position: sticky; top: 24px; padding: 27px; background: #fff; border: 1px solid #dfe6df; border-radius: 14px; box-shadow: var(--shadow-lg); }
.booking-card > span { color: var(--muted); font-size: 11px; }
.booking-price { display: flex; align-items: baseline; gap: 6px; margin: 7px 0 18px; }
.booking-price strong { color: var(--green-900); font-size: 29px; letter-spacing: -.04em; }
.booking-price small { color: var(--muted); }
.booking-card p { margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.btn-book { width: 100%; color: #fff; background: linear-gradient(135deg, #f79000, var(--orange)); box-shadow: 0 9px 20px rgba(244,124,0,.24); }
.btn-book:hover { background: var(--orange-dark); }
.booking-login-note { display: block; margin-top: 12px; color: var(--muted); text-align: center; font-size: 9px; }
.section-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.calendar-controls { display: flex; gap: 7px; }
.calendar-controls button { width: 36px; height: 36px; color: var(--green-800); background: #fff; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; font-size: 22px; }
.calendar-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.availability-calendar { padding: 20px; background: #fff; border: 1px solid #e3e8e2; border-radius: 11px; }
.availability-calendar h3 { margin: 0 0 17px; text-align: center; font-size: 14px; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.calendar-weekdays { margin-bottom: 7px; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.calendar-days > span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; font-size: 10px; }
.calendar-days > span:not(.is-empty):not(.is-past):not(.is-unavailable) { color: var(--green-900); background: #eef7eb; font-weight: 700; }
.calendar-days .is-unavailable { color: #9c4a3e; background: #f9e5e1; text-decoration: line-through; }
.calendar-days .is-past { color: #bac0bc; background: transparent; }
.calendar-legend { display: flex; gap: 20px; margin-top: 14px; color: var(--muted); font-size: 10px; }
.calendar-legend span { display: flex; align-items: center; gap: 6px; }
.calendar-legend i { width: 10px; height: 10px; background: #eef7eb; border-radius: 50%; }
.calendar-legend span:last-child i { background: #f9e5e1; }
.map-address { margin: -10px 0 16px; color: var(--muted); }
.profile-map, .map-unavailable { width: 100%; height: 340px; border: 0; border-radius: 13px; }
.map-unavailable { display: grid; place-items: center; padding: 25px; color: var(--muted); background: #eef2ec; border: 1px dashed #c9d2c9; text-align: center; }
.reviews-average { display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 7px; }
.reviews-average span { color: #ffab00; font-size: 20px; }
.reviews-average strong { font-size: 24px; }
.reviews-average small { grid-column: 1 / -1; color: var(--muted); text-align: right; font-size: 9px; }
.btn-review { min-height: 42px; margin: -3px 0 22px; color: var(--green-800); background: var(--green-100); font-size: 12px; }
.btn-review.is-disabled { color: #8d9690; background: #eef0ed; cursor: not-allowed; }
.review-rule { display: inline-block; margin: 0 0 22px 10px; color: var(--muted); font-size: 10px; }
.reviews-list { display: grid; gap: 12px; }
.review-card { display: grid; grid-template-columns: 44px 1fr; gap: 13px; padding: 19px; background: #fff; border: 1px solid #e2e7e1; border-radius: 10px; }
.review-avatar { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: var(--green-700); border-radius: 50%; font-weight: 800; }
.review-card header { display: flex; justify-content: space-between; gap: 16px; }
.review-card header strong { font-size: 12px; }
.review-card time { color: var(--muted); font-size: 9px; }
.review-stars { margin: 6px 0 8px; color: #ffab00; font-size: 11px; letter-spacing: 1px; }
.review-stars span { color: #d9ded9; }
.review-card p { margin: 0; color: #58635c; font-size: 12px; line-height: 1.6; }
.reviews-empty { padding: 28px; color: var(--muted); background: #f2f5f0; border-radius: 10px; text-align: center; }
.gallery-modal, .review-modal { position: fixed; z-index: 150; inset: 0; align-items: center; justify-content: center; padding: 24px; background: rgba(4,19,10,.92); }
.gallery-modal:not([hidden]), .review-modal:not([hidden]) { display: flex; }
.gallery-modal img { max-width: min(1100px, 84vw); max-height: 86vh; border-radius: 10px; }
.gallery-close, .review-modal-close { position: absolute; top: 20px; right: 24px; color: #fff; background: transparent; border: 0; cursor: pointer; font-size: 34px; }
.gallery-nav { position: absolute; top: 50%; width: 45px; height: 45px; color: #fff; background: rgba(255,255,255,.14); border: 0; border-radius: 50%; cursor: pointer; font-size: 29px; }
.gallery-prev { left: 25px; }.gallery-next { right: 25px; }
.review-modal { background: rgba(4,19,10,.72); }
.review-modal-card { position: relative; width: min(100%, 520px); padding: 34px; background: #fff; border-radius: 16px; }
.review-modal-close { top: 12px; right: 17px; color: var(--ink); }
.review-modal-card h2 { margin: 8px 0 22px; }
.review-modal-card form { display: grid; gap: 12px; }
.review-modal-card form > label, .star-input legend { font-size: 11px; font-weight: 700; }
.review-modal-card textarea { width: 100%; padding: 12px; resize: vertical; border: 1px solid var(--line); border-radius: 8px; outline-color: var(--green-700); font: inherit; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; margin: 0; padding: 0; border: 0; }
.star-input legend { margin-bottom: 8px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { color: #d8ded8; cursor: pointer; font-size: 30px; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #ffab00; }

/* Reserva */
.reservation-page { min-height: calc(100vh - 83px); }
.reservation-heading { margin-bottom: 30px; }
.reservation-heading p { max-width: 620px; line-height: 1.6; }
.reservation-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(380px, .7fr); gap: 32px; align-items: start; }
.reservation-property-card, .reservation-form, .confirmation-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8e1;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}
.reservation-property-card img { width: 100%; height: 360px; object-fit: cover; }
.reservation-property-card > div { padding: 28px; }
.reservation-property-card h2 { margin: 8px 0 7px; color: var(--green-950); font-size: 28px; letter-spacing: -.03em; }
.reservation-property-card p { margin: 0 0 16px; color: var(--muted); }
.reservation-form { display: grid; gap: 22px; padding: 30px; }
.reservation-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reservation-form label { color: #344039; font-size: 12px; font-weight: 800; }
.reservation-form input[type="date"] {
    width: 100%;
    height: 48px;
    margin-top: 8px;
    padding: 0 13px;
    color: var(--ink);
    background: #fcfdfb;
    border: 1px solid #d8dfd8;
    border-radius: 8px;
    outline-color: var(--green-700);
}
.reservation-range-field { display: grid; gap: 8px; }
.reservation-range-control { position: relative; }
.reservation-range-control input[type="text"] {
    width: 100%;
    height: 50px;
    padding: 0 82px 0 14px;
    color: var(--ink);
    background: #fcfdfb;
    border: 1px solid #cfd9cf;
    border-radius: 8px;
    outline-color: var(--green-700);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}
.reservation-range-control input[type="text"]:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(33, 112, 64, .12); }
.reservation-calendar[data-locked="true"] .reservation-range-control input { color: #526057; background: #f2f5f1; cursor: default; }
.reservation-calendar-clear {
    position: absolute;
    top: 50%;
    right: 8px;
    padding: 7px 9px;
    color: var(--green-800);
    background: #eaf3e8;
    border: 0;
    border-radius: 6px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}
.reservation-calendar-clear:hover { background: #dcebd9; }
.reservation-calendar-help { margin: 0; color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.5; }
.reservation-calendar-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; color: #5d685f; font-size: 10px; font-weight: 700; }
.reservation-calendar-legend span { display: inline-flex; align-items: center; gap: 5px; }
.reservation-calendar-legend i { width: 10px; height: 10px; background: #fff; border: 1px solid #cbd4cb; border-radius: 50%; }
.reservation-calendar-legend .is-unavailable { background: #e5e8e4; border-color: #d5dad4; }
.reservation-calendar-legend .is-checkout { background: #fff4e5; border-color: #e8952c; }
.reservation-date-picker { border: 1px solid #dce4db; border-radius: 10px; box-shadow: 0 16px 36px rgba(19, 47, 29, .2); font-family: inherit; }
.reservation-date-picker .flatpickr-months .flatpickr-month,
.reservation-date-picker .flatpickr-current-month .flatpickr-monthDropdown-months { color: var(--green-950); background: #f5f9f3; }
.reservation-date-picker .flatpickr-weekday { color: #546157; font-weight: 800; }
.reservation-date-picker .flatpickr-day { border-radius: 7px; }
.reservation-date-picker .flatpickr-day.today { border-color: var(--green-700); }
.reservation-date-picker .flatpickr-day.selected,
.reservation-date-picker .flatpickr-day.startRange,
.reservation-date-picker .flatpickr-day.endRange { color: #fff; background: var(--green-800); border-color: var(--green-800); }
.reservation-date-picker .flatpickr-day.inRange { background: #e7f1e4; border-color: #e7f1e4; box-shadow: -5px 0 0 #e7f1e4, 5px 0 0 #e7f1e4; }
.reservation-date-picker .flatpickr-day.flatpickr-disabled,
.reservation-date-picker .flatpickr-day.is-reservation-unavailable { color: #aeb5ae; background: #eef0ed; text-decoration: line-through; cursor: not-allowed; }
.reservation-date-picker .flatpickr-day.is-checkout-boundary:not(.flatpickr-disabled) { color: #8b5100; background: #fff4e5; border: 1px dashed #e8952c; text-decoration: none; }
.reservation-summary { display: grid; gap: 10px; padding: 18px; background: #f7faf5; border: 1px solid #e2e9e0; border-radius: 12px; }
.reservation-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid #e1e8df; }
.reservation-summary > div:last-child { padding-bottom: 0; border-bottom: 0; }
.reservation-summary span { color: var(--muted); font-size: 12px; }
.reservation-summary strong { color: var(--green-900); font-size: 16px; }
.reservation-summary .reservation-total strong { font-size: 24px; letter-spacing: -.03em; }
.reservation-note { margin: -4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.confirmation-card { display: grid; grid-template-columns: .85fr 1fr; }
.confirmation-visual img { width: 100%; height: 100%; min-height: 610px; object-fit: cover; }
.confirmation-content { padding: 42px; }
.confirmation-content h1 { margin: 6px 0 10px; color: var(--green-950); font-size: clamp(30px, 4vw, 42px); letter-spacing: -.04em; }
.confirmation-message { margin: 0 0 28px; color: var(--muted); line-height: 1.65; }
.confirmation-details { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 24px; }
.confirmation-details div { padding: 14px; background: #f8faf6; border: 1px solid #e3e9e1; border-radius: 10px; }
.confirmation-details dt { margin-bottom: 6px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.confirmation-details dd { margin: 0; color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.45; }
.confirmation-details .confirmation-total { grid-column: 1 / -1; background: var(--green-100); }
.confirmation-total dd { color: var(--green-950); font-size: 25px; letter-spacing: -.03em; }
.status-pill { display: inline-flex; padding: 6px 10px; color: var(--green-900); background: #eaf4e7; border-radius: 20px; font-size: 11px; }
.status-payment { color: #8a5200; background: #fff0d9; }
.payment-empty { padding: 15px; color: #8a5200; background: #fff7e8; border: 1px solid #f1ddba; border-radius: 10px; text-align: center; font-size: 12px; font-weight: 700; }
.confirmation-back { display: inline-block; margin-top: 18px; color: var(--green-700); font-size: 13px; font-weight: 800; }

@media (max-width: 980px) {
    .profile-gallery { height: 400px; }
    .profile-layout { grid-template-columns: 1fr; }
    .booking-card { position: static; grid-row: 1; }
    .reservation-layout, .confirmation-card { grid-template-columns: 1fr; }
    .confirmation-visual img { min-height: 320px; max-height: 380px; }
}
@media (max-width: 680px) {
    .profile-page { padding-top: 18px; }
    .profile-heading { align-items: flex-start; flex-direction: column; }
    .profile-gallery { grid-template-columns: 1fr; height: 410px; }
    .profile-main-photo { height: 270px; }
    .profile-gallery-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: 130px; }
    .profile-gallery-grid button:nth-child(n+4) { display: none; }
    .location-facts, .calendar-shell { grid-template-columns: 1fr; }
    .availability-calendar[data-calendar-month]:nth-child(even) { display: none; }
    .profile-section h2 { font-size: 23px; }
    .review-rule { display: block; margin: -12px 0 20px; }
    .gallery-nav { display: none; }
    .reservation-form-grid, .confirmation-details { grid-template-columns: 1fr; }
    .reservation-form, .reservation-property-card > div, .confirmation-content { padding: 24px; }
    .reservation-property-card img { height: 250px; }
}
.simple-page, .auth-page { min-height: calc(100vh - 83px); display: grid; place-items: center; padding: 60px 24px; text-align: center; }
.error-code { color: var(--green-700); font-size: 80px; font-weight: 800; }
.simple-page h1 { margin: 0 0 10px; }
.simple-page p { margin: 0 0 25px; color: var(--muted); }
.auth-page { background: linear-gradient(145deg, #eef6e9, #fdfbf4); }
.auth-card { width: min(100%, 430px); padding: 36px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); }
.auth-card > img { width: 220px; margin: 0 auto 20px; }
.auth-card h1 { margin: 0 0 8px; color: var(--green-900); }
.auth-card p { margin: 0 0 24px; color: var(--muted); }
.auth-card form { display: grid; gap: 15px; margin-bottom: 20px; text-align: left; }
.auth-card label { font-size: 12px; font-weight: 700; }
.auth-card input { width: 100%; height: 45px; margin-top: 7px; padding: 0 13px; border: 1px solid var(--line); border-radius: 7px; outline-color: var(--green-700); }
.auth-card .btn { width: 100%; margin-top: 5px; }
.auth-card > a { color: var(--green-700); font-size: 13px; font-weight: 600; }

@media (max-width: 1350px) {
    .navbar { gap: 20px; }
    .brand { width: 170px; }
    .brand img { width: 180px; }
    .nav-links, .nav-actions { gap: 16px; }
    .nav-links a, .favorite-link { font-size: 12px; }
    .btn-login { padding-inline: 16px; font-size: 12px; }
}
@media (max-width: 1220px) {
    .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .property-image { height: 240px; }
}
@media (max-width: 980px) {
    .site-header { height: 72px; }
    .navbar { justify-content: space-between; }
    .mobile-menu-button { display: block; }
    .main-nav { position: fixed; inset: 72px 0 auto; display: block; height: auto; max-height: 0; overflow: hidden; padding: 0 24px; background: #fff; box-shadow: var(--shadow-sm); transition: max-height .3s, padding .3s; }
    .main-nav.is-open { max-height: calc(100vh - 72px); padding-block: 20px 28px; overflow-y: auto; }
    .nav-links, .nav-actions { display: flex; flex-direction: column; align-items: stretch; gap: 0; height: auto; }
    .nav-links a, .favorite-link { height: auto; padding: 13px 4px; }
    .nav-links a::after { display: none; }
    .nav-actions { margin-top: 8px; }
    .favorite-link { justify-content: center; }
    .hero, .hero-content { min-height: 560px; }
    .hero-content { padding-top: 55px; }
    .search-box { left: 24px; right: 24px; bottom: 24px; grid-template-columns: 1fr 1fr; gap: 12px; }
    .search-field { min-height: 58px; border: 0; background: #f6f8f4; border-radius: 7px; }
    .btn-search { margin: 0; }
    .listings-layout { grid-template-columns: 1fr; }
    .filters { position: fixed; z-index: 60; inset: 0 auto 0 0; width: min(330px, 90vw); overflow-y: auto; border-radius: 0; transform: translateX(-105%); transition: transform .25s; }
    .filters.is-open { transform: translateX(0); }
    .filters::after { content: "Aplicar filtros"; display: grid; place-items: center; min-height: 44px; margin-top: 20px; color: #fff; background: var(--green-800); border-radius: 7px; font-weight: 700; }
    .filter-mobile-button { display: inline-flex; margin: 0 0 10px; padding: 7px 12px; color: var(--green-800); background: var(--green-100); border: 0; border-radius: 6px; font-weight: 700; }
}
@media (max-width: 680px) {
    .container { width: min(calc(100% - 30px), var(--container)); }
    .brand { width: 155px; }
    .brand img { width: 165px; }
    .hero { min-height: 675px; }
    .hero-backdrop { background-position: 58% center; }
    .hero::before { background: linear-gradient(180deg, rgba(249,249,238,.96) 0%, rgba(249,249,238,.85) 48%, rgba(249,249,238,.18) 100%); }
    .hero-content { min-height: 675px; padding-top: 38px; }
    .hero-copy { width: 100%; }
    .hero h1 { font-size: 34px; }
    .hero-copy > p { font-size: 15px; }
    .trust-list { gap: 12px; }
    .trust-item { gap: 7px; font-size: 10px; }
    .trust-icon { width: 32px; height: 32px; flex-basis: 32px; }
    .search-box { left: 15px; right: 15px; bottom: 15px; grid-template-columns: 1fr; padding: 12px; }
    .search-field { min-height: 50px; padding: 7px 12px; }
    .search-field:nth-child(2), .search-field:nth-child(3) { display: none; }
    .btn-search { min-height: 50px; }
    .listings-section { padding-top: 28px; }
    .listings-toolbar { align-items: flex-end; gap: 12px; }
    .listings-toolbar h2 { font-size: 19px; }
    .sort-control { min-width: 130px; width: 130px; }
    .sort-control label { display: none; }
    .property-grid { grid-template-columns: 1fr; }
    .property-image { height: 240px; }
    .steps-grid, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .steps-section { padding: 60px 0; }
    .steps-section h2 { font-size: 27px; }
    .owner-cta-inner { align-items: flex-start; flex-direction: column; }
    .owner-cta h2 { font-size: 26px; }
    .footer-grid { gap: 28px; }
}

/* Autenticação */
.auth-page {
    min-height: calc(100vh - 83px);
    padding: 42px 24px;
    background: radial-gradient(circle at 12% 12%, rgba(47,124,61,.14), transparent 28%), linear-gradient(145deg, #edf5e8, #fffaf0);
}
.auth-shell {
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(390px, 1fr);
    width: min(100%, 1000px);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(18,78,43,.08);
    border-radius: 24px;
    box-shadow: 0 24px 65px rgba(13,45,27,.18);
}
.auth-visual {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 610px;
    padding: 52px;
    color: #fff;
    text-align: left;
    background: linear-gradient(180deg, rgba(13,62,35,.12), rgba(13,62,35,.94)), url("../img/hero-chacara.png") center/cover;
}
.auth-visual-client { background-position: 60% center; }
.auth-visual-owner { background: linear-gradient(180deg, rgba(13,62,35,.1), rgba(13,62,35,.94)), url("../img/chacara-3.jpg") center/cover; }
.auth-kicker { margin-bottom: 14px; color: #d9f0d3; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.auth-visual h1 { margin: 0 0 14px; font-size: 36px; line-height: 1.14; letter-spacing: -.04em; }
.auth-visual p { margin: 0; color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.6; }
.auth-card {
    align-self: center;
    width: 100%;
    max-width: 510px;
    padding: 44px 48px;
    text-align: left;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
}
.auth-card-wide { max-width: 570px; }
.auth-card-compact { width: min(100%, 460px); padding: 42px; text-align: center; border-radius: 20px; box-shadow: var(--shadow-lg); }
.auth-logo { display: block; width: 190px; height: 63px; margin: 0 auto 24px; overflow: hidden; }
.auth-logo img { width: 190px; transform: scale(1.1); }
.auth-card h2 { margin: 0 0 8px; color: var(--green-950); font-size: 28px; letter-spacing: -.03em; }
.auth-card > p { margin: 0 0 25px; color: var(--muted); line-height: 1.55; }
.auth-card form { display: grid; gap: 15px; margin: 0; text-align: left; }
.auth-card label { color: #344039; font-size: 12px; font-weight: 700; }
.auth-card input {
    width: 100%;
    height: 48px;
    margin-top: 7px;
    padding: 0 14px;
    color: var(--ink);
    background: #fcfdfb;
    border: 1px solid #d8dfd8;
    border-radius: 8px;
    outline: 0;
    transition: border-color .2s, box-shadow .2s;
}
.auth-card input:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(47,124,61,.12); }
.auth-card label > small { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; font-weight: 500; }
.auth-card label > .field-error { color: #a42828; font-weight: 700; }
.auth-card input[name="codigo_afiliado"] { text-transform: uppercase; }
.auth-card .btn { width: 100%; margin-top: 4px; }
.auth-fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.auth-form-links { margin-top: -5px; text-align: right; }
.auth-form-links a, .auth-switch a, .auth-back { color: var(--green-700); font-size: 13px; font-weight: 700; }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 21px 0 16px; color: #99a19c; font-size: 11px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-switch { margin: 0 0 13px !important; text-align: center; font-size: 13px; }
.auth-owner-link { display: block; padding: 12px; color: var(--green-800); background: var(--green-100); border-radius: 8px; text-align: center; font-size: 13px; font-weight: 700; }
.auth-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 17px; color: #fff; background: var(--green-700); border-radius: 50%; font-size: 21px; }
.auth-back { display: inline-block; margin-top: 22px; }
.dev-reset-link { display: grid; gap: 7px; margin-top: 20px; padding: 13px; color: #705100; background: #fff8d8; border-radius: 8px; font-size: 12px; }
.dev-reset-link a { color: var(--green-800); font-weight: 800; }

@media (max-width: 820px) {
    .auth-page { padding: 28px 16px; }
    .auth-shell { grid-template-columns: 1fr; max-width: 570px; }
    .auth-visual { min-height: 235px; padding: 32px; }
    .auth-visual h1 { max-width: 470px; font-size: 29px; }
    .auth-card { padding: 35px 30px; }
}
@media (max-width: 520px) {
    .auth-visual { min-height: 205px; padding: 26px; }
    .auth-visual h1 { font-size: 25px; }
    .auth-visual p { font-size: 13px; }
    .auth-card, .auth-card-compact { padding: 30px 22px; }
    .auth-fields-row { grid-template-columns: 1fr; }
}

/* Visual refinement aligned with the official home artwork */
:root {
    --brand-blue: #0876bd;
    --cream: #fffdf7;
    --field-bg: #fbfdf9;
    --focus-ring: 0 0 0 3px rgba(47, 124, 61, .14);
}

body { background: #fbfaf7; }
body.menu-open::after,
body.filters-open::after {
    content: "";
    position: fixed;
    z-index: 45;
    inset: 72px 0 0;
    background: rgba(4, 21, 11, .38);
}

.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 1px 0 rgba(18, 78, 43, .08), 0 10px 28px rgba(18, 78, 43, .05);
}
.brand,
.brand img,
.auth-logo,
.auth-logo img {
    object-fit: contain;
    overflow: visible;
}
.brand { width: 225px; }
.brand img { width: 214px; transform: none; }
.nav-links a { color: #243028; font-weight: 600; }
.nav-links a:hover,
.favorite-link:hover { color: var(--green-800); }
.btn,
.property-card,
.filters,
.booking-card,
.reservation-property-card,
.reservation-form,
.confirmation-card,
.auth-shell,
.auth-card-compact,
.review-modal-card {
    will-change: transform;
}
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 0;
    box-shadow: var(--focus-ring);
}

.hero {
    min-height: 470px;
    background: #eef0df;
}
.hero-backdrop { background-position: center 44%; }
.hero::before {
    background:
        linear-gradient(90deg, rgba(255, 253, 242, .98) 0%, rgba(255, 253, 242, .88) 27%, rgba(255, 253, 242, .34) 50%, rgba(255, 253, 242, .02) 74%),
        linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, rgba(251, 250, 247, .9) 100%);
}
.hero-content { min-height: 470px; padding-top: 58px; }
.hero h1 {
    color: var(--green-950);
    font-size: clamp(38px, 3.35vw, 52px);
    line-height: 1.17;
    letter-spacing: 0;
}
.hero-copy > p { color: #313b34; font-size: 18px; }
.trust-list { margin-top: 30px; }
.trust-icon {
    color: var(--green-800);
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(47, 124, 61, .14);
    box-shadow: 0 5px 16px rgba(13, 62, 35, .08);
}
.search-box {
    bottom: -34px;
    grid-template-columns: minmax(180px, 1.05fr) minmax(160px, .86fr) minmax(160px, .86fr) minmax(190px, .74fr);
    border: 1px solid rgba(18, 78, 43, .08);
    box-shadow: 0 20px 45px rgba(13, 45, 27, .18);
}
.search-field strong { color: #263128; }
.btn-search,
.btn-book {
    background: linear-gradient(135deg, #ff9700, var(--orange));
    box-shadow: 0 12px 24px rgba(244, 124, 0, .24);
}
.btn-search:hover,
.btn-book:hover { background: #e87400; }

.listings-section { padding-top: 72px; }
.filters,
.property-card,
.profile-rating-summary,
.location-facts > div,
.availability-calendar,
.review-card,
.reservation-property-card,
.reservation-form,
.confirmation-card,
.auth-shell,
.auth-card-compact {
    border-color: rgba(18, 78, 43, .1);
}
.filters {
    position: sticky;
    top: 103px;
    border-radius: 8px;
}
.filters-heading h2,
.listings-toolbar h2,
.profile-section h2,
.reservation-property-card h2,
.auth-card h2 { color: var(--green-950); letter-spacing: 0; }
.filter-group input,
.filter-group select,
.auth-card input,
.reservation-form input[type="date"],
.reservation-range-control input[type="text"] {
    background: var(--field-bg);
}
.property-grid { gap: 22px; }
.property-card {
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(34, 50, 39, .08);
}
.property-card:hover { box-shadow: 0 18px 34px rgba(34, 50, 39, .14); }
.property-image { height: 218px; }
.availability-badge {
    left: 12px;
    bottom: 12px;
    background: rgba(13, 62, 35, .9);
    border-radius: 16px;
}
.property-body { padding: 14px 14px 12px; }
.property-body h3 {
    font-size: 16px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.property-footer { padding: 14px; }
.property-footer strong { font-size: 18px; }
.property-details {
    width: calc(100% - 28px);
    margin-inline: 14px;
    color: #fff;
    background: var(--green-800);
}
.property-details:hover { background: var(--green-950); }

.steps-section { background: #fff; }
.steps-grid article {
    padding: 24px 18px;
    border: 1px solid rgba(18, 78, 43, .08);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.owner-cta {
    background:
        linear-gradient(120deg, rgba(13, 62, 35, .96), rgba(47, 124, 61, .9)),
        url("../img/chacara-4.jpg") center/cover;
}
.site-footer {
    color: #e3ece5;
    background: linear-gradient(180deg, #0d3e23, #092818);
}
.footer-logo {
    width: 205px;
    height: auto;
    object-fit: contain;
    filter: none;
    background: rgba(255, 255, 255, .92);
    border-radius: 8px;
    padding: 6px 10px;
}
.footer-grid strong { color: #fff; }

.profile-page { padding-top: 34px; }
.profile-gallery {
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(13, 45, 27, .16);
}
.profile-layout { grid-template-columns: minmax(0, 1fr) 365px; }
.booking-card {
    top: 104px;
    border-radius: 8px;
}
.booking-card::before {
    content: "";
    display: block;
    height: 4px;
    margin: -27px -27px 22px;
    background: linear-gradient(90deg, var(--green-800), var(--orange));
}
.calendar-controls button,
.calendar-days > span { border-radius: 8px; }
.calendar-days > span:not(.is-empty):not(.is-past):not(.is-unavailable) {
    border: 1px solid #cfe5c9;
}
.profile-map,
.map-unavailable { border-radius: 8px; }
.review-card { border-radius: 8px; }

.reservation-layout { grid-template-columns: minmax(0, .92fr) minmax(360px, .72fr); }
.reservation-property-card,
.reservation-form,
.confirmation-card { border-radius: 8px; }
.reservation-summary {
    background: #f4f8f1;
    border-color: #dcead7;
}
.confirmation-total dd,
.reservation-summary .reservation-total strong { color: var(--green-950); }

.auth-page {
    background:
        linear-gradient(145deg, rgba(237, 245, 232, .92), rgba(255, 250, 240, .96)),
        url("../img/hero-chacara.png") center/cover fixed;
}
.auth-shell { border-radius: 8px; }
.auth-visual { border-radius: 0; }
.auth-logo { width: 210px; height: auto; }
.auth-logo img { width: 210px; transform: none; }
.auth-owner-link { border: 1px solid rgba(47, 124, 61, .14); }
.flash {
    top: 96px;
    border: 1px solid rgba(255, 255, 255, .2);
}

@media (max-width: 1220px) {
    .brand { width: 185px; }
    .brand img { width: 180px; }
    .property-grid { gap: 18px; }
}
@media (max-width: 980px) {
    body.menu-open::after { inset-top: 72px; }
    .site-header { height: 72px; }
    .main-nav { z-index: 55; border-top: 1px solid rgba(18, 78, 43, .06); }
    .hero,
    .hero-content { min-height: 610px; }
    .hero-content { padding-top: 48px; }
    .search-box {
        bottom: 28px;
        grid-template-columns: 1fr 1fr;
        border-radius: 8px;
    }
    .filters {
        top: 0;
        z-index: 70;
        border-radius: 0;
    }
    .profile-layout,
    .reservation-layout { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .brand { width: 160px; }
    .brand img { width: 158px; }
    .hero,
    .hero-content { min-height: 700px; }
    .hero h1 { font-size: 34px; }
    .trust-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 280px;
    }
    .search-box {
        left: 15px;
        right: 15px;
        bottom: 18px;
        grid-template-columns: 1fr;
    }
    .search-field:nth-child(2),
    .search-field:nth-child(3) { display: flex; }
    .listings-toolbar {
        align-items: stretch;
        flex-direction: column;
    }
    .sort-control {
        width: 100%;
        min-width: 0;
    }
    .property-image { height: 235px; }
    .profile-gallery {
        height: auto;
        border-radius: 8px;
    }
    .profile-main-photo { height: 260px; }
    .profile-gallery-grid { grid-template-rows: 108px; }
    .profile-heading p,
    .profile-breadcrumb { flex-wrap: wrap; }
    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }
    .calendar-controls { width: 100%; justify-content: flex-end; }
    .review-card { grid-template-columns: 38px 1fr; padding: 15px; }
    .footer-logo { width: 185px; }
}
