/* =========================================
   ADAPTACCESSOIRES — CTA
   ========================================= */

.aa-cta {
    position: relative;

    overflow: hidden;

    padding: 120px 20px;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(255, 255, 255, 0.09),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(255, 105, 0, 0.14),
            transparent 32%
        ),
        radial-gradient(
            circle at 50% 50%,
            rgba(37, 150, 190, 0.08),
            transparent 45%
        ),
        var(--aa-primary);

    color: var(--aa-white);

    text-align: center;

    isolation: isolate;
}


/* =========================================
   CONTENT
   ========================================= */

.aa-cta__content {
    position: relative;

    z-index: 3;

    max-width: 850px;

    margin-inline: auto;
}


/* =========================================
   EYEBROW
   ========================================= */

.aa-cta__eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 22px;

    color: var(--aa-white);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    opacity: 0.9;
}


.aa-cta__eyebrow::before,
.aa-cta__eyebrow::after {
    content: "✦";

    color: var(--aa-secondary);

    font-size: 14px;
}


/* =========================================
   TITLE
   ========================================= */

.aa-cta__title {
    margin: 0 0 25px;

    color: var(--aa-white);

    font-family: var(--aa-font-heading);

    font-size: clamp(
        42px,
        6vw,
        72px
    );

    font-weight: 700;

    line-height: 1.04;

    letter-spacing: -0.03em;
}


.aa-cta__title span {
    color: var(--aa-secondary);
}


/* =========================================
   DESCRIPTION
   ========================================= */

.aa-cta__description {
    max-width: 680px;

    margin: 0 auto 36px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================
   BUTTON
   ========================================= */

.aa-cta__button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-height: 56px;

    padding: 0 30px;

    border: 2px solid var(--aa-secondary);

    border-radius: var(--aa-radius-pill);

    background: var(--aa-secondary);

    color: var(--aa-white);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.06em;

    text-decoration: none;

    text-transform: uppercase;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.14);

    transition:
        transform var(--aa-transition),
        background-color var(--aa-transition),
        color var(--aa-transition),
        border-color var(--aa-transition),
        box-shadow var(--aa-transition);
}


.aa-cta__button span {
    font-size: 20px;

    line-height: 1;

    transition:
        transform var(--aa-transition);
}


.aa-cta__button:hover {
    background: var(--aa-white);

    border-color: var(--aa-white);

    color: var(--aa-primary);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.18);

    transform: translateY(-4px);
}


.aa-cta__button:hover span {
    transform: translateX(5px);
}


/* =========================================
   FOCUS ACCESSIBLE
   ========================================= */

.aa-cta__button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.65);

    outline-offset: 5px;
}


/* =========================================
   DECORATIVE SHAPES
   ========================================= */

.aa-cta__shape {
    position: absolute;

    z-index: 1;

    border: 1px solid rgba(255, 255, 255, 0.14);

    border-radius: 50%;

    pointer-events: none;
}


.aa-cta__shape--one {
    top: -230px;
    left: -180px;

    width: 560px;
    height: 560px;

    border-color: rgba(37, 150, 190, 0.22);

    box-shadow:
        inset 0 0 0 35px rgba(37, 150, 190, 0.035);
}


.aa-cta__shape--two {
    right: -260px;
    bottom: -310px;

    width: 670px;
    height: 670px;

    border-color: rgba(255, 105, 0, 0.30);

    box-shadow:
        inset 0 0 0 35px rgba(255, 105, 0, 0.035);
}


/* =========================================
   ADDITIONAL DECORATIVE GLOW
   ========================================= */

.aa-cta::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 420px;
    height: 420px;

    transform: translate(-50%, -50%);

    border: 1px solid rgba(255, 255, 255, 0.07);

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================
   BLUE ACCENT
   ========================================= */

.aa-cta::after {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 120px;
    height: 3px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            var(--aa-secondary),
            var(--aa-accent),
            var(--aa-secondary)
        );

    border-radius: var(--aa-radius-pill);

    opacity: 0.95;

    pointer-events: none;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1024px) {

    .aa-cta {
        padding: 95px 20px;
    }


    .aa-cta__shape--one {
        width: 450px;
        height: 450px;
    }


    .aa-cta__shape--two {
        width: 520px;
        height: 520px;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .aa-cta {
        padding: 78px 18px;
    }


    .aa-cta__title {
        font-size: 40px;

        line-height: 1.08;
    }


    .aa-cta__description {
        font-size: 15px;

        line-height: 1.7;
    }


    .aa-cta__button {
        width: 100%;

        max-width: 300px;

        min-height: 54px;
    }


    .aa-cta__shape--one {
        top: -130px;
        left: -180px;

        width: 350px;
        height: 350px;
    }


    .aa-cta__shape--two {
        right: -180px;
        bottom: -180px;

        width: 380px;
        height: 380px;
    }


    .aa-cta::before {
        width: 280px;
        height: 280px;
    }


    .aa-cta::after {
        width: 90px;
    }

}


/* =========================================
   REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {

    .aa-cta *,
    .aa-cta::before,
    .aa-cta::after {
        transition: none;
        animation: none;
    }

}
