/* =========================================================
   APPEL À L'ACTION — PAGE D'ACCUEIL
   ========================================================= */

.home-v2-cta {
    position: relative;
    padding: 72px 20px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(0, 107, 63, 0.11),
            transparent 34%
        ),
        radial-gradient(
            circle at 92% 85%,
            rgba(151, 18, 37, 0.10),
            transparent 32%
        ),
        #f6f9f7;
}

.home-v2-cta::before {
    content: "";
    position: absolute;
    top: -110px;
    right: -90px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(0, 107, 63, 0.10);
    border-radius: 50%;
}

.home-v2-cta::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(0, 107, 63, 0.035);
}

.home-v2-container {
    position: relative;
    z-index: 2;
    width: min(1180px, 100%);
    margin-inline: auto;
}

.home-v2-cta__box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 52px 58px;
    overflow: hidden;
    color: #ffffff;
    border-radius: 24px;
    background:
        linear-gradient(
            120deg,
            rgba(0, 89, 53, 0.98),
            rgba(0, 119, 71, 0.94)
        );
    box-shadow:
        0 24px 60px rgba(0, 76, 45, 0.20),
        0 8px 20px rgba(0, 0, 0, 0.08);
}

.home-v2-cta__box::before {
    content: "";
    position: absolute;
    top: -115px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.home-v2-cta__box::after {
    content: "";
    position: absolute;
    right: 190px;
    bottom: -150px;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    border: 46px solid rgba(255, 255, 255, 0.045);
}

.home-v2-cta__box > div,
.home-v2-cta__box > a {
    position: relative;
    z-index: 2;
}

.home-v2-cta__box > div {
    max-width: 760px;
}

.home-v2-kicker--light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.home-v2-kicker--light::before {
    content: "";
    display: block;
    width: 38px;
    height: 3px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #f2c94c;
}

.home-v2-cta__box h2 {
    max-width: 720px;
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.025em;
}

.home-v2-cta__box p {
    max-width: 670px;
    margin: 0;
    color: rgba(255, 255, 255, 0.83);
    font-size: 1rem;
    line-height: 1.75;
}

.home-v2-btn--light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 54px;
    padding: 14px 24px;
    flex: 0 0 auto;
    color: #006b3f;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    border: 2px solid #ffffff;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.home-v2-btn--light:hover {
    color: #ffffff;
    background: transparent;
    transform: translateY(-3px);
    box-shadow: 0 15px 34px rgba(0, 0, 0, 0.20);
}

.home-v2-btn--light:focus-visible {
    outline: 3px solid rgba(242, 201, 76, 0.95);
    outline-offset: 4px;
}

/* Animation avec data-reveal */

.home-v2-cta [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.home-v2-cta [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tablettes */

@media (max-width: 900px) {
    .home-v2-cta {
        padding: 58px 20px;
    }

    .home-v2-cta__box {
        align-items: flex-start;
        flex-direction: column;
        gap: 30px;
        padding: 44px 38px;
    }

    .home-v2-btn--light {
        min-width: 0;
    }
}

/* Mobiles */

@media (max-width: 576px) {
    .home-v2-cta {
        padding: 42px 16px;
    }

    .home-v2-cta__box {
        gap: 26px;
        padding: 34px 24px;
        border-radius: 18px;
    }

    .home-v2-kicker--light {
        font-size: 0.7rem;
        letter-spacing: 0.08em;
    }

    .home-v2-cta__box h2 {
        font-size: 1.7rem;
        line-height: 1.22;
    }

    .home-v2-cta__box p {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .home-v2-btn--light {
        width: 100%;
        min-height: 52px;
    }
}

/* Accessibilité */

@media (prefers-reduced-motion: reduce) {
    .home-v2-cta [data-reveal],
    .home-v2-btn--light {
        opacity: 1;
        transform: none;
        transition: none;
    }
}