/**
 * CSS do Footer - Blog ProCuidar Vacinas
 */

/* ========================================
   FOOTER
   ======================================== */

.blog-footer {
    background: #2D3748;
    color: #E2E8F0;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Footer Column */
.footer-column {
    display: flex;
    flex-direction: column;
}

/* Logo */
.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
}

/* Descrição */
.footer-description {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #CBD5E0;
    margin-bottom: 1.5rem;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #7C3AED;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

/* Footer Title */
.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #7C3AED;
}

/* Footer Menu */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: #CBD5E0;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-menu a:hover {
    color: #FFFFFF;
    padding-left: 0.5rem;
}

/* Contact Section */
.footer-contact-section {
    margin-bottom: 1.5rem;
}

.footer-contact-section:last-child {
    margin-bottom: 0;
}

.contact-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-subtitle i {
    color: #7C3AED;
    font-size: 1rem;
}

.contact-item {
    margin-bottom: 1rem;
}

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

.contact-item strong {
    display: block;
    color: #FFFFFF;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #CBD5E0;
    margin: 0;
}

.footer-contact-section a {
    color: #CBD5E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-section a:hover {
    color: #7C3AED;
}

/* Footer Bottom */
.footer-bottom {
    background: #1A202C;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #A0AEC0;
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.footer-legal a {
    color: #A0AEC0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #7C3AED;
}

.footer-legal .separator {
    color: #4A5568;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */

.scroll-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #7C3AED;
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #6D28D9;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

/* Tablets */
@media (max-width: 991px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .footer-container {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
    
    .footer-column {
        padding-bottom: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-column:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 15px;
        right: 15px;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
        bottom: 75px;
        right: 15px;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .footer-container {
        padding: 1.5rem 1rem;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-description,
    .footer-menu a,
    .contact-item p {
        font-size: 0.8125rem;
    }
    
    .footer-copyright,
    .footer-legal {
        font-size: 0.75rem;
    }
}
