/* Footer Refactor & Modal Stylings */

.meu-footer {
    background: #FFFFFF;
    border-top: 1px solid rgba(255, 75, 145, 0.1);
    padding: 80px 92px 40px;
    font-family: inherit;
}

.footer-container {
    max-width: 1256px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 64px;
}

/* Brand Section */
.footer-brand .brand-logo {
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand .brand-logo::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 24px;
    background: linear-gradient(to bottom, #FF4B91, #9c4dcc);
    border-radius: 4px;
}

.footer-brand .brand-desc {
    font-size: 16px;
    color: #4B5563;
    line-height: 1.6;
    max-width: 300px;
}

/* Link Columns */
.footer-col-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-link {
    color: #4B5563;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-link:hover {
    color: #FF4B91;
    text-decoration: underline;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 16px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #F9FAFB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4B5563;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #E5E7EB;
    text-decoration: none;
    position: relative;
}

.social-btn:hover {
    color: #FF4B91;
    background: #FFFFFF;
    border-color: #FF4B91;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(255, 75, 145, 0.15);
}

.social-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Tooltip for Facebook */
.social-btn[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: #111827;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.social-btn[data-tip]:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: 55px;
}

/* Copyright Bar */
.footer-bottom {
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid #F3F4F6;
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: #9CA3AF;
}

/* Modal Stylings */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-container {
    background: #FFFFFF;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 32px 40px;
    border-bottom: 1px solid #F3F4F6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
}

.modal-close {
    background: #F9FAFB;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6B7280;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #F3F4F6;
    color: #111827;
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
}

.modal-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 24px 0 12px;
}

.modal-body p {
    margin-bottom: 16px;
}

.modal-body ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .meu-footer {
        padding: 60px 40px 30px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .meu-footer {
        padding: 60px 24px 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .modal-container {
        width: 95%;
        max-height: 90vh;
    }

    .modal-body {
        padding: 24px;
    }

    .modal-header {
        padding: 20px 24px;
    }
}