/* Sidebar Mobile */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    background-color: var(--primary);
}

.sidebar-logo {
    height: 30px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.sidebar-nav {
    flex: 1;
    padding: 20px;
}

.sidebar-nav ul {
    list-style: none;
    margin-bottom: 20px;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    text-decoration: none;
    color: var(--dark);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    background-color: rgba(0,86,179,0.1);
    color: var(--primary);
}

.sidebar-nav a i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.sidebar-contact, .sidebar-hours {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 20px;
}

.sidebar-contact h3, .sidebar-hours h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-contact p, .sidebar-hours p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-contact i, .sidebar-hours i {
    color: var(--primary);
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    background-color: #f5f5f5;
}

.sidebar-footer h3 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--dark);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.facebook { background-color: #3b5998; }
.instagram { background-color: #e4405f; }
.whatsapp { background-color: #25d366; }
.youtube { background-color: #cd201f; }

/* Responsividade do Menu */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .main-nav {
        display: none;
    }
}

@media (max-width: 576px) {
    .sidebar {
        width: 90%;
    }
    
    .sidebar-nav a {
        padding: 15px;
    }
}

/* Footer Responsivo */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.footer-about p {
    margin-bottom: 20px;
    color: #aaa;
    line-height: 1.8;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 5px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsividade do Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact li {
        justify-content: center;
    }
}

.sidebar {
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease, z-index 0.3s ease;
}

.sidebar.active {
    transform: translateX(0);
    z-index: 1000;
}

.logo-img {
    position: relative;
    z-index: auto;
}