/* =====================================================
   RODAPÉ COMPARTILHADO — Psi Meire França
   Usado por index, blog, post, política e termos.
   (o HTML vem de assets/js/layout.js)
   ===================================================== */

.site-footer {
    background: var(--ink);
    color: rgba(255, 241, 220, 0.68);
    font-family: 'Lato', sans-serif;
}

.footer-top {
    padding: 36px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr 1.5fr;
    gap: 32px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 4px;
}

.footer-logo-area img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo-area:hover img {
    opacity: 1;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.footer-logo-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--cream-soft);
    letter-spacing: 0.02em;
}

.footer-logo-sub {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-brand-tagline {
    font-size: 0.78rem;
    line-height: 1.65;
    color: rgba(255, 241, 220, 0.48);
    max-width: 220px;
}

.footer-crp {
    font-size: 0.72rem;
    color: rgba(255, 241, 220, 0.28);
    letter-spacing: 0.08em;
}

.footer-col-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 189, 44, 0.18);
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-grid li a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: rgba(255, 241, 220, 0.55);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.footer-nav-grid li a i {
    font-size: 0.52rem;
    color: var(--gold-deep);
    flex-shrink: 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-nav-grid li a:hover {
    color: var(--gold);
}

.footer-nav-grid li a:hover i {
    color: var(--gold);
    transform: translateX(3px);
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 189, 44, 0.22);
    border-radius: 6px;
    color: rgba(255, 241, 220, 0.6);
    font-size: 0.88rem;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.footer-social-btn:hover {
    background: var(--ink-mid);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.78rem;
    color: rgba(255, 241, 220, 0.55);
    line-height: 1.5;
}

.footer-contact-list li i {
    color: var(--gold);
    font-size: 0.82rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}

.footer-contact-list a {
    color: rgba(255, 241, 220, 0.55);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-list a:hover {
    color: var(--gold);
}

.footer-admin-links {
    margin-top: 8px;
}

.footer-admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 241, 220, 0.35);
    border: 1px solid rgba(255, 189, 44, 0.14);
    border-radius: 6px;
    padding: 4px 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.footer-admin-btn:hover {
    color: var(--gold);
    border-color: rgba(255, 189, 44, 0.5);
    background: rgba(255, 189, 44, 0.06);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 189, 44, 0.1);
    padding: 14px 0;
    font-size: 0.74rem;
    color: rgba(255, 241, 220, 0.28);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-copy {
    line-height: 1.55;
}

.footer-copy strong {
    color: rgba(255, 241, 220, 0.52);
    font-weight: 700;
}

.footer-copy a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copy a:hover {
    color: var(--gold-deep);
    text-decoration: underline;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: rgba(255, 241, 220, 0.32);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-sep {
    color: rgba(255, 241, 220, 0.16);
    user-select: none;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .footer-brand {
        align-items: center;
    }
    .footer-logo-area {
        justify-content: center;
    }
    .footer-brand-tagline {
        max-width: 100%;
    }
    .footer-col-title {
        text-align: center;
    }
    .footer-social-links {
        justify-content: center;
    }
    .footer-admin-links {
        display: flex;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }
    .footer-legal-links {
        justify-content: center;
    }
}
