/* LAYOUT DO CATÁLOGO DE IMÓVEIS (2 Colunas) */
.catalog-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 768px) {
    .catalog-wrapper {
        padding-top: 30px;
    }
}

.catalog-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start;
}

@media (max-width: 1024px) {
    .catalog-container {
        grid-template-columns: 1fr;
    }
}

/* TOP BAR (Header Actions) */
.catalog-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 15px;
}

.catalog-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #12251a;
    margin: 0;
}

.catalog-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-negotiation {
    background: #090b1b;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-negotiation:hover {
    background: var(--accent);
    color: #090b1b;
}

.btn-add-listing {
    background: var(--accent);
    color: #12251a;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-add-listing:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(200, 169, 106, 0.4);
}

.results-count {
    font-size: 1rem;
    color: #4a5568;
    font-weight: 500;
}

.view-toggle {
    display: flex;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 4px;
    border: 1px solid #e2e8f0;
}

.toggle-btn {
    background: none;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.toggle-active {
    background: #ffffff;
    color: #12251a;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* SIDEBAR RIGHT */
.catalog-sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 90px;
    padding-bottom: 20px;
}

/* VIDEO CARD */
.video-card {
    background: linear-gradient(135deg, rgba(18, 37, 26, 0.95) 0%, rgba(138, 115, 73, 0.85) 100%);
    border: 1px solid rgba(200, 169, 106, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.video-player-wrapper {
    width: 100%;
    background: #000;
    aspect-ratio: 16/9;
}

.video-player-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-wrapper {
    padding: 20px;
}

.playlist-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin: 0 0 15px 0;
}

.playlist-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.playlist-item:hover, .playlist-item.active {
    background: rgba(200, 169, 106, 0.1);
    border-color: var(--accent);
}

.vid-thumb {
    width: 70px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.vid-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vid-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: 0.2s;
}

.playlist-item:hover .vid-play-overlay,
.playlist-item.active .vid-play-overlay {
    opacity: 1;
}

.vid-info {
    display: flex;
    flex-direction: column;
}

.vid-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

.vid-length {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

/* RADAR DE NEGOCIAÇÕES */
.monitor-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.monitor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.monitor-title {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #12251a;
    margin: 0;
    text-transform: uppercase;
}

.monitor-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #00e676;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.3);
}

.monitor-badge span {
    color: #fff;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255,255,255,0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.monitor-item {
    background: #f8fafc;
    border: 1px solid rgba(0, 230, 118, 0.3);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    transition: 0.3s;
}

.monitor-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 230, 118, 0.1);
}

.monitor-item:last-child {
    margin-bottom: 0;
}

.m-item-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 4px;
}

.m-item-price {
    font-size: 1.1rem;
    font-weight: 900;
    color: #00e676;
}

.m-item-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #e2e8f0;
}

/* NOVO CARD ESTILO OFERTAS DE COTAS */
.oc-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.oc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.oc-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 190px;
    background: #f1f5f9;
}

.oc-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oc-badge-top-left {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.oc-badge-top-right {
    position: absolute;
    top: 15px;
    right: 15px;
}

.oc-tag {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: white;
}

.oc-tag-gradient { 
    background: linear-gradient(135deg, #12251a 0%, #8a7349 100%); 
}
.oc-tag-outline { 
    background: rgba(255, 255, 255, 0.95); 
    border: 1px solid #8a7349; 
    color: #12251a; 
}
.oc-tag-dark { 
    background: #12251a; 
}

.oc-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.oc-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.2;
}

.oc-card-location {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
}

.oc-specs-row {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.oc-spec-item {
    background: #f1f5f9;
    color: #1e293b;
    padding: 6px 4px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    white-space: nowrap;
}

.oc-spec-item i {
    color: #12251a; /* Verde escuro */
    font-size: 0.95rem;
}

.oc-info-block {
    background: #f8fafc;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: auto;
}

.oc-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #0f172a;
    font-weight: 600;
    flex-wrap: wrap;
}

.oc-info-row .label {
    color: #64748b;
    font-weight: 500;
}

.oc-card-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 12px 0;
}

.oc-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.oc-price {
    font-size: 1.4rem;
    font-weight: 900;
    color: #0f172a;
}

.oc-btn-more {
    background: #ffffff;
    color: #12251a;
    border: 1px solid #8a7349;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.oc-btn-more:hover {
    background: linear-gradient(135deg, #12251a 0%, #8a7349 100%);
    color: #ffffff;
    border-color: transparent;
}
