.lar-footer {
    width: 100%;
    background: #111111;
    color: #FFFFFF;
    font-family: "DM Sans", sans-serif;
}

.lar-footer-main {
    width: min(100% - 76px, 1320px);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: clamp(50px, 7vw, 110px);

    padding: clamp(70px, 8vw, 120px) 0 70px;
}


/* BRAND */

.lar-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.lar-footer-logo {
    display: inline-block;
    margin-bottom: 38px;
    line-height: 0;
}

.lar-footer-logo img {
    width: auto;
    height: 68px;

    filter: grayscale(1) brightness(0) invert(1);

    transition:
        opacity .25s ease,
        transform .25s ease;
}

.lar-footer-logo:hover img {
    opacity: .82;
    transform: translateY(-2px);
}


/* TITLES */

.lar-footer-title {
    display: block;

    margin-bottom: 26px;

    color: #737373;

    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;

    text-transform: uppercase;
}


/* LINKS */

.lar-footer-contact,
.lar-footer-nav,
.lar-footer-commerce {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.lar-footer-contact {
    gap: 10px;
}

.lar-footer-nav,
.lar-footer-commerce {
    gap: 13px;
}

.lar-footer a {
    position: relative;

    color: #FFFFFF;

    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;

    text-decoration: none;
}

.lar-footer a::after {
    content: "";

    width: 0;
    height: 2px;

    position: absolute;
    left: 0;
    bottom: -4px;

    background: #F0D400;

    transition: width .28s cubic-bezier(.76,0,.24,1);
}

.lar-footer a:hover::after {
    width: 100%;
}


/* SECURITY */

.lar-footer-security {
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 9px;

    margin: 16px 0 10px;
    padding: 18px 0;

    border-top: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.lar-security-item {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #B8B8B8;

    font-size: 13px;
}

.lar-security-icon {
    width: 18px;
    height: 18px;

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

    flex: 0 0 18px;

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

    color: #F0D400;

    font-size: 10px;
    line-height: 1;
}


/* POLICIES */

.lar-footer-policies {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 5px;

    font-family: "Space Grotesk", sans-serif;
    font-weight: 500 !important;
}

.lar-footer-policies span {
    transition: transform .25s ease;
}

.lar-footer-policies:hover span {
    transform: translateX(6px);
}


/* BOTTOM */

.lar-footer-bottom {
    width: min(100% - 76px, 1320px);
    margin: 0 auto;

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

    padding: 24px 0 28px;

    border-top: 1px solid rgba(255,255,255,.16);

    color: #8A8A8A;

    font-size: 12px;
}

.lar-footer-payments {
    display: flex;
    gap: 8px;
}

.lar-footer-payments span {
    color: #F0D400;
}


/* TABLET */

@media (max-width: 980px) {

    .lar-footer-main {
        grid-template-columns: 1.2fr 1fr;
    }

    .lar-footer-commerce {
        grid-column: 1 / -1;

        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 50px;
    }

    .lar-footer-commerce .lar-footer-title {
        grid-column: 1 / -1;
    }

    .lar-footer-security {
        grid-column: 2;
        grid-row: 2 / span 4;
        margin: 0;
    }

}


/* MOBILE */

@media (max-width: 767px) {

    .lar-footer-main {
        width: calc(100% - 40px);

        display: block;

        padding: 60px 0 45px;
    }

    .lar-footer-brand,
    .lar-footer-nav,
    .lar-footer-commerce {
        margin-bottom: 52px;
    }

    .lar-footer-logo img {
        height: 58px;
    }

    .lar-footer-nav,
    .lar-footer-commerce {
        display: flex;
    }

    .lar-footer-title {
        margin-bottom: 18px;
    }

    .lar-footer-security {
        margin-top: 18px;
    }

    .lar-footer-bottom {
        width: calc(100% - 40px);

        flex-direction: column;
        align-items: flex-start;
        gap: 10px;

        padding: 22px 0 28px;
    }

}

/* R4HUB — refinamento footer */

.lar-footer {
    color: #B8B8B8;
}

.lar-footer-logo img {
    width: auto;
    height: 72px;
    filter: none;
}

.lar-footer a {
    color: #B8B8B8;
}

.lar-footer-title {
    color: #969696;
}

.lar-footer-bottom {
    color: #A0A0A0;
}

.lar-security-item {
    color: #B8B8B8;
}

.lar-footer a:hover {
    color: #FFFFFF;
}

@media (max-width: 767px) {
    .lar-footer-logo img {
        height: 62px;
    }
}

/* =====================================================
   R4HUB — CONTRASTE E ALINHAMENTO FINAL DO FOOTER
===================================================== */

.lar-footer {
    color: #D0D0D0;
}

.lar-footer a,
.lar-footer-contact a,
.lar-footer-nav a,
.lar-footer-commerce a {
    color: #D0D0D0;
}

.lar-footer-title {
    color: #AAAAAA;
}

.lar-security-item {
    color: #D0D0D0;
}

.lar-footer-bottom {
    color: #B8B8B8;
}

/* branco somente no hover */
.lar-footer a:hover {
    color: #FFFFFF;
}

/* compensar o espaço transparente interno do PNG */
.lar-footer-logo {
    margin-left: -20px;
}

.lar-footer-logo img {
    height: 72px;
    width: auto;
    filter: none;
}

@media (max-width: 767px) {
    .lar-footer-logo {
        margin-left: -14px;
    }

    .lar-footer-logo img {
        height: 62px;
    }
}


/* R4HUB — refinamento fino do footer */

/* links/textos um pouco mais claros */
.lar-footer a,
.lar-footer-contact a,
.lar-footer-nav a,
.lar-footer-commerce a {
    color: #D8D8D8;
}

/* títulos continuam discretos, mas com mais leitura */
.lar-footer-title {
    color: #B0B0B0;
}

/* segurança já estava boa */
.lar-security-item {
    color: #D0D0D0;
}

/* copyright/faixa inferior */
.lar-footer-bottom {
    color: #C2C2C2;
}

/* corrige o deslocamento excessivo do logo */
.lar-footer-logo {
    margin-left: -8px;
}

@media (max-width: 767px) {
    .lar-footer-logo {
        margin-left: -6px;
    }
}

