/* =========================================================
   COMPONENTES GLOBAIS — Ideal Bike Shop
   Cabeçalho e rodapé em uma única folha de estilos.
   ========================================================= */

@font-face {
    font-family: 'Noto Music';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/noto-music-regular.woff2') format('woff2');
}

/* =========================================================
   ROLAGEM PRINCIPAL
   Mantem a barra da pagina consistente em todas as telas que
   usam os componentes globais, sem alterar rolagens internas.
   ========================================================= */

html {
    scrollbar-width: thin;
    scrollbar-color: #ffd500 #111111;
}

html::-webkit-scrollbar {
    width: 14px;
}

html::-webkit-scrollbar-track {
    background-color: #111111;
}

html::-webkit-scrollbar-thumb {
    background-color: #ffd500;
    border: 5px solid #111111;
    border-radius: 10px;
}

html::-webkit-scrollbar-thumb:hover {
    background-color: #e6bf00;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* =========================================================
   ESTRUTURA PRINCIPAL
   ========================================================= */

#cabecalho {
    --header-accent: #f5cd15;
    --header-bg: #000;

    background-color: var(--header-bg);
    width: 100%;
    min-height: 120px;
    height: auto;

    display: grid;
    grid-template-columns: 100px minmax(420px, 500px) minmax(160px, 1fr);
    align-items: center;
    column-gap: clamp(45px, 7vw, 100px);
    padding: 12px clamp(24px, 3.7vw, 50px);

    font-family: 'Poppins', sans-serif;
}

#cabecalho > a:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===== LOGO ===== */

#logo {
    width: 100px;
    height: 96px;
    margin-left: 0;
    transition: transform 0.3s ease;
}

#logo:hover {
    transform: scale(1.05);
}

/* =========================================================
   MENU NORMAL
   ========================================================= */

#menu,
#menuadm {
    width: 100%;
    max-width: 500px;
    height: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-left: 0;
    margin-top: 0;
    flex-wrap: nowrap;
    gap: clamp(24px, 3vw, 54px);
}

#menu a,
#menuadm a,
#linksi,
#linksiadm,
.linksi {
    font-family: 'Nunito', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.3px;
}

#linksi,
#linksiadm,
.linksi {
    margin-left: 15px;
    text-decoration: none;
    color: white;
    transition: color 0.35s ease;
}

#linksi:hover,
#linksiadm:hover,
.linksi:hover,
.linksi:focus-visible {
    color: var(--header-accent);
}

/* ===== PESQUISA, CASO ALGUMA PÁGINA USE ===== */

#pesquisar {
    border: solid white;
    padding: 8px;
    border-radius: 6px;
    margin-left: 200px;
}

/* =========================================================
   ÁREA CARRINHO + USUÁRIO
   ========================================================= */

#geral,
#geraldif,
#geraladm {
    width: auto;
    height: auto;

    display: flex;
    align-items: center;
    gap: 44px;
}

#geral {
    position: relative;
    justify-self: end;
    margin-left: 0;
}

#geraldif {
    justify-content: center;
}

/* =========================================================
   CARRINHO
   ========================================================= */

.carrinho-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#carrinho {
    width: 90px;
    height: 50px;
    margin-top: 0;

    filter: brightness(0) invert(1);
    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

#carrinho:hover,
.carrinho-wrapper:hover #carrinho {
    transform: scale(1.05);

    /* Amarelo próximo ao hover dos links. */
    filter: brightness(0) saturate(100%) invert(78%) sepia(97%) saturate(673%) hue-rotate(358deg) brightness(101%) contrast(92%);
}

/* =========================================================
   BADGE DO CARRINHO
   ========================================================= */

.badge-carrinho {
    position: absolute;
    top: 0;
    right: 0;

    width: 30px;
    min-width: 30px;
    height: 30px;
    padding: 0;

    border-radius: 50%;
    background-color: #f7cd07;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(28%, -28%);
    box-shadow: 0 0 0 2px #000;
    z-index: 3;

    overflow: hidden;
    user-select: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.badge-numero {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    color: #ffffff;

    text-align: center;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.badge-numero--sair-cima {
    transform: translateY(-100%);
    opacity: 0;
}

.badge-numero--sair-baixo {
    transform: translateY(100%);
    opacity: 0;
}

.badge-numero--entrar-cima,
.badge-numero--entrar-baixo {
    opacity: 0;
    transition: none;
}

.badge-numero--entrar-cima {
    transform: translateY(100%);
}

.badge-numero--entrar-baixo {
    transform: translateY(-100%);
}

/* animação da bolinha */
.badge-animar {
    animation: badgePop 0.25s ease-out;
}

@keyframes badgePop {
    0% {
        transform: translate(28%, -28%) scale(0.6);
        opacity: 0.3;
    }

    60% {
        transform: translate(28%, -28%) scale(1.15);
        opacity: 1;
    }

    100% {
        transform: translate(28%, -28%) scale(1);
    }
}

/* animação do número */
.badge-up {
    transform: translateY(-100%);
    opacity: 0;
}

.badge-down {
    transform: translateY(100%);
    opacity: 0;
}

/* =========================================================
   USUÁRIO / AVATAR
   ========================================================= */

#usuario {
    width: 70px;
    height: 70px;
    margin-top: 0;

    transition:
        transform 0.35s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

#usuario:hover {
    transform: scale(1.05);
}

.avatar-logado {
    border: 3px solid white;
    border-radius: 50%;
    object-fit: cover;
}

/* efeito amarelo somente quando o usuário está logado */
.avatar-logado:hover {
    border-color: var(--header-accent) !important;
    box-shadow: 0 0 10px rgba(245, 205, 21, 0.35);
}

/* =========================================================
   CABEÇALHO ADM
   ========================================================= */

#geraladm {
    margin-left: 45%;
}

/* =========================================================
   RESPONSIVIDADE DO CABEÇALHO
   ========================================================= */

@media (max-width: 1024px) {
    #cabecalho {
        display: flex;
        min-height: auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 18px 12px 24px;
        gap: 18px;
        flex-wrap: nowrap;
    }

    #logo {
        margin-left: 0;
    }

    #menu,
    #menuadm {
        width: 100%;
        max-width: 620px;
        height: auto;
        margin-left: 0;
        margin-top: 0;

        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;

        gap: clamp(18px, 5vw, 58px);
    }

    #menu a,
    #menuadm a,
    #linksi,
    #linksiadm,
    .linksi {
        margin-left: 0;
        white-space: nowrap;
        font-size: clamp(15px, 2.2vw, 22px);
        line-height: 1;
    }

    #pesquisar {
        margin-left: 20px;
        margin-top: 10px;
        width: 70%;
    }

    #geral,
    #geraladm {
        width: 100%;
        height: auto;
        margin-left: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        gap: clamp(90px, 24vw, 170px);
    }
}

@media (max-width: 768px) {
    #cabecalho {
        padding: 16px 10px 24px;
        gap: 18px;
    }

    #logo {
        width: 100px;
        height: 96px;
        margin-left: 0;
    }

    #menu,
    #menuadm {
        max-width: 100%;
        gap: clamp(18px, 4.5vw, 42px);
    }

    #menu a,
    #menuadm a,
    #linksi,
    #linksiadm,
    .linksi {
        font-size: clamp(15px, 3.3vw, 21px);
    }

    /* Mantem a aparencia compacta, mas amplia o alvo de toque do menu publico. */
    #menu a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    #geral,
    #geraladm {
        gap: clamp(85px, 27vw, 145px);
    }
}

@media (max-width: 480px) {
    #cabecalho {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas:
            "logo . actions"
            "menu menu menu";
        align-items: center;
        padding: 14px;
        column-gap: 14px;
        row-gap: 12px;
    }

    #cabecalho > a:first-child {
        grid-area: logo;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    #logo {
        width: 78px;
        height: 75px;
    }

    #menu,
    #menuadm {
        grid-area: menu;
        width: 100%;
        max-width: 100%;
        height: auto;

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

        gap: clamp(8px, 3vw, 18px);
    }

    #menu a,
    #menuadm a,
    #linksi,
    #linksiadm,
    .linksi {
        margin-left: 0;
        white-space: nowrap;

        font-size: clamp(13.5px, 3.75vw, 16.5px);
        font-weight: 800;
        letter-spacing: -0.1px;
        line-height: 1;
    }

    #geral,
    #geraladm {
        grid-area: actions;
        width: auto;
        height: auto;
        margin-left: 0;

        display: flex;
        align-items: center;
        justify-content: flex-end;
        justify-self: end;

        gap: 18px;
    }

    #geral > a,
    #geraladm > a {
        min-width: 48px;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    #carrinho {
        width: 58px;
        height: 36px;
        margin-top: 0;
    }

    #usuario {
        width: 48px;
        height: 48px;
        margin-top: 0;
    }

    .badge-carrinho {
        width: 22px;
        min-width: 22px;
        height: 22px;
        transform: translate(18%, -18%);
    }

    .badge-numero {
        font-size: 11px !important;
    }
}

@media (max-width: 390px) {
    #cabecalho {
        padding-right: 10px;
        padding-left: 10px;
    }

    #menu,
    #menuadm {
        gap: clamp(6px, 2.4vw, 12px);
    }

    #menu a,
    #menuadm a,
    #linksi,
    #linksiadm,
    .linksi {
        font-size: clamp(12.5px, 3.7vw, 14.5px);
        letter-spacing: -0.2px;
    }

    #geral,
    #geraladm {
        gap: 16px;
    }

    #carrinho {
        width: 54px;
        height: 34px;
    }

    #usuario {
        width: 46px;
        height: 46px;
    }

    .badge-carrinho {
        width: 22px;
        min-width: 22px;
        height: 22px;
    }

    .badge-numero {
        font-size: 11px !important;
    }
}

@media (max-width: 340px) {
    #cabecalho {
        padding-top: 12px;
        padding-right: 8px;
        padding-bottom: 12px;
        padding-left: 8px;
        row-gap: 10px;
    }

    #logo {
        width: 68px;
        height: 65px;
    }

    #menu,
    #menuadm {
        gap: 5px;
    }

    #menu a,
    #menuadm a,
    #linksi,
    #linksiadm,
    .linksi {
        font-size: 11.6px;
        letter-spacing: -0.3px;
    }

    #geral,
    #geraladm {
        gap: 14px;
    }

    #carrinho {
        width: 50px;
        height: 31px;
    }

    #usuario {
        width: 42px;
        height: 42px;
    }

    .badge-carrinho {
        width: 20px;
        min-width: 20px;
        height: 20px;
    }

    .badge-numero {
        font-size: 10px !important;
    }
}

/* =========================================================
   RODAPÉ
   ========================================================= */

#rodape.site-footer,
.site-footer {
    --footer-bg: #000;
    --footer-text: #f6f6f6;
    --footer-muted: #cfcfcf;
    --footer-soft: rgba(255, 255, 255, 0.12);
    --footer-softer: rgba(255, 255, 255, 0.06);
    --footer-accent: #ffd500;
    --footer-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --footer-font-display: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    position: relative;
    width: 100%;
    padding: 90px 20px 22px;
    overflow: hidden;
    background: var(--footer-bg);
    color: var(--footer-text);
    font-family: var(--footer-font-body);
    font-weight: 400;
}

.site-footer *::before,
.site-footer *::after,
.rodape-modal *::before,
.rodape-modal *::after {
    box-sizing: border-box;
}

.site-footer a,
.site-footer button {
    font: inherit;
}

.site-footer__container,
.site-footer__bottom {
    width: min(1480px, calc(100% - 70px));
    margin-right: auto;
    margin-left: auto;
}

.site-footer__container {
    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr) minmax(0, 0.75fr) minmax(0, 0.9fr) minmax(0, 0.95fr);
    gap: clamp(30px, 3.2vw, 52px);
    align-items: flex-start;
}

.site-footer__brand,
.site-footer__section,
.site-footer__location {
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.site-footer__eyebrow,
.rodape-modal__tag {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    color: var(--footer-accent);
    font-family: var(--footer-font-display, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer__eyebrow::before {
    display: none;
}

.rodape-modal__tag::before {
    content: "";
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: var(--footer-accent);
}

.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer p,
.site-footer ul,
.site-footer address {
    margin: 0;
}

.site-footer h2 {
    margin-top: 16px;
    font-family: var(--footer-font-display);
    font-size: clamp(2rem, 3.05vw, 3.15rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.site-footer h3 {
    margin-bottom: 18px;
    color: #fff;
    font-family: var(--footer-font-display);
    font-size: 1.03rem;
    font-weight: 900;
}

.site-footer h4 {
    margin-bottom: 10px;
    color: #fff;
    font-family: var(--footer-font-display);
    font-size: 0.92rem;
    font-weight: 900;
}

.site-footer__brand p,
.site-footer__list,
.site-footer address,
.site-footer__bottom {
    color: var(--footer-muted);
    line-height: 1.6;
}

.site-footer__brand > p {
    max-width: 30rem;
    margin-top: 22px;
    font-size: 1rem;
}

.site-footer__supporter {
    display: flex;
    max-width: 430px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 34px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none !important;
    filter: none !important;
}

.site-footer__supporter span {
    color: var(--footer-muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.site-footer__supporter img {
    display: block;
    width: 90px;
    height: auto;
    max-height: 78px;
    object-fit: contain;
    background: transparent;
    box-shadow: none !important;
    filter: none !important;
}

.site-footer__list {
    display: grid;
    gap: 14px;
    padding: 0;
    list-style: none;
}

.site-footer__list li {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 12px;
}

.site-footer__icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 213, 0, 0.12);
    color: var(--footer-accent);
    font-weight: 900;
}

.site-footer__icon--imagem img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.site-footer__schedule {
    display: grid;
    gap: 3px;
    min-width: 0;
    line-height: 1.35;
}

.site-footer__schedule > span {
    display: block;
}

.site-footer__icon--whatsapp {
    background: transparent;
}

.site-footer__icon--whatsapp img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

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

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--footer-accent);
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.site-footer__social a {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    transition: transform 180ms ease, background-color 180ms ease;
}

.site-footer__social a:hover,
.site-footer__social a:focus-visible {
    outline: none;
    background: rgba(255, 213, 0, 0.10);
    transform: translateY(-3px);
}

.site-footer__social img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.site-footer__links {
    display: grid;
    gap: 12px;
}

.site-footer .site-footer__link-button {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--footer-soft);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--footer-text);
    font-family: var(--footer-font-display);
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        color 180ms ease;
}

.site-footer .site-footer__page-link {
    display: block;
}

.site-footer__link-button::after {
    content: "\203A";
    float: right;
    color: var(--footer-accent);
    font-size: 1.1rem;
    line-height: 1;
}

.site-footer__link-button:hover,
.site-footer__link-button:focus-visible {
    border-color: rgba(255, 213, 0, 0.65);
    outline: none;
    background: rgba(255, 213, 0, 0.10);
    color: #fff;
    transform: translateX(4px);
}

.site-footer__payments {
    margin-top: 26px;
    padding-top: 0;
    border-top: 0;
    text-align: center;
}

.site-footer__payment-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.site-footer__payment-grid span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 213, 0, 0.14);
    color: #fff;
    font-family: var(--footer-font-display);
    font-size: 0.84rem;
    font-weight: 900;
}

.site-footer address {
    margin-bottom: 20px;
    font-size: 1rem;
    font-style: normal;
}

.site-footer__map {
    width: 100%;
    height: 190px;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: var(--footer-softer);
}

.site-footer__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.18) contrast(1.05);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--footer-soft);
    font-family: 'Noto Music', sans-serif;
    font-size: 0.9rem;
}

/* =========================================================
   MODAIS DO RODAPÉ
   ========================================================= */

body.rodape-modal-open {
    overflow: hidden;
}

.rodape-modal {
    --footer-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --footer-font-display: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    font-family: var(--footer-font-body);
    font-weight: 400;
}

.rodape-modal.is-open,
.rodape-modal.is-closing {
    display: flex;
}

.rodape-modal.is-closing {
    pointer-events: none;
}

.rodape-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    animation: rodapeFade 180ms ease both;
}

.rodape-modal__content {
    position: relative;
    width: min(760px, 100%);
    max-height: min(82vh, 760px);
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 213, 0, 0.55);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
    color: #111;
    animation: rodapeModalIn 220ms ease both;
}

.rodape-modal.is-closing .rodape-modal__overlay {
    animation: rodapeFadeOut 180ms ease both;
}

.rodape-modal.is-closing .rodape-modal__content {
    animation: rodapeModalOut 220ms ease both;
}

.rodape-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease;
}

.rodape-modal__close::before,
.rodape-modal__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
}

.rodape-modal__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.rodape-modal__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.rodape-modal__close:hover,
.rodape-modal__close:focus-visible {
    outline: none;
    background: var(--footer-accent, #ffd500);
    color: #000;
    transform: rotate(90deg);
}

.rodape-modal__tag {
    margin-right: 48px;
    color: #111;
}

.rodape-modal__tag::before {
    background: #ffd500;
}

.rodape-modal h2 {
    margin: 12px 48px 16px 0;
    color: #111;
    font-family: var(--footer-font-display);
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.rodape-modal__body {
    max-height: calc(min(82vh, 760px) - 145px);
    padding-right: 10px;
    overflow-y: auto;
    color: #333;
    font-size: 1rem;
    line-height: 1.75;
}

.rodape-modal__body h3 {
    margin: 22px 0 6px;
    color: #111;
    font-family: var(--footer-font-display);
    font-size: 1.08rem;
    font-weight: 900;
}

.rodape-modal__body p {
    margin: 0 0 14px;
}

.rodape-modal__body ul {
    margin: 0 0 18px;
    padding-left: 1.4rem;
}

.rodape-modal__body li + li {
    margin-top: 8px;
}

.rodape-modal__body strong {
    color: #111;
}

.rodape-modal__body::-webkit-scrollbar {
    width: 10px;
}

.rodape-modal__body::-webkit-scrollbar-track {
    border-radius: 999px;
    background: #efefef;
}

.rodape-modal__body::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #ffd500;
}

@keyframes rodapeFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes rodapeModalIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes rodapeFadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes rodapeModalOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rodape-modal__overlay,
    .rodape-modal__content,
    .rodape-modal.is-closing .rodape-modal__overlay,
    .rodape-modal.is-closing .rodape-modal__content {
        animation-duration: 1ms;
    }
}

/* =========================================================
   RESPONSIVIDADE DO RODAPÉ
   ========================================================= */

@media (max-width: 1280px) {
    .site-footer__container,
    .site-footer__bottom {
        width: min(100%, calc(100% - 36px));
    }

    .site-footer__container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px;
    }

    .site-footer__brand {
        min-height: auto;
    }
}

@media (max-width: 700px) {
    #rodape.site-footer,
    .site-footer {
        padding: 62px 14px 20px;
    }

    .site-footer__container,
    .site-footer__bottom {
        width: 100%;
    }

    .site-footer__container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .site-footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .site-footer__brand {
        min-height: auto;
        align-items: center;
        text-align: center;
    }

    .site-footer__eyebrow {
        justify-content: center;
        margin: 0 auto;
        text-align: center;
    }

    .site-footer h2 {
        text-align: center;
    }

    .site-footer__brand > p {
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .site-footer__supporter {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 18px;
        margin-top: 28px;
        text-align: center;
    }

    .site-footer__supporter span {
        width: 100%;
        text-align: center;
    }

    .site-footer__supporter img {
        width: 112px;
        max-height: 92px;
        margin: 0 auto;
    }

    .site-footer__section {
        text-align: center;
    }

    .site-footer__location {
        text-align: center;
    }

    .site-footer__list {
        width: 100%;
        justify-items: center;
    }

    .site-footer__list li {
        width: fit-content;
        grid-template-columns: 42px auto;
        justify-content: center;
    }

    .site-footer__social {
        justify-content: center;
        gap: 15px;
    }

    .site-footer__social a {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .site-footer__social img {
        width: 31px;
        height: 31px;
    }

    .site-footer__map {
        height: 220px;
    }

    .rodape-modal {
        align-items: flex-end;
        padding: 12px;
    }

    .rodape-modal__content {
        max-height: 88vh;
        padding: 24px 18px 18px;
        border-radius: 22px 22px 0 0;
    }

    .rodape-modal__body {
        max-height: calc(88vh - 135px);
    }

    .site-footer__contact-list {
        display: grid;
        width: 100%;
        max-width: 335px;
        justify-items: stretch !important;
        gap: 18px;
        margin: 0 auto;
        padding: 0;
    }

    .site-footer__contact-list li {
        display: grid !important;
        width: 100% !important;
        grid-template-columns: 48px 1fr !important;
        align-items: center !important;
        justify-content: initial !important;
        justify-items: start !important;
        gap: 14px !important;
        text-align: left !important;
    }

    .site-footer__contact-list .site-footer__icon {
        width: 44px;
        height: 44px;
        justify-self: center;
        font-size: 1rem;
    }

    .site-footer__contact-list a,
    .site-footer__contact-list span:not(.site-footer__icon) {
        width: auto;
        max-width: 100%;
        justify-self: start !important;
        color: var(--footer-muted);
        line-height: 1.35;
        text-align: left !important;
    }

    .site-footer__contact-list a:hover,
    .site-footer__contact-list a:focus-visible {
        color: var(--footer-accent);
    }
}

@media (max-width: 420px) {
    .site-footer h2 {
        font-size: 1.75rem;
    }

    .site-footer__list li {
        grid-template-columns: 30px 1fr;
    }

    .site-footer__icon {
        width: 30px;
        height: 30px;
    }

    .site-footer__payment-grid span {
        flex: 1 1 auto;
    }

    .site-footer__supporter img {
        width: 118px;
        max-height: 96px;
    }

    .site-footer__contact-list {
        max-width: 320px;
    }

    .site-footer__contact-list li {
        grid-template-columns: 46px 1fr !important;
        gap: 12px !important;
    }

    .site-footer__contact-list .site-footer__icon {
        width: 42px;
        height: 42px;
    }
}
