/* ============================================================
   Home (Views/Home/Index.cshtml; Documentação/home-decisoes.md)
   Hero (oferta do Premium e os destaques do momento),
   faixa de prova social, conta grátis, Premium, recursos, sem
   cadastro (depois dos planos), cartões de resultado, perguntas ao
   lado do CTA final.
   Este arquivo carrega antes do modern_layout.css (seção CssPage do
   _LayoutHome): as classes são próprias (hm-*), e onde a regra se
   cruza com a do modern_layout o seletor é mais específico.
   ============================================================ */

/* ---- Hero (20/11/2026, home-decisoes §8) ----
   Esquerda: etiqueta → H1 → subtítulo → oferta do Premium (Views/Home/_OfertaPremium: o mensal como preço principal e o
   anual em destaque, cada um com o botão direto ao pagamento) → conta grátis → como funciona a assinatura → aviso.
   Direita: os destaques do momento, na ordem ao vivo > Mega da Virada > banners (.hd-*, css/banner-destaque.css); sem
   destaque, a plataforma com dados reais (Views/Home/_HeroProduto: .hm-produto, .hm-app-*, .hm-flutuante-*). A casca, a
   grade e as alturas são as do hero de um slide do modern_layout.css; aqui os seletores levam .hm-hero para valer por
   cima dele. */

/* Um pouco mais baixo que a tela: a faixa de baixo e o começo da seção seguinte aparecem (um hero do tamanho exato da
   tela parece o fim da página) */
.modern-hero.hero-home.hm-hero {
    --hero-altura: clamp(520px, calc(100svh - 170px), 780px);
    background:
        radial-gradient(ellipse 45% 55% at 82% 38%, rgba(255, 123, 84, 0.14), transparent 70%),
        radial-gradient(ellipse 55% 60% at 0% 100%, rgba(59, 130, 246, 0.16), transparent 70%),
        linear-gradient(160deg, #11243f 0%, var(--primary-color, #1e3a5f) 58%, #1b3658 100%);
}

.hero-home.hm-hero .hero-carousel .hero-subtitle {
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.86);
}

/* ---- Oferta do Premium no hero (Views/Home/_OfertaPremium) ---- */
.hm-oferta {
    --hm-oferta-texto: #fff;
    --hm-oferta-suave: rgba(255, 255, 255, 0.78);
    --hm-oferta-rotulo: #ffd2c2;
    width: 100%;
    max-width: 33rem;
    margin: 0 0 0.75rem;
    padding: 0.85rem 1rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 48px -32px rgba(0, 0, 0, 0.6);
    color: var(--hm-oferta-texto);
    text-align: left;
}

.hm-oferta-topo {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15rem 0.6rem;
    margin-bottom: 0.4rem;
}

.hm-oferta-plano {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hm-oferta-rotulo);
}

.hm-oferta-inclui {
    font-size: 0.8rem;
    color: var(--hm-oferta-suave);
}

/* Mensal: o preço principal do card, com o botão ao lado */
.hm-oferta-mensal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
}

.hm-oferta-preco {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin: 0;
    line-height: 1;
    color: var(--hm-oferta-texto);
}

.hm-oferta-moeda {
    align-self: flex-start;
    margin-top: 0.3rem;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.85;
}

.hm-oferta-preco strong {
    font-size: clamp(2.1rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.hm-oferta-periodo {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hm-oferta-suave);
}

/* Anual em destaque: a faixa verde com o selo da economia e o botão principal */
.hm-oferta-anual {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem 1rem;
    margin-top: 0.8rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(74, 222, 128, 0.55);
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.13);
}

.hm-oferta-anual-texto {
    flex: 1 1 13rem;
    min-width: 0;
}

.hm-oferta-anual-titulo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.5rem;
    margin: 0 0 0.2rem;
    font-size: 0.82rem;
    color: var(--hm-oferta-suave);
}

.hm-oferta-selo {
    padding: 2px 9px;
    border-radius: 999px;
    background: #22c55e;
    color: #052e14;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.hm-oferta-anual-preco {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.35;
    color: var(--hm-oferta-texto);
}

.hm-oferta-anual-preco b {
    font-size: 1.15rem;
    font-weight: 800;
}

.hm-oferta-anual-nota {
    margin: 0.1rem 0 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--hm-oferta-suave);
}

.hm-oferta-anual-nota b {
    font-weight: 700;
    color: var(--hm-oferta-texto);
}

/* Botões da oferta: o .btn do modern_layout (que carrega depois), no tamanho do card */
.hm-oferta .btn.hm-oferta-botao {
    flex: none;
    justify-content: center;
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.hm-oferta .btn-primary.hm-oferta-botao {
    box-shadow: 0 14px 30px -12px rgba(255, 107, 61, 0.75);
}

.hm-oferta .btn-primary.hm-oferta-botao:hover {
    box-shadow: 0 18px 36px -12px rgba(255, 107, 61, 0.85);
}

.hm-oferta .btn.hm-btn-secundario {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.55);
}

.hm-oferta .btn.hm-btn-secundario:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

/* ---- Botões embaixo da oferta: a conta grátis (ou, sem oferta, os atalhos da conta) ---- */
.hero-home.hm-hero .hero-carousel .hm-hero-botoes {
    gap: 0.75rem;
    margin: 0 0 0.75rem;
}

.hero-home.hm-hero .hm-hero-botoes .btn-primary {
    box-shadow: 0 14px 30px -12px rgba(255, 107, 61, 0.75);
}

.hero-home.hm-hero .hm-hero-botoes .btn-primary:hover {
    box-shadow: 0 18px 36px -12px rgba(255, 107, 61, 0.85);
}

/* ---- Como funciona a assinatura (D14) e os avisos ---- */
.hm-hero-garantias {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.82);
}

.hm-hero-garantias i,
.hm-hero-nota i {
    margin-right: 6px;
    color: #4ade80;
}

.hm-hero-nota {
    margin: 0;
    font-size: var(--font-size-sm, 0.875rem);
    color: rgba(255, 255, 255, 0.78);
}

.hm-hero-aviso {
    max-width: 36rem;
    margin: 0.9rem 0 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.6);
}

/* ---- A plataforma com dados reais (coluna da direita) ---- */
.hero-home.hm-hero .hero-carousel .hm-hero-visual {
    justify-content: center;
}

/* O cartão do assistente vem no fluxo, logo abaixo da janela, e sobe 36px sobre a faixa vazia do pé dela (padding-bottom
   do .hm-app-corpo): com qualquer altura do texto, nunca cobre a lista, a nota do acaso nem o link */
.hm-produto {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding: 30px 0 0 28px;
}

.hm-app {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    color: var(--text-dark, #2c3e50);
    box-shadow: 0 44px 90px -34px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hm-app-barra {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    border-bottom: 1px solid #e4e9f0;
    background: #f2f5f9;
}

.hm-app-pontos {
    display: flex;
    gap: 6px;
}

.hm-app-pontos i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d3dae4;
}

.hm-app-endereco {
    flex: 1;
    margin-right: 40px;
    padding: 3px 10px;
    border-radius: 6px;
    background: #fff;
    color: #6b7686;
    font-size: 0.74rem;
    text-align: center;
}

.hm-app-endereco i {
    margin-right: 4px;
    font-size: 0.65rem;
    color: #22a35a;
}

.hm-app-corpo {
    padding: 1.1rem 1.25rem 2.75rem;
}

.hm-app-cabecalho {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hm-app-rotulo {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7686;
}

.hm-app-titulo {
    margin: 0.15rem 0 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color, #1e3a5f);
}

.hm-app-real {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    padding: 3px 9px;
    border-radius: 999px;
    background: #e9f9ef;
    color: #157a3c;
    font-size: 0.72rem;
    font-weight: 700;
}

.hm-app-real::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
}

.hm-app-lista {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hm-app-lista li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 7.2rem;
    align-items: center;
    gap: 0.75rem;
}

.hm-bola {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #3a64a0, var(--primary-color, #1e3a5f) 70%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    box-shadow: inset -2px -3px 6px rgba(0, 0, 0, 0.25);
}

/* Trilho do atraso: a barra na escala do maior atraso da lista e a linha do intervalo esperado pelo acaso */
.hm-app-trilho {
    position: relative;
    height: 10px;
    border-radius: 999px;
    background: #edf1f6;
}

.hm-app-trilho > span {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--hm-pct);
    border-radius: inherit;
    background: linear-gradient(90deg, #ffae94, var(--secondary-color, #ff7b54));
    transform-origin: left center;
    animation: hm-crescer 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(0.25s + var(--hm-espera, 0s));
}

.hm-app-trilho::after {
    content: "";
    position: absolute;
    top: -4px;
    bottom: -4px;
    left: var(--hm-acaso);
    width: 2px;
    border-radius: 2px;
    background: var(--primary-color, #1e3a5f);
    opacity: 0.6;
}

.hm-app-valor {
    font-size: 0.8rem;
    color: #6b7686;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.hm-app-valor b {
    font-size: 0.98rem;
    color: var(--text-dark, #2c3e50);
}

.hm-app-acaso {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 1rem 0 0;
    font-size: 0.76rem;
    line-height: 1.45;
    color: #6b7686;
}

.hm-app-acaso-linha {
    flex: none;
    width: 2px;
    height: 14px;
    margin-top: 2px;
    border-radius: 2px;
    background: var(--primary-color, #1e3a5f);
    opacity: 0.6;
}

.hm-app-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0.8rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--primary-color, #1e3a5f);
    text-decoration: none;
}

.hm-app-link:hover {
    color: #d9531e;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Cartões flutuantes do Premium (ilustração, aria-hidden) */
.hm-flutuante {
    position: absolute;
    z-index: 1;
    border-radius: 14px;
    background: #fff;
    color: var(--text-dark, #2c3e50);
    box-shadow: 0 26px 54px -22px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(30, 58, 95, 0.06);
    animation: hs-flutuar 7s ease-in-out infinite;
}

.hm-flutuante-ia {
    position: relative;
    width: min(390px, 84%);
    margin: -36px 0 0 -28px;
    padding: 0.75rem 0.85rem 0.8rem;
}

.hm-flutuante-gerador {
    top: 0;
    right: -14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    animation-delay: -3.5s;
}

.hm-flutuante-gerador > i,
.hm-flutuante-topo i {
    color: var(--secondary-color, #ff7b54);
}

.hm-flutuante-topo {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color, #1e3a5f);
}

.hm-tag {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fff1eb;
    color: #b7410e;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hm-flutuante-gerador .hm-tag {
    margin-left: 2px;
}

.hm-bolha {
    margin: 0;
    padding: 0.5rem 0.7rem;
    border-radius: 12px;
    font-size: 0.77rem;
    line-height: 1.4;
}

.hm-bolha-pergunta {
    width: fit-content;
    max-width: 92%;
    margin-left: auto;
    border-bottom-right-radius: 4px;
    background: var(--primary-color, #1e3a5f);
    color: #fff;
}

.hm-bolha-resposta {
    margin-top: 0.45rem;
    border-bottom-left-radius: 4px;
    background: #f1f4f8;
}

@keyframes hm-crescer {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    .hm-app-trilho > span,
    .hm-flutuante {
        animation: none;
    }

    .hm-app-link {
        transition: none;
    }
}

/* ---- Computador ---- */
@media (min-width: 992px) {
    /* O texto, com a oferta, um pouco mais largo que a coluna do produto */
    .hero-home.hm-hero .hero-carousel .hero-content {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }

    .hero-home.hm-hero .hero-carousel .hero-text {
        padding: 24px 40px 28px 0;
    }

    .hero-home.hm-hero .hero-carousel .hero-title {
        margin-bottom: 1rem;
        font-size: clamp(2.05rem, 2.75vw, 2.6rem);
    }

    .hero-home.hm-hero .hero-carousel .hero-subtitle {
        max-width: 34em;
        font-size: 1.08rem;
    }
}

/* Notebook baixo (768px de altura): menos respiro, para os botões ficarem na primeira tela */
@media (min-width: 992px) and (max-height: 820px) {
    .hero-home.hm-hero .hero-carousel .hero-text {
        padding-top: 8px;
    }

    .hero-home.hm-hero .hero-carousel .hero-title {
        font-size: clamp(1.95rem, 2.5vw, 2.3rem);
    }

    .hero-home.hm-hero .hero-carousel .hero-subtitle {
        margin-bottom: 1.1rem;
        font-size: 1rem;
    }
}

/* ---- Celular e tablet: o produto embaixo do texto, alinhado com ele ---- */
@media (max-width: 991.98px) {
    .hero-home.hm-hero .hero-carousel .hm-hero-visual {
        justify-content: flex-start;
        padding-top: 0;
    }

    .hm-produto {
        max-width: 540px;
    }
}

@media (max-width: 575.98px) {
    .hm-oferta {
        padding: 0.8rem 0.85rem 0.9rem;
    }

    /* O que o Premium inclui já está no subtítulo: sem a linha, o botão do anual sobe para a primeira tela */
    .hm-oferta-inclui {
        display: none;
    }

    /* Preço e botão do mensal na mesma linha (em 360px cabem os dois) */
    .hm-oferta-mensal {
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .hm-oferta-preco strong {
        font-size: 1.85rem;
    }

    .hm-oferta-moeda,
    .hm-oferta-periodo {
        font-size: 0.9rem;
    }

    .hm-oferta .btn.hm-oferta-botao {
        padding: 0.65rem 0.85rem;
        font-size: 0.9rem;
    }

    .hm-oferta-anual {
        gap: 0.5rem;
        margin-top: 0.65rem;
        padding: 0.65rem 0.75rem 0.75rem;
    }

    /* O botão do anual na largura toda, embaixo do texto da faixa */
    .hm-oferta-anual .btn.hm-oferta-botao {
        width: 100%;
    }

    /* Os dois botões um embaixo do outro, na largura toda; o rótulo quebra se precisar (o .btn do layout não quebra) */
    .hero-home.hm-hero .hero-carousel .hm-hero-botoes {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-home.hm-hero .hero-carousel .hm-hero-botoes .btn {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        text-wrap: balance;
        line-height: 1.3;
    }

    .hm-hero-garantias {
        flex-direction: column;
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .hero-home.hm-hero .hero-carousel .hero-title {
        font-size: 1.75rem;
    }

    .hero-home.hm-hero .hero-carousel .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

/* ---- Faixa embaixo do hero (a barra de antes, .stats-bar do modern_layout.css): mais baixa, para o hero e a faixa
   caberem na primeira tela de um notebook ---- */
.hero-home .stats-bar {
    padding: 0.9rem 0;
}

/* ---- Blocos comuns: chamada no pé da seção ---- */
.hm-acao {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2rem;
    text-align: center;
}

/* ---- Conta grátis ---- */
.hm-gratis {
    padding: var(--spacing-3xl, 4rem) 0;
    background: var(--bg-white, #fff);
}

.hm-beneficios {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 1.25rem;
}

.hm-beneficio {
    padding: 1.4rem;
    border: 1px solid var(--border-color, #e9ecef);
    border-radius: 14px;
    background: var(--bg-light, #f8f9fa);
}

.hm-beneficio > i {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    color: var(--secondary-color, #ff7b54);
}

.hm-beneficio h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color, #1e3a5f);
}

.hm-beneficio p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-light, #6c757d);
}

/* ---- Sem cadastro (#sem-cadastro): estatísticas públicas e ferramentas grátis, perto do fim da página. A linha de cima
   separa da vitrine (também branca) quando não há cartões de resultado. ---- */
.hm-sem-cadastro {
    padding: var(--spacing-3xl, 4rem) 0;
    background: var(--bg-white, #fff);
    border-top: 1px solid var(--border-color, #e9ecef);
}

.hm-sem-cadastro .section-header {
    margin-bottom: var(--spacing-xl, 2rem);
}

/* O bloco das ferramentas (estilos .hm-ferramentas-* no modern_layout) fica logo abaixo das estatísticas públicas */
.hm-sem-cadastro .hm-ferramentas-gratis {
    margin-top: 1.5rem;
}

.hm-publicas {
    margin-top: 0;
    padding: 1.5rem;
    border: 1px solid var(--border-color, #e9ecef);
    border-radius: 14px;
    background: var(--bg-light, #f8f9fa);
}

.hm-publicas h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color, #1e3a5f);
}

.hm-publicas h3 i {
    margin-right: 6px;
    color: var(--secondary-color, #ff7b54);
}

.hm-publicas p {
    margin: 0;
    color: var(--text-light, #6c757d);
}

.hm-links-solucao {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-top: 0.75rem;
}

.hm-links-solucao a {
    font-weight: 600;
    /* Azul do site: o laranja sobre o fundo claro fica em ~2,5:1, abaixo do 4,5:1 da WCAG AA. */
    color: var(--primary-color, #1e3a5f);
    text-decoration: none;
}

.hm-links-solucao a:hover {
    text-decoration: underline;
}

/* ---- Premium: cartões de exemplo ---- */
.hm-premium {
    padding: var(--spacing-3xl, 4rem) 0;
    background: var(--bg-light, #f8f9fa);
}

.hm-premium .section-header p {
    max-width: 720px;
}

.hm-demos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1.5rem;
}

.hm-demo {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
    border: 1px solid var(--border-color, #e9ecef);
    border-radius: 16px;
    background: #fff;
}

/* O cartão de exemplo dentro do bloco: sem a sombra e a largura máxima do hero */
.hm-demo .hero-mock {
    max-width: none;
    margin: 0 0 0.5rem;
    border: 1px solid var(--border-color, #e9ecef);
    box-shadow: none;
}

.hm-demo h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color, #1e3a5f);
}

.hm-demo p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-light, #6c757d);
}

.hm-demo p a {
    font-weight: 600;
    color: var(--primary-color, #1e3a5f);
}

/* Rótulo "exemplo" no cabeçalho dos cartões ilustrativos */
.mock-head .hm-rotulo {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.7;
}

/* ---- Recursos (conteúdo de SEO, compacto) ---- */
/* Fundos alternados na ordem da home desde 21/11/2026 (home-decisoes §11): planos (branco) → recursos (cinza) → vitrine
   (branco) → resultados (cinza) → sem cadastro (branco, com a linha de cima para quando não há resultados) → como
   funciona (cinza) → perguntas e CTA final (branco, com o CTA num cartão azul ao lado). */
.modern-tools-section.hm-recursos {
    background: var(--bg-light, #f8f9fa);
}

.modern-how-it-works.hm-como {
    background: var(--bg-light, #f8f9fa);
}

.hm-recursos .tools-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 1.25rem;
}

.hm-recursos .tool-card {
    padding: 1.5rem;
}

.hm-recursos .tool-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.hm-recursos .tool-icon i {
    font-size: 1.25rem;
}

.hm-recursos .tool-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.hm-recursos .tool-card p {
    font-size: 0.95rem;
}

.hm-links-confianca {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin: 1.5rem 0 0;
    font-size: 0.92rem;
}

.hm-links-confianca a {
    font-weight: 600;
    color: var(--primary-color, #1e3a5f);
    text-decoration: none;
}

.hm-links-confianca a:hover {
    color: var(--secondary-color, #ff7b54);
}

/* ---- Aviso do prêmio estimado (cartões #loterias e CTA final) ---- */
.hm-aviso-premio {
    margin: 1.25rem 0 0;
    font-size: 0.75rem;
    line-height: 1.4;
    text-align: center;
    color: var(--text-light, #6c757d);
}

/* ---- Perguntas frequentes e CTA final (#duvidas), lado a lado desde 21/11/2026 (home-decisoes §11) ----
   O último bloco antes do rodapé, depois do como funciona (cinza). As perguntas ficam na coluna da esquerda, alinhadas
   com os outros blocos da página (antes era uma lista de 860 px no centro, que começava mais para dentro). O CTA final é
   um cartão azul à direita, preso abaixo do menu fixo enquanto a lista cresce com uma pergunta aberta. Abaixo de 992 px,
   um embaixo do outro, na mesma ordem. */
.hm-duvidas {
    padding: var(--spacing-3xl, 4rem) 0;
    background: var(--bg-white, #fff);
}

.hm-fechamento {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2.5rem;
    align-items: start;
}

.hm-duvidas .section-header {
    margin-bottom: 1.5rem;
    text-align: left;
}

.hm-duvidas .section-header p {
    margin: 0;
}

.hm-duvidas .hm-links-confianca {
    justify-content: flex-start;
}

.hm-duvidas .fe-faq details {
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color, #e6eaf0);
    border-radius: 10px;
    background: #fff;
}

.hm-duvidas .fe-faq details + details {
    margin-top: 0.6rem;
}

.hm-duvidas .fe-faq summary {
    font-weight: 700;
    cursor: pointer;
    color: var(--text-dark, #1f2d3d);
}

.hm-duvidas .fe-faq p {
    margin: 0.6rem 0 0;
    color: var(--text-light, #64748b);
}

/* ---- CTA final: cartão azul ao lado das perguntas, com a linha do próximo sorteio ----
   O fundo, a cor e o alinhamento vêm do .modern-cta-section (modern_layout.css); aqui sai o padding de faixa e entra o
   de cartão. O top do sticky deixa o cartão abaixo do menu fixo (.modern-header). */
.hm-fechamento .hm-cta-final {
    position: sticky;
    top: 100px;
    padding: 2.5rem 1.75rem;
    border-radius: 16px;
}

.hm-fechamento .hm-cta-final .cta-content h2 {
    font-size: 1.6rem;
}

.hm-cta-final .hm-proximo {
    max-width: 640px;
    margin: 1.5rem auto 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

.hm-cta-final .hm-proximo i {
    margin-right: 4px;
}

.hm-cta-final .hm-proximo a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hm-cta-final .hm-aviso-premio {
    max-width: 640px;
    margin: 0.5rem auto 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 991.98px) {
    .hm-fechamento {
        grid-template-columns: 1fr;
    }

    .hm-fechamento .hm-cta-final {
        position: static;
    }
}

@media (max-width: 480px) {
    .hm-cta-final .cta-content .btn {
        white-space: normal;
    }
}
