.atividades-publicas,
.atividades-publicas * {
    box-sizing: border-box;
}

.atividades-publicas {
    --atividades-menu-largura: 370px;

    padding: 72px 24px;
    background: #f7f9fc;
    color: #18181b;
}

.atividades-publicas-container {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.atividades-publicas-cabecalho {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.atividades-publicas-selo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 50px;
    padding: 0 25px;
    border-radius: 999px;
    background: #e8f0ff;
    color: #155eef;
    font-size: 13px;
    font-weight: 700;
}

.atividades-publicas-cabecalho h2 {
    margin: 24px 0 14px;
    color: #767676;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.atividades-publicas-cabecalho p {
    max-width: 570px;
    margin: 0 auto;
    color: #8b8b8b;
    font-size: 18px;
    line-height: 1.55;
}

.atividades-publicas-grupos {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    width: var(--atividades-menu-largura);
    max-width: 100%;
    margin-bottom: 28px;
    overflow-x: auto;
    border-bottom: 1px solid #dfe3ea;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.atividades-publicas-grupos::-webkit-scrollbar {
    display: none;
}

.atividades-publicas-grupos button {
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #5b7cff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.atividades-publicas-grupos button:hover {
    background: #f2f5ff;
}

.atividades-publicas-grupos button.ativo {
    border-bottom-color: #5b7cff;
    background: #fff;
}

.atividades-publicas-layout {
    display: grid;
    grid-template-columns:
        var(--atividades-menu-largura)
        minmax(0, 1fr);
    gap: 46px;
    align-items: stretch;
}

.atividades-publicas-modalidades {
    width: 100%;
    min-width: 0;
    min-height: 420px;
    padding: 54px 42px;
    border: 1px solid #e1e5ec;
    border-radius: 11px;
    background: #fff;
}

.atividades-publicas-modalidades-titulo {
    display: block;
    margin: 0 0 18px 10px;
    color: #858585;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.atividades-publicas-modalidades-lista {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.atividades-publicas-modalidades-lista button {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    width: 100%;
    min-height: 56px;
    padding: 8px 14px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #8a8a8a;
    font-size: 11px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
}

.atividades-publicas-modalidades-lista button:hover {
    background: #f5f7ff;
}

.atividades-publicas-modalidades-lista button.ativo {
    background: #5d80f6;
    color: #fff;
}

.atividades-publicas-modalidade-icone {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    overflow: hidden;
    border-radius: 5px;
    background: #eef2ff;
    color: #5d80f6;
    font-size: 15px;
    font-weight: 800;
}

.atividades-publicas-modalidades-lista button.ativo
.atividades-publicas-modalidade-icone {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.atividades-publicas-modalidade-icone img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.atividades-publicas-modalidades-vazio {
    padding: 18px 10px;
    color: #8b8b8b;
    font-size: 12px;
    line-height: 1.5;
}

.atividades-publicas-conteudo {
    min-width: 0;
}

.atividades-publicas-apresentacao {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.atividades-publicas-hero {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border-radius: 11px;
    background:
        linear-gradient(135deg, #12315a, #080d14);
}

.atividades-publicas-hero picture,
.atividades-publicas-hero picture img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.atividades-publicas-hero picture img {
    object-fit: cover;
}

.atividades-publicas-hero-fundo {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.88) 0%,
            rgba(0, 0, 0, 0.62) 32%,
            rgba(0, 0, 0, 0.22) 68%,
            rgba(0, 0, 0, 0) 100%
        );
    pointer-events: none;
}

.atividades-publicas-hero-conteudo {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 320px;
    max-width: 590px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 52px 72px;
    color: #fff;
}

.atividades-publicas-hero-conteudo h3 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 800;
    line-height: 1;
}

.atividades-publicas-hero-conteudo p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.atividades-publicas-unidades {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 100px;
    padding: 22px 48px;
    border: 1px solid #e1e5ec;
    border-radius: 11px;
    background: #fff;
}

.atividades-publicas-unidades > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.atividades-publicas-unidades strong {
    font-size: 14px;
}

.atividades-publicas-unidades span {
    overflow: hidden;
    color: #969696;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.atividades-publicas-unidades button,
.atividades-publicas-turma a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 34px;
    border: 0;
    border-radius: 5px;
    background: #5d80f6;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.atividades-publicas-unidades button:hover,
.atividades-publicas-turma a:hover {
    background: #426bf0;
}

.atividades-publicas-unidades button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.atividades-publicas-turmas {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.atividades-publicas-filtros {
    display: grid;
    grid-template-columns:
        minmax(220px, 1fr)
        minmax(280px, 360px);
    gap: 24px;
    align-items: center;
}

.atividades-publicas-filtros label {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.atividades-publicas-filtros label > span {
    color: #155eef;
    font-size: 24px;
    font-weight: 800;
}

.atividades-publicas-filtros select,
.atividades-publicas-filtros input {
    width: 100%;
    min-height: 52px;
    border: 1px solid #e1e5ec;
    border-radius: 7px;
    background: #fff;
    color: #777;
    font: inherit;
}

.atividades-publicas-filtros select {
    padding: 0 16px;
}

.atividades-publicas-busca {
    position: relative;
}

.atividades-publicas-busca input {
    padding: 0 54px 0 20px;
}

.atividades-publicas-busca > span {
    position: absolute;
    right: 18px;
}

.atividades-publicas-turmas-painel {
    min-height: 420px;
    padding: 28px 54px;
    border: 1px solid #e1e5ec;
    border-radius: 11px;
    background: #fff;
}

.atividades-publicas-turmas-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5e7eb;
}

.atividades-publicas-turmas-topo > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.atividades-publicas-turmas-topo span {
    color: #8b8b8b;
    font-size: 12px;
}

.atividades-publicas-turmas-topo button {
    padding: 8px 14px;
    border: 1px solid #d9dde5;
    border-radius: 5px;
    background: #fff;
    color: #555;
    font-weight: 700;
    cursor: pointer;
}

.atividades-publicas-turmas-topo button:hover {
    background: #f8fafc;
}

.atividades-publicas-turmas-lista {
    max-height: 390px;
    overflow-y: auto;
    padding-right: 18px;
}

.atividades-publicas-turma {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto
        128px;
    gap: 24px;
    align-items: center;
    min-height: 94px;
    padding: 18px 8px;
    border-bottom: 1px solid #e5e7eb;
}

.atividades-publicas-turma-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.atividades-publicas-turma-info strong {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.atividades-publicas-turma-info span,
.atividades-publicas-turma-info small {
    color: #858585;
    font-size: 11px;
}

.atividades-publicas-disponibilidade {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 18px;
    border-radius: 999px;
    background: #e6fbf3;
    color: #15936e;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.atividades-publicas-turma a {
    min-height: 40px;
    padding: 0 20px;
    font-size: 11px;
}

.atividades-publicas-estado {
    display: grid;
    min-height: 150px;
    place-items: center;
    padding: 24px;
    border: 1px dashed #ccd3de;
    border-radius: 10px;
    background: #fff;
    color: #777;
    text-align: center;
}

.atividades-publicas-estado.erro {
    border-color: #fecaca;
    background: #fff1f2;
    color: #b91c1c;
}

@media (max-width: 900px) {
    .atividades-publicas {
        --atividades-menu-largura: 280px;
    }

    .atividades-publicas-layout {
        gap: 24px;
    }

    .atividades-publicas-modalidades {
        padding: 34px 24px;
    }

    .atividades-publicas-hero-conteudo {
        padding: 40px;
    }

    .atividades-publicas-turmas-painel {
        padding: 24px;
    }

    .atividades-publicas-turma {
        grid-template-columns: minmax(0, 1fr) 128px;
    }

    .atividades-publicas-disponibilidade {
        display: none;
    }
}

@media (max-width: 760px) {
    .atividades-publicas {
        --atividades-menu-largura: 100%;

        padding: 48px 16px;
    }

    .atividades-publicas-cabecalho {
        margin-bottom: 32px;
    }

    .atividades-publicas-cabecalho h2 {
        font-size: 32px;
    }

    .atividades-publicas-cabecalho p {
        font-size: 15px;
    }

    .atividades-publicas-grupos {
        width: 100%;
    }

    .atividades-publicas-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .atividades-publicas-modalidades {
        width: 100%;
        min-height: 0;
        padding: 18px;
        overflow-x: auto;
    }

    .atividades-publicas-modalidades-titulo {
        margin-left: 0;
    }

    .atividades-publicas-modalidades-lista {
        flex-direction: row;
        width: max-content;
    }

    .atividades-publicas-modalidades-lista button {
        width: 170px;
        flex: 0 0 170px;
    }

    .atividades-publicas-hero,
    .atividades-publicas-hero-conteudo {
        min-height: 350px;
    }

    .atividades-publicas-hero-conteudo {
        justify-content: flex-end;
        padding: 28px;
    }

    .atividades-publicas-hero-conteudo h3 {
        font-size: 38px;
    }

    .atividades-publicas-unidades {
        align-items: stretch;
        flex-direction: column;
        padding: 22px;
    }

    .atividades-publicas-unidades span {
        white-space: normal;
    }

    .atividades-publicas-unidades button {
        width: 100%;
    }

    .atividades-publicas-filtros {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .atividades-publicas-turmas-painel {
        padding: 18px;
    }

    .atividades-publicas-turmas-topo {
        align-items: flex-start;
    }

    .atividades-publicas-turma {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px 0;
    }

    .atividades-publicas-turma-info strong {
        white-space: normal;
    }

    .atividades-publicas-turma a {
        width: 100%;
    }
}

.atividades-publicas-mobile {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    padding: 0;
    margin: -1px;
    border: 0;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 760px) {
    .atividades-publicas {
        padding: 38px 14px 46px;
        background: #f7f9fc;
    }

    .atividades-publicas-container {
        width: 100%;
    }

    .atividades-publicas-cabecalho {
        max-width: 330px;
        margin-bottom: 34px;
    }

    .atividades-publicas-selo {
        min-height: 46px;
        padding: 0 28px;
        font-size: 11px;
        font-weight: 600;
    }

    .atividades-publicas-selo > span {
        display: none;
    }

    .atividades-publicas-cabecalho h2 {
        margin: 28px 0 12px;
        font-size: 27px;
        line-height: 1.08;
    }

    .atividades-publicas-cabecalho p {
        max-width: 270px;
        font-size: 12px;
        line-height: 1.5;
    }

    .atividades-publicas-grupos {
        width: calc(100% - 52px);
        margin: 0 auto 26px;
        justify-content: space-between;
        gap: 0;
        overflow-x: auto;
    }

    .atividades-publicas-grupos button {
        min-width: max-content;
        min-height: 38px;
        padding: 0 12px;
        font-size: 10px;
    }

    .atividades-publicas-desktop {
        display: none;
    }

    .atividades-publicas-mobile {
        display: block;
    }

    .atividades-publicas-mobile-modalidades {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr) 22px;
        gap: 8px;
        align-items: center;
        width: 100%;
    }

    .atividades-publicas-mobile-seta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        min-width: 22px;
        height: 42px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #747474;
        font-size: 22px;
        cursor: pointer;
    }

    .atividades-publicas-mobile-seta:disabled {
        cursor: default;
        opacity: 0.25;
    }

    .atividades-publicas-mobile-modalidades-lista {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
        min-width: 0;
    }

    .atividades-publicas-mobile-modalidades-lista > button {
        display: flex;
        min-width: 0;
        flex-direction: column;
        align-items: center;
        gap: 9px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #777;
        cursor: pointer;
    }

    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone {
        width: 100%;
        max-width: 72px;
        height: auto;
        aspect-ratio: 1;
        border: 1px solid #e1e5ec;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 3px 10px rgba(15, 23, 42, 0.03);
        color: #155eef;
        font-size: 21px;
    }

    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone::before {
        content: "";
        position: absolute;
        width: 58%;
        height: 58%;
        border-radius: 4px;
        background: #ffffff;
    }

    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone {
        position: relative;
    }

    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone > * {
        position: relative;
        z-index: 1;
    }

    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone img {
        width: 42%;
        height: 42%;
    }

    .atividades-publicas-mobile-modalidades-lista > button.ativo
    .atividades-publicas-modalidade-icone {
        border-color: #155eef;
        background: #155eef;
        color: #fff;
        box-shadow: none;
    }

    .atividades-publicas-mobile-modalidades-lista > button.ativo
    .atividades-publicas-modalidade-icone::before {
        background: rgb(8 102 245);
    }

    .atividades-publicas-mobile-modalidade-nome {
        display: -webkit-box;
        min-height: 24px;
        overflow: hidden;
        color: #777;
        font-size: 8px;
        font-weight: 700;
        line-height: 1.35;
        text-align: center;
        text-transform: uppercase;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .atividades-publicas-mobile-turmas {
        margin-top: 40px;
    }

    .atividades-publicas-mobile-filtros {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        width: calc(100% - 42px);
        margin: 0 auto;
    }

    .atividades-publicas-mobile-filtro-unidade {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #155eef;
        font-size: 24px;
        cursor: pointer;
    }

    .atividades-publicas-mobile-filtro-unidade:hover,
    .atividades-publicas-mobile-filtro-unidade.ativo {
        background: #e8f0ff;
    }

    .atividades-publicas-mobile-busca {
        position: relative;
        display: block;
        min-width: 0;
    }

    .atividades-publicas-mobile-busca input {
        width: 100%;
        min-height: 52px;
        padding: 0 50px 0 18px;
        border: 1px solid #d7dce5;
        border-radius: 8px;
        outline: 0;
        background: #fff;
        color: #555;
        font: inherit;
        font-size: 12px;
    }

    .atividades-publicas-mobile-busca input:focus {
        border-color: #155eef;
        box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.1);
    }

    .atividades-publicas-mobile-busca > span:last-child {
        position: absolute;
        top: 50%;
        right: 17px;
        color: #155eef;
        font-size: 25px;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .atividades-publicas-mobile-unidade {
        width: calc(100% - 104px);
        margin: 10px 21px 0 auto;
        padding: 12px;
        border: 1px solid #e1e5ec;
        border-radius: 8px;
        background: #fff;
    }

    .atividades-publicas-mobile-unidade label {
        display: block;
        margin-bottom: 6px;
        color: #777;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .atividades-publicas-mobile-unidade select {
        width: 100%;
        min-height: 40px;
        padding: 0 10px;
        border: 1px solid #d7dce5;
        border-radius: 6px;
        background: #fff;
        color: #555;
        font: inherit;
        font-size: 12px;
    }

    .atividades-publicas-mobile-turmas-topo {
        display: flex;
        flex-direction: column;
        gap: 7px;
        width: calc(100% - 70px);
        margin: 22px auto 12px;
    }

    .atividades-publicas-mobile-turmas-topo strong {
        color: #191919;
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .atividades-publicas-mobile-turmas-topo span {
        color: #a0a0a0;
        font-size: 10px;
        font-weight: 600;
    }

    .atividades-publicas-mobile-turmas-carrossel {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr) 22px;
        gap: 8px;
        align-items: center;
        width: 100%;
    }

    .atividades-publicas-mobile-turmas-lista {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        min-width: 0;
    }

    .atividades-publicas-mobile-turma {
        display: flex;
        min-width: 0;
        min-height: 154px;
        flex-direction: column;
        align-items: center;
        padding: 15px 12px 13px;
        border: 1px solid #d8dde5;
        border-radius: 9px;
        background: #fff;
        text-align: center;
    }

    .atividades-publicas-mobile-turma
    .atividades-publicas-disponibilidade {
        display: inline-flex;
        min-height: 22px;
        padding: 0 14px;
        font-size: 8px;
    }

    .atividades-publicas-mobile-turma strong {
        display: -webkit-box;
        width: 100%;
        min-height: 26px;
        overflow: hidden;
        margin-top: 10px;
        color: #171717;
        font-size: 8px;
        font-weight: 800;
        line-height: 1.35;
        text-transform: uppercase;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .atividades-publicas-mobile-turma > span:not(
        .atividades-publicas-disponibilidade) {
        width: 100%;
        overflow: hidden;
        margin-top: 5px;
        color: #8d8d8d;
        font-size: 8px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .atividades-publicas-mobile-turma a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        margin-top: auto;
        padding: 0 18px;
        border-radius: 4px;
        background: #155eef;
        color: #fff;
        font-size: 8px;
        font-weight: 800;
        text-decoration: none;
        text-transform: uppercase;
    }

    .atividades-publicas-mobile-paginacao {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 9px;
        margin-top: 24px;
    }

    .atividades-publicas-mobile-paginacao button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 31px;
        height: 31px;
        padding: 0;
        border: 0;
        border-radius: 5px;
        background: #dce8ff;
        color: #155eef;
        font-size: 11px;
        font-weight: 800;
        cursor: pointer;
    }

    .atividades-publicas-mobile-paginacao button.ativo {
        background: #155eef;
        color: #fff;
    }

    .atividades-publicas-mobile .atividades-publicas-estado {
        min-height: 110px;
        margin: 12px 22px 0;
        font-size: 12px;
    }
}

/* ================================================================
   MOVIMENTO PROGRESSIVO
   Mantém medidas, fluxo e composição originais. Nenhuma sombra é
   criada por estas regras; todos os efeitos usam apenas movimento,
   opacidade, escala, rotação e recorte durante a transição.
   ================================================================ */

.atividades-publicas.atividades-motion-ready {
    --atividades-header-y: 0px;
    --atividades-menu-y: 0px;
    --atividades-imagem-y: 0px;
    --atividades-conteudo-y: 0px;
}

.atividades-motion-ready .atividades-publicas-cabecalho {
    transform: translate3d(0, var(--atividades-header-y), 0);
    transition: transform 240ms linear;
    will-change: transform;
}

.atividades-motion-ready .atividades-publicas-modalidades-lista,
.atividades-motion-ready .atividades-publicas-mobile-modalidades-lista {
    transform: translate3d(0, var(--atividades-menu-y), 0);
    transition: transform 240ms linear;
    will-change: transform;
}

.atividades-motion-ready .atividades-publicas-hero picture img,
.atividades-motion-ready .atividades-integracoes__card picture img {
    transform: translate3d(0, var(--atividades-imagem-y), 0) scale(1.015);
    transition: transform 1450ms cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
}

.atividades-motion-ready .atividades-publicas-hero-conteudo,
.atividades-motion-ready .atividades-integracoes__conteudo {
    transform: translate3d(0, var(--atividades-conteudo-y), 0);
    transition: transform 280ms linear;
    will-change: transform;
}

.atividades-motion-ready:not(.atividades-motion-visible)
.atividades-publicas-cabecalho > *,
.atividades-motion-ready:not(.atividades-motion-visible)
.atividades-publicas-grupos,
.atividades-motion-ready:not(.atividades-motion-visible)
.atividades-publicas-modalidades,
.atividades-motion-ready:not(.atividades-motion-visible)
.atividades-publicas-conteudo,
.atividades-motion-ready:not(.atividades-motion-visible)
.atividades-publicas-mobile-modalidades,
.atividades-motion-ready:not(.atividades-motion-visible)
.atividades-publicas-mobile-turmas {
    opacity: 0;
}

.atividades-motion-ready:not(.atividades-motion-visible)
.atividades-publicas-estado {
    opacity: 0;
}

.atividades-motion-visible .atividades-publicas-selo {
    animation: atividades-selo-entrada 1280ms cubic-bezier(.16, 1, .3, 1) both;
}

.atividades-motion-visible .atividades-publicas-selo > span {
    animation: atividades-selo-icone 1620ms 260ms cubic-bezier(.16, 1, .3, 1) both;
}

.atividades-motion-visible .atividades-publicas-cabecalho h2 {
    animation: atividades-titulo-entrada 1520ms 170ms cubic-bezier(.16, 1, .3, 1) both;
}

.atividades-motion-visible .atividades-publicas-cabecalho p {
    animation: atividades-texto-entrada 1320ms 390ms cubic-bezier(.16, 1, .3, 1) both;
}

.atividades-motion-visible .atividades-publicas-grupos {
    animation: atividades-linha-entrada 1220ms 470ms cubic-bezier(.16, 1, .3, 1) both;
}

.atividades-motion-visible .atividades-publicas-grupos button {
    animation: atividades-grupo-entrada 1020ms cubic-bezier(.16, 1, .3, 1) both;
}

.atividades-motion-visible .atividades-publicas-grupos button:nth-child(1) {
    animation-delay: 590ms;
}

.atividades-motion-visible .atividades-publicas-grupos button:nth-child(2) {
    animation-delay: 700ms;
}

.atividades-motion-visible .atividades-publicas-grupos button:nth-child(3) {
    animation-delay: 810ms;
}

.atividades-motion-visible .atividades-publicas-grupos button:nth-child(4) {
    animation-delay: 920ms;
}

.atividades-motion-visible .atividades-publicas-grupos button:nth-child(n+5) {
    animation-delay: 1030ms;
}

.atividades-motion-visible .atividades-publicas-modalidades {
    animation: atividades-painel-esquerdo 1460ms 660ms cubic-bezier(.16, 1, .3, 1) both;
}

.atividades-motion-visible .atividades-publicas-modalidades-titulo {
    animation: atividades-texto-curto 1000ms 960ms cubic-bezier(.16, 1, .3, 1) both;
}

.atividades-motion-visible .atividades-publicas-modalidades-lista button {
    animation: atividades-modalidade-entrada 1140ms cubic-bezier(.16, 1, .3, 1) both;
}

.atividades-motion-visible
.atividades-publicas-modalidades-lista button:nth-child(1) {
    animation-delay: 840ms;
}

.atividades-motion-visible
.atividades-publicas-modalidades-lista button:nth-child(2) {
    animation-delay: 950ms;
}

.atividades-motion-visible
.atividades-publicas-modalidades-lista button:nth-child(3) {
    animation-delay: 1060ms;
}

.atividades-motion-visible
.atividades-publicas-modalidades-lista button:nth-child(4) {
    animation-delay: 1170ms;
}

.atividades-motion-visible
.atividades-publicas-modalidades-lista button:nth-child(n+5) {
    animation-delay: 1280ms;
}

.atividades-motion-visible .atividades-publicas-conteudo {
    animation: atividades-painel-direito 1560ms 750ms cubic-bezier(.16, 1, .3, 1) both;
}

.atividades-motion-visible
[data-atividades-motion-seen="initial"].atividades-publicas-hero picture {
    animation: atividades-imagem-revelar 1950ms 910ms cubic-bezier(.16, 1, .3, 1) both;
}

.atividades-motion-visible
.atividades-publicas-hero-conteudo > h3[data-atividades-motion-seen="initial"] {
    animation: atividades-hero-titulo 1300ms 1100ms cubic-bezier(.16, 1, .3, 1) both;
}

.atividades-motion-visible
.atividades-publicas-hero-conteudo > p[data-atividades-motion-seen="initial"] {
    animation: atividades-texto-entrada 1220ms 1290ms cubic-bezier(.16, 1, .3, 1) both;
}

.atividades-motion-visible
.atividades-publicas-unidades > div[data-atividades-motion-seen="initial"] {
    animation: atividades-unidade-entrada 1220ms 1280ms cubic-bezier(.16, 1, .3, 1) both;
}

.atividades-motion-visible
.atividades-publicas-unidades > button[data-atividades-motion-seen="initial"] {
    animation: atividades-botao-entrada 1140ms 1450ms cubic-bezier(.16, 1, .3, 1) both;
}

.atividades-motion-visible .atividades-publicas-mobile-modalidades {
    animation: atividades-linha-entrada 1220ms 650ms cubic-bezier(.16, 1, .3, 1) both;
}

.atividades-motion-visible
.atividades-publicas-mobile-modalidades-lista > button {
    animation: atividades-mobile-item 1080ms cubic-bezier(.16, 1, .3, 1) both;
}

.atividades-motion-visible
.atividades-publicas-mobile-modalidades-lista > button:nth-child(1) {
    animation-delay: 790ms;
}

.atividades-motion-visible
.atividades-publicas-mobile-modalidades-lista > button:nth-child(2) {
    animation-delay: 900ms;
}

.atividades-motion-visible
.atividades-publicas-mobile-modalidades-lista > button:nth-child(3) {
    animation-delay: 1010ms;
}

.atividades-motion-visible
.atividades-publicas-mobile-modalidades-lista > button:nth-child(4) {
    animation-delay: 1120ms;
}

.atividades-motion-visible .atividades-publicas-mobile-turmas {
    animation: atividades-mobile-turmas 1320ms 980ms cubic-bezier(.16, 1, .3, 1) both;
}

.atividades-motion-visible
.atividades-publicas-estado[data-atividades-motion-seen="initial"] {
    animation: atividades-estado-entrada 1160ms 580ms cubic-bezier(.16, 1, .3, 1) both;
}

.atividades-motion-pointer {
    --atividades-pointer-x: 0px;
    --atividades-pointer-y: 0px;
    --atividades-rotate-x: 0deg;
    --atividades-rotate-y: 0deg;

    transform:
        perspective(900px)
        translate3d(
            var(--atividades-pointer-x),
            var(--atividades-pointer-y),
            0)
        rotateX(var(--atividades-rotate-x))
        rotateY(var(--atividades-rotate-y));
    transform-style: preserve-3d;
    transition:
        transform 520ms cubic-bezier(.16, 1, .3, 1),
        background-color 380ms ease,
        border-color 380ms ease,
        color 380ms ease;
    will-change: transform;
}

.atividades-motion-pointer > * {
    transform: translateZ(0);
    transition: transform 620ms cubic-bezier(.16, 1, .3, 1);
}

.atividades-motion-pointer:hover > * {
    transform: translateZ(10px);
}

.atividades-publicas-modalidades-lista button:hover
.atividades-publicas-modalidade-icone,
.atividades-publicas-mobile-modalidades-lista > button:hover
.atividades-publicas-modalidade-icone {
    animation: atividades-icone-resposta 980ms cubic-bezier(.16, 1, .3, 1);
}

.atividades-publicas-unidades button,
.atividades-publicas-turma a,
.atividades-publicas-turmas-topo button,
.atividades-publicas-mobile-turma a,
.atividades-publicas-mobile-seta,
.atividades-publicas-mobile-paginacao button {
    transition:
        transform 480ms cubic-bezier(.16, 1, .3, 1),
        background-color 360ms ease,
        border-color 360ms ease,
        color 360ms ease,
        opacity 360ms ease;
}

.atividades-publicas-unidades button:hover,
.atividades-publicas-turma a:hover,
.atividades-publicas-mobile-turma a:hover {
    transform: translate3d(0, -2px, 0) scale(1.015);
}

.atividades-publicas-unidades button:active,
.atividades-publicas-turma a:active,
.atividades-publicas-mobile-turma a:active,
.atividades-publicas-mobile-paginacao button:active {
    transform: translate3d(0, 1px, 0) scale(.98);
}

.atividades-publicas-mobile-seta:not(:disabled):hover {
    transform: translate3d(0, -2px, 0) scale(1.12);
}

.atividades-publicas-mobile-seta:not(:disabled):active {
    transform: translate3d(0, 0, 0) scale(.92);
}

.atividades-publicas-mobile-paginacao button.ativo {
    animation: atividades-pagina-ativa 840ms cubic-bezier(.16, 1, .3, 1);
}

.atividades-publicas-busca > span,
.atividades-publicas-mobile-busca > span:last-child {
    transition: transform 540ms cubic-bezier(.16, 1, .3, 1);
}

.atividades-publicas-busca:focus-within > span {
    transform: rotate(-10deg) scale(1.08);
}

.atividades-publicas-mobile-busca:focus-within > span:last-child {
    transform: translateY(-50%) rotate(-10deg) scale(1.08);
}

/* Libera o transform ao fim da entrada para tilt, hover e parallax. */
.atividades-publicas.atividades-motion-visible * {
    animation-fill-mode: backwards !important;
}

@keyframes atividades-selo-entrada {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0) rotateX(-35deg) scale(.92);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotateX(0) scale(1);
    }
}

@keyframes atividades-selo-icone {
    0% { transform: rotate(-18deg) scale(.65); }
    55% { transform: rotate(8deg) scale(1.12); }
    100% { transform: rotate(0) scale(1); }
}

@keyframes atividades-titulo-entrada {
    from {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
        transform: translate3d(0, 34px, 0) skewY(2deg);
    }
    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translate3d(0, 0, 0) skewY(0);
    }
}

@keyframes atividades-texto-entrada {
    from { opacity: 0; transform: translate3d(0, 20px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes atividades-linha-entrada {
    from { opacity: 0; transform: translate3d(-26px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes atividades-grupo-entrada {
    from { opacity: 0; transform: translate3d(0, 13px, 0) scale(.96); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes atividades-painel-esquerdo {
    from {
        opacity: 0;
        clip-path: inset(0 100% 0 0 round 11px);
        transform: translate3d(-34px, 14px, 0);
    }
    to {
        opacity: 1;
        clip-path: inset(0 0 0 0 round 11px);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes atividades-painel-direito {
    from {
        opacity: 0;
        clip-path: inset(0 0 0 12% round 11px);
        transform: translate3d(38px, 16px, 0) scale(.985);
    }
    to {
        opacity: 1;
        clip-path: inset(0 0 0 0 round 11px);
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes atividades-texto-curto {
    from { opacity: 0; letter-spacing: .16em; transform: translate3d(-10px, 0, 0); }
    to { opacity: 1; letter-spacing: normal; transform: translate3d(0, 0, 0); }
}

@keyframes atividades-modalidade-entrada {
    from { opacity: 0; transform: translate3d(-24px, 0, 0) scale(.97); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes atividades-imagem-revelar {
    from {
        opacity: 0;
        clip-path: inset(0 0 0 22%);
        transform: translate3d(26px, 0, 0) scale(1.07);
    }
    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes atividades-hero-titulo {
    from {
        opacity: 0;
        clip-path: inset(0 0 100% 0);
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes atividades-unidade-entrada {
    from { opacity: 0; transform: translate3d(-22px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes atividades-botao-entrada {
    from { opacity: 0; transform: translate3d(20px, 0, 0) scale(.94); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes atividades-mobile-item {
    from { opacity: 0; transform: translate3d(15px, 0, 0) rotate(4deg) scale(.92); }
    to { opacity: 1; transform: translate3d(0, 0, 0) rotate(0) scale(1); }
}

@keyframes atividades-mobile-turmas {
    from { opacity: 0; transform: translate3d(0, 28px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes atividades-estado-entrada {
    from {
        opacity: 0;
        clip-path: inset(14% 4% 14% 4% round 10px);
        transform: translate3d(0, 18px, 0) scale(.985);
    }
    to {
        opacity: 1;
        clip-path: inset(0 0 0 0 round 10px);
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes atividades-icone-resposta {
    0% { transform: translate3d(0, 0, 0) rotate(0) scale(1); }
    42% { transform: translate3d(0, -3px, 0) rotate(-5deg) scale(1.06); }
    72% { transform: translate3d(0, 1px, 0) rotate(2deg) scale(.99); }
    100% { transform: translate3d(0, 0, 0) rotate(0) scale(1); }
}

@keyframes atividades-pagina-ativa {
    0% { transform: scale(.9) rotate(-3deg); }
    62% { transform: scale(1.08) rotate(1deg); }
    100% { transform: scale(1) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
    .atividades-publicas.atividades-motion-ready *,
    .atividades-publicas.atividades-motion-ready *::before,
    .atividades-publicas.atividades-motion-ready *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        animation-delay: 0ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }

    .atividades-motion-ready:not(.atividades-motion-visible)
    .atividades-publicas-cabecalho > *,
    .atividades-motion-ready:not(.atividades-motion-visible)
    .atividades-publicas-grupos,
    .atividades-motion-ready:not(.atividades-motion-visible)
    .atividades-publicas-modalidades,
    .atividades-motion-ready:not(.atividades-motion-visible)
    .atividades-publicas-conteudo,
    .atividades-motion-ready:not(.atividades-motion-visible)
    .atividades-publicas-mobile-modalidades,
    .atividades-motion-ready:not(.atividades-motion-visible)
    .atividades-publicas-mobile-turmas,
    .atividades-motion-ready:not(.atividades-motion-visible)
    .atividades-publicas-estado {
        opacity: 1;
    }

    .atividades-motion-ready .atividades-publicas-cabecalho,
    .atividades-motion-ready .atividades-publicas-modalidades-lista,
    .atividades-motion-ready .atividades-publicas-mobile-modalidades-lista,
    .atividades-motion-ready .atividades-publicas-hero picture img,
    .atividades-motion-ready .atividades-integracoes__card picture img,
    .atividades-motion-ready .atividades-publicas-hero-conteudo,
    .atividades-motion-ready .atividades-integracoes__conteudo,
    .atividades-motion-pointer,
    .atividades-motion-pointer > *,
    .atividades-motion-pointer:hover > * {
        transform: none !important;
    }
}

/* Atividades Mobile V1.1 Robusto */

/*
 * No desktop, os ícones cadastrados das modalidades ainda
 * não aparecem. Mantemos apenas o título da modalidade.
 */
.atividades-publicas-desktop
.atividades-publicas-modalidade-icone {
    display: none !important;
}

.atividades-publicas-desktop
.atividades-publicas-modalidades-lista button {
    grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 760px) {
    .atividades-publicas {
        padding: 34px 18px 42px;
    }

    .atividades-publicas-selo {
        display: none;
    }

    .atividades-publicas-cabecalho {
        max-width: 340px;
        margin-bottom: 26px;
    }

    .atividades-publicas-cabecalho h2 {
        margin: 0 0 16px;
        color: #050505;
        font-size: 27px;
        font-weight: 900;
        line-height: 1.05;
        letter-spacing: -.035em;
    }

    .atividades-publicas-cabecalho p {
        max-width: 285px;
        color: #7f8794;
        font-size: 10px;
        line-height: 1.4;
    }

    /*
     * Grupos.
     */
    .atividades-publicas-grupos {
        width: 100%;
        margin: 0 0 24px;
    }

    .atividades-publicas-grupos button {
        min-height: 38px;
        padding: 0 15px;
        font-size: 8px;
    }

    /*
     * Modalidades: ícones só no mobile.
     */
    .atividades-publicas-mobile
    .atividades-publicas-mobile-modalidades {
        margin-bottom: 24px;
    }

    .atividades-publicas-mobile
    .atividades-publicas-mobile-modalidades-lista {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }

    .atividades-publicas-mobile
    .atividades-publicas-mobile-modalidades-lista button {
        display: flex;
        min-width: 0;
        flex-direction: column;
        align-items: center;
        gap: 7px;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .atividades-publicas-mobile
    .atividades-publicas-modalidade-icone {
        display: grid !important;
        width: 42px;
        height: 42px;
        place-items: center;
        border: 1px solid #e4e6ea;
        border-radius: 50%;
        background: #fff;
        color: #175fe9;
    }

    .atividades-publicas-mobile
    button.ativo
    .atividades-publicas-modalidade-icone {
        border-color: #175fe9;
        background: #175fe9;
        color: #fff;
    }

    .atividades-publicas-mobile
    .atividades-publicas-modalidade-icone img {
        width: 25px;
        height: 25px;
        object-fit: contain;
    }

    .atividades-publicas-mobile
    .atividades-publicas-mobile-modalidade-nome {
        max-width: 68px;
        overflow: hidden;
        color: #777d86;
        font-size: 7px;
        line-height: 1.15;
        text-align: center;
        text-overflow: ellipsis;
        text-transform: uppercase;
        white-space: nowrap;
    }

    /*
     * As setas laterais antigas das modalidades não fazem parte
     * do layout de referência.
     */
    .atividades-publicas-mobile-modalidades
    > .atividades-publicas-mobile-seta {
        display: none !important;
    }

    /*
     * Estado 1:
     * imagem MOBILE da modalidade.
     */
    .atividades-publicas-mobile-apresentacao {
        display: flex;
        width: min(100%, 330px);
        margin: 0 auto;
        flex-direction: column;
        gap: 22px;
    }

    .atividades-publicas-mobile-hero {
        position: relative;
        width: 100%;
        height: 176px;
        overflow: hidden;
        border-radius: 10px;
        background: #d8d8da;
    }

    .atividades-publicas-mobile-hero picture,
    .atividades-publicas-mobile-hero img {
        display: block;
        width: 100%;
        height: 100%;
    }

    .atividades-publicas-mobile-hero img {
        object-fit: cover;
    }

    .atividades-publicas-mobile-hero-fundo {
        position: absolute;
        inset: 0;
        background:
            linear-gradient(
                to top,
                rgba(0,0,0,.78) 0%,
                rgba(0,0,0,.30) 52%,
                rgba(0,0,0,0) 78%
            );
        pointer-events: none;
    }

    .atividades-publicas-mobile-hero-conteudo {
        position: absolute;
        right: 20px;
        bottom: 18px;
        left: 20px;
        z-index: 2;
        color: #fff;
    }

    .atividades-publicas-mobile-hero-conteudo h3 {
        margin: 0 0 8px;
        font-size: 17px;
        font-weight: 900;
        line-height: 1;
        text-transform: uppercase;
    }

    .atividades-publicas-mobile-hero-conteudo p {
        display: -webkit-box;
        margin: 0;
        overflow: hidden;
        font-size: 8px;
        line-height: 1.35;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .atividades-publicas-mobile-ver-turmas {
        width: 100%;
        min-height: 54px;
        border: 0;
        border-radius: 4px;
        background: #4560ef;
        color: #fff;
        font-size: 11px;
        font-weight: 850;
        cursor: pointer;
    }

    .atividades-publicas-mobile-ver-turmas:disabled {
        cursor: wait;
        opacity: .65;
    }

    /*
     * Estado 2:
     * busca + filtro + turmas.
     */
    .atividades-publicas-mobile-turmas {
        width: min(100%, 350px);
        margin: 0 auto;
    }

    .atividades-publicas-mobile-filtros {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 13px;
        align-items: center;
        margin-bottom: 20px;
    }

    /*
     * ÍCONE DO FILTRO:
     * não alteramos o markup. O SVG entra como background.
     * font-size:0 esconde qualquer glifo antigo como ▦.
     */
    .atividades-publicas-mobile-filtros > button {
        display: block;
        width: 38px;
        height: 38px;
        padding: 0;
        border: 0;
        background:
            transparent
            url("/img/mobile/atividades/filtro-unidade.svg")
            center / 25px 25px
            no-repeat;
        color: transparent;
        font-size: 0;
        cursor: pointer;
    }

    .atividades-publicas-mobile-busca {
        position: relative;
        display: block;
    }

    .atividades-publicas-mobile-busca input {
        width: 100%;
        min-height: 52px;
        padding: 0 48px 0 16px;
        border: 1px solid #d5d8df;
        border-radius: 9px;
        background: #fff;
        color: #666;
        font-size: 11px;
    }

    .atividades-publicas-mobile-busca > span:not(.sr-only) {
        position: absolute;
        top: 50%;
        right: 16px;
        color: #0866f5;
        font-size: 23px;
        transform: translateY(-50%);
    }

    .atividades-publicas-mobile-unidade {
        margin: -8px 0 18px 51px;
    }

    .atividades-publicas-mobile-unidade label {
        display: none;
    }

    .atividades-publicas-mobile-unidade select {
        width: 100%;
        min-height: 42px;
        padding: 0 12px;
        border: 1px solid #d5d8df;
        border-radius: 8px;
        background: #fff;
        color: #666;
        font-size: 10px;
    }

    .atividades-publicas-mobile-turmas-topo {
        display: none !important;
    }

    /*
     * Lista vertical. Como TurmasVisiveisPorVez = 3,
     * TurmasPaginaAtual entrega três itens.
     */
    .atividades-publicas-mobile-turmas-carrossel {
        display: block;
    }

    .atividades-publicas-mobile-turmas-carrossel
    > .atividades-publicas-mobile-seta {
        display: none !important;
    }

    .atividades-publicas-mobile-turmas-lista {
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 16px;
    }

    .atividades-publicas-mobile-turma {
        display: grid;
        min-height: 82px;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "nome botao"
            "unidade botao";
        align-items: center;
        gap: 5px 14px;
        padding: 16px 16px 14px 22px;
        border: 0;
        border-radius: 5px;
        background: #fff;
        box-shadow:
            0 8px 22px rgba(21, 35, 64, .035);
    }

    .atividades-publicas-mobile-turma
    > .atividades-publicas-disponibilidade {
        display: none !important;
    }

    .atividades-publicas-mobile-turma > strong {
        grid-area: nome;
        align-self: end;
        overflow: hidden;
        color: #171717;
        font-size: 8px;
        font-weight: 850;
        line-height: 1.3;
        text-overflow: ellipsis;
        text-transform: uppercase;
        white-space: nowrap;
    }

    /*
     * ÍCONE DA UNIDADE:
     * o markup atual é <span>Unidade: @turma.Unidade</span>.
     * Aplicamos o SVG via ::before para não depender de
     * substituir esse HTML.
     */
    .atividades-publicas-mobile-turma
    > span:not(.atividades-publicas-disponibilidade) {
        grid-area: unidade;
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 8px;
        align-self: start;
        overflow: hidden;
        color: #171717;
        font-size: 8px;
        font-weight: 750;
        text-overflow: ellipsis;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .atividades-publicas-mobile-turma
    > span:not(.atividades-publicas-disponibilidade)::before {
        display: block;
        width: 17px;
        height: 17px;
        flex: 0 0 17px;
        background:
            url("/img/mobile/atividades/unidade.svg")
            center / contain
            no-repeat;
        content: "";
    }

    .atividades-publicas-mobile-turma > a {
        grid-area: botao;
        display: inline-flex;
        min-width: 88px;
        min-height: 42px;
        align-items: center;
        justify-content: center;
        padding: 0 14px;
        border-radius: 3px;
        background: #0866f5;
        color: #fff;
        font-size: 8px;
        font-weight: 800;
        text-decoration: none;
    }

    /*
     * Paginação numérica.
     */
    .atividades-publicas-mobile-paginacao {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        margin-top: 16px;
    }

    .atividades-publicas-mobile-paginacao button {
        display: grid;
        width: 21px;
        height: 21px;
        place-items: center;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #dce8ff;
        color: #0d61e9;
        font-size: 8px;
        font-weight: 800;
        cursor: pointer;
    }

    .atividades-publicas-mobile-paginacao button.ativo {
        background: #0d61e9;
        color: #fff;
    }
}

@media (max-width: 390px) {
    .atividades-publicas-mobile-apresentacao,
    .atividades-publicas-mobile-turmas {
        width: calc(100% - 10px);
    }

    .atividades-publicas-mobile-hero {
        height: 164px;
    }

    .atividades-publicas-mobile-turma {
        padding-left: 16px;
    }
}

/* Atividades Mobile V1.2.1 - layout referencia */

.atividades-publicas-titulo-destaque {
    color: inherit;
}

.atividades-publicas-titulo-quebra {
    display: none;
}

@media (max-width: 760px) {
    .atividades-publicas {
        padding: 30px 0 46px !important;
        overflow: hidden !important;
        background: #f7f9fc !important;
    }

    .atividades-publicas-container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .atividades-publicas-cabecalho {
        width: calc(100% - 48px) !important;
        max-width: 350px !important;
        margin: 0 auto 28px !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .atividades-publicas-selo {
        display: none !important;
    }

    .atividades-publicas-cabecalho h2 {
        margin: 0 0 21px !important;
        color: #050505 !important;
        font-size: 28px !important;
        font-weight: 900 !important;
        letter-spacing: -.04em !important;
        line-height: 1.03 !important;
    }

    .atividades-publicas-titulo-quebra {
        display: inline !important;
    }

    .atividades-publicas-titulo-destaque {
        color: #1558a6 !important;
    }

    .atividades-publicas-cabecalho p {
        width: 290px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        color: #657487 !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
    }

    .atividades-publicas-grupos {
        display: grid !important;
        width: min(calc(100% - 56px), 340px) !important;
        max-width: 340px !important;
        min-width: 0 !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 0 !important;
        margin: 0 auto 38px !important;
        overflow: visible !important;
        border-bottom: 1px solid #dfe3ea !important;
    }

    .atividades-publicas-grupos button {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 42px !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 4px !important;
        border: 0 !important;
        border-bottom: 2px solid transparent !important;
        background: transparent !important;
        color: #3868ff !important;
        font-size: 9px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        transform: none !important;
    }

    .atividades-publicas-grupos button.ativo {
        border: 1px solid #e4e7ed !important;
        border-bottom-color: transparent !important;
        border-radius: 5px 5px 0 0 !important;
        background: #fff !important;
    }

    .atividades-publicas-desktop {
        display: none !important;
    }

    .atividades-publicas-mobile {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .atividades-publicas-mobile-modalidades {
        display: block !important;
        width: min(calc(100% - 54px), 340px) !important;
        max-width: 340px !important;
        min-width: 0 !important;
        margin: 0 auto 42px !important;
        padding: 0 !important;
        overflow: visible !important;
        transform: none !important;
    }

    .atividades-publicas-mobile-modalidades
    > .atividades-publicas-mobile-seta {
        display: none !important;
    }

    .atividades-publicas-mobile-modalidades-lista {
        display: grid !important;
        width: 100% !important;
        min-width: 0 !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 12px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        transform: none !important;
    }

    .atividades-publicas-mobile-modalidades-lista > button {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 9px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone {
        display: grid !important;
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
        place-items: center !important;
        margin: 0 auto !important;
        overflow: hidden !important;
        border: 1px solid #e1e5ec !important;
        border-radius: 50% !important;
        background: #fff !important;
        color: #4168f7 !important;
        transform: none !important;
    }

    .atividades-publicas-mobile-modalidades-lista
    button.ativo
    .atividades-publicas-modalidade-icone {
        border-color: #0866f5 !important;
        background: #0866f5 !important;
        color: #fff !important;
    }

    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone img {
        display: block !important;
        width: 27px !important;
        height: 27px !important;
        max-width: 27px !important;
        max-height: 27px !important;
        object-fit: contain !important;
        transform: none !important;
    }

    .atividades-publicas-mobile-modalidade-nome {
        display: block !important;
        width: 100% !important;
        max-width: 76px !important;
        min-height: 16px !important;
        margin: 0 auto !important;
        overflow: hidden !important;
        color: #777d86 !important;
        font-size: 7px !important;
        font-weight: 600 !important;
        line-height: 1.15 !important;
        text-align: center !important;
        text-overflow: ellipsis !important;
        text-transform: uppercase !important;
        white-space: nowrap !important;
    }

    .atividades-publicas-mobile-apresentacao {
        display: flex !important;
        width: min(calc(100% - 52px), 340px) !important;
        max-width: 340px !important;
        margin: 0 auto !important;
        flex-direction: column !important;
        gap: 32px !important;
    }

    .atividades-publicas-mobile-hero {
        position: relative !important;
        width: 100% !important;
        height: 184px !important;
        min-height: 184px !important;
        overflow: hidden !important;
        border-radius: 9px !important;
        background: #d4d4d4 !important;
    }

    .atividades-publicas-mobile-hero picture,
    .atividades-publicas-mobile-hero picture img,
    .atividades-publicas-mobile-hero > img {
        position: absolute !important;
        inset: 0 !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .atividades-publicas-mobile-hero-fundo {
        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;
        display: block !important;
        background:
            linear-gradient(
                to top,
                rgba(0,0,0,.84) 0%,
                rgba(0,0,0,.42) 42%,
                rgba(0,0,0,.05) 76%
            ) !important;
    }

    .atividades-publicas-mobile-hero-conteudo {
        position: absolute !important;
        right: 25px !important;
        bottom: 26px !important;
        left: 25px !important;
        z-index: 2 !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #fff !important;
    }

    .atividades-publicas-mobile-hero-conteudo h3 {
        margin: 0 0 11px !important;
        color: #fff !important;
        font-size: 18px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        text-transform: uppercase !important;
    }

    .atividades-publicas-mobile-hero-conteudo p {
        display: -webkit-box !important;
        margin: 0 !important;
        overflow: hidden !important;
        color: #fff !important;
        font-size: 8px !important;
        line-height: 1.45 !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    .atividades-publicas-mobile-ver-turmas {
        display: flex !important;
        width: calc(100% - 4px) !important;
        min-height: 68px !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
        padding: 0 18px !important;
        border: 0 !important;
        border-radius: 4px !important;
        background: #4560ef !important;
        color: #fff !important;
        font-size: 12px !important;
        font-weight: 800 !important;
    }

    .atividades-publicas-mobile-turmas {
        width: min(calc(100% - 52px), 340px) !important;
        max-width: 340px !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 390px) {
    .atividades-publicas-grupos,
    .atividades-publicas-mobile-modalidades,
    .atividades-publicas-mobile-apresentacao,
    .atividades-publicas-mobile-turmas {
        width: calc(100% - 36px) !important;
    }

    .atividades-publicas-mobile-modalidades-lista {
        gap: 8px !important;
    }
}

/* Atividades Mobile V1.3 - escala e proximidade */

@media (max-width: 760px) {
    /*
     * Tabs dos grupos maiores e mais próximas da referência.
     */
    .atividades-publicas-grupos {
        width: min(calc(100% - 30px), 390px) !important;
        max-width: 390px !important;
        margin-bottom: 34px !important;
    }

    .atividades-publicas-grupos button {
        min-height: 46px !important;
        padding: 0 6px !important;
        font-size: 10.5px !important;
        font-weight: 700 !important;
    }

    /*
     * Modalidades/categorias:
     * círculos maiores e mais juntos.
     */
    .atividades-publicas-mobile-modalidades {
        width: min(calc(100% - 28px), 378px) !important;
        max-width: 378px !important;
        margin-bottom: 42px !important;
    }

    .atividades-publicas-mobile-modalidades-lista {
        grid-template-columns: repeat(4, 64px) !important;
        justify-content: center !important;
        column-gap: 18px !important;
        row-gap: 0 !important;
    }

    .atividades-publicas-mobile-modalidades-lista > button {
        width: 64px !important;
        min-width: 64px !important;
        max-width: 64px !important;
        gap: 10px !important;
    }

    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        flex-basis: 56px !important;
        border: 1px solid #e0e4ec !important;
        border-radius: 50% !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    /*
     * O selecionado mantém apenas o círculo azul.
     * A imagem do ícone não recebe fundo azul-claro próprio.
     */
    .atividades-publicas-mobile-modalidades-lista
    button.ativo
    .atividades-publicas-modalidade-icone {
        border-color: #0866f5 !important;
        background: #0866f5 !important;
    }

    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone img {
        width: 34px !important;
        height: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        object-fit: contain !important;
    }

    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone > span {
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .atividades-publicas-mobile-modalidade-nome {
        max-width: 72px !important;
        min-height: 18px !important;
        font-size: 7.5px !important;
    }

    /*
     * Hero/imagem da modalidade maior.
     */
    .atividades-publicas-mobile-apresentacao {
        width: min(calc(100% - 28px), 390px) !important;
        max-width: 390px !important;
        gap: 30px !important;
    }

    .atividades-publicas-mobile-hero {
        width: 100% !important;
        height: 214px !important;
        min-height: 214px !important;
        border-radius: 10px !important;
    }

    .atividades-publicas-mobile-hero-conteudo {
        right: 24px !important;
        bottom: 24px !important;
        left: 24px !important;
    }

    .atividades-publicas-mobile-hero-conteudo h3 {
        font-size: 19px !important;
        margin-bottom: 10px !important;
    }

    .atividades-publicas-mobile-hero-conteudo p {
        font-size: 8.5px !important;
        line-height: 1.45 !important;
    }

    .atividades-publicas-mobile-ver-turmas {
        width: 100% !important;
        min-height: 68px !important;
        font-size: 12px !important;
    }

    /*
     * Quando as turmas abrirem, usa a mesma largura maior.
     */
    .atividades-publicas-mobile-turmas {
        width: min(calc(100% - 28px), 390px) !important;
        max-width: 390px !important;
    }
}

@media (max-width: 390px) {
    .atividades-publicas-grupos {
        width: calc(100% - 22px) !important;
    }

    .atividades-publicas-mobile-modalidades {
        width: calc(100% - 18px) !important;
    }

    .atividades-publicas-mobile-modalidades-lista {
        grid-template-columns: repeat(4, 60px) !important;
        column-gap: 14px !important;
    }

    .atividades-publicas-mobile-modalidades-lista > button {
        width: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;
    }

    .atividades-publicas-mobile-apresentacao,
    .atividades-publicas-mobile-turmas {
        width: calc(100% - 22px) !important;
    }

    .atividades-publicas-mobile-hero {
        height: 202px !important;
        min-height: 202px !important;
    }
}

/* Atividades Mobile V1.4 - somente imagem do icone */

@media (max-width: 760px) {
    /*
     * No mobile, o conteúdo do círculo deve ser exclusivamente
     * a imagem cadastrada/uploadada para a modalidade.
     *
     * Remove o fallback visual de letra/quadrado interno.
     */
    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone > span {
        display: none !important;
    }

    /*
     * A imagem enviada pelo CMS não recebe fundo, borda,
     * padding ou quadrado interno.
     */
    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone img {
        display: block !important;
        width: 34px !important;
        height: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        outline: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        object-fit: contain !important;
    }

    /*
     * Também neutraliza qualquer wrapper interno que tenha
     * herdado o fundo azul-claro das versões anteriores.
     */
    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone > * {
        background-color: transparent !important;
        box-shadow: none !important;
    }

    /*
     * O círculo externo continua existindo.
     * Somente o quadrado/fallback interno é removido.
     */
    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone {
        overflow: hidden !important;
    }
}

/* Atividades Mobile V1.4.1 - letra sem quadrado */

@media (max-width: 760px) {
    /*
     * Correção da V1.4:
     * a letra/fallback deve continuar aparecendo.
     * O que some é SOMENTE o quadrado azul-claro interno.
     */
    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone > span {
        display: grid !important;
        width: auto !important;
        height: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;
        place-items: center !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;
        border-radius: 0 !important;
        outline: 0 !important;

        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;

        color: #4168f7 !important;
        font-size: 23px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    .atividades-publicas-mobile-modalidades-lista
    button.ativo
    .atividades-publicas-modalidade-icone > span {
        color: #fff !important;
    }

    /*
     * Remove qualquer quadrado criado por pseudo-elemento.
     */
    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone > span::before,
    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone > span::after {
        display: none !important;
        content: none !important;
        background: transparent !important;
    }

    /*
     * Se existir uma imagem REAL cadastrada no CMS,
     * ela continua sendo exibida normalmente e sem fundo próprio.
     */
    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone img {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        outline: 0 !important;
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
        object-fit: contain !important;
    }

    /*
     * Caso o markup tenha simultaneamente imagem-placeholder
     * e span com a letra, escondemos somente a imagem-placeholder.
     * Assim sobra a letra limpa, sem o quadrado.
     */
    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone:has(> span) > img {
        display: none !important;
    }
}

/* Atividades Mobile V1.4.3 - inicial sem quadrado */

@media (max-width: 760px) {
    /*
     * O círculo externo continua existindo.
     * Dentro dele fica SOMENTE a letra.
     */
    .atividades-publicas-mobile
    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone
    .atividades-publicas-mobile-inicial {
        display: block !important;
        width: auto !important;
        height: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;
        border-radius: 0 !important;
        outline: 0 !important;

        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        box-shadow: none !important;

        color: #4168f7 !important;
        font-size: 23px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    .atividades-publicas-mobile
    .atividades-publicas-mobile-modalidades-lista
    button.ativo
    .atividades-publicas-modalidade-icone
    .atividades-publicas-mobile-inicial {
        color: #fff !important;
    }

    .atividades-publicas-mobile
    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone
    .atividades-publicas-mobile-inicial::before,
    .atividades-publicas-mobile
    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone
    .atividades-publicas-mobile-inicial::after {
        display: none !important;
        content: none !important;
    }

    /*
     * Defesa contra regras antigas das V1.4/V1.4.1:
     * nenhuma imagem interna deve aparecer nesse bloco mobile.
     */
    .atividades-publicas-mobile
    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone > img {
        display: none !important;
    }
}


/* Atividades Mobile V1.5 - SVG real e ativo branco */

@media (max-width: 760px) {
    .atividades-publicas-mobile
    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-mobile-icone-imagem {
        display: block !important;
        width: 32px !important;
        height: 32px !important;
        max-width: 34px !important;
        max-height: 34px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        outline: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        object-fit: contain !important;
        filter: none !important;
    }

    .atividades-publicas-mobile
    .atividades-publicas-mobile-modalidades-lista
    button.ativo
    .atividades-publicas-mobile-icone-imagem {
        filter: brightness(0) invert(1) !important;
    }

    .atividades-publicas-mobile
    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-mobile-inicial {
        display: block !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #4168f7 !important;
        font-size: 23px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    .atividades-publicas-mobile
    .atividades-publicas-mobile-modalidades-lista
    button.ativo
    .atividades-publicas-mobile-inicial {
        color: #fff !important;
    }

    .atividades-publicas-mobile
    .atividades-publicas-mobile-modalidades-lista
    .atividades-publicas-modalidade-icone
    > .atividades-publicas-mobile-icone-imagem {
        display: block !important;
    }
}


/* Atividades Mobile V1.6 - swipe modalidades e grupos */
@media (max-width:760px){
  .atividades-publicas-grupos{
    display:flex!important;
    width:min(calc(100% - 40px),390px)!important;
    max-width:390px!important;
    justify-content:center!important;
    align-items:stretch!important;
    gap:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    overflow:visible!important;
  }
  .atividades-publicas-grupos button{
    width:auto!important;
    min-width:0!important;
    max-width:112px!important;
    flex:1 1 0!important;
    padding-left:10px!important;
    padding-right:10px!important;
    text-align:center!important;
  }

  .atividades-publicas-mobile-modalidades{
    width:min(calc(100% - 30px),350px)!important;
    max-width:350px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    overflow:hidden!important;
  }
  .atividades-publicas-mobile-modalidades-lista{
    display:flex!important;
    width:100%!important;
    max-width:none!important;
    grid-template-columns:none!important;
    justify-content:flex-start!important;
    align-items:flex-start!important;
    gap:18px!important;
    margin:0!important;
    padding:0 8px 6px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-behavior:smooth!important;
    scroll-snap-type:x proximity!important;
    scroll-padding-inline:8px!important;
    overscroll-behavior-x:contain!important;
    touch-action:pan-x pan-y!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
  }
  .atividades-publicas-mobile-modalidades-lista::-webkit-scrollbar{display:none!important}
  .atividades-publicas-mobile-modalidades-lista>button{
    width:64px!important;
    min-width:64px!important;
    max-width:64px!important;
    flex:0 0 64px!important;
    scroll-snap-align:start!important;
    transition:transform .24s cubic-bezier(.2,.8,.2,1),opacity .24s ease!important;
  }
  .atividades-publicas-mobile-modalidades-lista>button:active{transform:scale(.94)!important}
  .atividades-publicas-mobile-modalidades-lista>button.ativo{transform:translateY(-2px) scale(1.03)!important}
  .atividades-publicas-mobile-modalidades-lista .atividades-publicas-modalidade-icone{
    transition:transform .28s cubic-bezier(.2,.8,.2,1),background-color .28s ease,border-color .28s ease!important;
  }
  .atividades-publicas-mobile-modalidades-lista button.ativo .atividades-publicas-modalidade-icone{
    transform:scale(1.06)!important;
  }
  .atividades-publicas-mobile-modalidades>.atividades-publicas-mobile-seta{display:none!important}
}
@media(max-width:390px){
  .atividades-publicas-grupos{width:calc(100% - 24px)!important}
  .atividades-publicas-grupos button{padding-left:7px!important;padding-right:7px!important}
  .atividades-publicas-mobile-modalidades{width:calc(100% - 20px)!important}
  .atividades-publicas-mobile-modalidades-lista{gap:15px!important}
}

/* Atividades Mobile V1.6.1 - circulos e titulo turma */

@media (max-width: 760px) {
    .atividades-publicas-mobile-modalidades {
        overflow: visible !important;
    }

    .atividades-publicas-mobile-modalidades-lista {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .atividades-publicas-mobile-modalidades-lista > button.ativo {
        transform: scale(1.03) !important;
    }

    .atividades-publicas-mobile-modalidades-lista
    button.ativo
    .atividades-publicas-modalidade-icone {
        transform: scale(1.04) !important;
    }

    .atividades-publicas-mobile-turma > strong {
        grid-area: nome !important;
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        justify-self: stretch !important;
        align-self: end !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #151515 !important;
        font-size: 10px !important;
        font-weight: 850 !important;
        line-height: 1.35 !important;
        text-align: left !important;
        text-transform: uppercase !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .atividades-publicas-mobile-turma-unidade,
    .atividades-publicas-mobile-turma
    > span:not(.atividades-publicas-disponibilidade) {
        justify-self: start !important;
        text-align: left !important;
    }
}

@media (max-width: 390px) {
    .atividades-publicas-mobile-turma > strong {
        font-size: 9.5px !important;
    }
}

/* Atividades Mobile V1.7 - filtro unidade select */

@media (max-width: 760px) {
    .atividades-publicas-mobile-filtros {
        grid-template-columns: 42px minmax(0, 1fr) !important;
        gap: 13px !important;
        align-items: center !important;
    }

    .atividades-publicas-mobile-filtro-select {
        position: relative !important;
        display: block !important;
        width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 9px !important;
        background:
            #eef4ff
            url("/img/mobile/atividades/filtro-unidade.svg")
            center / 23px 23px
            no-repeat !important;
        overflow: hidden !important;
    }

    .atividades-publicas-mobile-filtro-select select {
        position: absolute !important;
        inset: 0 !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: inherit !important;
        opacity: 0 !important;
        cursor: pointer !important;
        appearance: auto !important;
        -webkit-appearance: menulist !important;
    }

    .atividades-publicas-mobile-filtro-select:has(select.ativo) {
        background-color: #dfeaff !important;
    }

    .atividades-publicas-mobile-unidade {
        display: none !important;
    }
}


/* Atividades Desktop - icones de modalidade V1 */
@media (min-width: 761px) {
    .atividades-publicas-desktop
    .atividades-publicas-modalidade-icone {
        display: grid !important;
        width: 38px;
        height: 38px;
        place-items: center;
        overflow: hidden;
        border: 1px solid #dce6ff;
        border-radius: 8px;
        background: #eaf1ff !important;
        color: #386ee9 !important;
    }

    .atividades-publicas-desktop
    .atividades-publicas-modalidade-icone > img {
        display: block !important;
        width: 22px !important;
        height: 22px !important;
        object-fit: contain;
        opacity: 1 !important;
    }

    .atividades-publicas-desktop
    .atividades-publicas-modalidades-lista button.ativo
    .atividades-publicas-modalidade-icone {
        border-color: #cbdcff;
        background: #eaf1ff !important;
        color: #386ee9 !important;
    }

    .atividades-publicas-desktop
    .atividades-publicas-modalidades-lista button {
        grid-template-columns:
            42px
            minmax(0, 1fr);
    }
}

/* Atividades Desktop - modalidades V2 */
@media (min-width: 761px) {
    .atividades-publicas-modalidades-lista button {
        grid-template-columns: 52px minmax(0, 1fr) !important;
        gap: 15px !important;
        min-height: 66px !important;
        padding: 9px 15px !important;
        border-radius: 7px !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        line-height: 1.2;
    }

    .atividades-publicas-modalidade-icone {
        width: 46px !important;
        height: 46px !important;
        border: 1px solid #dfe8ff !important;
        border-radius: 9px !important;
        background: #f0f5ff !important;
        color: #4f76ef !important;
        font-size: 17px !important;
        box-shadow: none !important;
    }

    .atividades-publicas-modalidade-icone img {
        display: block !important;
        width: 28px !important;
        height: 28px !important;
        object-fit: contain !important;
        opacity: 1 !important;
        filter: none !important;
        transition: filter .18s ease, transform .18s ease;
    }

    .atividades-publicas-modalidades-lista button:not(.ativo):hover {
        background: #f7f9ff !important;
    }

    .atividades-publicas-modalidades-lista button:not(.ativo):hover
    .atividades-publicas-modalidade-icone {
        background: #eaf1ff !important;
        border-color: #d5e1ff !important;
    }

    .atividades-publicas-modalidades-lista button.ativo {
        background: #6f8df7 !important;
        color: #fff !important;
    }

    .atividades-publicas-modalidades-lista button.ativo
    .atividades-publicas-modalidade-icone {
        border-color: rgba(255, 255, 255, .24) !important;
        background: #87a1fa !important;
        color: #fff !important;
    }

    .atividades-publicas-modalidades-lista button.ativo
    .atividades-publicas-modalidade-icone img {
        filter: brightness(0) invert(1) !important;
        transform: scale(1.03);
    }
}
/* Fim Atividades Desktop - modalidades V2 */

/* Atividades Desktop - modalidades V2.1 */
@media (min-width: 761px) {
    .atividades-publicas-modalidade-icone {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        border-radius: 10px !important;
        background: #F1F5FF !important;
        border-color: #E0E8FF !important;
    }

    .atividades-publicas-modalidade-icone > img {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        max-width: 30px !important;
        max-height: 30px !important;
        object-fit: contain !important;
        opacity: 1 !important;
    }

    .atividades-publicas-modalidades-lista button.ativo
    .atividades-publicas-modalidade-icone {
        background: #798BF3 !important;
        border-color: #798BF3 !important;
        color: #FFFFFF !important;
        box-shadow: none !important;
    }

    .atividades-publicas-modalidades-lista button.ativo
    .atividades-publicas-modalidade-icone > img {
        filter: brightness(0) invert(1) !important;
    }

    .atividades-publicas-modalidades-lista button {
        font-size: 14px !important;
        font-weight: 800 !important;
    }
}
/* Fim Atividades Desktop - modalidades V2.1 */

/* Atividades Desktop - ajuste final V2.2 */
@media (min-width: 761px) {
    .atividades-publicas-desktop
    .atividades-publicas-modalidades-lista
    button.ativo
    .atividades-publicas-modalidade-icone {
        background: #798BF3 !important;
        background-color: #798BF3 !important;
        border-color: #798BF3 !important;
        color: #FFFFFF !important;
        box-shadow: none !important;
    }

    .atividades-publicas-desktop
    .atividades-publicas-modalidades-lista
    .atividades-publicas-modalidade-icone > img {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        max-width: 30px !important;
        max-height: 30px !important;
        object-fit: contain !important;
    }

    .atividades-publicas-desktop
    .atividades-publicas-modalidades-lista
    button.ativo
    .atividades-publicas-modalidade-icone > img {
        filter: brightness(0) invert(1) !important;
    }
}
/* Fim Atividades Desktop - ajuste final V2.2 */
