.site-footer {
    background: var(--color-navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 1.5rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 3rem;
}

.site-footer__brand img {
    height: 36px;
    width: auto;
    margin-bottom: 1rem;
}

.site-footer__brand p {
    margin: 0;
    max-width: 28ch;
    line-height: 1.5;
}

.site-footer__social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.site-footer__social a {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.site-footer h3 {
    margin: 0 0 1.25rem;
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.site-footer__links a:hover {
    color: #fff;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
}

.site-footer__bottom div {
    display: flex;
    gap: 1.25rem;
}

@media (max-width: 900px) {
    .site-footer {
        padding: 2.5rem 0 1.25rem;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.35rem 1rem;
        padding-bottom: 1.5rem;
    }

    .site-footer__brand,
    .site-footer__contact,
    .site-footer__bottom {
        grid-column: 1 / -1;
    }

    .site-footer__bottom {
        display: grid;
        gap: 0.75rem;
        padding-top: 1rem;
    }

    .site-footer h3 {
        margin-bottom: 0.7rem;
    }

    .site-footer__links {
        gap: 0.55rem;
    }

    .site-footer__links a {
        display: inline-flex;
        align-items: center;
        min-height: 32px;
    }

    .site-footer__social {
        margin-top: 1rem;
    }

    .site-footer__social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
    }

    .site-footer__contact .site-footer__links {
        gap: 0.45rem;
    }

    .site-footer__contact li {
        overflow-wrap: anywhere;
    }
}

/* —— Botão flutuante do WhatsApp ——
   Abaixo do pop-up de anúncio (z-index 9999) e dos avisos (100000). */
.wa-float {
    position: fixed;
    z-index: 900;
    right: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 56px;
    padding: 0 1.15rem 0 0.95rem;
    border-radius: 999px;
    background: #128c4a;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(18, 140, 74, 0.35), 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.wa-float:hover,
.wa-float:focus-visible {
    background: #0e7a3f;
    color: #fff;
    transform: translateY(-2px);
}

.wa-float:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px #128c4a;
}

.wa-float__icon {
    flex: none;
}

/* Celular: só o ícone redondo, para não cobrir conteúdo. */
@media (max-width: 640px) {
    .wa-float {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        width: 56px;
        padding: 0;
        justify-content: center;
    }

    .wa-float__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wa-float {
        transition: none;
    }

    .wa-float:hover,
    .wa-float:focus-visible {
        transform: none;
    }
}

@media print {
    .wa-float {
        display: none;
    }
}
