/**
 * cta-flash.css — Composant CTA Flash
 */

/* -------------------------
   Section wrapper (front-page flexible content)
------------------------- */
.section-cta-flash {
    background-color: var(--color-bg);
    padding-block: var(--section-padding-y);
    text-align: center;
}

/* -------------------------
   Conteneur — bloc gris centré
------------------------- */
.cta-flash {
    background-color: var(--color-gray-light);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-width: 800px;
    margin-inline: auto;
    border-radius: var(--radius-md);
}

/* -------------------------
   Titre — pleine largeur
------------------------- */
.cta-flash__title {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-5xl);
    line-height: var(--line-height-snug);
    color: var(--color-black);
    margin: 0;
}

.cta-flash__highlight {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-black);
    font-size: var(--font-size-10xl);
    line-height: var(--line-height-tight);
    background-color: var(--color-lime);
    padding-inline: 0.1em;
    color: var(--color-black);
}

/* -------------------------
   Bottom — highlight + bouton en row
------------------------- */
.cta-flash__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

/* -------------------------
   Bouton
------------------------- */
.cta-flash__btn {
    flex-shrink: 0;
}

/* -------------------------
   Sous-texte
------------------------- */
.cta-flash__desc {
    font-family: var(--font-secondary);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-2xl);
    color: var(--color-black);
    margin-top: 10px;
    margin-bottom: 0;
}

/* -------------------------
   Tablette 768px
------------------------- */
@media (min-width: 768px) {
    .cta-flash__bottom {
        flex-direction: row;
    }

    .cta-flash {
        padding: var(--space-sm);
        text-align: start;
    }
}