/*
Theme Name: Stael Imóveis
Theme URI: https://staelcorretoraimoveis.com.br
Description: Tema moderno para imobiliária
Version: 1.0
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: #333; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; }

/* LOGO */
.logo img, .logo-img, .custom-logo, .custom-logo-link img, a.logo img {
    max-height: 180px !important;
    width: auto !important;
}

/* TOP BAR */
.top-bar { background: #1a1a1a; color: #fff; padding: 8px 0; font-size: 13px; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar a { color: #fff; text-decoration: none; }
.top-creci { background: #2E8B57; padding: 4px 10px; border-radius: 4px; font-weight: 600; font-size: 11px; display: inline-block; }
.top-social { display: flex; gap: 8px; }
.top-social a { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); color: #fff; font-size: 13px; text-decoration: none; }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.98); border-bottom: 1px solid #e0e0e0; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; }
.nav-links { display: flex; gap: 20px; list-style: none; align-items: center; }
.nav-links a { color: #333; text-decoration: none; font-weight: 600; font-size: 14px; }
.nav-links a:hover { color: #F48120; }

/* HERO */
.hero { background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1920&q=80') center/cover; min-height: 500px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 100px 0 50px; }
.hero-badge { display: inline-block; background: #F48120; padding: 8px 20px; border-radius: 25px; font-weight: 700; font-size: 14px; margin-bottom: 15px; }
.hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 10px; }
.hero h1 span { color: #F48120; }
.hero p { font-size: 1.1rem; margin-bottom: 25px; opacity: 0.9; }
.hero-search { background: #fff; border-radius: 50px; padding: 8px; display: flex; gap: 5px; max-width: 600px; margin: 0 auto 20px; }
.hero-search select, .hero-search input { border: none; padding: 12px 15px; font-size: 14px; border-radius: 50px; background: #f5f5f5; }
.hero-search select { flex: 1; cursor: pointer; }
.hero-search input { flex: 2; }
.hero-search button { background: #F48120; color: #fff; border: none; padding: 12px 25px; border-radius: 50px; font-weight: 700; cursor: pointer; white-space: nowrap; font-size: 14px; }
.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.hero-tag { background: rgba(255,255,255,0.2); padding: 6px 14px; border-radius: 25px; font-size: 13px; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,0.3); }
.hero-tag:hover { background: #F48120; border-color: #F48120; }

/* STATS */
.stats-section { background: #F48120; padding: 35px 0; color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-number { font-size: 2.2rem; font-weight: 800; }
.stat-label { font-size: 14px; opacity: 0.9; }

/* SECTIONS */
section { padding: 50px 0; }
.section-header { text-align: center; margin-bottom: 35px; }
.section-tag { color: #F48120; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.section-title { font-size: 1.8rem; font-weight: 800; margin-top: 5px; }
.section-title span { color: #F48120; }

/* IMOVEIS */
.imoveis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.imovel-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 15px rgba(0,0,0,0.08); transition: 0.3s; }
.imovel-card:hover { transform: translateY(-5px); }
.imovel-image { position: relative; height: 200px; overflow: hidden; background: #ddd; }
.imovel-image img { width: 100%; height: 100%; object-fit: cover; }
.imovel-badge { position: absolute; top: 10px; left: 10px; background: #F48120; color: #fff; padding: 4px 10px; border-radius: 20px; font-weight: 700; font-size: 12px; }
.imovel-badge.locacao { background: #2E8B57; }
.imovel-info { padding: 15px; }
.imovel-codigo { font-size: 11px; color: #999; }
.imovel-titulo { font-size: 1rem; font-weight: 700; margin: 4px 0; }
.imovel-endereco { font-size: 13px; color: #666; margin-bottom: 8px; }
.imovel-preco { font-size: 1.3rem; font-weight: 800; color: #2E8B57; }
.imovel-detalhes { display: flex; gap: 10px; font-size: 12px; color: #888; padding-top: 10px; border-top: 1px solid #eee; margin-top: 8px; }
.btn-ver-imovel { display: block; text-align: center; background: #2E8B57; color: #fff; padding: 8px; border-radius: 5px; text-decoration: none; font-weight: 700; margin-top: 10px; font-size: 14px; }
.btn-ver-imovel:hover { background: #236B43; }

/* CTA */
.cta-section { background: #1a1a1a; color: #fff; text-align: center; padding: 50px 20px; }
.cta-section h2 { font-size: 1.8rem; margin-bottom: 10px; }
.cta-section p { opacity: 0.8; margin-bottom: 20px; }
.btn-cta { background: #F48120; color: #fff; padding: 14px 30px; border-radius: 50px; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.btn-cta:hover { background: #E06A0A; }

/* FOOTER */
footer { background: #1a1a1a; color: #fff; padding: 40px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 20px; }
.footer-logo img { max-height: 120px !important; width: auto !important; margin-bottom: 10px; }
.footer-about p { color: #bbb; font-size: 13px; }
.footer-social { display: flex; gap: 8px; margin-top: 12px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); color: #fff; text-decoration: none; font-size: 14px; }
.footer-links h4 { font-weight: 700; margin-bottom: 10px; font-size: 14px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 6px; }
.footer-links ul li a { color: #bbb; text-decoration: none; font-size: 13px; }
.footer-bottom { text-align: center; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 12px; color: #888; }

/* WHATSAPP */
.whatsapp-float { position: fixed; bottom: 20px; right: 20px; z-index: 999; width: 55px; height: 55px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; text-decoration: none; box-shadow: 0 4px 15px rgba(37,211,102,0.4); }

/* RESPONSIVO */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { min-height: 400px; padding: 80px 0 30px; }
    .hero h1 { font-size: 1.5rem; }
    .hero-search { flex-direction: column; border-radius: 15px; padding: 10px; }
    .hero-search select, .hero-search input, .hero-search button { border-radius: 10px; width: 100%; }
    .imoveis-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .imoveis-grid, .stats-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.3rem; }
}