/**
 * cta-bleu.css — Composant CTA Bleu
 */

/* -------------------------
   Section wrapper
------------------------- */
.section-cta-bleu {
    background-color: var(--color-bg);
    padding-inline: var(--container-padding);
}

/* -------------------------
   Conteneur — carte bleue centrée
------------------------- */
.cta-bleu {
    background-color: var(--color-blue);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    max-width: 800px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    position: relative;
    overflow: hidden;
}

/* -------------------------
   Top — mobile : colonne centrée
------------------------- */
.cta-bleu__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

/* -------------------------
   Titre
------------------------- */
.cta-bleu__title {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-black);
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: var(--line-height-tight);
    text-transform: uppercase;
    color: var(--color-white);
}

/* -------------------------
   Image — main SVG
------------------------- */
.cta-bleu__image {
    width: 50%;
    margin-inline: auto;
}

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

/* -------------------------
   Bouton — pleine largeur
------------------------- */
.cta-bleu__btn {
    width: 100%;
    justify-content: center;
}

/* -------------------------
   Sous-texte
------------------------- */
.cta-bleu__desc {
    font-family: var(--font-secondary);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-2xl);
    line-height: var(--line-height-normal);
    color: var(--color-white);
    text-align: center;
}

.cta-bleu__desc a,
.cta-bleu__desc strong {
    color: var(--color-lime);
    font-weight: var(--font-weight-bold);
}

/* -------------------------
   Tablette 768px — row : titre + image côte à côte
------------------------- */
@media (min-width: 768px) {
    .cta-bleu__top {
        position: relative;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        text-align: left;
        gap: 0;
    }

    .cta-bleu__title {
        font-size: clamp(5rem, 6vw, 7rem);
        max-width: 55%;
        z-index: var(--z-base);
    }

    .cta-bleu__image {
        position: absolute;
        right: calc(-1 * var(--space-lg));
        top: calc(-1 * var(--space-lg));
        width: 40%;
        margin: 0;
    }

    .cta-bleu__desc {
        text-align: left;
    }
}

/* -------------------------
   Desktop 1024px
------------------------- */
@media (min-width: 1024px) {

    .cta-bleu__image {
        position: absolute;
        right: calc(-1 * var(--space-lg));
        top: calc(-1 * var(--space-lg));
        width: 55%;
        margin: 0;
    }
}

