/*
|--------------------------------------------------------------------------
| Funerária LaPaz - Footer
|--------------------------------------------------------------------------
*/

.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    position: relative;
    padding-bottom: 24px;
}

.footer .footer-top {
    padding-top: 42px;
    padding-bottom: 28px;
}

.footer .footer-top .row {
    align-items: flex-start;
}

.footer .footer-about,
.footer .footer-contact,
.footer .footer-links,
.footer .footer-social {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Marca */
.footer .footer-about a {
    color: var(--heading-color);
    text-decoration: none;
}

.footer .footer-about .sitename {
    font-size: 24px;
    font-weight: 700;
    font-family: var(--heading-font);
}

.footer .footer-about .logo {
    margin-top: 26px;
}

.footer .footer-about .logo img {
    display: block;
    width: 165px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Contato */
.footer .footer-contact {
    padding-top: 4px;
}

.footer .footer-contact p {
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer .footer-contact a {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    text-decoration: none;
    font-size: 16px;
}

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

/* Títulos */
.footer h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 0;
    color: var(--heading-color);
}

/* Links */
.footer .footer-links {
    margin-bottom: 0;
}

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

.footer .footer-links ul li {
    padding: 7px 0;
    display: flex;
    align-items: flex-start;
}

.footer .footer-links ul i {
    margin-right: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--accent-color);
}

.footer .footer-links ul a {
    display: inline-block;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    line-height: 1.25;
    text-decoration: none;
}

.footer .footer-links ul a:hover {
    color: var(--accent-color);
}

/* Redes sociais */
.footer .footer-social p {
    line-height: 1.55;
    margin-bottom: 18px;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.footer .social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border-radius: 6px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);

    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);

    transition: 0.3s;
    text-decoration: none;
}

.footer .social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-1px);
}

/* Copyright */
.footer .copyright {
    margin-top: 10px;
    padding-top: 18px;
    padding-bottom: 0;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
    margin-bottom: 0;
}

.footer .credits {
    margin-top: 6px;
    font-size: 13px;
}

.footer .credits a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer .credits a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/* Botão fixo WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 90px;
    left: 15px;

    width: 50px;
    height: 50px;

    background-color: #25d366;
    color: #ffffff;

    font-size: 1.5rem;
    border-radius: 50%;
    z-index: 999;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

    transition:
        background-color 0.3s,
        transform 0.2s;

    text-decoration: none;
}

.whatsapp-button:hover {
    background-color: #1ebe5d;
    transform: scale(1.05);
    color: #ffffff;
}

/* Responsivo */
@media (max-width: 991px) {
    .footer .footer-top {
        padding-top: 36px;
        padding-bottom: 24px;
    }

    .footer .footer-about .logo {
        margin-top: 18px;
    }

    .footer .footer-about .logo img {
        width: 140px;
    }
}

@media (max-width: 575px) {
    .footer {
        padding-bottom: 24px;
    }

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

    .footer .footer-about .sitename {
        font-size: 22px;
    }

    .footer .footer-about .logo img {
        width: 125px;
    }

    .footer .footer-contact a,
    .footer .footer-contact p {
        font-size: 13px;
        line-height: 1.5;
        word-break: break-word;
    }

    .footer .social-links a {
        width: 38px;
        height: 38px;
    }

    .whatsapp-button {
        bottom: 90px;
        width: 48px;
        height: 48px;
    }
}