/* =========================
   CTA BLOCK
========================= */

.block-cta {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

/* =========================
   CONTAINER (GLASS)
========================= */

.cta-container {
    grid-column: 4 / span 6;
    max-width:800px;

    text-align: center;
    max-height: 238px;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    border-radius: 20px;
    padding: 30px 104px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    position: relative;
    z-index: 2;
}

/* =========================
   VAGUE SVG (EN DESSOUS)
========================= */

.cta-wave {
    position: absolute;

    bottom: 40%;
    left: 50%;
    transform: translateX(-50%);

    width: 90%;
    max-width: 800px;

    pointer-events: none;

    z-index: 1;

    filter: blur(40px);
    opacity: 0.8;
}

.cta-wave img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================
   TITLE
========================= */

.cta-title {
    font-family: 'Coolvetica', sans-serif;
    font-size: 42px;
    letter-spacing: 1px;

    color: white;
    margin-bottom: 15px;
}

/* =========================
   TEXT
========================= */

.cta-text {
    font-family: 'Archivo-Thin', sans-serif;
    font-size: 16px;

    color: white;


    margin-bottom: 30px;
}

/* =========================
   BUTTON
========================= */

.cta-button {
    display: inline-flex;
    align-items: center;

    padding: 12px 25px 12px 40px;
    border-radius: 999px;

    text-decoration: none;
    color: white;

    font-family: 'Coolvetica', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;

    background: linear-gradient(90deg, #FA6D6D, #FF0202);

    position: relative;
    overflow: hidden;

    transition: transform 0.3s ease;
}

/* CERCLE */
.cta-button::before {
    content: "";
    position: absolute;

    left: 18px;
    top: 50%;
    transform: translateY(-50%);

    width: 6px;
    height: 6px;

    background: white;
    border-radius: 50%;

    outline: 1.5px solid rgba(255, 255, 255, 0.6);
    outline-offset: 3px;
}

/* SHINE */
.cta-button::after {
    content: "";
    position: absolute;

    top: 0;
    left: -100%;

    width: 100%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.2),
        transparent
    );

    transition: 0.5s;
}

.cta-button:hover::after {
    left: 100%;
}

.cta-title-alt {
    font-family: 'Braven', sans-serif;
}


/* =========================================
RESPONSIVE CTA
========================================= */

/* ultra wide */
@media (min-width: 1600px) {
    .cta-container {
        grid-column: 4 / span 6;
        max-width: 1000px;
        padding: 50px 140px;
        max-height: none;
        border-radius: 28px;
    }

    .cta-title {
        font-size: clamp(56px, 4vw, 82px);
        margin-bottom: 20px;
    }

    .cta-text {
        font-size: 18px;
        margin-bottom: 35px;
    }

    .cta-wave {
        width: 100%;
        max-width: 1000px;
        filter: blur(60px);
    }
}

/* laptop */
@media (max-width: 1280px) {
    .cta-container {
        grid-column: 3 / span 8;
        max-width: 900px;
        padding: 35px 70px;
    }

    .cta-title {
        font-size: clamp(34px, 3vw, 40px);
    }
}

/* tablette */
@media (max-width: 1024px) {
    .block-cta {
        display: block;
        padding: 0 30px;
    }

    .cta-container {
        max-width: 100%;
        padding: 35px 40px;
        max-height: none;
    }

    .cta-title {
        font-size: clamp(28px, 5vw, 38px);
        line-height: 1;
    }

    .cta-text {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .cta-wave {
        width: 100%;
        bottom: 35%;
    }
}

/* mobile */
@media (max-width: 768px) {
    .block-cta {
        padding: 0 20px;
    }

    .cta-container {
        padding: 28px 24px;
        border-radius: 18px;
    }

    .cta-title {
        font-size: clamp(24px, 8vw, 34px);
        line-height: 0.95;
        margin-bottom: 14px;
    }

    .cta-text {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .cta-button {
        font-size: 13px;
        padding: 12px 20px 12px 34px;
    }

    .cta-button::before {
        left: 16px;
    }

    .cta-wave {
        width: 90%;
        bottom: 30%;
        filter: blur(30px);
    }
}

/* petit téléphone */
@media (max-width: 480px) {
    .block-cta {
        padding: 0 16px;
    }

    .cta-container {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .cta-title {
        font-size: clamp(20px, 9vw, 28px);
    }

    .cta-text {
        font-size: 13px;
        margin-bottom: 18px;
    }

   .cta-button {
    width: auto;
    justify-content: center;
    padding: 14px 24px 14px 42px;
}

    .cta-button::before {
        left: 20px;
    }

    .cta-wave {
        width: 120%;
        bottom: 28%;
    }
}