/* RF — Footer de Receitas */
body.rf-footer-receitas-ativo .site-footer {
    display: none !important;
}

.rf-site-footer,
.rf-site-footer * {
    box-sizing: border-box;
}

.rf-site-footer {
    --rf-green: #b86a35;
    --rf-green-dark: #3f291e;
    --rf-green-soft: #fff1e3;
    --rf-cream: #fcf7f1;
    --rf-line: rgba(255,255,255,.14);
    --rf-text-light: #fcf8f2;
    margin-top: 48px;
    background: var(--rf-green-dark);
    color: var(--rf-text-light);
    font-family: inherit;
}

.rf-footer__container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.rf-footer__top {
    background: var(--rf-green);
    border-bottom: 1px solid var(--rf-line);
}

.rf-footer__hero {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(420px, 1.2fr);
    gap: 44px;
    align-items: center;
    padding: 34px 0;
}

.rf-footer__brand-name {
    margin-bottom: 7px;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.15;
    font-weight: 800;
    color: #fff;
}

.rf-footer__brand p {
    max-width: 450px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 1.55;
}

.rf-footer__search {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 5px 5px 5px 48px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(4, 44, 27, .18);
}

.rf-footer__search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #b59a86;
    font-size: 24px;
    line-height: 1;
}

.rf-footer__search input {
    min-width: 0;
    flex: 1;
    height: 46px;
    margin: 0;
    padding: 0 12px 0 0;
    border: 0 !important;
    outline: 0;
    box-shadow: none !important;
    background: transparent !important;
    color: #4a382f;
    font: inherit;
    font-size: 16px;
}

.rf-footer__search input::placeholder {
    color: #9b8776;
}

.rf-footer__search button {
    min-width: 116px;
    min-height: 46px;
    margin: 0;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: var(--rf-green);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.rf-footer__tree {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr 1.25fr .9fr;
    gap: 42px;
    padding: 44px 0 38px;
}

.rf-footer__section-title {
    margin: 0 0 18px;
    color: #fff;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
}

.rf-footer__section-toggle {
    display: none;
}

.rf-footer__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rf-footer__links li {
    margin: 0 0 10px;
}

.rf-footer__links a {
    display: inline-block;
    color: rgba(255,255,255,.78) !important;
    text-decoration: none !important;
    font-size: 14px;
    line-height: 1.42;
    transition: color .18s ease, transform .18s ease;
}

.rf-footer__links a:hover,
.rf-footer__links a:focus {
    color: #fff !important;
    transform: translateX(2px);
}

.rf-footer__links--categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.rf-footer__links--categories a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.64);
    font-size: 11px;
    font-weight: 700;
}

.rf-footer__group-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 38px;
    padding: 22px 24px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 18px;
    background: rgba(255,255,255,.07);
}

.rf-footer__group-box div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rf-footer__eyebrow {
    color: #f2d7b2;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.rf-footer__group-box strong {
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
}

.rf-footer__group-box > a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 12px;
    background: #fff;
    color: var(--rf-green-dark) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
}

.rf-footer__bottom {
    border-top: 1px solid var(--rf-line);
    background: rgba(0,0,0,.08);
}

.rf-footer__bottom .rf-footer__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
}

.rf-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
}

.rf-footer__legal a {
    color: rgba(255,255,255,.64) !important;
    text-decoration: none !important;
    font-size: 12px;
}

.rf-footer__legal a:hover,
.rf-footer__legal a:focus {
    color: #fff !important;
}

.rf-footer__copyright {
    flex: 0 0 auto;
    color: rgba(255,255,255,.54);
    font-size: 12px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .rf-footer__hero {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rf-footer__tree {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .rf-site-footer {
        margin-top: 34px;
    }

    .rf-footer__container {
        width: min(100% - 28px, 1180px);
    }

    .rf-footer__hero {
        padding: 28px 0;
        text-align: center;
    }

    .rf-footer__brand p {
        margin-inline: auto;
        font-size: 14px;
    }

    .rf-footer__search {
        display: grid;
        grid-template-columns: 1fr auto;
        min-height: 54px;
        padding: 5px;
    }

    .rf-footer__search-icon {
        display: none;
    }

    .rf-footer__search input {
        width: 100%;
        height: 46px;
        padding: 0 12px;
        font-size: 16px;
    }

    .rf-footer__search button {
        min-width: 88px;
        padding: 0 14px;
    }

    .rf-footer__tree {
        display: block;
        padding: 16px 0 26px;
    }

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

    .rf-footer__section-title {
        display: none;
    }

    .rf-footer__section-toggle {
        width: 100%;
        min-height: 58px;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        text-align: left;
        font: inherit;
        font-size: 15px;
        font-weight: 800;
        cursor: pointer;
    }

    .rf-footer__chevron {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: rgba(255,255,255,.07);
        transition: transform .2s ease;
    }

    .rf-footer__section-toggle[aria-expanded="true"] .rf-footer__chevron {
        transform: rotate(180deg);
    }

    .rf-footer__section-content {
        display: none;
        padding: 0 0 18px;
    }

    .rf-footer__section.is-open-mobile .rf-footer__section-content {
        display: block;
    }

    .rf-footer__links li {
        margin-bottom: 9px;
    }

    .rf-footer__links a {
        width: 100%;
        padding: 4px 0;
        font-size: 14px;
    }

    .rf-footer__links--categories {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px 10px;
    }

    .rf-footer__links--categories li {
        min-width: 0;
        margin: 0;
    }

    .rf-footer__links--categories a {
        min-height: 42px;
        padding: 8px 10px;
        border-radius: 10px;
        background: rgba(255,255,255,.07);
        font-size: 13px;
    }

    .rf-footer__group-box {
        display: block;
        margin-bottom: 26px;
        padding: 20px;
        text-align: center;
    }

    .rf-footer__group-box strong {
        font-size: 17px;
    }

    .rf-footer__group-box > a {
        width: 100%;
        min-height: 52px;
        margin-top: 16px;
    }

    .rf-footer__bottom .rf-footer__container {
        display: block;
        padding: 20px 0 24px;
        text-align: center;
    }

    .rf-footer__legal {
        justify-content: center;
        gap: 9px 14px;
    }

    .rf-footer__copyright {
        margin-top: 16px;
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rf-footer__links a,
    .rf-footer__chevron {
        transition: none;
    }
}
