/* AMACE · Header novo, no desenho do MindMarket:
   duas barras brancas soltas do topo (a do menu e a do CTA), links em pílula
   e dropdown em painel com cartão de foto. Fixo; some ao rolar para baixo
   e volta ao rolar para cima. */

.mh {
    --mh-tinta: #1f1e1a;
    --mh-suave: #6b6560;
    --mh-vermelho: #cd212a;
    --mh-amarelo: #fcce45;
    --mh-rosa: #f9ecea;
    --mh-raio: 10px;
    --mh-altura: 68px;
    /* contorno das caixas brancas (menu e Quero doar), sem sombra: some
       sobre o rosa e marca a borda quando o fundo atrás é branco */
    --mh-contorno: #f9f0f0;

    position: fixed;
    z-index: 9000;
    top: 17px;
    left: 50%;
    display: flex;
    gap: 20px;
    width: min(1208px, calc(100% - 32px));
    transform: translateX(-50%);
    transition: transform .45s cubic-bezier(.5, 0, 0, 1);
    font-family: Quicksand, -apple-system, "Segoe UI", sans-serif;
    color: var(--mh-tinta);
}
/* O header flutua: o conteúdo de todas as páginas começa embaixo dele, com a
   mesma folga de cima (17px) e de baixo. O antigo ocupava 79px no fluxo. */
body.mh-ativo {
    padding-top: 102px;
    /* a faixa atrás do header é rosa; o resto do fundo da página não muda */
    background-image: linear-gradient(#faf0f0, #faf0f0);
    background-size: 100% 102px;
    background-repeat: no-repeat;
}
.mh *, .mh *::before, .mh *::after { box-sizing: border-box; }
.mh a { color: inherit; text-decoration: none; }
.mh ul { margin: 0; padding: 0; list-style: none; }
.mh button { font: inherit; color: inherit; background: none; border: 0; margin: 0; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: normal; }
/* o tema pinta todo button:hover de rosa com texto branco */
.mh button:hover, .mh button:focus { background: none; color: inherit; }
.mh svg { display: block; flex: 0 0 auto; }
.mh :focus-visible { outline: 2px solid var(--mh-tinta); outline-offset: 2px; }

/* ---------- barra principal ---------- */
.mh__bar {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    height: var(--mh-altura);
    padding: 0 11px 0 18px;
    border-radius: var(--mh-raio);
    background: #fff;
}
.mh__logo { display: flex; align-items: center; margin-right: auto; }
.mh__logo img { width: 158px; height: auto; }

.mh__lista { display: flex; align-items: center; gap: 2px; }
.mh .mh__link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 47px;
    padding: 0 17px;
    border-radius: 50px;
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    isolation: isolate;
}
/* a pílula aparece crescendo do centro, não só trocando de cor */
.mh__link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: var(--mh-rosa);
    opacity: 0;
    transform: scale(.85);
    transition: opacity .25s ease, transform .35s cubic-bezier(.2, .8, .2, 1);
}
.mh__link:hover::before,
.mh__link:focus-visible::before,
.mh__item.is-aberto > .mh__link::before { opacity: 1; transform: none; }
/* line-height 1 deixava a perna do "g" (Blog) fora da caixa do texto e ela era
   cortada ao repintar no hover; 1.3 dá espaço sem mudar a altura do link (47px) */
.mh .mh__link > span { line-height: 1.3; padding-bottom: 1px; }
.mh__link svg { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.mh__item.is-aberto > .mh__link svg { transform: rotate(180deg); }

/* botões redondos: conta e (no celular) menu */
.mh .mh__redondo {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    margin-left: 8px;
    border-radius: 50%;
    background: var(--mh-amarelo);
    color: var(--mh-tinta);
    transition: transform .35s cubic-bezier(.17, .67, .3, 1.33), background-color .2s ease;
}
.mh .mh__redondo:hover { transform: scale(1.08); background: #f7c22e; color: var(--mh-tinta); }
/* a conta: pílula cinza com "Olá, Caio" em cima e "Minha conta" embaixo */
.mh .mh__conta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    height: 47px;
    margin-left: 8px;
    padding: 0 18px;
    border-radius: 50px;
    background: #f1efec;
    line-height: 1;
    white-space: nowrap;
    transition: background-color .2s ease;
}
.mh .mh__conta:hover { background: #e6e3df; }
.mh__conta-ola { font-size: 12px; font-weight: 600; color: var(--mh-suave); max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.mh__conta-rotulo { font-size: 15px; font-weight: 700; }
.mh .mh__abrir { display: none; }

/* ---------- dropdown em painel ---------- */
.mh__painel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding-top: 8px;
    visibility: hidden;
    transition: visibility 0s .2s;
}
.mh__painel-dentro {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 34px;
    padding: 17px;
    border-radius: var(--mh-raio);
    background: #fff;
    box-shadow: 0 24px 60px rgba(31, 30, 26, .12);
    opacity: 0;
    transform: translateY(-8px);
    transition: transform .25s cubic-bezier(.5, 0, 0, 1), opacity .15s ease;
}
.mh__item.is-aberto .mh__painel { visibility: visible; transition-delay: 0s; }
.mh__item.is-aberto .mh__painel-dentro { opacity: 1; transform: none; }

.mh__cartao {
    position: relative;
    display: block;
    height: 300px;
    border-radius: var(--mh-raio);
    overflow: hidden;
    background: var(--mh-tinta);
}
.mh__cartao img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .78;
    transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .3s ease;
}
.mh__cartao:hover img { transform: scale(1.06); opacity: .9; }
.mh__cartao-rodape {
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.mh__cartao-seta {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: var(--mh-tinta);
    transition: transform .35s cubic-bezier(.17, .67, .3, 1.33);
}
.mh__cartao:hover .mh__cartao-seta { transform: translateX(4px); }

.mh__sublista {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 4px 34px;
    padding: 17px 17px 17px 0;
}
/* os links sobem um a um quando o painel abre, como no MindMarket */
.mh__sublista li {
    opacity: 0;
    transform: translateY(18px);
    transition: transform .4s cubic-bezier(.5, 0, 0, 1), opacity .4s cubic-bezier(.5, 0, 0, 1);
}
.mh__item.is-aberto .mh__sublista li {
    opacity: 1;
    transform: none;
    transition-delay: calc(60ms + var(--i, 0) * 35ms);
}
.mh__cartao { transform: translateY(12px); opacity: 0; transition: transform .45s cubic-bezier(.5, 0, 0, 1), opacity .4s ease; }
.mh__item.is-aberto .mh__cartao { transform: none; opacity: 1; transition-delay: 40ms; }
.mh__sublista a {
    display: inline-block;
    padding: 4px 0;
    /* mesma fonte e peso dos links do header */
    font-size: 16.5px;
    font-weight: 600;
    /* A página atual não ganha marca (nem pílula no item de cima, nem sublinhado
   no dropdown): vários cursos levam à mesma página, e todos ficavam marcados.
   O aria-current continua no HTML para o leitor de tela.
   O mesmo sublinhado dos "Créditos" do footer: 1px na cor do texto, que
       entra pela esquerda e sai pela direita (parado fica preso à direita; no
       hover, à esquerda; só o tamanho anima). O texto não muda de cor. */
    background: linear-gradient(currentColor, currentColor) 100% 100% / 0 1px no-repeat;
    transition: background-size .35s cubic-bezier(.16, 1, .3, 1);
}
.mh__sublista a:hover,
.mh__sublista a:focus-visible { background-position: 0 100%; background-size: 100% 1px; }

/* ---------- barra do CTA ---------- */
.mh__cta {
    display: flex;
    align-items: center;
    gap: 4px;
    height: var(--mh-altura);
    padding: 11px 11px 11px 22px;
    border-radius: var(--mh-raio);
    background: #fff;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
}
.mh__cta-texto {
    padding-right: 10px;
    transition: transform .4s cubic-bezier(.17, .67, .3, 1.33);
}
.mh__cta-icone {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mh-vermelho);
    color: #fff;
    transition: transform .4s cubic-bezier(.17, .67, .3, 1.33);
}
.mh__cta:hover .mh__cta-texto { transform: translateX(-4px); }
.mh__cta:hover .mh__cta-icone { transform: scale(1.1) rotate(-8deg); }
.mh__cta:hover .mh__cta-icone svg { animation: mh-bate .8s ease-in-out infinite; }
@keyframes mh-bate { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.18); } 50% { transform: scale(.96); } }

/* ---------- botão de conta (caixa branca, entre o menu e o "Quero doar") ----------
   O cartão que abre no hover é o do mu-plugin amace-conta-header, igual ao do
   site no ar; aqui só o gatilho muda de desenho, para virar uma barra do header. */
.mh__conta-caixa { flex: 0 0 auto; display: flex; }
.mh .amace-atalho { display: flex; position: static; }
/* caixa branca com a bolinha amarela e o ícone preto dentro, no mesmo
   desenho do "Quero doar" (caixa branca + bolinha vermelha com o coração) */
.mh .amace-atalho .amace-atalho__gatilho {
    display: grid;
    place-items: center;
    width: var(--mh-altura);
    height: var(--mh-altura);
    padding: 0;
    border: 0;
    border-radius: var(--mh-raio);
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--mh-contorno);
    color: var(--mh-tinta);
}
.mh .amace-atalho .amace-atalho__gatilho::before {
    content: "";
    grid-area: 1 / 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mh-amarelo);
    transition: transform .4s cubic-bezier(.17, .67, .3, 1.33);
}
.mh .amace-atalho .amace-atalho__gatilho svg { grid-area: 1 / 1; position: relative; width: 21px; height: 21px; transition: transform .4s cubic-bezier(.17, .67, .3, 1.33); }
.mh .amace-atalho .amace-atalho__gatilho:hover,
.mh .amace-atalho:focus-within .amace-atalho__gatilho { background: #fff; color: var(--mh-tinta); } /* ícone continua preto no hover */
/* no hover a bolinha cresce e gira um pouco, como a do coração */
.mh .amace-atalho:hover .amace-atalho__gatilho::before { transform: scale(1.1) rotate(-8deg); }
.mh .amace-atalho:hover .amace-atalho__gatilho svg { transform: scale(1.08); }
/* o cartão abre preso ao header (não ao botão): da borda esquerda do botão de
   conta até a direita do "Quero doar". A largura vem do header.js
   (--mh-conta-w); mesmo canto e mesmo vão dos painéis de Cursos e Mais */
.mh .amace-atalho__caixa { top: 100%; right: 0; left: auto; width: var(--mh-conta-w, 272px); padding-top: 8px; }
.mh .amace-atalho__cartao { border: 0; border-radius: var(--mh-raio); box-shadow: 0 24px 60px rgba(31, 30, 26, .12); } /* a mesma sombra dos outros painéis do header */
/* abre e fecha igual aos painéis de Cursos e Mais: a caixa só troca a
   visibilidade, o cartão desce 8px com fade e o conteúdo sobe em sequência.
   Ao sair, espera 160ms (o mesmo atraso do header.js) antes de fechar. */
.mh .amace-atalho__caixa { opacity: 1; transform: none; visibility: hidden; transition: visibility 0s .36s; }
.mh .amace-atalho__cartao { opacity: 0; transform: translateY(-8px); transition: transform .25s cubic-bezier(.5, 0, 0, 1) .16s, opacity .15s ease .16s; }
.mh .amace-atalho__cartao > *, .mh .amace-atalho__lista > * { opacity: 0; transform: translateY(18px); transition: transform .4s cubic-bezier(.5, 0, 0, 1), opacity .4s cubic-bezier(.5, 0, 0, 1); }
.mh .amace-atalho__cartao > .amace-atalho__lista { opacity: 1; transform: none; }
.mh .amace-atalho:hover .amace-atalho__caixa,
.mh .amace-atalho:focus-within .amace-atalho__caixa { visibility: visible; transform: none; transition-delay: 0s; }
.mh .amace-atalho:hover .amace-atalho__cartao,
.mh .amace-atalho:focus-within .amace-atalho__cartao { opacity: 1; transform: none; transition-delay: 0s; }
.mh .amace-atalho:hover .amace-atalho__cartao > *, .mh .amace-atalho:focus-within .amace-atalho__cartao > *,
.mh .amace-atalho:hover .amace-atalho__lista > *, .mh .amace-atalho:focus-within .amace-atalho__lista > * { opacity: 1; transform: none; }
.mh .amace-atalho:hover .amace-atalho__cartao > :nth-child(1), .mh .amace-atalho:focus-within .amace-atalho__cartao > :nth-child(1) { transition-delay: 60ms; }
.mh .amace-atalho:hover .amace-atalho__cartao > :nth-child(2), .mh .amace-atalho:focus-within .amace-atalho__cartao > :nth-child(2) { transition-delay: 95ms; }
.mh .amace-atalho:hover .amace-atalho__cartao > :nth-child(3), .mh .amace-atalho:focus-within .amace-atalho__cartao > :nth-child(3) { transition-delay: 130ms; }
.mh .amace-atalho:hover .amace-atalho__lista > :nth-child(n), .mh .amace-atalho:focus-within .amace-atalho__lista > :nth-child(n) { transition-delay: calc(95ms + var(--i, 0) * 35ms); }
/* "Entrar na conta": o mesmo botão da hero (.hx-btn), com fundo rosinha por
   estar sobre o cartão branco. No hover o texto desliza, a bolinha da direita
   some e outra surge à esquerda. */
.mh .mhb {
    --mhb-icone: 40px;
    --mhb-pad: 10px;
    --mhb-gap: 8px;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 60px;
    padding: var(--mhb-pad);
    padding-left: calc(var(--mhb-pad) + 6px);
    color: var(--mh-tinta) !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    isolation: isolate;
}
.mh .mhb::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: var(--mh-raio);
    background: #faf0f0;
    transition: transform .4s cubic-bezier(.17, .67, .3, 1.33);
}
.mhb__texto { padding: 0 var(--mhb-pad); transition: transform .4s cubic-bezier(.17, .67, .3, 1.33); }
.mhb__icone {
    display: inline-grid;
    place-items: center;
    width: var(--mhb-icone);
    height: var(--mhb-icone);
    border-radius: 50%;
    background: var(--mh-amarelo);
    color: var(--mh-tinta);
    transition: transform .4s cubic-bezier(.17, .67, .3, 1.33);
}
.mhb__icone--padrao { margin-left: auto; }
.mhb__icone--hover { position: absolute; top: 50%; left: var(--mhb-pad); transform: translateY(-50%) scale(0); }
.mh .mhb:hover::before, .mh .mhb:focus-visible::before { transform: scale(1.04); }
.mh .mhb:hover .mhb__texto, .mh .mhb:focus-visible .mhb__texto { transform: translateX(calc(var(--mhb-icone) + var(--mhb-gap) - 6px)); }
.mh .mhb:hover .mhb__icone--padrao, .mh .mhb:focus-visible .mhb__icone--padrao { transform: scale(0); }
.mh .mhb:hover .mhb__icone--hover, .mh .mhb:focus-visible .mhb__icone--hover { transform: translateY(-50%) scale(1); }

/* ---------- celular ---------- */
.mh__movel { display: none; }

@media (max-width: 1100px) {
    .mh { gap: 10px; }
    .mh__nav, .mh__conta, .mh__conta-caixa { display: none; }
    .mh .mh__abrir { display: grid; }
    .mh__cta { padding: 11px 11px 11px 18px; font-size: 16px; }
    .mh[data-aberto] .mh__abrir, .mh[data-aberto] .mh__abrir:hover { background: var(--mh-tinta); color: #fff; }

    .mh__movel {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        display: block;
        max-height: calc(100svh - 110px);
        overflow-y: auto;
        padding: 12px 12px 14px;
        border-radius: var(--mh-raio);
        background: #fff;
        box-shadow: 0 24px 60px rgba(31, 30, 26, .14);
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity .2s ease, transform .3s cubic-bezier(.5, 0, 0, 1);
    }
    .mh__movel[hidden] { display: none; }
    .mh[data-aberto] .mh__movel { opacity: 1; transform: none; }
    .mh__movel-lista > li + li { border-top: 1px solid #f1e8e6; }
    .mh__movel-link {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 10px;
        font-size: 21px !important;
        font-weight: 700 !important;
        text-align: left;
    }
    .mh__movel-link svg { width: 14px; height: 14px; transition: transform .3s ease; }
    .mh__movel-link[aria-expanded="true"] svg { transform: rotate(180deg); }
    .mh__movel-sub { padding: 0 10px 14px; }
    .mh__movel-sub a { display: block; padding: 9px 0; font-size: 17px; font-weight: 600; color: var(--mh-suave); }
    .mh__movel-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 8px;
        height: 54px;
        border-radius: var(--mh-raio);
        background: var(--mh-vermelho);
        color: #fff !important;
        font-size: 17px;
        font-weight: 700;
    }
}
@media (max-width: 520px) {
    .mh { top: 10px; width: calc(100% - 20px); --mh-altura: 60px; }
    body.mh-ativo { padding-top: 80px; background-size: 100% 80px; }
    .mh__logo img { width: 124px; }
    .mh__cta-texto { display: none; }
    .mh__cta { padding: 8px; }
    .mh__redondo { width: 42px; height: 42px; margin-left: 4px; }
}

@media (prefers-reduced-motion: reduce) {
    .mh, .mh__painel-dentro, .mh__link::before, .mh__movel, .mh__sublista li, .mh__cartao { transition: none; }
    .mh__cta:hover .mh__cta-icone svg { animation: none; }
}

/* os itens com dropdown são <button>: garante o mesmo peso dos links */
.mh .mh__item--pai > button.mh__link { font-size: 16.5px; font-weight: 600; }
/* texto vermelho no hover e com o painel aberto, nos links e nos botões de dropdown
   (Cursos, Mais): o vermelho dos links vinha do kit do tema, que não pega <button> */
.mh .mh__link { transition: color .2s ease; }
.mh .mh__link:hover, .mh .mh__link:focus-visible, .mh .mh__item.is-aberto > .mh__link,
.mh button.mh__link:hover, .mh button.mh__link:focus-visible, .mh .mh__item.is-aberto > button.mh__link { color: #cd212a !important; background: none !important; }

/* Hero da Home (seção 0df65df do Elementor).
   - Começa no topo da página, por baixo do header, para as linhas onduladas
     do fundo subirem até o topo; o espaço do header vira padding interno.
   - 90% da altura da tela (90dvh), deixando a próxima seção aparecer.
   - O texto centraliza pela parte rosa visível: a onda branca de baixo tem
     150px e não conta. */
body.mh-ativo .elementor-11621 .elementor-element-0df65df {
    background-color: #f9f0f0 !important; /* fundo do hero */
    --min-height: 90dvh;
    min-height: 90dvh;
    margin-top: -102px;
    /* padding direto, sem a variável --padding-top: o bloco interno do
       Elementor também lê a variável e somava 102px a mais */
    padding-top: 102px !important;
}
/* o Xulipa encolhe para caber nos 85dvh, mantendo a proporção */
body.mh-ativo .elementor-11621 .elementor-element-6985cb5 img.wp-image-14330 {
    width: auto;
    max-height: calc(85dvh - 190px);
}
body.mh-ativo .elementor-11621 .elementor-element-94ab06c { padding-bottom: 148px; }
@media (max-width: 520px) {
    body.mh-ativo .elementor-11621 .elementor-element-0df65df {
        margin-top: -80px;
        padding-top: 80px !important;
    }
    body.mh-ativo .elementor-11621 .elementor-element-94ab06c { padding-bottom: 0; }
}


/* contorno nas duas caixas brancas do header (por dentro, sem mudar o tamanho
   delas). O botão amarelo da conta fica sem: o rosa claro em volta do amarelo
   parecia um anel desbotado */
.mh__bar,
.mh__cta { box-shadow: inset 0 0 0 1px var(--mh-contorno); }

/* some ao rolar para baixo (classe posta pelo header.js), volta ao rolar para
   cima; usa o mesmo transform/transition do .mh */
.mh.mh--escondido { transform: translate(-50%, calc(-100% - 24px)); }
@media (prefers-reduced-motion: reduce) { .mh { transition: none; } }

/* dropdown com dois cartões (Mais): cartões um pouco mais estreitos e a lista
   de texto numa coluna só */
.mh__painel-dentro--cartoes { grid-template-columns: 260px 260px minmax(0, 1fr); }
.mh__painel-dentro--cartoes .mh__sublista { grid-template-columns: minmax(0, 1fr); }

/* Botão flutuante do WhatsApp (plugin Click to Chat): no lugar do logo com
   degradê, que não encaixava no círculo, o símbolo do WhatsApp em branco,
   centralizado num círculo verde de 56px com sombra suave. Ao clicar, abre o
   pop-up "Vamos conversar?" (amace-donation-page/includes/lead-whatsapp.php). */
.ht-ctc.ht-ctc-chat { right: 20px !important; bottom: 20px !important; }
.ht-ctc .ht_ctc_padding {
    position: relative;
    display: grid !important;
    place-items: center;
    width: 56px;
    height: 56px;
    padding: 0 !important;
    border-radius: 50% !important;
    background-color: #30ae16 !important;
    box-shadow: 0 10px 30px rgba(31, 30, 26, .14) !important; /* a mesma do filtro de /cursos */
    transition: transform .4s cubic-bezier(.17, .67, .3, 1.33), background-color .25s ease;
}
.ht-ctc .ht_ctc_padding svg { display: none !important; }
.ht-ctc .ht_ctc_padding::before {
    content: "";
    width: 28px;
    height: 28px;
    background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.17-.17.2-.35.22-.64.07-.3-.15-1.26-.46-2.4-1.48-.89-.79-1.49-1.77-1.66-2.07-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.08-.15-.67-1.62-.92-2.22-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48s1.07 2.88 1.21 3.08c.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.7.63.71.22 1.36.19 1.87.12.57-.09 1.76-.72 2.01-1.41.25-.7.25-1.29.17-1.41-.07-.13-.27-.2-.57-.35M12.05 21.5h-.01a9.4 9.4 0 0 1-4.8-1.32l-.34-.2-3.57.94.95-3.48-.22-.36a9.4 9.4 0 0 1-1.44-5.02c0-5.2 4.23-9.43 9.44-9.43a9.4 9.4 0 0 1 9.43 9.44c0 5.2-4.23 9.43-9.44 9.43m8.03-17.46A11.28 11.28 0 0 0 12.05.72C5.8.72.7 5.8.7 12.07c0 2 .52 3.95 1.52 5.67L.6 23.6l6-1.57a11.3 11.3 0 0 0 5.43 1.38h.01c6.26 0 11.35-5.09 11.36-11.35 0-3.03-1.18-5.89-3.32-8.03'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.17-.17.2-.35.22-.64.07-.3-.15-1.26-.46-2.4-1.48-.89-.79-1.49-1.77-1.66-2.07-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.08-.15-.67-1.62-.92-2.22-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48s1.07 2.88 1.21 3.08c.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.7.63.71.22 1.36.19 1.87.12.57-.09 1.76-.72 2.01-1.41.25-.7.25-1.29.17-1.41-.07-.13-.27-.2-.57-.35M12.05 21.5h-.01a9.4 9.4 0 0 1-4.8-1.32l-.34-.2-3.57.94.95-3.48-.22-.36a9.4 9.4 0 0 1-1.44-5.02c0-5.2 4.23-9.43 9.44-9.43a9.4 9.4 0 0 1 9.43 9.44c0 5.2-4.23 9.43-9.44 9.43m8.03-17.46A11.28 11.28 0 0 0 12.05.72C5.8.72.7 5.8.7 12.07c0 2 .52 3.95 1.52 5.67L.6 23.6l6-1.57a11.3 11.3 0 0 0 5.43 1.38h.01c6.26 0 11.35-5.09 11.36-11.35 0-3.03-1.18-5.89-3.32-8.03'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ht-ctc .ctc_s_3_1:hover .ht_ctc_padding { background-color: #289313 !important; transform: scale(1.08) rotate(-6deg); box-shadow: 0 14px 34px rgba(31, 30, 26, .18) !important; }
@media (max-width: 520px) { .ht-ctc.ht-ctc-chat { right: 14px !important; bottom: 14px !important; } .ht-ctc .ht_ctc_padding { width: 52px; height: 52px; } }

/* ---------- celular: sem o coração do "Quero doar" na barra (ele continua
   dentro do menu) e o botão do menu com dois traços que viram um X ---------- */
.mh__burger { position: relative; display: block; width: 18px; height: 12px; }
.mh__burger i {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: top .3s cubic-bezier(.5, 0, 0, 1) .15s, transform .3s cubic-bezier(.5, 0, 0, 1) 0s;
}
.mh__burger i:first-child { top: 1px; }
.mh__burger i:last-child { top: 9px; }
/* aberto: primeiro os traços se encontram no meio, depois giram formando o X */
.mh[data-aberto] .mh__burger i { top: 5px; transition: top .3s cubic-bezier(.5, 0, 0, 1) 0s, transform .35s cubic-bezier(.17, .67, .3, 1.33) .15s; }
.mh[data-aberto] .mh__burger i:first-child { transform: rotate(45deg); }
.mh[data-aberto] .mh__burger i:last-child { transform: rotate(-45deg); }
@media (max-width: 520px) {
    .mh .mh__cta { display: none; }
    .mh .mh__abrir { width: 44px; height: 44px; margin-left: 6px; }
}
@media (prefers-reduced-motion: reduce) { .mh__burger i { transition: none !important; } }

/* ---------- menu aberto no celular: fontes bem menores e os botões no pé ---------- */
@media (max-width: 1100px) {
    .mh .mh__movel { padding: 8px 14px 14px; }
    .mh .mh__movel-link { padding: 12px 4px; font-size: 16px !important; font-weight: 600 !important; }
    .mh .mh__movel-link svg { width: 11px; height: 11px; }
    .mh .mh__movel-sub { padding: 0 4px 10px; }
    .mh .mh__movel-sub a { padding: 6px 0; font-size: 14px; font-weight: 500; }
    .mh .mh__movel-botoes { display: grid; gap: 8px; margin-top: 10px; }
    .mh .mh__movel-conta,
    .mh .mh__movel-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 44px;
        margin: 0;
        border-radius: var(--mh-raio);
        font-size: 14.5px;
        font-weight: 700;
        text-decoration: none;
    }
    .mh .mh__movel-conta { background: var(--mh-amarelo); color: var(--mh-tinta) !important; }
    .mh .mh__movel-cta { background: var(--mh-vermelho); color: #fff !important; }
}

/* botão do menu (celular): sempre amarelo com os traços pretos, sem o anel preto
   do foco do tema e sem o recheio que deixava o ícone fora do centro */
.mh .mh__abrir,
.mh .mh__abrir:hover,
.mh .mh__abrir:focus,
.mh .mh__abrir:active,
.mh[data-aberto] .mh__abrir,
.mh[data-aberto] .mh__abrir:hover {
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: var(--mh-amarelo) !important;
    color: var(--mh-tinta) !important;
    line-height: 0;
}
.mh .mh__abrir:focus-visible { box-shadow: 0 0 0 3px rgba(31, 30, 26, .18) !important; }
.mh .mh__abrir .mh__burger { margin: 0 auto; }
/* bolinha do menu um pouco menor (era 44px no celular, 43px no tablet) */
.mh .mh__abrir { width: 40px !important; height: 40px !important; }

/* a imagem da logo tem ~17px vazios à esquerda: a logo anda 15px para a
   esquerda, e o desenho fica a ~20px da borda da caixa (perto dos 14px de cima e de baixo) */
.mh .mh__logo { margin-left: -15px; }

/* ---------- painel do "Blog": os 4 últimos posts ----------
   O mesmo painel branco de Cursos e Mais; os cartões sobem um a um, como os
   links do dropdown. */
.mh__painel-dentro--blog { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 17px 17px 20px; }
.mh__blog-topo { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 2px 2px 0; }
/* "Últimas do blog" no mesmo tamanho, peso e cor dos nomes dos cursos (.mh__sublista a) */
.mh__blog-titulo { font-size: 16.5px; font-weight: 600; letter-spacing: normal; color: var(--mh-tinta); }
/* "Ver todas as postagens": o mesmo botão do "Voltar para o blog" do post, com a
   seta numa bolinha; no hover a bolinha some da esquerda e nasce à direita do
   texto, que anda junto; a seta não se mexe. Bolinha rosada, no painel branco. */
.mh__blog-todos { --bola: 32px; --vao: 10px; --mola: cubic-bezier(.17, .67, .3, 1.33); --anda: calc(-1 * (var(--bola) + var(--vao))); position: relative; display: inline-flex; flex-direction: row-reverse; align-items: center; gap: var(--vao); color: var(--mh-tinta); font-size: 15px; font-weight: 700; text-decoration: none; } /* row-reverse: a bolinha com a seta fica à direita do texto */
.mh__todos-bola { display: grid; place-items: center; flex: 0 0 auto; width: var(--bola); height: var(--bola); border-radius: 50%; background: #f9f0f0; color: var(--mh-tinta); transition: transform .4s var(--mola); }
.mh__todos-bola--hover { position:absolute;top:50%;right:0;background:#cd212a;color:#fff;transform:translateY(-50%) scale(0);transition:transform .4s cubic-bezier(.17,.67,.3,1.33); } /* a bolinha vermelha do hover do MindMarket: nasce do centro por cima da de sempre, no mesmo lugar */
.mh__todos-texto { transition: transform .4s var(--mola); }
.mh__blog-todos:is(:hover, :focus-visible) > .mh__todos-bola:first-child { transform: scale(0); }
.mh__blog-todos:is(:hover, :focus-visible) .mh__todos-bola--hover { transform:translateY(-50%) scale(1) }
.mh__blog-todos:focus-visible { outline: 3px solid rgba(205, 33, 42, .35); outline-offset: 4px; border-radius: 999px; }
.mh__blog-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mh__post { display: flex; flex-direction: column; gap: 9px; min-width: 0; color: var(--mh-tinta); text-decoration: none; opacity: 0; transform: translateY(14px); transition: transform .45s cubic-bezier(.5, 0, 0, 1), opacity .4s ease; }
.mh__item.is-aberto .mh__post { opacity: 1; transform: none; transition-delay: calc(40ms + var(--i, 0) * 45ms); }
.mh__post-img { display: block; aspect-ratio: 4 / 3; border-radius: var(--mh-raio); overflow: hidden; background: #f5efee; }
.mh__post-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.mh__post:hover .mh__post-img img { transform: scale(1.06); }
.mh__post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; font-weight: 600; color: var(--mh-suave); }
.mh__post-cat { font-weight: 700; }
.mh__post-cat--vermelho { color: #cd2121; } .mh__post-cat--verde { color: #2a9a13; } .mh__post-cat--azul { color: #2446b9; } .mh__post-cat--amarelo { color: #a87900; }
.mh__post-titulo { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; font-weight: 700; line-height: 1.3; transition: color .2s; }
.mh__post:hover .mh__post-titulo { color: #cd212a; }
@media (prefers-reduced-motion: reduce) { .mh__post, .mh__post-img img, .mh__todos-bola, .mh__todos-texto { transition: none; } }
