/* =========================================================
   Footer — editorial escuro
   ========================================================= */
.site-footer {
    position: relative;
    background: var(--forest);
    color: rgba(250, 245, 236, 0.78);
    padding: clamp(58px, 7vw, 96px) 0 34px;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    right: -14%;
    top: -30%;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(93, 168, 64, 0.2), transparent 70%);
    pointer-events: none;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

/* Frase de abertura */
.footer-lede {
    display: block;
    max-width: 20ch;
    margin-bottom: clamp(42px, 5vw, 66px);
    padding-bottom: clamp(34px, 4vw, 52px);
    border-bottom: 1px solid var(--line-light);
    font-family: var(--display);
    font-size: clamp(30px, 4.4vw, 58px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--paper);
}

.footer-lede em {
    font-weight: 400;
    color: var(--apricot-2);
}

/* Colunas */
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 44px;
    padding-bottom: 52px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--apricot-2);
}

.footer-section p {
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(250, 245, 236, 0.7);
    max-width: 40ch;
}

.footer-section ul li {
    margin-bottom: 2px;
}

/* Área de toque de 44px nos links de lista */
.footer-section ul a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 0;
}

.footer-section a {
    font-size: 15.5px;
    color: rgba(250, 245, 236, 0.78);
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 1px;
    transition: color 0.3s var(--ease), background-size 0.4s var(--ease);
}

.footer-section a:hover {
    color: var(--paper);
    background-size: 100% 1px;
}

/* Redes sociais */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line-light);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--apricot);
    border-color: var(--apricot);
    transform: translateY(-3px);
}

.social-icon {
    width: 19px;
    height: 19px;
    filter: invert(1);
}

/* Contato */
.contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin-bottom: 8px;
    font-size: 15.5px;
    line-height: 1.5;
}

.contact-info a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.contact-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    filter: invert(1);
    opacity: 0.62;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    padding: 14px 26px;
    min-height: 50px;
    border-radius: 999px;
    background: var(--paper);
    color: var(--forest);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.footer-cta .btn-icon {
    width: 18px;
    height: 18px;
}

.footer-cta:hover {
    background: var(--apricot-texto);
    color: #fff;
    transform: translateY(-2px);
}

.footer-cta:hover .btn-icon {
    filter: invert(1);
}

/* Rodapé inferior */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 30px;
    padding-top: 30px;
    border-top: 1px solid var(--line-light);
}

.footer-bottom p {
    font-size: 13.5px;
    color: rgba(250, 245, 236, 0.56);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 13.5px;
    color: rgba(250, 245, 236, 0.56);
    transition: color 0.3s var(--ease);
}

.footer-links a:hover {
    color: var(--paper);
}

/* Responsivo */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 38px;
    }
}

@media (max-width: 900px) {
    /* espaço para o botão flutuante do WhatsApp não cobrir o último link */
    .site-footer {
        padding-bottom: 96px;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-cta {
        width: 100%;
    }
}
