/* =========================================================
   ELEVA IA
   ========================================================= */

.ai-section{
    position: relative;
    overflow: hidden;
    padding: 104px 0 110px;
    background:
        radial-gradient(
            circle at 78% 30%,
            rgba(137,103,219,.10),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fcfbff 100%
        );
}

/* Transição suave entre Eleva IA e a seção de Segurança. */
.ai-section::after{
    content:"";
    position:absolute;
    z-index:0;
    right:0;
    bottom:0;
    left:0;
    height:clamp(140px,14vw,220px);
    pointer-events:none;
    background:linear-gradient(
        180deg,
        rgba(252,251,255,0) 0%,
        rgba(248,245,255,.28) 55%,
        #fff 100%
    );
}

.ai-shell{
    position: relative;
    z-index: 1;
    display: grid;
    gap: 38px;
}

/* =========================================================
   TOPO
   ========================================================= */

.ai-top{
    display: grid;
    grid-template-columns: minmax(320px, .76fr) minmax(0, 1.24fr);
    align-items: center;
    gap: 42px;
}

/* =========================================================
   TEXTO
   ========================================================= */

.ai-copy{
    min-width: 0;
    max-width: 560px;
}

.ai-copy h2{
    max-width: 560px;
    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);
}

.ai-copy h2 em{
    display: block;
    font: inherit;
    font-weight: 700;
    font-style: normal;
    color: var(--purple);
}

.ai-copy > p{
    max-width: 560px;
    margin: 28px 0 0;
    color: #756f84;
    font-size: 18px;
    line-height: 1.7;
}

/* =========================================================
   VISUAL
   ========================================================= */

.ai-visual{
    min-width: 0;
    position: relative;
}

.ai-visual::before{
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 92%;
    height: 88%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(126,80,218,.16),
            rgba(126,80,218,.06) 55%,
            transparent 76%
        );
    filter: blur(28px);
}

.ai-visual-frame{
    width: 100%;
    max-width: 920px;
    margin-left: auto;
    overflow: hidden;
    border: 1px solid rgba(89,50,193,.10);
    border-radius: 30px;
    background: linear-gradient(145deg, #fcfaff, #f8f4ff);
    box-shadow:
        0 30px 70px rgba(57,28,119,.11),
        0 10px 24px rgba(89,50,193,.05);
}

.ai-visual-frame img{
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================================
   BASE
   ========================================================= */

.ai-bottom{
    padding: 26px 30px;
    border: 1px solid rgba(89,50,193,.08);
    border-radius: 28px;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.96),
            rgba(250,247,255,.96)
        );
    box-shadow: 0 18px 44px rgba(89,50,193,.06);
}

.ai-bottom-content{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px 34px;
    align-items: center;
}

/* =========================================================
   FEATURES
   ========================================================= */

.ai-features{
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 16px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ai-features li{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #302b45;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 650;
}

.ai-features li::before{
    display: none;
    content: none;
}

.ai-features i{
    flex: 0 0 auto;
    margin-top: 2px;
    font-size: 20px;
    line-height: 1;
    color: #5d37c8;
}

/* =========================================================
   AÇÕES
   ========================================================= */

.ai-actions{
    display: grid;
    justify-items: end;
    gap: 18px;
}

.ai-highlight{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(89,50,193,.12);
    background: rgba(89,50,193,.055);
    color: #5d37c8;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.ai-highlight i{
    font-size: 17px;
}

.ai-cta-group{
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ai-copy .text-link,
.ai-bottom .text-link{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #5d37c8;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    transition: gap .25s ease, color .25s ease;
}

.ai-copy .text-link:hover,
.ai-bottom .text-link:hover{
    gap: 16px;
    color: #8c6dde;
}

.ai-secondary-link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(89,50,193,.14);
    border-radius: 999px;
    background: #fff;
    color: #352d55;
    font-size: 15px;
    font-weight: 750;
    text-decoration: none;
    transition:
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.ai-secondary-link:hover{
    transform: translateY(-1px);
    border-color: rgba(89,50,193,.24);
    box-shadow: 0 12px 22px rgba(89,50,193,.08);
}

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

@media (max-width: 1180px){

    .ai-top{
        grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr);
        gap: 32px;
    }

    .ai-bottom-content{
        grid-template-columns: 1fr;
        align-items: start;
    }

    .ai-actions{
        justify-items: start;
    }

    .ai-cta-group{
        justify-content: flex-start;
    }
}

@media (max-width: 980px){

    .ai-section{
        padding: 84px 0 90px;
    }

    .ai-top{
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .ai-copy{
        max-width: 700px;
    }

    .ai-copy h2{
        max-width: 100%;
        font-size: clamp(30px, 3.4vw, 46px);
    }

    .ai-copy > p{
        max-width: 100%;
        font-size: 17px;
    }

    .ai-visual-frame{
        max-width: 100%;
        border-radius: 24px;
    }

    .ai-features{
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px){

    .ai-section{
        padding: 68px 0 74px;
    }

    .ai-shell{
        gap: 28px;
    }

    .ai-copy{
        text-align: center;
    }

    .ai-copy h2{
        max-width: 360px;
        margin-top: 18px;
        margin-right: auto;
        margin-left: auto;
        font-size: clamp(27px, 7.5vw, 32px);
        line-height: 1.1;
    }

    .ai-copy h2 em{
        display: inline;
    }

    .ai-copy > p{
        margin: 22px auto 0;
        font-size: 15px;
        line-height: 1.65;
    }

    .ai-visual-frame{
        border-radius: 20px;
    }

    .ai-bottom{
        padding: 22px 18px;
        border-radius: 22px;
    }

    .ai-features{
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ai-features li{
        font-size: 15px;
    }

    .ai-actions{
        justify-items: stretch;
    }

    .ai-highlight{
        width: 100%;
        justify-content: center;
        text-align: center;
        white-space: normal;
        line-height: 1.4;
    }

    .ai-cta-group{
        flex-direction: column;
        align-items: stretch;
        justify-content: stretch;
    }

    .ai-copy .text-link,
    .ai-bottom .text-link,
    .ai-secondary-link{
        justify-content: center;
        width: 100%;
    }
}
