/* ============================================================================
   MODULE PROCESS [ft-process] - CSS PURE ET SCOPÉ
   ============================================================================ */

#ft-process {
    padding: 7rem 4rem;
    background: #f7f4ef; /* Var: cream */
    font-family: 'DM Sans', system-ui, sans-serif;
}

#ft-process .process-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* En-tête de la section */
#ft-process .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 0;
}

#ft-process .section-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b85c38; /* Var: terracotta */
    margin-bottom: 0.75rem;
    display: block;
}

#ft-process .section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #0f0f0e; /* Var: ink */
}

#ft-process .section-desc {
    max-width: 340px;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #7a7672; /* Var: ash */
    text-align: right;
}

/* Grille des étapes */
#ft-process .process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 4rem;
    border: 1px solid #e4e0d8; /* Var: light-rule */
    position: relative;
    background: #f7f4ef; /* Var: cream */
}

#ft-process .process-step {
    padding: 2.5rem 2rem;
    border-right: 1px solid #e4e0d8;
    position: relative;
}

#ft-process .process-step:last-child { 
    border-right: none; 
}

#ft-process .step-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(15,15,14,0.07); /* Numéro en filigrane */
    line-height: 1;
    margin-bottom: 1rem;
}

#ft-process .step-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f0f0e; /* Var: ink */
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

#ft-process .step-desc {
    font-size: 0.85rem;
    color: #7a7672; /* Var: ash */
    line-height: 1.7;
}

/* Petite flèche orange entre les colonnes */
#ft-process .step-arrow {
    position: absolute;
    top: 2.5rem;
    right: -0.6rem;
    color: #b85c38; /* Var: terracotta */
    font-size: 1.2rem;
    z-index: 2;
    background: #f7f4ef; /* Var: cream (pour masquer la bordure sous la flèche) */
    line-height: 1;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 900px) {
    #ft-process { 
        padding: 4rem 1.5rem; 
    }
    #ft-process .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    #ft-process .section-desc {
        text-align: left;
    }
    /* Sur tablette/mobile, on passe à 2 colonnes puis 1 colonne */
    #ft-process .process-steps { 
        grid-template-columns: 1fr 1fr; 
    }
    #ft-process .process-step {
        border-bottom: 1px solid #e4e0d8;
    }
    #ft-process .process-step:nth-child(2) {
        border-right: none;
    }
    #ft-process .process-step:last-child,
    #ft-process .process-step:nth-last-child(2) {
        border-bottom: none;
    }
    /* On masque les petites flèches sur mobile pour éviter les chevauchements bizarres */
    #ft-process .step-arrow {
        display: none;
    }
}

@media (max-width: 600px) {
    #ft-process .process-steps { 
        grid-template-columns: 1fr; 
    }
    #ft-process .process-step {
        border-right: none;
        border-bottom: 1px solid #e4e0d8;
    }
    #ft-process .process-step:last-child {
        border-bottom: none;
    }
}