/* ============================================================
   Bosello Imóveis — Override do tema
   Substitui a cor laranja (#FF833B) pelo ouro Bosello (#C98C1C)
   ============================================================ */

:root {
    --theme-color: #C98C1C;
    --theme-color2: #A67C14;
    --title-color: #0e0e0e;
    --body-color: #6C6D71;
    --smoke-color: #E4E4E5;
    --smoke-color2: #F8F8F8;
    --black-color2: #0A0A0A;
    --main-container: 1400px;
}

/* Fontes locais */
@font-face {
    font-family: 'CabinetGrotesk-Variable';
    src: url('../fonts/CabinetGrotesk-Variable.woff2') format('woff2'),
         url('../fonts/CabinetGrotesk-Variable.woff') format('woff');
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: 'CabinetGrotesk-Variable';
    src: url('../fonts/CabinetGrotesk-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'CabinetGrotesk-Variable';
    src: url('../fonts/CabinetGrotesk-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}


/* Header hero bg fallback — escuro quando não há imagem */
.th-hero-bg {
    background-color: #111;
}

/* Header sticky refinado */
.sticky-active.sticky-wrapper {
    background-color: #0e0e0e;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

/* Swiper hero ocupa tela toda */
.hero-4, .hero-4 .swiper, .hero-4 .swiper-wrapper, .hero-4 .swiper-slide { height: 100vh; min-height: 600px; }
.hero-inner { position: relative; height: 100%; display: flex; align-items: flex-end; }

/* Botão principal */
.th-btn {
    background-color: var(--title-color);
    border-radius: 48px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.4s;
}
.th-btn.style3 {
    background-color: var(--theme-color);
    color: #fff;
}
.th-btn.style3:hover {
    color: var(--title-color);
}
.th-btn:before {
    background-color: var(--theme-color);
}

/* Cor de destaque geral */
.text-theme { color: var(--theme-color) !important; }
.bg-theme { background-color: var(--theme-color) !important; }
.border-theme { border-color: var(--theme-color) !important; }

/* Sub-title cor */
.sub-title { color: var(--theme-color); }
.sub-title.style3 { color: var(--theme-color); }
.sub-title.style4 { color: var(--theme-color); }

/* Counter / Stats */
.counter-card .counter-number { color: var(--theme-color); }

/* Property card customizado */
.property-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}
.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.property-card .card-img {
    position: relative;
    overflow: hidden;
    height: 240px;
}
.property-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.property-card:hover .card-img img {
    transform: scale(1.06);
}
.property-card .card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--theme-color);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.property-card .card-badge.sold {
    background: #dc3545;
}
.property-card .card-body {
    padding: 24px;
}
.property-card .card-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--theme-color);
    margin-bottom: 8px;
    font-family: var(--title-font);
}
.property-card .card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 8px;
    line-height: 1.3;
    font-family: var(--title-font);
}
.property-card .card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}
.property-card .card-title a:hover { color: var(--theme-color); }
.property-card .card-location {
    font-size: 14px;
    color: var(--body-color);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.property-card .card-features {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--smoke-color);
    font-size: 13px;
    color: var(--body-color);
    flex-wrap: wrap;
}
.property-card .card-features span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.property-card .card-features i {
    color: var(--theme-color);
    font-size: 14px;
}
.property-card .card-code {
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

/* Search bar — sobre fundo escuro */
.hero-search-wrap {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 28px 32px;
}
.hero-search-wrap .form-control,
.hero-search-wrap select {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    height: 50px;
    font-size: 15px;
    color: #fff;
    padding: 0 14px;
    width: 100%;
    transition: border-color 0.3s;
    appearance: auto;
}
.hero-search-wrap .form-control:focus,
.hero-search-wrap select:focus {
    outline: none;
    border-color: #C98C1C;
    box-shadow: 0 0 0 3px rgba(201,140,28,0.15);
}
.hero-search-wrap select option { background: #111; color: #fff; }

/* Stat counter cards */
.stat-box {
    text-align: center;
    padding: 32px 20px;
}
.stat-box .stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--theme-color);
    font-family: var(--title-font);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-box .stat-label {
    font-size: 15px;
    color: var(--body-color);
}

/* Sidebar filtro */
.filter-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    position: sticky;
    top: 100px;
}
.filter-sidebar .filter-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 24px;
    font-family: var(--title-font);
    padding-bottom: 16px;
    border-bottom: 2px solid var(--theme-color);
}
.filter-sidebar .form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--title-color);
    margin-bottom: 6px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.filter-sidebar .form-control,
.filter-sidebar select {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    height: 44px;
    font-size: 14px;
    color: var(--title-color);
    width: 100%;
    padding: 0 12px;
    background: #fff;
}
.filter-sidebar .btn-filter {
    background: var(--theme-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 100%;
    height: 46px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 8px;
}
.filter-sidebar .btn-filter:hover { background: var(--theme-color2); }

/* Detalhe do imóvel */
.property-detail-gallery {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
}
.property-detail-gallery img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}
.property-thumb-list {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.property-thumb-list a img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}
.property-thumb-list a:hover img,
.property-thumb-list a.active img {
    border-color: var(--theme-color);
}
.property-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}
.property-info-table tr {
    border-bottom: 1px solid var(--smoke-color);
}
.property-info-table tr:last-child { border-bottom: none; }
.property-info-table th {
    font-size: 14px;
    font-weight: 600;
    color: var(--body-color);
    padding: 12px 16px;
    width: 45%;
    background: var(--smoke-color2);
}
.property-info-table td {
    font-size: 15px;
    color: var(--title-color);
    font-weight: 500;
    padding: 12px 16px;
}
.property-sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    margin-bottom: 24px;
}
.property-sidebar-card .price-display {
    font-size: 32px;
    font-weight: 900;
    color: var(--theme-color);
    font-family: var(--title-font);
    margin-bottom: 4px;
}
.property-sidebar-card .code-display {
    font-size: 13px;
    color: #aaa;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Breadcrumb — override completo do style.css do template */
.breadcumb-wrapper {
    background-color: #0e0e0e !important;
    padding: 160px 0 70px !important;
    position: relative;
    overflow: hidden;
}
.breadcumb-content {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: auto;
    text-align: center;
}
/* Remove a margem negativa do template que empurrava o título pra cima */
.breadcumb-title {
    font-size: 48px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.2 !important;
    font-family: var(--title-font) !important;
}
/* Corrige a cor dos itens do breadcrumb menu (template usa --title-color = preto) */
.breadcumb-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    gap: 0 !important;
    align-items: center;
    justify-content: center;
}
.breadcumb-menu li {
    color: #aaa !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    position: relative;
}
.breadcumb-menu li::after {
    content: '/' !important;
    margin: 0 8px !important;
    color: #555 !important;
    font-family: inherit !important;
    font-size: 14px !important;
}
.breadcumb-menu li:last-child::after { display: none !important; }
.breadcumb-menu li a,
.breadcumb-menu a {
    color: var(--theme-color) !important;
    text-decoration: none;
    font-size: 14px !important;
    font-weight: 400 !important;
}
.breadcumb-menu a::before { display: none !important; }
.breadcumb-menu li a:hover { color: #fff !important; }

@media (max-width: 991px) {
    .breadcumb-wrapper { padding: 130px 0 50px !important; }
    .breadcumb-title { font-size: 32px !important; }
}

/* Contact section */
.contact-form-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
.contact-form-wrap .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    height: 52px;
    font-size: 15px;
    padding: 0 16px;
}
.contact-form-wrap textarea.form-control {
    height: 140px;
    padding: 16px;
    resize: vertical;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
}
.contact-info-item .icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--theme-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 18px;
}
.contact-info-item .info-body h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--body-color);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contact-info-item .info-body p {
    font-size: 16px;
    color: var(--title-color);
    font-weight: 500;
    margin: 0;
}

/* Pagination */
.th-pagination .page-link {
    border-radius: 8px !important;
    margin: 0 3px;
    color: var(--title-color);
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    font-weight: 500;
}
.th-pagination .page-item.active .page-link {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: #fff;
}
.th-pagination .page-link:hover {
    background: var(--smoke-color2);
    border-color: var(--theme-color);
    color: var(--theme-color);
}

/* Spacing utilities */
.space { padding: 100px 0; }
.space-top { padding-top: 100px; }
.space-bottom { padding-bottom: 100px; }
.space-extra-bottom { padding-bottom: 60px; }
@media (max-width: 991px) {
    .space { padding: 60px 0; }
    .space-top { padding-top: 60px; }
    .space-bottom { padding-bottom: 60px; }
    .property-detail-gallery img { height: 280px; }
    .breadcumb-title { font-size: 30px; }
    .breadcumb-wrapper { padding: 110px 0 50px; }
}
