/* --- 1. GÉNÉRAL --- */
body,
main,
section {
    background-color: #ffffff !important;
}
.about-header {
    padding: 160px 0 5rem;
}
.badge-pill-soft {
    background-color: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
    padding: 0.6em 1.2em;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: inline-block;
}
.text-justify-pretty {
    text-align: justify;
    text-justify: inter-word;
}

/* --- 2. STORY IMAGE --- */
.story-img-wrapper {
    max-width: 620px;
    margin: 0 auto;
}

.story-img {
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transition:
        transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
        filter 0.5s ease;
    transform: rotate(-4deg) scale(0.97);
    filter: saturate(0.88) brightness(0.96);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}
.story-img:hover {
    transform: rotate(0deg) scale(1.02);
    filter: saturate(1) brightness(1);
}
/* --- 3. ROADMAP (Effet identique à la home) --- */
.roadmap-section-white {
    padding: 6rem 0;
    background: #ffffff;
    overflow-x: clip;
}

.roadmap-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.roadmap-step {
    position: relative;
    display: flex;
    width: 100%;
    z-index: 1;
    isolation: isolate;
}

.step-left {
    justify-content: flex-start;
}
.step-right {
    justify-content: flex-end;
}

/* --- CARTES --- */
.roadmap-card {
    position: relative;
    width: 450px;
    max-width: 90vw;
    padding: 2.5rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.step-title {
    color: #0d6efd;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.step-list li {
    margin-bottom: 0.8rem;
    color: #6c757d;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.plus {
    color: #0d6efd;
    font-weight: bold;
}

/* --- LIGNES CINÉTIQUES (identique home) --- */
.kinetic-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 200px;
    z-index: -1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
    transform: translate(-50%, -50%) skewY(-10deg);
}

.step-left .kinetic-lines {
    left: 70%;
    align-items: flex-start;
}
.step-right .kinetic-lines {
    left: 30%;
    align-items: flex-end;
}

.kinetic-lines span {
    display: block;
    height: 2px;
    border-radius: 2px;
    opacity: 0.5;
    width: 0; /* Commence à 0, s'anime via JS */
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Dégradés identiques à la home */
.lines-purple span {
    background: linear-gradient(90deg, transparent, #6610f2, #0d6efd, transparent);
}
.lines-pink span {
    background: linear-gradient(90deg, transparent, #fd7e14, #d63384, transparent);
}
.lines-gold span {
    background: linear-gradient(90deg, transparent, #fd7e14, #ffc107, transparent);
}

/* Décalages par ligne pour l'effet de stagger */
.kinetic-lines span:nth-child(1) {
    margin-left: 0%;
    max-width: 80%;
}
.kinetic-lines span:nth-child(2) {
    margin-left: 10%;
    max-width: 60%;
}
.kinetic-lines span:nth-child(3) {
    margin-left: 5%;
    max-width: 90%;
}
.kinetic-lines span:nth-child(4) {
    margin-left: 15%;
    max-width: 50%;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .roadmap-wrapper {
        gap: 40px;
    }
    .roadmap-card {
        width: 100%;
    }
    .kinetic-lines {
        width: 100%;
        opacity: 0.3;
    }
    .step-left .kinetic-lines {
        left: 50%;
    }
    .step-right .kinetic-lines {
        left: 50%;
    }
}
/* --- 4. FAQ & CTA --- */
.accordion-item {
    border: none;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff !important;
}
.accordion-button {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1.5rem 0;
    color: #212529;
    background: #ffffff !important;
}
.accordion-button:not(.collapsed) {
    color: #0d6efd;
    background: #ffffff !important;
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: none;
}
.accordion-body {
    padding: 0 0 2rem 0;
    color: #6c757d;
    font-size: 1.05rem;
    background: #ffffff !important;
}

.cta-card {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 30px;
    padding: 5rem 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}
.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}
.circle-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -100px;
}
.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: 5%;
}

.btn-cta-premium {
    background-color: #ffffff;
    color: #0b5ed7;
    font-weight: 800;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-cta-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .roadmap-wrapper {
        gap: 40px;
    }
    .roadmap-card {
        width: 100%;
    }
    .kinetic-lines {
        display: none;
    }
}
