/* ==================================================
   ANDREIA PESSOA CONFEITARIA
   FOOTER
================================================== */

.site-footer {
    position: relative;

    margin-top: 100px;
    padding: 82px 0 30px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fff8fa 100%
        );

    border-top: 1px solid var(--border);
}

/* Linha decorativa superior */

.site-footer::before {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    content: "";

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            var(--primary) 25%,
            #f6b9cc 50%,
            var(--primary) 75%,
            transparent 100%
        );
}

/* ==================================================
   MARCA
================================================== */

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;

    width: fit-content;
    margin-bottom: 24px;
}

.footer-logo {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 98px;
    height: 98px;

    overflow: hidden;

    background: #fffafc;

    border: 2px solid #edc6d2;
    border-radius: 50%;

    box-shadow:
        0 12px 28px rgba(112, 52, 68, 0.12);
}

.footer-logo::after {
    position: absolute;
    inset: 5px;

    content: "";

    border: 1px solid rgba(229, 101, 144, 0.2);
    border-radius: 50%;

    pointer-events: none;
}

.footer-logo img {
    width: 100%;
    height: 100%;

    padding: 4px;

    object-fit: contain;
    object-position: center;

    border-radius: 50%;
}

.footer-brand-text h4 {
    margin: 0;

    color: var(--title);

    font-size: 1.68rem;
    font-weight: 700;
    line-height: 1.1;
}

.footer-brand-text small {
    display: block;

    margin-top: 5px;

    color: var(--primary);

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-description {
    max-width: 360px;
    margin: 0;

    color: #74696d;

    font-size: 0.94rem;
    line-height: 1.8;
}

/* ==================================================
   TÍTULOS
================================================== */

.footer-title {
    position: relative;

    margin: 0 0 24px;
    padding-bottom: 11px;

    color: var(--title);

    font-size: 1.12rem;
    font-weight: 700;
}

.footer-title::after {
    position: absolute;
    bottom: 0;
    left: 0;

    width: 38px;
    height: 3px;

    content: "";

    background: var(--primary);
    border-radius: 999px;
}

/* ==================================================
   LISTAS
================================================== */

.site-footer ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-links li,
.footer-contact li,
.footer-hours li {
    margin-bottom: 14px;

    color: #74696d;

    font-size: 0.92rem;
}

.footer-links li:last-child,
.footer-contact li:last-child,
.footer-hours li:last-child {
    margin-bottom: 0;
}

/* ==================================================
   LINKS DA EMPRESA
================================================== */

.footer-links a {
    display: inline-flex;
    align-items: center;

    color: #74696d;

    transition:
        color var(--transition),
        transform var(--transition);
}

.footer-links a::before {
    display: inline-block;

    width: 0;
    height: 2px;
    margin-right: 0;

    content: "";

    background: var(--primary);

    transition:
        width var(--transition),
        margin-right var(--transition);
}

.footer-links a:hover {
    color: var(--primary);

    transform: translateX(3px);
}

.footer-links a:hover::before {
    width: 12px;
    margin-right: 7px;
}

/* ==================================================
   CONTATO E FUNCIONAMENTO
================================================== */

.footer-contact li,
.footer-hours li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-list-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 20px;
    min-height: 24px;

    color: var(--primary);

    font-size: 0.9rem;
}

.footer-contact a {
    color: #74696d;

    transition: color var(--transition);
}

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

.footer-contact li > div {
    display: flex;
    flex-direction: column;
    gap: 2px;

    line-height: 1.55;
}

.footer-hours li > span:last-child {
    line-height: 1.55;
}

/* ==================================================
   REDES SOCIAIS
================================================== */

.social-icons {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-top: 27px;
}

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

    width: 46px;
    height: 46px;

    color: var(--primary);
    background: var(--primary-light);

    border: 1px solid #f2d5de;
    border-radius: 50%;

    box-shadow: var(--shadow-small);

    font-size: 1.15rem;

    transition:
        color var(--transition),
        background var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.social-icons a:hover {
    color: var(--white);
    background: var(--primary);

    transform: translateY(-4px);

    box-shadow:
        0 12px 26px rgba(229, 101, 144, 0.28);
}

/* ==================================================
   LINHA DIVISÓRIA
================================================== */

.footer-divider {
    width: 100%;
    height: 1px;

    margin: 55px 0 28px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #ecd8de 8%,
            #ecd8de 92%,
            transparent
        );
}

/* ==================================================
   RODAPÉ INFERIOR
================================================== */

.footer-bottom {
    color: var(--text-light);
}

.footer-copyright {
    margin: 0;

    color: var(--text-light);

    font-size: 0.86rem;
    line-height: 1.6;
}

/* ==================================================
   PAGAMENTO
================================================== */

.payment-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 14px;
}

.payment-icons span {
    margin-right: 5px;

    color: var(--text-light);

    font-size: 0.82rem;
    font-weight: 600;
}

.payment-icons i {
    color: #8a7a80;

    font-size: 1.42rem;

    cursor: default;

    transition:
        color var(--transition),
        transform var(--transition);
}

.payment-icons i:hover {
    color: var(--primary);

    transform: translateY(-2px);
}

/* ==================================================
   RESPONSIVO — TABLET
================================================== */
/* ==================================================
   RESPONSIVO — TABLET
================================================== */

@media (max-width: 991.98px) {
    .site-footer {
        margin-top: 80px;
        padding: 68px 0 30px;

        text-align: center;
    }

    .footer-brand {
        margin-right: auto;
        margin-left: auto;
    }

    .footer-description {
        margin-right: auto;
        margin-left: auto;
    }

    .footer-title::after {
        left: 50%;

        transform: translateX(-50%);
    }

    .footer-links {
        width: 100%;
        text-align: center;
    }

    .footer-links li {
        width: 100%;
        text-align: center;
    }

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

        width: 100%;
    }

    .footer-contact li,
    .footer-hours li {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
}
/* ==================================================
   RESPONSIVO — CELULAR
================================================== */

@media (max-width: 767.98px) {
    .site-footer {
        padding-top: 60px;
    }

    .footer-divider {
        margin-top: 45px;
    }

    .footer-bottom {
        text-align: center;
    }

    .payment-icons {
        justify-content: center;
    }

    .footer-copyright {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .site-footer {
        margin-top: 65px;
        padding-top: 52px;
    }

    .footer-brand {
        flex-direction: column;

        gap: 12px;

        text-align: center;
    }

    .footer-logo {
        width: 84px;
        height: 84px;
    }

    .footer-brand-text h4 {
        font-size: 1.42rem;
    }

    .footer-brand-text small {
        font-size: 0.62rem;
    }

    .footer-title {
        margin-top: 8px;
    }

    .payment-icons span {
        width: 100%;
        margin-right: 0;

        text-align: center;
    }
}