
.row {
    margin: 0 !important;
}

.comment-ca-marche h2 {
    text-align: center;
    font-weight: bold;
    color: var(--purple-dark);
}

.comment-ca-marche h3 {
    font-weight: bold;
    color: var(--purple-light);
}

.container-title .title-icon {
    position: absolute;
    right: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: -3.15rem;
    z-index: 2;
    width: 25%;
    
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 2px solid var(--purple-dark);
    border-radius: 50%;
    height: 3.15rem;
    width: 3.3rem;
}
.container-title .title-icon img {
    max-width: 2.8rem;
}

.comment-ca-marche .container > h2 {
    margin-bottom: 3rem;
}

.steps-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5rem;
}
.steps-section > img {
    width: 5rem;
}

.card-explain {
    position: relative;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 0.5rem 2rem;
    margin-bottom: 0.5rem;
    border: 3px solid var(--purple-light);
    background-color: white;
}

.card-explain__title > div {
    background-color: var(--purple-light);  
}
.card-explain__title > p {
    background-color: var(--purple-dark);
}

.card-explain:nth-of-type(even) .card-explain__title > div {
        background-color: var(--purple-dark);
}
.card-explain:nth-of-type(even) .card-explain__title > p {
    background-color: var(--purple-light);  
}

.card-explain:not(:first-child) {
    margin-top: 3rem;
}
.card-explain:not(:first-child)::before {
    content: "";
    border-left: 3px dashed #FF6E61;
    height: 2rem;
    position: absolute;
    left: 50%;
    margin-left: -1.5px;
    top: -2.5rem;
}

.card-explain__title {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: -3rem;
    margin-right: -3rem;
}
.card-explain__title > div {
    grid-area: h;
    width: 17rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
}
.card-explain__title > div > h3 {
    text-align: center;
    color: white;
    margin: 0;
}
.card-explain__title > p {
    grid-area: p;
    width: 2rem;
    font-size: 1.8rem;
    font-weight: bold;
    height: fit-content;
    text-align: center;
    color: white;
}

.card-explain__footer {
    border-top: 3px solid var(--purple-light);
    margin-left: -2rem;
    margin-right: -2rem;
    padding: 0.8rem;
    padding-bottom: 0.5rem;
    font-weight: bold;
    font-size: 1.13rem;
    color: var(--purple-light);
}
.card-explain__footer img {
    display: none;
}

/* ////////////////////
///////////////////////
//////////////////// */

.garantee-section > h4 {
    position: relative;
    text-align: center;
    font-weight: bold;
    margin-bottom: 3rem;
}
.garantee-section > h4::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 35%;
    width: 30%;
    border-bottom: 2px solid var(--purple-dark);
}

.garantee {
    display: flex;
    margin-bottom: 1.8rem;
}
.garantee img {
    height: fit-content;
    margin-right: 1rem;
}


@media screen and (min-width: 768px) {
    .steps-section {
        position: relative;
        display: grid;
        grid-template: 
            "a a a . . ." 
            "a a a b b b" 
            "a a a b b b" 
            ". . . b b b"
            "c c c b b b"
            "c c c . . ."
            "c c c . . ."
        ;
    }
    .steps-section > img {
        display: none;
    }
    .steps-section :nth-of-type(1) {
        grid-area: a;
    }
    .steps-section :nth-of-type(2) {
        grid-area: b;
    }
    .steps-section :nth-of-type(3) {
        grid-area: c;
    }

    .thread {
        position: absolute;
        top: 13%;
        left: 5%;
        bottom: 10%;
        width: 60%;
        border: 3px dashed #FF6E61;
        border-left: none;
        z-index: -5;
    }

    .card-explain:not(:first-child)::before {
        border: none;
    }

    .card-explain__title p {
        width: 3rem;
    }

    .card-explain__footer {
        display: flex;
        align-items: center;
    }
    .card-explain__footer img {
        display: block;
    }

    .garantee-section > h4::after {
        left: 43%;
        width: 15%;
    }
}

@media screen and (min-width: 992px) {
    
    .comment-ca-marche .main-container {
        max-width: 75%;
    }
}

@media screen and (min-width: 1024px) {
    
    .comment-ca-marche .main-container {
        max-width: 65%;
    }
}

@media screen and (min-width: 1200px) {
    
    .comment-ca-marche .main-container {
        max-width: 55%;
    }
}

@media screen and (min-width: 1440px) {
    .card-explain__footer p {
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 1600px) {
    .comment-ca-marche p {
        font-size: 1.5rem;
    }

    .container-title .title-icon {
        bottom: -6.15rem;
        height: 6.15rem;
        width: 6.3rem;
    }
    .container-title .title-icon img {
        max-width: 7rem;
    }

    .comment-ca-marche .main-container {
        max-width: 1140px;
    }
    .comment-ca-marche .main-container h2 {
        margin-top: 5rem;
        max-width: 59%;
        margin-right: auto;
        margin-left: auto;
    }

    .comment-ca-marche ul {
        margin: 3.5rem 0 !important;
    }
    
    .comment-ca-marche ul li {
        margin-bottom: 2.5rem;
        line-height: 1.8rem;
    }

    .card-explain {
        /* max-width: 80%; */
        max-width: 30rem;
    }

    .steps-section > .card-explain {
        margin-bottom: 5rem;
    }

    .card-explain__title {
        margin-top: 0.8rem;
        margin-right: -4rem;
    }
    .card-explain__title p {
        font-size: 3rem;
        padding: 0.5rem 1rem;
        -webkit-box-flex: 0;
        flex: 0 0 13%;
        max-width: 13%;
    }

    .card-explain__footer p {
        font-size: 1.5rem;
        line-height: 2rem;
        width: 65%;
    }
    .card-explain__footer img {
        position: absolute;
        right: 0;
        width: 10rem;
        padding: 0.5rem 1rem;
    }

    .garantee-section {
        max-width: 68%;
        margin-right: auto;
        margin-left: auto;
        
    }
    .garantee-section > h4 {
        font-size: 2rem;
    }
    .garantee-section > h4::after {
        left: 45%;
        width: 10%;
    }

    .garantee {
        align-items: center;
    }
    .garantee img {
        width: 4rem;
        height: 4rem;
    }
}