/**
 * Brooks Construtora - Custom overrides 
 * Apenas ajustes específicos que não estão no flatsome.css original
 */

/* Fix para slider simples (sem Flickity) */
.slider .section {
    display: none;
}
.slider .section:first-child {
    display: block;
}

/* Newsletter form no footer */
.newsletter-footer .flex-row {
    display: flex;
    gap: 8px;
}

.newsletter-footer input[type="email"]::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-footer .search-field {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    flex: 1;
}

.newsletter-footer .search-field:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Mobile sidebar fix */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 99999;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 5px 0 15px rgba(0,0,0,0.2);
}

.mobile-sidebar.active {
    left: 0;
}

/* WhatsApp float button */
#qlwapp .qlwapp-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #25d366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
#qlwapp .qlwapp-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
#qlwapp .qlwapp-close { display: none; }
#qlwapp.qlwapp-bottom-right {
    position: fixed;
    bottom: 45px;
    right: 20px;
    z-index: 9999;
}
@media (max-width: 549px) {
    #qlwapp.qlwapp-bottom-right { bottom: 0px; }
    #qlwapp .qlwapp-text { display: none; }
}
