/* ================================================
   Isilene Imóveis — Estilos do Site Público
   Paleta: Dourado + Off-white + Escuro
   Fontes: Playfair Display + DM Sans
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --gold:         #B91C1C;
    --gold-light:   #EF4444;
    --gold-dark:    #7F1D1D;
    --dark:         #0F1923;
    --dark-soft:    #1C2B38;
    --dark-mid:     #2C3E50;
    --offwhite:     #F9F6F0;
    --cream:        #F2EDE4;
    --text-dark:    #1a1a2e;
    --text-mid:     #4a4a6a;
    --text-light:   #8a8aa0;
    --white:        #ffffff;

    --font-title:   'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;

    --radius:       12px;
    --radius-lg:    20px;
    --shadow-sm:    0 2px 12px rgba(15,25,35,0.08);
    --shadow-md:    0 8px 32px rgba(15,25,35,0.12);
    --shadow-lg:    0 20px 60px rgba(15,25,35,0.18);
    --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    line-height: 1.25;
    color: var(--text-dark);
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; display: block; }

/* ---- Utility ---- */
.text-gold    { color: var(--gold) !important; }
.bg-dark-site { background: var(--dark) !important; }
.bg-cream     { background: var(--cream) !important; }
.font-title   { font-family: var(--font-title); }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

body {
    position: relative;
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar-site {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: transparent;
    /* transition: background var(--transition), padding var(--transition), box-shadow var(--transition); */
}

/* .navbar-site.scrolled {
    background: rgba(15, 25, 35, 0.97);
    padding: 10px 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    backdrop-filter: blur(12px);
} */

.navbar-site .brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 42px;
    height: 42px;
    background: var(--gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.brand-sub {
    font-size: 10px;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    padding-bottom: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.btn-whatsapp-nav {
    background: var(--gold);
    color: var(white) !important;
    /* padding: 10px 22px; */
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: background var(--transition), transform var(--transition);
}

.btn-whatsapp-nav:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
    position: relative;
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    /* overflow: hidden; */
    background: var(--dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/saphire.jpg');
    background-size: cover;
    background-position: top;
    filter: brightness(0.35);
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero.loaded .hero-bg { transform: scale(1); }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15,25,35,0.85) 0%,
        rgba(15,25,35,0.4) 50%,
        rgba(201,168,76,0.15) 60%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(234, 234, 234, 0.2);
    border: 1px solid rgba(234, 234, 234, 0.2);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    backdrop-filter: blur(8px);
    animation: fadeInUp 0.8s ease both;
}

.hero-title {
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title .accent {
    color: var(--gold-light);
    font-style: italic;
}

.hero-desc {
    /* font-size: 17px; */
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    font-weight: 300;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
    animation: fadeInUp 0.8s ease 0.3s both;
}

.btn-primary-gold {
    background: var(--gold);
    color: var(--dark);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid var(--gold);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
}

.btn-primary-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,168,76,0.35);
    color: var(--dark);
}

.btn-outline-gold {
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid rgba(255,255,255,0.4);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
}

.btn-outline-gold:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

/* .hero-stats {
    position: absolute;
    bottom: 48px;
    left: 0; right: 0;
    z-index: 2;
    animation: fadeInUp 0.8s ease 0.5s both;
} */

.hero-stats-inner {
    display: flex;
    gap: 0;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 320px;
}

.hero-stat {
    flex: 1;
    padding: 14px 24px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.hero-stat:last-child { border-right: none; }

.hero-stat-num {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ================================================
   SECTION HEADERS
   ================================================ */
.section-label {
    display: inline-block;
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-title);
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.section-title.light { color: var(--white); }

.section-subtitle {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 520px;
}

.section-subtitle.light { color: rgba(255,255,255,0.65); }

/* ================================================
   SEARCH BAR
   ================================================ */
.search-section {
    background: var(--offwhite);
    padding: 48px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.search-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(201,168,76,0.15);
}

.search-card .form-select,
.search-card .form-control {
    border: 1px solid #e0ddd8;
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 14px;
    background: var(--offwhite);
    color: var(--text-dark);
    font-family: var(--font-body);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.search-card .form-select:focus,
.search-card .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
    outline: none;
}

.btn-search {
    background: var(--gold);
    color: var(--dark);
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition);
}

.btn-search:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201,168,76,0.3);
}

/* ================================================
   PROPERTY CARDS
   ================================================ */
.properties-section {
    padding: 80px 0;
    background: var(--offwhite);
}

.property-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.card-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.property-card:hover .card-image-wrap img {
    transform: scale(1.06);
}

.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    backdrop-filter: blur(8px);
}

.badge-disponivel {
    background: rgba(34,197,94,0.9);
    color: white;
}

.badge-indisponivel {
    background: rgba(239,68,68,0.9);
    color: white;
}

.badge-tipo {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15,25,35,0.85);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    backdrop-filter: blur(8px);
}

.card-body-custom {
    padding: 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-category {
    font-size: 11px;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.card-title-prop {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-features {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-mid);
    font-weight: 500;
}

.feature-item svg, .feature-item i {
    color: var(--gold);
    font-size: 14px;
    flex-shrink: 0;
}

.card-divider {
    height: 1px;
    background: linear-gradient(to right, var(--cream), transparent);
    margin: 14px 0;
}

.card-footer-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.card-price {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

.card-price-label {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 400;
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-body);
}

.btn-card-detail {
    background: var(--dark);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition);
    flex-shrink: 0;
}

.btn-card-detail:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateX(3px);
}

/* ================================================
   ABOUT / FEATURES SECTION
   ================================================ */
.about-section {
    padding: 90px 0;
    background: var(--white);
}

.about-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about-badge-float {
    position: absolute;
    bottom: 28px;
    left: 28px;
    background: var(--white);
    color: var(--dark);
    padding: 14px 20px;
    border-radius: var(--radius);
    font-weight: 700;
}

.about-badge-float .num {
    font-family: var(--font-title);
    font-size: 28px;
    line-height: 1;
    display: block;
}

.about-badge-float .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.feature-item-about {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--offwhite);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(201,168,76,0.3);
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.feature-text p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.6;
}

/* ================================================
   CLUB / DIFERENCIAL SECTION
   ================================================ */
.club-section {
    padding: 90px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.club-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.club-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: background var(--transition), border-color var(--transition);
}

.club-card:hover {
    background: rgba(201, 76, 76, 0.1);
    border-color: rgba(201, 76, 76, 0.3);
}

.club-icon {
    width: 52px;
    height: 52px;
    border: 2px solid var(--offwhite);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    color: var(--offwhite);
}

.club-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.club-card p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
    padding: 80px 0;
    /* background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%); */
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .section-title { color: var(--dark); }
.cta-section .section-subtitle { color: rgba(15,25,35,0.75); max-width: 480px; }

.btn-cta-dark {
    background: var(--dark);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--dark);
    transition: all var(--transition);
}

.btn-cta-dark:hover {
    background: transparent;
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(15,25,35,0.2);
}

/* ================================================
   FOOTER
   ================================================ */
.footer-site {
    background: var(--dark);
    padding: 64px 0 0;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
}

.footer-brand .brand-name { font-size: 22px; }
.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin-top: 12px;
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover { color: var(--gold); }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-item .icon {
    color: var(--gold);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: var(--gold); }

/* ================================================
   IMOVEL PAGE — Detalhes
   ================================================ */
.imovel-hero {
    padding-top: 80px;
    background: var(--dark);
}

.imovel-gallery {
    position: relative;
}

.gallery-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity var(--transition), transform var(--transition);
    border: 2px solid transparent;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    opacity: 1;
    border-color: var(--gold);
    transform: scale(1.04);
}

.imovel-info-section {
    padding: 60px 0 80px;
    background: var(--white);
}

.imovel-title-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.imovel-main-title {
    font-family: var(--font-title);
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
}

.imovel-price-box {
    text-align: right;
}

.imovel-price {
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 700;
    color: var(--gold-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 28px 0;
}

.feat-box {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feat-box .icon {
    font-size: 20px;
    color: var(--gold);
    width: 36px;
    text-align: center;
    flex-shrink: 0;
}

.feat-box .label {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

.feat-box .value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}

.sticky-contact {
    position: sticky;
    top: 90px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(201,168,76,0.2);
}

.contact-card .price-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.contact-card .price-value {
    font-family: var(--font-title);
    font-size: 30px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.btn-whatsapp-large {
    background: #25D366;
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    margin-bottom: 12px;
}

.btn-whatsapp-large:hover {
    background: #1ebc5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.3);
    color: white;
}

/* ================================================
   BACK TO TOP
   ================================================ */
.back-to-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 46px; height: 46px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 991px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(15,25,35,0.98);
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 999;
        font-size: 20px;
        backdrop-filter: blur(12px);
    }
    .nav-toggle { display: flex; z-index: 1000; position: relative; }
    .hero-stats-inner { max-width: 100%; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .imovel-title-bar { flex-direction: column; }
    .imovel-price-box { text-align: left; }
}

@media (max-width: 576px) {
    .hero-actions { flex-direction: column; }
    .hero-actions a, .hero-actions button { width: 100%; justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .gallery-main img { height: 260px; }
}
