/** BLOC 10 — Texte + Étapes numérotées (Figma node 1470:4823) */
.section-text-steps__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    align-items: center;
}
@media (max-width: 1024px) { .section-text-steps__container { grid-template-columns: 1fr; gap: var(--space-4); } }

/* ===== Colonne gauche (titre + desc + CTA) ===== */
.section-text-steps__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: flex-start;
}

.section-text-steps__title {
    font-size: clamp(1.75rem, 2.8vw, 2.3125rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin: 0;
    color: inherit;
}
.section-text-steps__title .accent,
.section-text-steps__title .green-text { color: var(--color-accent); }

/* Description 16px noir (Figma exact) */
.section-text-steps__description {
    font-size: var(--font-size-body);
    line-height: var(--line-height-base);
    margin: 0;
    color: inherit;
}
.section-text-steps__description :first-child { margin-top: 0; }
.section-text-steps__description :last-child { margin-bottom: 0; }

/* CTA : pill bleu h=42, icône + blanc + texte 16px bold uppercase */
.section-text-steps__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 24px;
    height: 42px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-pill);
    font-size: var(--font-size-body);
    text-transform: uppercase;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background-color var(--transition-base);
}
.section-text-steps__cta:hover { background-color: var(--color-primary-dark); color: var(--color-white); }
.section-text-steps__cta svg { flex-shrink: 0; }

.section--bg-blue .section-text-steps__cta {
    background-color: var(--color-white);
    color: var(--color-primary);
}
.section--bg-blue .section-text-steps__cta:hover {
    background-color: var(--color-grey-100);
    color: var(--color-primary-dark);
}

/* ===== Colonne droite (steps) ===== */
.section-text-steps__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

/* Step wrapper : le cercle chevauche la card (margin-right négatif sur cercle, pl élargi sur card) */
.section-text-steps__step {
    display: flex;
    align-items: center;
    position: relative;
}

/* Cercle numéro : 76×76, bleu pâle, numéro 51px extra-bold bleu primary, chevauche la card de 26px */
.section-text-steps__step-number {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #eceffa;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 51px;
    font-weight: 800;
    line-height: 1;
    margin-right: -26px;
    position: relative;
    z-index: 2;
}

/* Card body : fond bleu pâle #D5D7EE, radius 16px, padding gauche élargi pour le cercle */
.section-text-steps__step-body {
    flex: 1 1 0;
    min-width: 0;
    background-color: #d5d7ee;
    color: var(--color-primary);
    padding: 16px 26px 16px 40px;
    border-radius: var(--radius-md);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

/* Header : badge blanc + subtitle inline, sur la même ligne */
.section-text-steps__step-head {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Label étape : badge blanc (padding 8/2), texte vert 18px bold — Figma exact */
.section-text-steps__step-label {
    background-color: var(--color-white);
    color: var(--color-accent);
    padding: 2px 8px;
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    white-space: nowrap;
}

/* Sous-titre inline : bleu primary 12px semibold */
.section-text-steps__step-sub {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
}

/* Badge durée flottant : absolute top-right, fond blanc, texte vert 11px semibold, shadow */
.section-text-steps__step-duration {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: var(--color-white);
    color: var(--color-accent); /* badge repositionné dans la carte (2026-07-21) */
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    box-shadow: 0 0 27.2px 0 rgba(0, 0, 0, 0.08);
    z-index: 3;
    white-space: nowrap;
}

/* Items : pas de bullets, 14px bleu primary, premier mot via <strong> bold */
.section-text-steps__step-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.section-text-steps__step-items li {
    font-size: 14px;
    line-height: 1.3;
    color: var(--color-primary);
    font-weight: var(--font-weight-regular);
}
.section-text-steps__step-items strong {
    font-weight: var(--font-weight-bold);
}

/* Sur fond bleu : inverser (cercle blanc/bleu, card plus claire, etc.) */
.section--bg-blue .section-text-steps__step-number {
    background-color: var(--color-white);
    color: var(--color-primary);
}
.section--bg-blue .section-text-steps__step-body {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}
.section--bg-blue .section-text-steps__step-sub { color: var(--color-white); }
.section--bg-blue .section-text-steps__step-items li { color: var(--color-white); }

/* Responsive : step passe en colonne (cercle au-dessus) */
@media (max-width: 640px) {
    .section-text-steps__step { flex-direction: column; align-items: stretch; }
    .section-text-steps__step-number { margin: 0 0 -26px; align-self: center; }
    .section-text-steps__step-body { padding: 40px 16px 16px; }
    .section-text-steps__step-duration { top: 8px; right: 8px; }
}
