﻿/* ====== FLOATING DONATE BUTTON ====== */
.floating-donate {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
}

    .floating-donate a {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        border-radius: 999px;
        box-shadow: 0 12px 30px rgba(0,0,0,.22);
        text-decoration: none;
        font-weight: 700;
        letter-spacing: .2px;
        transition: transform .15s ease, box-shadow .15s ease;
        white-space: nowrap;
    }

        .floating-donate a:hover {
            transform: translateY(-2px);
            box-shadow: 0 16px 34px rgba(0,0,0,.25);
        }

        .floating-donate a:active {
            transform: translateY(0);
        }

/* Esconde texto no mobile, deixa só ícone */
@media (max-width: 576px) {
    .floating-donate a {
        width: 54px;
        height: 54px;
        justify-content: center;
        padding: 0;
    }

    .floating-donate .floating-donate-text {
        display: none;
    }
}

/* ====== USER DROPDOWN RESPONSIVO ====== */
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

.user-dropdown-menu {
    width: min(92vw, 320px);
    max-width: 320px;
}

.user-dropdown-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
}

.user-name {
    font-weight: 600;
    line-height: 1.2;
}

.user-email {
    font-size: .85rem;
    color: #6c757d;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .user-dropdown-menu {
        width: 92vw;
        max-width: 92vw;
    }
}
.custom-btn {
    background: var(--primary-color);
    border: 2px solid transparent;
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: var(--btn-font-size);
    font-weight: var(--font-weight-normal);
    line-height: normal;
    padding: 15px 25px;
}
    .custom-btn:hover {
        background: var(--custom-btn-bg-hover-color);
    }


/* =========================
   FOOTER (profissional)
   ========================= */

/* área principal */
.site-footer-main {
    padding: 70px 0;
    background: #34424b; /* mais profundo */
}

/* brand */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

    .footer-brand .footer-brand-text {
        min-width: 0; /* impede overflow do texto */
    }

.footer-logo {
    max-height: 68px;
    border-radius: 12px;
    flex: 0 0 auto;
}

/* títulos */
.site-footer-title,
.footer-title {
    color: #ffffff !important;
    font-weight: 800;
    letter-spacing: .2px;
    margin-bottom: 8px;
}

.footer-title-nowrap {
    white-space: nowrap; /* NÃO quebra "Santuário" */
}

/* subtítulos */
.footer-subtitle {
    color: rgba(255,255,255,.88);
    font-size: 13px;
    line-height: 1.25;
}

/* texto */
.footer-text {
    color: rgba(255,255,255,.82);
    margin: 0;
}

/* links rápidos */
.footer-links li {
    margin: 10px 0;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,.88);
    transition: .15s ease;
}

    .footer-links a:hover {
        color: #fff;
        transform: translateX(2px);
    }

/* contato */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,.92);
    gap: 6px;
}

    .footer-contact-item i {
        color: rgba(255,255,255,.92) !important;
    }

.site-footer-link {
    color: rgba(255,255,255,.92) !important;
}

    .site-footer-link:hover {
        color: #fff !important;
    }

/* botões */
.footer-btn-primary {
    background: #0b2d5a;
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    border-radius: 999px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: .15s ease;
}

    .footer-btn-primary:hover {
        filter: brightness(1.08);
        color: #fff;
    }

.footer-btn-outline {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.22);
    color: #fff;
    border-radius: 999px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: .15s ease;
}

    .footer-btn-outline:hover {
        background: rgba(255,255,255,.12);
        color: #fff;
    }

    .footer-btn-outline.disabled,
    .footer-btn-outline[aria-disabled="true"] {
        opacity: .55;
        pointer-events: none;
    }

/* barra inferior */
.site-footer-bottom {
    background: #495b66;
    padding: 16px 0;
}

.footer-muted {
    color: rgba(255,255,255,.85);
    font-size: 13px;
}

.footer-verse {
    color: rgba(255,255,255,.88);
    font-size: 13px;
    font-style: italic;
}

/* responsivo */
@media (max-width: 420px) {
    .footer-title-nowrap {
        white-space: normal; /* no mobile pode quebrar */
    }

    .site-footer-main {
        padding: 52px 0;
    }
}
.footer-dev-link {
    color: rgba(255,255,255,.92);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.25);
    transition: .15s ease;
}

    .footer-dev-link:hover {
        color: #fff;
        border-bottom-color: rgba(255,255,255,.6);
    }