/* ===== IMÓVEL PRIME - MAIN STYLESHEET ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --primary: #1a3c5e;
    --primary-light: #2563a8;
    --secondary: #c9a84c;
    --secondary-light: #e8c96e;
    --accent: #e8f4fd;
    --dark: #0d1f33;
    --text: #2d3748;
    --text-light: #718096;
    --border: #e2e8f0;
    --white: #ffffff;
    --bg: #f8fafc;
    --success: #10b981;
    --danger: #ef4444;
    --shadow: 0 4px 20px rgba(26,60,94,0.1);
    --shadow-lg: 0 8px 40px rgba(26,60,94,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    line-height: 1.3;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26,60,94,0.08);
    transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--primary); line-height: 1; }
.nav-logo-slogan { font-size: 0.65rem; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 8px 14px; border-radius: 8px; font-size: 0.88rem; font-weight: 500; color: var(--text); }
.nav-links a:hover { background: var(--accent); color: var(--primary); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-nav-whats { background: #25d366; color: white; padding: 9px 18px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.btn-nav-whats:hover { background: #1fb857; color: white; transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    position: relative; overflow: hidden;
    display: flex; align-items: center;
    padding-top: 72px;
}
.hero-bg {
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?w=1600&q=80') center/cover no-repeat;
    opacity: 0.2;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,31,51,0.85) 0%, rgba(26,60,94,0.75) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 80px 20px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,168,76,0.2); border: 1px solid rgba(201,168,76,0.4); color: var(--secondary-light); padding: 8px 20px; border-radius: 100px; font-size: 0.82rem; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); color: white; margin-bottom: 20px; max-width: 780px; margin-left: auto; margin-right: auto; }
.hero h1 span { color: var(--secondary-light); }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 40px; }

/* ===== SEARCH BOX ===== */
.search-box {
    background: white;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 900px; margin: 0 auto;
}
.search-tabs { display: flex; gap: 4px; margin-bottom: 20px; background: var(--bg); border-radius: 10px; padding: 4px; }
.search-tab { flex: 1; padding: 10px; text-align: center; border-radius: 8px; cursor: pointer; font-size: 0.9rem; font-weight: 500; color: var(--text-light); transition: var(--transition); border: none; background: transparent; }
.search-tab.active { background: white; color: var(--primary); font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.search-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 16px; }
.search-field { display: flex; flex-direction: column; gap: 4px; }
.search-field label { font-size: 0.75rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.search-field select, .search-field input {
    border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 14px;
    font-size: 0.9rem; color: var(--text); background: white; outline: none; transition: var(--transition);
}
.search-field select:focus, .search-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,60,94,0.1); }
.btn-search {
    background: var(--secondary); color: white; border: none; padding: 14px 32px;
    border-radius: 10px; font-size: 1rem; font-weight: 600; cursor: pointer;
    transition: var(--transition); display: flex; align-items: center; gap: 8px; justify-content: center;
    width: 100%;
}
.btn-search:hover { background: var(--secondary-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,168,76,0.3); }
.hero-stats { display: flex; gap: 40px; justify-content: center; margin-top: 40px; }
.hero-stat { text-align: center; }
.hero-stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--secondary-light); }
.hero-stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-badge { display: inline-block; background: rgba(201,168,76,0.15); color: var(--secondary); padding: 6px 18px; border-radius: 100px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 16px; }
.section-title span { color: var(--secondary); }
.section-desc { color: var(--text-light); max-width: 540px; margin: 0 auto; font-size: 1rem; }
.section-divider { width: 50px; height: 3px; background: linear-gradient(90deg, var(--secondary), var(--secondary-light)); border-radius: 2px; margin: 16px auto 0; }

/* ===== PROPERTY CARDS ===== */
.properties-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.property-card {
    background: white; border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 2px 12px rgba(26,60,94,0.07); transition: var(--transition);
    border: 1px solid var(--border);
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-image { position: relative; height: 220px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.property-card:hover .card-image img { transform: scale(1.06); }
.card-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { padding: 5px 12px; border-radius: 6px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-venda { background: var(--primary); color: white; }
.badge-aluguel { background: #7c3aed; color: white; }
.badge-destaque { background: var(--secondary); color: white; }
.badge-promocao { background: var(--danger); color: white; }
.badge-vendido { background: #6b7280; color: white; }
.card-fav { position: absolute; top: 14px; right: 14px; background: white; border: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: var(--transition); color: #cbd5e0; font-size: 1rem; }
.card-fav:hover, .card-fav.active { color: var(--danger); transform: scale(1.1); }
.card-code { position: absolute; bottom: 14px; left: 14px; background: rgba(0,0,0,0.6); color: white; padding: 3px 10px; border-radius: 5px; font-size: 0.72rem; font-weight: 600; }
.card-body { padding: 20px; }
.card-tipo { font-size: 0.75rem; color: var(--secondary); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.card-title { font-size: 1.05rem; font-weight: 600; font-family: 'Playfair Display', serif; color: var(--dark); margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-location { font-size: 0.84rem; color: var(--text-light); display: flex; align-items: center; gap: 4px; margin-bottom: 16px; }
.card-features { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.card-feature { display: flex; align-items: center; gap: 5px; font-size: 0.82rem; color: var(--text-light); }
.card-feature strong { color: var(--text); font-weight: 600; }
.card-footer { display: flex; align-items: center; justify-content: space-between; }
.card-price { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.card-price-label { font-size: 0.72rem; color: var(--text-light); font-family: 'DM Sans', sans-serif; font-weight: 400; }
.btn-card { background: var(--primary); color: white; padding: 9px 18px; border-radius: 8px; font-size: 0.84rem; font-weight: 600; transition: var(--transition); }
.btn-card:hover { background: var(--primary-light); color: white; transform: translateY(-1px); }
.no-photo { background: linear-gradient(135deg, var(--accent), #dbeafe); display: flex; align-items: center; justify-content: center; height: 100%; color: var(--primary); font-size: 3rem; opacity: 0.4; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 10px; font-weight: 600; font-size: 0.92rem; cursor: pointer; transition: var(--transition); border: none; text-decoration: none; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-light); color: white; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26,60,94,0.25); }
.btn-secondary { background: var(--secondary); color: white; }
.btn-secondary:hover { background: var(--secondary-light); color: white; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,168,76,0.3); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-whats { background: #25d366; color: white; }
.btn-whats:hover { background: #1fb857; color: white; }
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; border-radius: 8px; }
.btn-block { width: 100%; justify-content: center; }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ===== ABOUT SECTION ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; }
.about-image img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-image-badge { position: absolute; bottom: -20px; right: -20px; background: var(--secondary); color: white; padding: 20px 24px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); }
.about-image-badge .num { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; line-height: 1; }
.about-image-badge .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; opacity: 0.9; }
.about-content .section-badge { text-align: left; display: inline-block; }
.about-content h2 { text-align: left; }
.about-content p { color: var(--text-light); margin-bottom: 20px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.about-feature { display: flex; align-items: flex-start; gap: 12px; }
.feature-icon { width: 40px; height: 40px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }
.feature-text h4 { font-size: 0.9rem; font-weight: 600; font-family: 'DM Sans', sans-serif; margin-bottom: 2px; }
.feature-text p { font-size: 0.8rem; color: var(--text-light); margin: 0; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.testimonial-stars { color: var(--secondary); font-size: 0.9rem; margin-bottom: 16px; }
.testimonial-text { color: var(--text); font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--accent); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.2rem; font-weight: 700; font-family: 'Playfair Display', serif; overflow: hidden; }
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-city { font-size: 0.78rem; color: var(--text-light); }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.blog-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-image { height: 200px; overflow: hidden; background: var(--accent); position: relative; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-image img { transform: scale(1.05); }
.blog-cat-badge { position: absolute; top: 14px; left: 14px; background: var(--secondary); color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.blog-body { padding: 20px; }
.blog-meta { display: flex; gap: 12px; font-size: 0.78rem; color: var(--text-light); margin-bottom: 10px; }
.blog-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.blog-excerpt { font-size: 0.84rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.blog-link { color: var(--primary); font-size: 0.84rem; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.blog-link:hover { color: var(--secondary); }

/* ===== CORRETORES ===== */
.corretores-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.corretor-card { background: white; border-radius: var(--radius); padding: 28px 20px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--border); transition: var(--transition); }
.corretor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.corretor-foto { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 3px solid var(--secondary); background: var(--accent); overflow: hidden; }
.corretor-nome { font-size: 1.05rem; font-weight: 700; font-family: 'Playfair Display', serif; margin-bottom: 4px; }
.corretor-creci { font-size: 0.78rem; color: var(--secondary); font-weight: 600; text-transform: uppercase; margin-bottom: 10px; }
.corretor-desc { font-size: 0.84rem; color: var(--text-light); margin-bottom: 16px; line-height: 1.5; }
.corretor-actions { display: flex; gap: 8px; justify-content: center; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.contact-info h3 { font-size: 1.4rem; margin-bottom: 24px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 44px; height: 44px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }
.contact-detail h4 { font-size: 0.88rem; font-weight: 700; font-family: 'DM Sans', sans-serif; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-light); margin-bottom: 2px; }
.contact-detail p, .contact-detail a { font-size: 0.95rem; color: var(--text); }
.contact-social { display: flex; gap: 10px; margin-top: 24px; }
.social-btn { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.95rem; transition: var(--transition); }
.social-btn:hover { transform: translateY(-3px); }
.social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-facebook { background: #1877f2; }
.social-youtube { background: #ff0000; }
.social-linkedin { background: #0077b5; }
.social-whatsapp { background: #25d366; }

/* ===== FORM ===== */
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.3px; }
.form-control {
    width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
    border-radius: 10px; font-size: 0.92rem; color: var(--text);
    background: white; outline: none; transition: var(--transition);
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,60,94,0.1); }
.form-control::placeholder { color: #a0aec0; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; }
.form-check input { margin-top: 3px; accent-color: var(--primary); }
.form-check label { font-size: 0.82rem; color: var(--text-light); line-height: 1.5; }
.form-message { padding: 12px 16px; border-radius: 8px; font-size: 0.88rem; margin-bottom: 16px; }
.form-message.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-message.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { }
.footer-logo { margin-bottom: 16px; }
.footer-logo-name { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: white; }
.footer-logo-slogan { font-size: 0.75rem; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; }
.footer-about { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: var(--transition); }
.footer-social a:hover { background: var(--secondary); color: white; }
.footer-col h4 { color: white; font-size: 0.95rem; font-family: 'DM Sans', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--secondary); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--secondary); padding-left: 4px; }
.footer-contact-items { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; gap: 10px; font-size: 0.84rem; }
.footer-contact-item i { color: var(--secondary); margin-top: 2px; width: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); }
.footer-bottom-links a:hover { color: var(--secondary); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 9999;
    background: #25d366; color: white; width: 58px; height: 58px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    transition: var(--transition); animation: pulse-green 2s infinite;
}
.whatsapp-float:hover { background: #1fb857; color: white; transform: scale(1.1); }
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.8); }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
    background: var(--dark); color: rgba(255,255,255,0.85); padding: 16px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    border-top: 2px solid var(--secondary);
}
.cookie-banner p { font-size: 0.84rem; margin: 0; }
.cookie-banner a { color: var(--secondary); }
.cookie-banner-btns { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie { padding: 8px 20px; border-radius: 8px; font-size: 0.82rem; font-weight: 600; cursor: pointer; border: none; }
.btn-cookie-ok { background: var(--secondary); color: white; }
.btn-cookie-reject { background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.2); }

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    padding: 100px 0 60px; text-align: center; position: relative; overflow: hidden;
}
.page-header::before { content: ''; position: absolute; inset: 0; opacity: 0.05; background: repeating-linear-gradient(45deg, white 0px, white 1px, transparent 1px, transparent 20px); }
.page-header h1 { color: white; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; position: relative; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1rem; position: relative; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 0.84rem; color: rgba(255,255,255,0.55); position: relative; }
.breadcrumb a { color: var(--secondary-light); }
.breadcrumb .sep { opacity: 0.4; }

/* ===== PROPERTY DETAIL ===== */
.property-detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.property-gallery { border-radius: var(--radius); overflow: hidden; }
.gallery-main { position: relative; height: 450px; overflow: hidden; background: var(--accent); cursor: pointer; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 6px; }
.gallery-thumb { height: 80px; border-radius: 6px; overflow: hidden; cursor: pointer; opacity: 0.7; transition: var(--transition); }
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; outline: 2px solid var(--secondary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.property-info { background: white; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; position: sticky; top: 90px; }
.property-info-header { background: var(--primary); color: white; padding: 24px; }
.property-info-cat { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.7; margin-bottom: 6px; }
.property-info-price { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; }
.property-info-body { padding: 24px; }
.property-info-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.info-feature { display: flex; align-items: center; gap: 8px; padding: 10px; background: var(--bg); border-radius: 8px; }
.info-feature i { color: var(--secondary); }
.info-feature span { font-size: 0.84rem; color: var(--text); font-weight: 500; }
.property-info-actions { display: flex; flex-direction: column; gap: 10px; }
.property-corretor { padding: 20px 24px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 14px; }
.property-corretor img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--secondary); }
.property-corretor-info h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 2px; }
.property-corretor-info span { font-size: 0.78rem; color: var(--text-light); }

/* ===== LIGHTBOX ===== */
.lightbox { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,0.94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 88vh; border-radius: 8px; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 24px; background: rgba(255,255,255,0.1); border: none; color: white; width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: white; width: 50px; height: 50px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); font-size: 0.88rem; }

/* ===== FILTERS ===== */
.filter-bar { background: white; border-radius: var(--radius); border: 1px solid var(--border); padding: 20px; margin-bottom: 28px; box-shadow: var(--shadow); }
.filter-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.filter-field { flex: 1; min-width: 140px; }
.filter-field label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-light); display: block; margin-bottom: 6px; }
.filter-field select, .filter-field input { width: 100%; border: 1.5px solid var(--border); border-radius: 8px; padding: 9px 12px; font-size: 0.88rem; color: var(--text); outline: none; transition: var(--transition); background: white; }
.filter-field select:focus, .filter-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,60,94,0.08); }
.filter-count { font-size: 0.84rem; color: var(--text-light); margin-bottom: 16px; }
.filter-count strong { color: var(--primary); }

/* ===== PAGINATION ===== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 40px; }
.page-btn { width: 38px; height: 38px; border: 1.5px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.88rem; color: var(--text); cursor: pointer; transition: var(--transition); background: white; text-decoration: none; }
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: white; }
.page-btn.disabled { opacity: 0.4; pointer-events: none; }

/* ===== TAGS ===== */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 100px; font-size: 0.8rem; color: var(--text-light); transition: var(--transition); }
.tag:hover { background: var(--accent); color: var(--primary); border-color: var(--primary); }

/* ===== MAP ===== */
.map-container { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-container iframe { width: 100%; display: block; border: none; }

/* ===== SHARE ===== */
.share-bar { display: flex; align-items: center; gap: 10px; }
.share-btn { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.9rem; transition: var(--transition); }
.share-btn:hover { transform: translateY(-2px); opacity: 0.9; }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
    .property-detail-grid { grid-template-columns: 1fr; }
    .property-info { position: static; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; background: white; padding: 16px; flex-direction: column; box-shadow: var(--shadow-lg); border-top: 1px solid var(--border); z-index: 999; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .btn-nav-whats span { display: none; }
    .hero-stats { gap: 24px; }
    .properties-grid { grid-template-columns: 1fr; }
    .search-row { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .about-features { grid-template-columns: 1fr; }
    .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
    .filter-row { flex-direction: column; }
    .filter-field { min-width: 100%; }
    .cookie-banner { flex-direction: column; gap: 12px; }
}
@media (max-width: 480px) {
    .search-row { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .gallery-main { height: 280px; }
    .property-info-features { grid-template-columns: 1fr; }
}
