/* =========================================================
   BLOG / INSIGHTS
   ========================================================= */

   .home-blog{
    position: relative;
    overflow: hidden;

    padding: 104px 0 110px;

    background:
        radial-gradient(
            circle at 82% 22%,
            rgba(113,74,210,.13),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #f1edf9 0%,
            #ece7f7 100%
        );

    border-top: 1px solid rgba(89,50,193,.07);
    border-bottom: 1px solid rgba(89,50,193,.07);
}


/* =========================================================
   HEADING
   Mesmo ritmo visual da Eleva IA
   ========================================================= */

.home-blog .section-heading{
    max-width: 760px;
    margin: 0;
}


/* kicker mantém identidade global */

.home-blog .section-kicker{
    margin: 0;
}


/* título */

.home-blog .section-heading h2{
    max-width: 760px;

    margin: 22px 0 0;

    font-family:
        "Plus Jakarta Sans",
        "Space Grotesk",
        Nunito,
        sans-serif;

    font-size: clamp(30px, 3.4vw, 46px);

    font-weight: 500;

    line-height: 1.22;

    letter-spacing: -.02em;

    text-wrap: pretty;

    color: var(--purple-dark);
}


/* destaque roxo */

.home-blog .section-heading h2 em{
    display: block;

    font: inherit;

    font-weight: 700;
    font-style: normal;

    color: var(--purple);
}


/* descrição */

.home-blog .section-heading > p{
    max-width: 720px;

    margin: 28px 0 0;

    color: #756f84;

    font-size: 18px;

    line-height: 1.7;
}


/* =========================================================
   GRID
   ========================================================= */

.home-blog-grid{
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;

    margin-top: 54px;
}


/* =========================================================
   CARDS
   ========================================================= */

.home-blog-card{
    overflow: hidden;

    display: grid;

    grid-template-columns:
        minmax(210px,.82fr)
        minmax(0,1.18fr);

    min-height: 310px;

    background: rgba(255,255,255,.94);

    border: 1px solid rgba(89,50,193,.10);

    border-radius: 26px;

    box-shadow:
        0 14px 38px rgba(45,25,85,.055);

    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}


.home-blog-card:hover{
    transform: translateY(-4px);

    border-color:
        rgba(89,50,193,.22);

    box-shadow:
        0 20px 46px rgba(45,25,85,.09);
}


/* =========================================================
   IMAGEM
   ========================================================= */

.home-blog-card__media{
    display: block;

    min-height: 100%;

    overflow: hidden;

    background: #e6e0f2;
}


.home-blog-card__media img{
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;
}


.home-blog-card:hover
.home-blog-card__media img{
    transform: scale(1.035);
}


/* =========================================================
   CONTEÚDO DO CARD
   ========================================================= */

.home-blog-card__body{
    display: flex;
    flex-direction: column;

    padding: 28px;
}


.home-blog-card__meta{
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 18px;

    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
}


.home-blog-card__meta span{
    display: inline-flex;

    padding: 6px 10px;

    color: #5932c1;

    background:
        rgba(89,50,193,.08);

    border-radius: 999px;

    text-transform: uppercase;

    letter-spacing: .035em;
}


.home-blog-card__meta time{
    color: #938c9e;
}


.home-blog-card__body h3{
    margin: 0 0 14px;

    color: #17121f;

    font-size: 20px;

    line-height: 1.25;

    font-weight: 800;

    letter-spacing: -.025em;
}


.home-blog-card__body h3 a{
    color: inherit;

    text-decoration: none;
}


.home-blog-card__body > p{
    margin: 0;

    color: #716a7a;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   LER ARTIGO
   ========================================================= */

.home-blog-card__link{
    display: inline-flex;
    align-items: center;

    gap: 7px;

    align-self: flex-start;

    margin-top: auto;

    padding-top: 24px;

    color: #5932c1;

    text-decoration: none;

    font-size: 13px;

    font-weight: 800;
}


.home-blog-card__link i{
    transition: transform .2s ease;
}


.home-blog-card__link:hover i{
    transform: translateX(4px);
}


/* =========================================================
   CTA FINAL
   ========================================================= */

.home-blog-footer{
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;

    margin-top: 28px;

    padding: 22px 26px;

    background: rgba(255,255,255,.62);

    border:
        1px solid
        rgba(89,50,193,.09);

    border-radius: 22px;
}


.home-blog-footer__copy{
    display: flex;
    flex-direction: column;

    gap: 4px;
}


.home-blog-footer__copy strong{
    color: #20182c;

    font-size: 16px;

    font-weight: 800;
}


.home-blog-footer__copy span{
    color: #777080;

    font-size: 13px;
}


//* =========================================================
   CTA BLOG - MESMA ALTURA DO BOTÃO PRINCIPAL
   ========================================================= */

.home-blog .home-blog-footer .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    min-height: 64px !important;
    height: 64px;

    padding: 0 30px !important;

    border-radius: 999px;

    font-size: 16px !important;
    font-weight: 800;

    white-space: nowrap;
}

.home-blog .home-blog-footer .button > span {
    margin-left: 10px;
}


/* MOBILE */
@media (max-width: 700px) {

    .home-blog .home-blog-footer .button {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;

        min-height: 64px !important;
        height: 64px;

        padding: 0 28px !important;

        font-size: 16px !important;
    }

}


/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 1050px){

    .home-blog-grid{
        grid-template-columns: 1fr;
    }

}


@media (max-width: 980px){

    .home-blog{
        padding: 84px 0 90px;
    }

    .home-blog .section-heading{
        max-width: 700px;
    }

    .home-blog .section-heading h2{
        max-width: 100%;
        font-size: clamp(30px,3.4vw,46px);
    }

    .home-blog .section-heading > p{
        max-width: 100%;
        font-size: 17px;
    }

}


@media (max-width: 700px){

    .home-blog{
        padding: 68px 0 74px;
    }

    .home-blog .section-heading{
        text-align: center;
    }

    .home-blog .section-heading h2{
        max-width: 390px;

        margin: 18px auto 0;

        font-size:
            clamp(27px,7.5vw,32px);

        line-height: 1.1;
    }

    .home-blog .section-heading h2 em{
        display: inline;
    }

    .home-blog .section-heading > p{
        margin: 22px auto 0;

        font-size: 15px;

        line-height: 1.65;
    }


    .home-blog-grid{
        margin-top: 38px;
    }


    .home-blog-card{
        grid-template-columns: 1fr;
    }


    .home-blog-card__media{
        min-height: auto;

        aspect-ratio: 16 / 9;
    }


    .home-blog-card__body{
        padding: 22px;
    }


    .home-blog-footer{
        flex-direction: column;

        align-items: flex-start;
    }


    .home-blog-footer .button{
        width: auto;

        min-height: 48px;

        padding: 0 22px;
    }

}