.rodape {
    --r-fundo: #0e1013;
    --r-linha: rgba(255, 255, 255, 0.09);
    --r-texto: rgba(255, 255, 255, 0.72);
    --r-suave: rgba(255, 255, 255, 0.46);
    margin-top: var(--spacing-2xl, 4rem);
    background: var(--r-fundo);
    color: var(--r-texto);
    border-radius: 32px 32px 0 0;
    font-family: var(--font-primary);
}

.rodape__in {
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px clamp(20px, 4vw, 40px) 28px;
}

.rodape a {
    color: inherit;
    text-decoration: none;
}

.rodape ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rodape__topo {
    display: grid;
    grid-template-columns: minmax(260px, 1.15fr) 3.85fr;
    gap: 56px;
    padding-bottom: 56px;
}

.rodape__marca {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}

.rodape__logo img {
    width: 64px;
    height: 64px;
    display: block;
}

.rodape__frase {
    margin: 0;
    max-width: 30ch;
    font-size: 15px;
    line-height: 1.55;
    color: var(--r-texto);
}

.rodape__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    background: #fff;
    color: #0e1013 !important;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease;
}

.rodape__cta i {
    font-size: 13px;
    transition: transform 0.2s ease;
}

.rodape__cta:hover {
    background: #e9e9ee;
}

.rodape__cta:hover i {
    transform: translateX(3px);
}

.rodape__redes {
    display: flex;
    gap: 8px;
}

.rodape__redes a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--r-linha);
    font-size: 16px;
    color: var(--r-texto);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rodape__redes a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
}

.rodape__mail {
    font-size: 14px;
    color: var(--r-suave) !important;
    transition: color 0.2s ease;
}

.rodape__mail:hover {
    color: #fff !important;
}

.rodape__links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px;
}

.rodape__col summary {
    list-style: none;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--r-suave);
    pointer-events: none;
}

.rodape__col summary::-webkit-details-marker {
    display: none;
}

.rodape__col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rodape__col a {
    font-size: 15px;
    line-height: 1.35;
    color: var(--r-texto);
    transition: color 0.2s ease;
}

.rodape__col a:hover,
.rodape__legal a:hover,
.rodape__base p a:hover {
    color: #fff;
}

.rodape__lojas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 48px;
    padding: 28px 0;
    border-top: 1px solid var(--r-linha);
    border-bottom: 1px solid var(--r-linha);
}

.rodape__grupo {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.rodape__rotulo {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--r-suave);
}

.rodape__selos,
.rodape__tvs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.rodape__selos a,
.rodape__tvs a {
    display: inline-flex;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.rodape__selos a:hover {
    transform: translateY(-2px);
}

.rodape__selos img {
    height: 40px;
    width: auto;
    display: block;
}

.rodape__tvs {
    gap: 26px;
}

.rodape__tvs img {
    height: 24px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.rodape__tvs a:hover img {
    opacity: 1;
}

.rodape__base {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
    padding-top: 24px;
    font-size: 14px;
    color: var(--r-suave);
}

.rodape__base p {
    margin: 0;
}

.rodape__base p a {
    color: var(--r-texto);
    transition: color 0.2s ease;
}

.rodape__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.rodape__legal a {
    color: var(--r-suave);
    transition: color 0.2s ease;
}

.rodape .rodape__subir {
    margin-left: auto;
    width: auto;
    height: 36px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--r-linha);
    border-radius: 999px;
    background: transparent;
    color: var(--r-texto);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rodape .rodape__subir:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.28);
}

.rodape__subir i {
    font-size: 12px;
}

.rodape a:focus-visible,
.rodape button:focus-visible,
.rodape summary:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    border-radius: 6px;
}

@media (max-width: 1199px) {
    .rodape__topo {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .rodape__links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 36px 32px;
    }
}

@media (max-width: 760px) {
    .rodape {
        border-radius: 24px 24px 0 0;
    }

    .rodape__in {
        padding-top: 48px;
    }

    .rodape__topo {
        gap: 32px;
        padding-bottom: 32px;
    }

    .rodape__links {
        grid-template-columns: 1fr;
        gap: 0;
        border-top: 1px solid var(--r-linha);
    }

    .rodape__col {
        border-bottom: 1px solid var(--r-linha);
    }

    .rodape__col summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0;
        padding: 18px 2px;
        font-size: 15px;
        font-weight: 500;
        letter-spacing: 0;
        text-transform: none;
        color: #fff;
        cursor: pointer;
        pointer-events: auto;
    }

    .rodape__col summary::after {
        content: "";
        width: 8px;
        height: 8px;
        margin-right: 4px;
        border-right: 1.5px solid var(--r-suave);
        border-bottom: 1.5px solid var(--r-suave);
        transform: translateY(-2px) rotate(45deg);
        transition: transform 0.2s ease;
    }

    .rodape__col[open] summary::after {
        transform: translateY(2px) rotate(-135deg);
    }

    .rodape__col ul {
        gap: 4px;
        padding: 0 2px 18px;
    }

    .rodape__col a {
        display: block;
        padding: 7px 0;
        font-size: 15px;
    }

    .rodape__lojas {
        flex-direction: column;
        align-items: flex-start;
        border-top: 0;
        padding-top: 32px;
    }

    .rodape__grupo {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .rodape__selos {
        gap: 10px;
    }

    .rodape__selos img {
        height: 38px;
    }

    .rodape__tvs {
        gap: 18px;
    }

    .rodape__tvs img {
        height: 20px;
    }

    .rodape__base {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .rodape .rodape__subir {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rodape * {
        transition: none !important;
    }
}
