/**
 * LD Solutions - Section Notre Approche
 * Méthodologie en 6 étapes - Version compacte
 *
 * @package ldsolutions
 * @version 3.0.0
 */

/* ============================================================
   VARIABLES
   ============================================================ */

.lds-approche {
    --app-blue: var(--lds-blue, #125AF8);
    --app-navy: var(--lds-white, #ffffff);
    --app-dark: var(--lds-black, #151E28);
    --app-cta: var(--lds-cta, #B82A14);
    --app-text: var(--lds-black, #151E28);
    --app-text-muted: rgba(21, 30, 40, 0.6);
    --app-ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ============================================================
   SECTION
   ============================================================ */

.lds-approche {
    position: relative;
    background: linear-gradient(160deg, var(--lds-platinium, #EBEBEB) 0%, #e2e4e8 100%);
    padding: 80px 2rem;
    margin: 80px 0;
    overflow: hidden;
}

.lds-approche__container {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
}

/* ============================================================
   HEADER
   ============================================================ */

.lds-approche__header {
    margin-bottom: 60px;
    max-width: 600px;
}

.lds-approche__title {
    font-family: 'Chillax', Arial, sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--app-text);
    margin: 0 0 0.75rem;
}

.lds-approche__subtitle {
    font-family: Arial, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--app-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ============================================================
   FRISE DES ÉTAPES
   ============================================================ */

.lds-approche__steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    position: relative;
}

/* Ligne de connexion */
.lds-approche__line {
    position: absolute;
    top: 22px;
    left: calc(100% / 12);
    right: calc(100% / 12);
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

.lds-approche__line-progress {
    height: 100%;
    width: 0%;
    background: var(--app-blue);
    box-shadow: 0 0 10px rgba(18, 90, 248, 0.6), 0 0 20px rgba(18, 90, 248, 0.3);
    transition: width 0.05s linear;
}

.lds-approche__step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    --fill: 0;
}

.lds-approche__step-num {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    background: var(--lds-white, #ffffff);
}

.lds-approche__step-num-bg {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(0, 0, 0, 0.15);
    transition: all 0.4s var(--app-ease);
}

.lds-approche__step-num-bg::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--app-blue);
    transform: scale(var(--fill));
    opacity: var(--fill);
    transition: transform 0.4s var(--app-ease), opacity 0.3s ease;
    box-shadow: 0 4px 20px rgba(18, 90, 248, 0.5);
}

.lds-approche__step.is-active .lds-approche__step-num-bg {
    border-color: var(--app-blue);
}

.lds-approche__step.is-active .lds-approche__step-num-bg::after {
    transform: scale(1);
    opacity: 1;
}

.lds-approche__step-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lds-approche__step-icon svg {
    width: 22px;
    height: 22px;
    stroke: rgba(21, 30, 40, 0.4);
    stroke-width: 1.5;
    transition: stroke 0.4s var(--app-ease);
}

.lds-approche__step.is-active .lds-approche__step-icon svg {
    stroke: var(--lds-white, #ffffff);
}

.lds-approche__step-content {
    padding: 0 8px;
}

.lds-approche__step-titre {
    font-family: 'Chillax', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(21, 30, 40, 0.4);
    margin: 0 0 0.5rem;
    transition: color 0.4s var(--app-ease);
}

.lds-approche__step.is-active .lds-approche__step-titre {
    color: var(--app-text);
}

.lds-approche__step-texte {
    font-family: Arial, Arial, sans-serif;
    font-size: 0.8125rem;
    font-weight: 400;
    color: rgba(21, 30, 40, 0.25);
    margin: 0;
    line-height: 1.55;
    transition: color 0.4s var(--app-ease);
}

.lds-approche__step.is-active .lds-approche__step-texte {
    color: var(--app-text-muted);
}

/* ============================================================
   CTAs
   ============================================================ */

.lds-approche__actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.lds-approche__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: Arial, Arial, sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease, background 0.3s ease, transform 0.2s ease;
}

.lds-approche__cta svg {
    transition: transform 0.3s ease;
}

.lds-approche__cta:hover svg {
    transform: translateX(4px);
}

.lds-approche__cta--primary {
    position: relative;
    padding: 14px 24px;
    color: rgba(255, 255, 255, 0.95);
    background: linear-gradient(135deg, #0a3fd0 0%, #1a6aff 100%);
    border: 2.5px solid rgba(100, 170, 255, 0.5);
    border-radius: 12px;
    box-shadow:
        0 4px 12px rgba(18, 90, 248, 0.25),
        0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.lds-approche__cta--primary:hover,
.lds-approche__cta--primary:focus {
    color: rgba(255, 255, 255, 0.95);
    background: linear-gradient(135deg, #0d45da 0%, #2575ff 100%);
    border-color: rgba(130, 190, 255, 0.6);
    gap: 14px;
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(18, 90, 248, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15);
}

.lds-approche__cta--primary:visited {
    color: rgba(255, 255, 255, 0.95);
}

.lds-approche__cta--primary:hover svg,
.lds-approche__cta--primary:focus svg {
    stroke: var(--lds-white, #ffffff);
}

.lds-approche__cta--primary svg {
    width: 18px;
    height: 18px;
    stroke: var(--lds-white, #ffffff);
    transition: stroke 0.3s ease;
}

.lds-approche__cta--secondary {
    color: var(--lds-cta, #B82A14);
}

.lds-approche__cta--secondary svg {
    stroke: var(--lds-cta, #B82A14);
    transition: stroke 0.3s ease;
}

.lds-approche__cta--secondary:hover {
    color: var(--lds-cta-hover, #E63D24);
    gap: 16px;
}

.lds-approche__cta--secondary:hover svg {
    stroke: var(--lds-cta-hover, #E63D24);
}

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

@media (max-width: 1024px) {
    .lds-approche__steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 20px;
    }

    .lds-approche__line {
        display: none;
    }

    .lds-approche__step {
        --fill: 1;
    }

    .lds-approche__step .lds-approche__step-num-bg::after {
        transform: scale(1);
        opacity: 1;
    }

    .lds-approche__step .lds-approche__step-icon svg {
        stroke: var(--lds-white, #ffffff);
    }

    .lds-approche__step .lds-approche__step-titre {
        color: var(--lds-black, #151E28);
    }

    .lds-approche__step .lds-approche__step-texte {
        color: rgba(21, 30, 40, 0.6);
    }
}

@media (max-width: 768px) {
    .lds-approche {
        padding: 70px 1.5rem;
    }

    .lds-approche__header {
        margin-bottom: 50px;
    }

    .lds-approche__steps {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
        margin-bottom: 40px;
    }

    .lds-approche__actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .lds-approche {
        padding: 60px 1rem;
    }

    .lds-approche__steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lds-approche__step {
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }

    .lds-approche__step-num {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .lds-approche__step-content {
        padding: 0;
    }
}
