.tutos_front .hidden {
    display: none !important;
}

.tutos_front .tutos_breadcrumbs {
    width: 100%;
    margin: 0 0 15px 0;
    overflow: hidden;
}
.tutos_front .tutos_breadcrumbs .inner {
    display: flex;
    gap: 14px;
    align-items: center;
    width: 3000px;
}
.tutos_front .tutos_breadcrumbs a img {
    height: 26px;
}
.tutos_front .tutos_breadcrumbs span:not(:last-of-type)::after {
    content: '\003009';
    position: relative;
    left: 12px;
    font-weight: bold;
    color: #61d0c4;
    vertical-align: -1px;
}
.tutos_front .tutos_breadcrumbs span a {
    text-decoration: underline;
}

@media (max-width: 768px) {

    .tutos_front h1 {
        font-size: 14px;
        margin: 10px 0 10px 0;
        padding: 10px;
    }
    .tutos_front .tutos_breadcrumbs {
        overflow-x: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .tutos_front .tutos_breadcrumbs::-webkit-scrollbar {
        display: none;
    }
    .tutos_front .tutos_breadcrumbs .inner {
        width: max-content;
    }
    .tutos_front .tutos_breadcrumbs a img {
        height: 22px;
    }

}


.tutos_front .devices {
    box-sizing: border-box;
    width: 100%;
    margin: 15px 0 30px 0;
}

.tutos_front .devices h1 {
    font-size: 18px;
    color: #404040;
    text-transform: uppercase;
    padding: 15px 0;
}

/* Carousel tutoriels favoris */
.tutos_front .favorites_carousel {
    position: relative;
    overflow: hidden;
    margin: 15px 0 0 0;
}
.tutos_front .favorites_track {
    display: flex;
    gap: 15px;
    transition: transform 0.35s ease;
}
.tutos_front .favorite_card {
    flex: 0 0 calc((100% - 30px) / 3);
    height: 80px;
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8ecee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.tutos_front .favorite_card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.tutos_front .favorite_img {
    flex-shrink: 0;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7f8;
    border-right: 1px solid #e8ecee;
    padding: 10px;
}
.tutos_front .favorite_img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.tutos_front .favorite_info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 14px;
    gap: 4px;
    overflow: hidden;
}
.tutos_front .favorite_name {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
}
.tutos_front .favorite_diagnostic {
    font-size: 12px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.tutos_front .favorite_meta {
    display: flex;
    gap: 20px;
    margin-top: 2px;
}
.tutos_front .favorite_meta span {
    font-size: 14px;
    color: #61d0c4;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}
.tutos_front .favorite_meta .material-icons {
    font-size: 16px;
}
.tutos_front .carousel_btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
}
.tutos_front .carousel_btn:hover { background: #61d0c4; color: #fff; }
.tutos_front .carousel_prev { left: 6px; }
.tutos_front .carousel_next { right: 6px; }
@media (max-width: 768px) {
    .tutos_front .favorite_card {
        flex: 0 0 100%;
    }
    .tutos_front .carousel_prev { left: 4px; }
    .tutos_front .carousel_next { right: 4px; }
}

.tutos_front .devices .device_container {
    background: #efefef;
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: .3s ease;
}

.tutos_front .devices .device {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.tutos_front .devices .device img {
    height: 76px;
    background: #fff;
    margin: 2px;
    border-radius: 8px;
}
.tutos_front .devices .device .name {
    font-size: 20px;
    text-transform: uppercase;
    color: #393838;
    margin-left: 15px;
    transition: .3s ease;
}
.tutos_front .devices .device:hover .name {
    color: #0d675d;
}
.tutos_front .devices .device .device_chevron {
    margin-left: auto;
    margin-right: 14px;
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 22px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.tutos_front .devices .device .device_chevron.open {
    transform: rotate(180deg);
}

.tutos_front .devices .brands {
    display: none;
    flex-wrap: wrap;
    gap: 15px;
    background: #fff;
    padding: 25px;
    border-left: 2px solid #f1f1f1;
    border-right: 2px solid #f1f1f1;
    border-bottom: 2px solid #f1f1f1;
}
.tutos_front .devices .brands[style*="display: block"]{
    display: flex!important;
}
.tutos_front .devices .brands .brand {
    flex-basis: calc((100% - 45px) / 4);
}

.tutos_front .devices .brands .brand .title {
    display: flex;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #f1f1f1;
}
.tutos_front .devices .brands .brand .title img {
    height: 60px;
    margin: -10px 0;
}
.tutos_front .devices .brands .brand .subtitle {
    opacity: 0;
    height: 0px;
    font-size: 13px;
    color: #404040;
    text-transform: uppercase;
    text-align: center;
    line-height: 19px;
    border-bottom: 2px solid #f1f1f1;
}
.tutos_front .devices .brands .brand .series {
    padding: 15px;
}
.tutos_front .devices .brands .brand .series a {
    display: block;
    position: relative;
    font-size: 16px;
    padding: 4px 0;
    transition: .3s ease;
}
.tutos_front .devices .brands .brand .series a:hover {
    color: #ef9d51;
}
.tutos_front .devices .brands .brand .title .img_samsung,
.tutos_front .devices .brands .brand .title .img_oneplus {
    height: 100px !important;
}
.tutos_front .devices .brands .brand .title .img_microsoft_nokia,
.tutos_front .devices .brands .brand .title .img_crosscall {
    height: 40px !important;
}

@media (max-width: 768px) {

    .tutos_front .devices h1 {
        font-size: 14px;
        margin: 10px 0 10px 0;
        padding: 10px;
    }
    .tutos_front .devices .device img {
        height: 40px;
    }
    .tutos_front .devices .device .name {
        font-size: 14px;
    }
    .tutos_front .devices .brands .brand {
        flex-basis: 100%;
    }

}


.tutos_models {
    margin-bottom: 30px;
}
.tutos_models .models_hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #404040;
    border-radius: 16px;
    padding: 28px 36px 0 36px;
    margin-bottom: 50px;
    overflow: hidden;
    min-height: 170px;
}
.tutos_models .models_hero_left {
    flex: 1;
    min-width: 0;
    padding-bottom: 28px;
}
.tutos_models .models_hero h1 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 10px 0 10px 0;
    line-height: 1.25;
    text-transform: uppercase;
}
.tutos_models .models_hero .hero_subtitle {
    font-size: 14px;
    color: #fff;
    margin: 0;
    line-height: 1.55;
    max-width: 480px;
}
.tutos_models .models_hero_right {
    position: relative;
    flex-shrink: 0;
    width: 260px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-left: 20px;
    align-self: flex-end;
}
.tutos_models .models_hero_right img {
    z-index: 2;
    max-width: 350px;
    max-height: 280px;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 -2px 18px rgba(97,208,196,0.25));
}
.tutos_models .models_hero_right .white_img_bkg {
    position: absolute;
    z-index: 1;
    bottom: -130px;
    right: -22px;
    width: 345px;
    height: 280px;
    background: #f5f5f5;
    border-radius: 50%;
}
.tutos_models .models_hero .tutos_breadcrumbs {
    margin: 0 0 10px 0;
}
.tutos_models .models_hero .tutos_breadcrumbs a,
.tutos_models .models_hero .tutos_breadcrumbs span {
    color: #fff;
}
.tutos_models .models {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 15px;
    margin-top: 30px;
}
.tutos_models .models .model {
    display: flex;
    width: calc((100% - 45px) / 4);
    border: 1px solid #626568;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.tutos_models .models .model .name {
    width: 100%;
    text-align: center;
    font-size: 16px;
    line-height: 1.3;
    padding: 6px;
    background: #626568;
    color: #fff;
}
.tutos_models .models .model .image {
    width: 80%;
    margin-top: 10px;
}

@media (max-width: 768px) {

    .tutos_models .models {

    }
    .tutos_models h1 {
        font-size: 14px;
        margin: 10px 0 10px 0;
        padding: 10px;
    }
    .tutos_models .models {
        gap: 15px 15px;
    }
    .tutos_models .models .model {
        width: calc((100% - 15px) / 2);
    }
    .tutos_models .models .model .name {
        font-size: 14px;
    }

}


/* =================================================================
   ANCIEN CSS .tutos_parts — conservé en commentaire
   ================================================================= */
/*
.tutos_parts {
    margin-bottom: 30px;
}
.tutos_parts h1 {
    font-size: 18px;
    color: #404040;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    padding: 15px;
    border: 1px solid #f1f1f1;
}


.tutos_parts .parts_header {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}
.tutos_parts .parts_header .rates_container {
    width: calc(40% - 15px);
    border: 1px solid #f1f1f1;
}
.tutos_parts .parts_header .rates_container.fullwidth {
    width: 100%;
}
.tutos_parts .parts_header .seo_container {
    width: 60%;
    border: 1px solid #f1f1f1;
}
.tutos_parts .parts_header .title {
    width: 100%;
    height: 40px;
    font-size: 15px;
    text-transform: uppercase;
    padding-left: 15px;
    border-bottom: 1px dashed #f1f1f1;
}
.tutos_parts .parts_header .title img {
    height: 36px;
    margin: 2px;
}
.tutos_parts .parts_header .rates_container .content {
    padding: 15px;
}
.tutos_parts .parts_header .rates_container .content .global_rate {
    font-size: 16px;
    font-weight: 600;
}
.tutos_parts .parts_header .rates_container .content .parts_rates {
    display: flex;
    margin-top: 20px;
    flex-direction: column;
    gap: 6px;
}
.tutos_parts .parts_header .rates_container .content .parts_rates .red {
    font-size: 15px;
    color: #bb2222;
    font-weight: 600;
    margin-right: 8px;
}
.tutos_parts .parts_header .rates_container .content .parts_rates .orange {
    font-size: 15px;
    color: #ef7015;
    font-weight: 600;
    margin-right: 8px;
}
.tutos_parts .parts_header .rates_container .content .parts_rates .green {
    font-size: 15px;
    color: #31bb29;
    font-weight: 600;
    margin-right: 8px;
}
.tutos_parts .parts_header .seo_container .content {
    max-height: 180px;
    padding: 15px;
    text-align: justify;
    overflow-y: scroll;
}


.tutos_parts .nb_tutos {
    display: flex;
    width: 100%;
    height: 40px;
    font-size: 15px;
    text-transform: uppercase;
    margin-top: 30px;
    border: 1px solid #f1f1f1;
    align-items: center;
}
.tutos_parts .nb_tutos img {
    height: 30px;
    margin: -5px 10px 0 10px;
}
.tutos_parts .parts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}
.tutos_parts .parts .part_container {
    display: block;
    width: calc((100% - 20px) / 2);
    border: 1px solid #f1f1f1;
}
.tutos_parts .parts .part_container:hover {
    color: unset;
}
.tutos_parts .parts .part {
    display: grid;
    grid-template-columns: 120px calc(100% - 120px);
    grid-template-rows: 24px 30px 66px;
    gap: 0 0;
    grid-template-areas:
        "image name"
        "image subtitle"
        "image details";
    background: #f1f1f1;
}
.tutos_parts .parts .part .image {
    grid-area: image;
    background: #fff;
}
.tutos_parts .parts .part .image img {
    width: 100px;
    height: 100px;
    margin: 10px;
}
.tutos_parts .parts .part .name {
    grid-area: name;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 15px;
    text-transform: uppercase;
    padding: 6px 0 0 20px;
}
.tutos_parts .parts .part .name::after {
    content: '';
    position: absolute;
    top: 28px;
    left: 18px;
    width: stretch;
    border-bottom: 4px solid #fff;
}
.tutos_parts .parts .part .subtitle {
    grid-area: subtitle;
    padding: 14px 20px 0 20px;
}
.tutos_parts .parts .part .details {
    grid-area: details;
    display: flex;
    gap: 6px;
    padding: 20px 10px 10px 20px;
    font-size: 15px;
}
.tutos_parts .parts .part .details span {
    display: flex;
    align-items: center;
    width: calc((100% - 20px) / 3);
}
.tutos_parts .parts .part .details .duration_icon {
    position: relative;
    height: 34px;
    margin-right: 6px;
}
.tutos_parts .parts .part .details .difficulty_icon {
    position: relative;
    height: 50px;
    margin-right: 4px;
}
.tutos_parts .parts .part .details .steps_icon {
    position: relative;
    height: 38px;
    margin-right: 8px;
}

@media (max-width: 768px) {

    .tutos_parts h1 {
        font-size: 14px;
        margin: 10px 0 10px 0;
        padding: 10px;
    }
    .tutos_parts .parts_header {
        flex-direction: column;
    }
    .tutos_parts .parts_header .rates_container {
        width: 100%;
    }
    .tutos_parts .parts_header .seo_container {
        width: 100%;
    }

    .tutos_parts .parts .part_container {
        width: 100%;
    }
    .tutos_parts .parts .part {
        display: grid;
        grid-template-columns: 120px calc(100% - 120px);
        grid-template-rows: 30px 110px;
        gap: 0 0;
        grid-template-areas:
        "name name"
        "image details";
        background: #f1f1f1;
    }
    .tutos_parts .parts .part .name {
        font-size: 13px;
        padding: 2px 0 0 8px;
        border-bottom: 4px solid #fff;
    }
    .tutos_parts .parts .part .name::after {
        display: none;
    }
    .tutos_parts .parts .part .details {
        flex-direction: column;
        gap: 4px;
        padding: 10px 10px 10px 20px;
        font-size: 13px;
    }
    .tutos_parts .parts .part .details span {
        width: 100%;
    }
    .tutos_parts .parts .part .details .duration_icon {
        height: 24px;
        margin-right: 6px;
    }
    .tutos_parts .parts .part .details .difficulty_icon {
        height: 36px;
        margin-right: 4px;
        margin-left: -7px;
    }
    .tutos_parts .parts .part .details .steps_icon {
        height: 22px;
        margin-right: 8px;
        margin-left: 4px;
    }

}


.tutos_parts .bottom_seo {
    margin-top: 50px;
    text-align: justify;
}
.tutos_parts .bottom_seo h2 {
    text-align: left;
    margin-top: 15px;
}
*/

/* =================================================================
   NOUVEAU DESIGN .tutos_parts
   Couleurs : #404040 (dark), #626568 (gris), #61d0c4 (teal)
   ================================================================= */

.tutos_parts {
    margin-bottom: 40px;
}

/* --- Hero banner --- */
.tutos_parts .parts_hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    //background: linear-gradient(135deg, #f0fdfb 0%, #e4f7f5 100%);
    background: #404040;
    border-radius: 16px;
    padding: 28px 36px 0 36px;
    margin-bottom: 50px;
    overflow: hidden;
    min-height: 170px;
}
.tutos_parts .parts_hero_left {
    flex: 1;
    min-width: 0;
    padding-bottom: 28px;
}
.tutos_parts .parts_hero h1 {
    font-size: 20px;
    font-weight: 700;
    //color: #404040;
    color: #fff;
    margin: 10px 0 10px 0;
    line-height: 1.25;
    text-transform: uppercase;
}
.tutos_parts .parts_hero .hero_subtitle {
    font-size: 14px;
    //color: #626568;
    color: #fff;
    margin: 0;
    line-height: 1.55;
    max-width: 480px;
}
.tutos_parts .parts_hero_right {
    position:relative;
    flex-shrink: 0;
    width: 260px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-left: 20px;
    align-self: flex-end;
}
.tutos_parts .parts_hero_right img {
    z-index: 2;
    max-width: 350px;
    max-height: 280px;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 -2px 18px rgba(97,208,196,0.25));
}
.tutos_parts .parts_hero_right .white_img_bkg {
    position: absolute;
    z-index: 1;
    bottom: -130px;
    right: -22px;
    width: 345px;
    height: 280px;
    background: #f5f5f5;
    border-radius: 50%;
}
.tutos_parts .parts_hero .tutos_breadcrumbs {
    margin: 0 0 10px 0;
}
.tutos_parts .parts_hero .tutos_breadcrumbs a, .tutos_parts .parts_hero .tutos_breadcrumbs span {
        color: #fff;
}

/* --- Info cards --- */
.tutos_parts .parts_header {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: stretch;
}
.tutos_parts .parts_header .rates_container,
.tutos_parts .parts_header .seo_container {
    background: #fff;
    border: 1px solid #e8ecee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.tutos_parts .parts_header .rates_container {
    width: calc(32% - 8px);
}
.tutos_parts .parts_header .seo_container.fullwidth, 
.tutos_parts .parts_header .rates_container.fullwidth {
    width: 100%;
}
.tutos_parts .parts_header .seo_container {
    width: calc(68% - 8px);
}
.tutos_parts .parts_header .card_title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #404040;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 6px 18px;
    border-bottom: 1px solid #f0f2f3;
}
.tutos_parts .parts_header .card_title img {
    height: 32px;
    margin: 0 0 0 -4px;
}

/* Rates card */
.tutos_parts .parts_header .rates_container .content {
    padding: 18px;
}
.tutos_parts .parts_header .rates_container .content .global_rate_label {
    font-size: 15px;
    color: #626568;
    margin-bottom: 10px;
}
.tutos_parts .parts_header .rates_container .content .global_rate_label strong {
    font-size: 17px;
    color: #404040;
}
.tutos_parts .parts_header .rates_container .content .rate_progress_wrap {
    height: 10px;
    background: #eef0f2;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}
.tutos_parts .parts_header .rates_container .content .rate_progress_fill {
    height: 100%;
    background: linear-gradient(90deg, #61d0c4, #41b8ac);
    border-radius: 10px;
    transition: width 0.6s ease;
}
.tutos_parts .parts_header .rates_container .content .parts_rates {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.tutos_parts .parts_header .rates_container .content .parts_rates span {
    font-size: 13px;
    color: #626568;
    display: flex;
    align-items: center;
    gap: 0;
}
.tutos_parts .parts_header .rates_container .content .parts_rates .rate {
    font-size: 13px;
    margin-right: 8px;
    min-width: 36px;
    display: inline-block;
}
/*
.tutos_parts .parts_header .rates_container .content .parts_rates .rate.red {
    color: #bb2222;
}
.tutos_parts .parts_header .rates_container .content .parts_rates .rate.orange {
    color: #ef7015;
}
.tutos_parts .parts_header .rates_container .content .parts_rates .rate.green {
    color: #31bb29;
}
*/

/* Seo card */
.tutos_parts .parts_header .seo_container .content {
    padding: 18px 18px 14px;
    position: relative;
}
.tutos_parts .parts_header .seo_container .content .seo_text {
    font-size: 14px;
    color: #626568;
    line-height: 1.65;
    max-height: 110px;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.tutos_parts .parts_header .seo_container .content .seo_text.expanded {
    max-height: 600px;
}
.tutos_parts .parts_header .seo_container .content .read_more_btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #61d0c4;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s;
}
.tutos_parts .parts_header .seo_container .content .read_more_btn:hover {
    color: #41b8ac;
}
.tutos_parts .parts_header .seo_container .content .read_more_btn svg {
    transition: transform 0.3s ease;
}
.tutos_parts .parts_header .seo_container .content .read_more_btn.open svg {
    transform: rotate(180deg);
}

/* --- Compteur de tutoriels --- */
.tutos_parts .nb_tutos {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #404040;
    padding: 6px 20px 2px 20px;
    background: #fff;
    border: 1px solid #e8ecee;
    border-radius: 10px;
    margin-bottom: 16px;
}
.tutos_parts .nb_tutos img {
    height: 34px;
    margin: 0 -6px;
}

/* --- Grille des tutoriels --- */
.tutos_parts .parts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.tutos_parts .parts .part_container {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8ecee;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.tutos_parts .parts .part_container:hover {
    color: inherit;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}
.tutos_parts .parts .part {
    display: flex;
    align-items: stretch;
}

/* Couleurs variées — variables CSS par carte (cycle de 6)
   --c-bg     : fond zone image + badges
   --c-border : bordure zone image + badges
   --c-accent : couleur de l'accent (flèche, hover)
   --c-icon   : filtre CSS pour recolorer les SVG depuis #61d0c4
   hue-rotate calculé à partir du hue de base teal ≈ 174° */
.tutos_parts .parts .part_container:nth-child(6n+1) { --c-bg:#e3f7f5; --c-border:#c6ede9; --c-accent:#61d0c4; --c-icon:hue-rotate(0deg)   brightness(0.74); }
.tutos_parts .parts .part_container:nth-child(6n+2) { --c-bg:#e4eefb; --c-border:#c8d9f5; --c-accent:#5a8fd4; --c-icon:hue-rotate(39deg)  brightness(0.74); }
.tutos_parts .parts .part_container:nth-child(6n+3) { --c-bg:#ede6fb; --c-border:#d8c9f5; --c-accent:#8c6bd0; --c-icon:hue-rotate(89deg)  brightness(0.72); }
.tutos_parts .parts .part_container:nth-child(6n+4) { --c-bg:#fef2e4; --c-border:#f5d9b0; --c-accent:#e5903a; --c-icon:hue-rotate(-144deg) saturate(1.4) brightness(0.80); }
.tutos_parts .parts .part_container:nth-child(6n+5) { --c-bg:#e6f4e6; --c-border:#c3e4c3; --c-accent:#4aaa46; --c-icon:hue-rotate(-56deg)  brightness(0.70); }
.tutos_parts .parts .part_container:nth-child(6n+6) { --c-bg:#fce6ee; --c-border:#f5c4d5; --c-accent:#d45a80; --c-icon:hue-rotate(164deg) saturate(1.2) brightness(0.72); }

/* Image */
.tutos_parts .parts .part .image {
    flex-shrink: 0;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-bg);
    border-right: 1px solid var(--c-border);
}
.tutos_parts .parts .part .image img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    margin: 14px;
}

/* Content */
.tutos_parts .parts .part .part_body {
    flex: 1;
    min-width: 0;
    padding: 14px 12px 12px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.tutos_parts .parts .part .name {
    font-size: 15px;
    font-weight: 700;
    color: #404040;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tutos_parts .parts .part .subtitle {
    font-size: 13px;
    color: #626568;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tutos_parts .parts .part .details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tutos_parts .parts .part .details .badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #626568;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: 8px;
    padding: 6px;
    white-space: nowrap;
    font-weight: 500;
}
.tutos_parts .parts .part .details .badge img {
    filter: var(--c-icon);
}
.tutos_parts .parts .part .details .duration_icon {
    height: 24px;
}
.tutos_parts .parts .part .details .difficulty_icon {
    height: 27px;
}
.tutos_parts .parts .part .details .steps_icon {
    height: 22px;
}

/* Arrow */
.tutos_parts .parts .part .part_arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-bg);
    border-radius: 50%;
    color: var(--c-accent);
    margin: auto 14px;
    border: 1px solid var(--c-border);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tutos_parts .parts .part_container:hover .part_arrow {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
}

/* --- Bottom SEO --- */
.tutos_parts .bottom_seo {
    margin-top: 50px;
    font-size: 14px;
    color: #626568;
    line-height: 1.7;
    text-align: justify;
}
.tutos_parts .bottom_seo h2 {
    text-align: left;
    margin-top: 20px;
    color: #404040;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .tutos_parts .parts_hero {
        padding: 20px 24px 0 24px;
        margin-bottom: 44px;
    }
    .tutos_parts .parts_hero_left {
        padding-bottom: 20px;
    }
    .tutos_parts .parts_hero h1 {
        font-size: 20px;
    }
    .tutos_parts .parts_hero_right {
        width: 180px;
    }
    .tutos_parts .parts_hero_right img {
        max-width: 160px;
        max-height: 220px;
        margin-bottom: -36px;
    }
    .tutos_models .models_hero {
        padding: 20px 24px 0 24px;
        margin-bottom: 44px;
    }
    .tutos_models .models_hero_left {
        padding-bottom: 20px;
    }
    .tutos_models .models_hero h1 {
        font-size: 20px;
    }
    .tutos_models .models_hero_right {
        width: 180px;
    }
    .tutos_models .models_hero_right img {
        max-width: 160px;
        max-height: 220px;
        margin-bottom: -36px;
    }
}

@media (max-width: 768px) {
    .tutos_parts .parts_hero {
        border-radius: 10px;
        padding: 16px;
        margin: 24px 0;
        min-height: unset;
        overflow: hidden;
    }
    .tutos_parts .parts_hero h1 {
        font-size: 16px;
        padding: 6px 0;
    }
    .tutos_parts .parts_hero_right {
        display: none;
    }
    .tutos_models .models_hero {
        border-radius: 10px;
        padding: 16px;
        margin: 24px 0;
        min-height: unset;
        overflow: hidden;
    }
    .tutos_models .models_hero h1 {
        font-size: 16px;
        padding: 6px 0;
    }
    .tutos_models .models_hero_right {
        display: none;
    }
    .tutos_parts .parts_header {
        flex-direction: column;
    }
    .tutos_parts .parts_header .rates_container,
    .tutos_parts .parts_header .seo_container {
        width: 100%;
    }
    .tutos_parts .parts {
        grid-template-columns: 1fr;
    }
    .tutos_parts .parts .part .image {
        width: 95px;
    }
    .tutos_parts .parts .part .image img {
        width: 72px;
        height: 72px;
    }
    .tutos_parts .parts .part .name {
        font-size: 14px;
        margin-right: -60px;
    }
    .tutos_parts .parts .part .subtitle {
        font-size: 12px;
        margin-right: -60px;
    }
}




/* =================================================================
   ANCIEN CSS .tutos_steps — conservé en commentaire
   ================================================================= */
/*

.tutos_steps {
    margin-bottom: 30px;
}
.tutos_steps h1 {
    font-size: 18px;
    color: #404040;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    padding: 15px;
    border: 1px solid #f1f1f1;
}

.tutos_steps .steps_header {
    display: grid;
    grid-template-columns: calc((100% - 15px) / 2) calc((100% - 15px) / 2);
    grid-template-rows: 40px 164px auto;
    gap: 10px 15px;
    grid-template-areas:
        "header_tabs header_tabs"
        "header_details header_diag"
        "header_seo header_seo";
    margin-top: 30px;
}
.tutos_steps .steps_header .header_tabs {
    grid-area: header_tabs;
    width: 100%;
    height: 34px;
    box-shadow: 0 2px 0 0 #f1f1f1;
    overflow: hidden;
}
.tutos_steps .steps_header .header_tabs .header_tab {
    display: inline-flex;
    position: relative;
    float: left;
    bottom: -4px;
    height: 34px;
    font-size: 15px;
    text-transform: uppercase;
    background: #f1f1f1;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    border: 1px solid #fff;
    transition: .3s ease;
}
.tutos_steps .steps_header .header_tabs .header_tab:hover {
    height: 38px;
    bottom: 0;
    color: unset;
}
.tutos_steps .steps_header .header_tabs .header_tab.active {
    height: 38px;
    bottom: 0;
    color: #fff;
    background: #61d0c4;
}
.tutos_steps .steps_header .header_details {
    grid-area: header_details;
    border: 1px solid #f1f1f1;
}
.tutos_steps .steps_header .title {
    width: 100%;
    height: 40px;
    font-size: 15px;
    text-transform: uppercase;
    line-height: 42px;
    padding-left: 15px;
    border-bottom: 1px dashed #f1f1f1;
}
.tutos_steps .steps_header .header_details .title img {
    height: 36px;
    margin: 2px;
}
.tutos_steps .steps_header .header_details .content {
    padding: 10px;
}
.tutos_steps .steps_header .header_details .content .rate img {
    width: 36px;
    margin: -5px 10px 0 10px;
}
.tutos_steps .steps_header .header_details .content .duration img {
    width: 26px;
    margin: 8px 15px 8px 15px;
}
.tutos_steps .steps_header .header_details .content .difficulty img {
    width: 41px;
    margin: -2px 10px 0 7px;
}
.tutos_steps .steps_header .header_diag {
    grid-area: header_diag;
    border: 1px solid #f1f1f1;
}
.tutos_steps .steps_header .header_diag .title img {
    height: 28px;
    margin: 2px;
}
.tutos_steps .steps_header .header_diag .content {
    padding: 10px 20px;
}
.tutos_steps .steps_header .header_diag .content span {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}
.tutos_steps .steps_header .header_diag .content span::before {
    content: '•';
    font-size: 24px;
    margin: 0 10px 0 0;
    vertical-align: -4px;
}
.tutos_steps .steps_header .header_seo {
    grid-area: header_seo;
    padding: 15px;
    border: 1px solid #f1f1f1;
}



.tutos_steps .steps_products {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}
.tutos_steps .steps_products .step_products_listing {
    position: relative;
    width: calc((100% - 30px) / 3);
    max-height: 320px;
}
.tutos_steps .steps_products .step_products_listing .title {
    height: 40px;
    font-size: 15px;
    text-align: center;
    text-transform: uppercase;
    line-height: 42px;
    background: #f1f1f1;
}
.tutos_steps .steps_products .step_products_listing .slider {
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    border: 1px solid #f1f1f1;
}
.tutos_steps .steps_products .step_products_listing .slider::-webkit-scrollbar {
    display: none;
}
.tutos_steps .steps_products .step_products_listing .slider.has_scroll {
    padding-bottom: 40px;
}
.tutos_steps .steps_products .step_products_listing .scroll_down_more {
    position: absolute;
    display: flex;
    bottom: 20px;
    width: 100%;
    height: 30px;
    background: #a8a8a8ad;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.tutos_steps .steps_products .step_products_listing .scroll_down_more img {
    height: 32px;
}
.tutos_steps .steps_products .step_products_listing .slider article {
    display: grid;
    grid-template-columns: 80px calc(100% - 130px) 50px;
    grid-template-rows: 60px 20px;
    grid-template-areas:
        "image name add_to_cart"
        "image price add_to_cart";
    border-bottom: 1px solid #f1f1f1;
}
.tutos_steps .steps_products .step_products_listing .slider article .image {
    grid-area: image;
}
.tutos_steps .steps_products .step_products_listing .slider article .image img {
    width: 72px;
    height: 72px;
    margin: 4px;
}
.tutos_steps .steps_products .step_products_listing .slider article .name {
    grid-area: name;
    padding: 8px;
}
.tutos_steps .steps_products .step_products_listing .slider article .price {
    grid-area: price;
    font-size: 15px;
    text-align: right;
    padding-right: 10px;
}
.tutos_steps .steps_products .step_products_listing .slider article .add_to_cart {
    grid-area: add_to_cart;
    display: flex;
    justify-content: center;
    align-items: center;
}
.tutos_steps .steps_products .step_products_listing .slider article .add_to_cart button {
    width: 32px;
    height: 32px;
    border: none;
    font-size: 20px;
    color: #fff;
    background: #61d0c4;
    padding: 0 2px 0 0;
    border-radius: 4px;
}
.tutos_steps .steps_products .step_products_listing .category_link {
    text-align: right;
    padding-top: 4px;
}
.tutos_steps .steps_products .step_products_listing .category_link a {
    color: #61d0c4;
    text-decoration: underline;
}

@media (max-width: 768px) {

    .tutos_steps h1 {
        font-size: 14px;
        margin: 10px 0 10px 0;
        padding: 10px;
    }

    .tutos_steps .steps_header {
        grid-template-columns: 100%;
        grid-template-rows: 40px 164px auto auto;
        gap: 10px 15px;
        grid-template-areas:
        "header_tabs"
        "header_details"
        "header_diag"
        "header_seo";
    }

    .tutos_steps .steps_products {
        flex-direction: column;
    }
    .tutos_steps .steps_products .step_products_listing {
        width: 100%;
    }

}


.tutos_steps .steps_listing {
    margin: 30px 0;
}
.tutos_steps .steps_listing .step {
    display: grid;
    grid-template-columns: 200px 800px calc(100% - 1000px);
    grid-template-rows: 50px 500px auto;
    grid-template-areas:
        "title title title"
        "thumbs step_active_photo products"
        "text text text";
    margin-bottom: 40px;
    border-top: 1px solid #f1f1f1;
    border-right: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
    overflow: hidden;
}
.tutos_steps .steps_listing .step.no_photos {
    grid-template-areas:
        "title title title"
        "text text text";
}
.tutos_steps .steps_listing .step .title {
    grid-area: title;
    display: flex;
    align-items: center;
    font-size: 18px;
    padding-left: 15px;
    background: #f1f1f1;
}
.tutos_steps .steps_listing .step .step_thumbs {
    grid-area: thumbs;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #f1f1f1;
    overflow: hidden;
}
.tutos_steps .steps_listing .step .step_thumbs .thumb {
    position: relative;
    width: 100%;
    height: 125px;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
    border-left: 1px solid #f1f1f1;
    transition: all 0.2s;
    overflow: hidden;
}
.tutos_steps .steps_listing .step .step_thumbs .thumb:not(.active) {
    left: 20px;
    opacity: 0.6;
}
.tutos_steps .steps_listing .step .step_thumbs .thumb.highlighted {
    left: 0;
    opacity: 1;
}

.tutos_steps .steps_listing .step .step_thumbs .thumb .thumb_number {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 26px;
    height: 26px;
    background: #61d0c4;
    border-radius: 50%;
    font-size: 14px;
    color: #fff;
    text-align: center;
    line-height: 18px;
    border: 4px solid #fff;
}
.tutos_steps .steps_listing .step .step_thumbs .thumb img {
    width: 100%;
}
.tutos_steps .steps_listing .step .step_active_photo {
    grid-area: step_active_photo;
    cursor: zoom-in;
}
.tutos_steps .steps_listing .step .step_active_photo img {
    width: 100%;
    height: 100%;
}

.tutos_steps .steps_listing .step .step_products {
    grid-area: products;
    position: relative;
    background: #f1f1f1;
    cursor: pointer;
}
.tutos_steps .steps_listing .step .step_products .tools_title {
    display: flex;
    width: 100%;
    height: 40px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #61d0c4;
    text-transform: uppercase;
    background: #fff;
    border-left: 1px solid #f1f1f1;
}
.tutos_steps .steps_listing .step .step_products .tools_title img {
    height: 24px;
}

.tutos_steps .steps_listing .step .step_products .tools_listing {
    width: 100%;
    background: #fff;
    border-top: 1px solid #f1f1f1;
    border-left: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 20px;
}
.tutos_steps .steps_listing .step .step_products .tools_listing .tool_line {
    display: flex;
    align-items: center;
}
.tutos_steps .steps_listing .step .step_products .tools_listing .tool_line .tool_name {
    position: absolute;
    width: 160px;
    height: 40px;
    left: 0;
    line-height: 42px;
    color: #404040;
    text-align: right;
    padding-right: 10px;
    background: #ffffffbf;
    border: 1px solid #f1f1f1;
    transition: all .5s;
}
.tutos_steps .steps_listing .step .step_products .tools_listing .tool_line .tool_name::before {
    content: '\003008';
    position: absolute;
    left: -26px;
    font-size: 18px;
    color: #61d0c4;
    font-weight: 800;
}
.tutos_steps .steps_listing .step .step_products.open .tools_listing .tool_line .tool_name::before {
    display: none;
}
.tutos_steps .steps_listing .step .step_products.open .tools_listing .tool_line .tool_name {
    left: -160px;
}
.tutos_steps .steps_listing .step .step_products .tools_listing .tool_line  .tool_image {
    width: 100%;
    height: 40px;
    background: #fff;
    z-index: 2;
    text-align: center;
    border-bottom: 1px solid #f1f1f1;
}
.tutos_steps .steps_listing .step .step_products .tools_listing .tool_line  .tool_image img {
    position: relative;
    width: 80px;
}


.tutos_steps .steps_listing .step .step_products .parts_title {
    display: flex;
    width: 100%;
    height: 40px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #61d0c4;
    text-transform: uppercase;
    background: #fff;
    border-left: 1px solid #f1f1f1;
}
.tutos_steps .steps_listing .step .step_products .parts_title img {
    height: 24px;
}
.tutos_steps .steps_listing .step .step_products .parts_listing {
    width: 100%;
    background: #fff;
    border-top: 1px solid #f1f1f1;
    border-left: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
}
.tutos_steps .steps_listing .step .step_products .parts_listing .part_line {
    display: flex;
    align-items: center;
}
.tutos_steps .steps_listing .step .step_products .parts_listing .part_line .part_name {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 160px;
    height: 100px;
    left: 0;
    color: #404040;
    text-align: right;
    padding-right: 10px;
    background: #ffffffbf;
    border: 1px solid #f1f1f1;
    transition: all .5s;
}
.tutos_steps .steps_listing .step .step_products .parts_listing .part_line .part_name::before {
    content: '\003008';
    position: absolute;
    left: -26px;
    font-size: 18px;
    color: #61d0c4;
    font-weight: 800;
}
.tutos_steps .steps_listing .step .step_products.open .parts_listing .part_line .part_name::before {
    display: none;
}
.tutos_steps .steps_listing .step .step_products.open .parts_listing .part_line .part_name {
    left: -160px;
}
.tutos_steps .steps_listing .step .step_products.open .parts_listing .part_line .part_name p {
    position: absolute;
    bottom: 4px;
    margin: 0;
    font-size: 13px;
    color: #61d0c4;
}
.tutos_steps .steps_listing .step .step_products .parts_listing .part_line  .part_image {
    width: 100%;
    height: 100px;
    background: #fff;
    z-index: 2;
    text-align: center;
    border-bottom: 1px solid #f1f1f1;
}
.tutos_steps .steps_listing .step .step_products .parts_listing .part_line  .part_image img {
    width: 100%;
}

.tutos_steps .steps_listing .step .text {
    grid-area: text;
    font-size: 15px;
    line-height: 1.3;
    padding: 15px;
}


.tutos_steps .video_embedded {
    text-align: center;
    margin-top: 50px;
}
.tutos_steps .video_embedded iframe {
    width: 600px;
    height: 334px;
}



@media (max-width: 768px) {

    .tutos_steps .steps_listing .step {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 40px auto 80px auto auto;
        grid-template-areas:
                "title"
                "step_active_photo"
                "thumbs"
                "text"
                "products";
        margin-bottom: 40px;
        border: 1px solid #f1f1f1;
        overflow: hidden;
    }
    .tutos_steps .steps_listing .step .title {
        font-size: 15px;
    }
    .tutos_steps .steps_listing .step .step_active_photo img {
        width: 100%;
        height: auto;
    }
    .tutos_steps .steps_listing .step .step_thumbs {
        grid-area: thumbs;
        display: flex;
        flex-direction: row;
        border-right: none;
    }
    .tutos_steps .steps_listing .step .step_thumbs .thumb {
        position: relative;
        width: auto;
        height: auto;
        border: none;
    }
    .tutos_steps .steps_listing .step .step_thumbs .thumb:not(.active) {
        left: auto;
        opacity: 0.6;
    }
    .tutos_steps .steps_listing .step .step_thumbs .thumb .thumb_number {
        top: 2px;
        left: 2px;
        width: 20px;
        height: 20px;
        font-size: 12px;
        line-height: 18px;
        border: 2px solid #fff;
    }
    .tutos_steps .steps_listing .step .text {
        font-size: 12px;
    }

    .tutos_steps .steps_listing .step .step_products {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: 30px auto;
        grid-template-areas:
            "tools_title parts_title"
            "tools_listing parts_listing";
        width: 100%;
        background: none;
    }
    .tutos_steps .steps_listing .step .step_products .tools_title {
        grid-area: tools_title;
        font-size: 14px;
        border: 1px solid #f1f1f1;
    }
    .tutos_steps .steps_listing .step .step_products .tools_listing {
        grid-area: tools_listing;
        border: none;
        margin: 0;
    }
    .tutos_steps .steps_listing .step .step_products.open .tools_listing .tool_line .tool_name {
        position: relative;
        left: auto;
        width: calc(100% - 60px);
        font-size: 12px;
    }
    .tutos_steps .steps_listing .step .step_products.open .tools_listing .tool_line .tool_image {
        position: relative;
        display: flex;
        width: 60px;
        align-items: center;
    }
    .tutos_steps .steps_listing .step .step_products.open .tools_listing .tool_line .tool_image img {
        width: 60px;
    }
    .tutos_steps .steps_listing .step .step_products .parts_title {
        grid-area: parts_title;
        font-size: 14px;
        border: 1px solid #f1f1f1;
    }
    .tutos_steps .steps_listing .step .step_products .parts_listing {
        grid-area: parts_listing;
    }
    .tutos_steps .steps_listing .step .step_products.open .parts_listing .part_line .part_name {
        position: relative;
        left: auto;
        width: calc(100% - 60px);
        height: 60px;
        font-size: 12px;
    }
    .tutos_steps .steps_listing .step .step_products.open .parts_listing .part_line .part_image {
        position: relative;
        width: 60px;
        height: 60px;
    }
    .tutos_steps .steps_listing .step .step_products.open .parts_listing .part_line .part_image img {
        height: 60px;
    }


    .tutos_steps .video_embedded {
        margin-top: 40px;
    }
    .tutos_steps .video_embedded iframe {
        width: 100%;
        height: 180px;
    }

}

*/


/* =================================================================
   NOUVEAU DESIGN .tutos_steps
   Couleurs : #404040 (dark), #626568 (gris), #61d0c4 (teal), #ef9d51 (orange)
   ================================================================= */

/* --- Hero (même structure que .tutos_parts .parts_hero) --- */
.tutos_steps .steps_hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #404040;
    border-radius: 16px;
    padding: 28px 36px 0 36px;
    margin-bottom: 24px;
    overflow: hidden;
    min-height: 170px;
}
.tutos_steps .steps_hero_left {
    flex: 1;
    min-width: 0;
    padding-bottom: 28px;
}
.tutos_steps .steps_hero h1 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 8px 0 10px 0;
    line-height: 1.25;
    text-transform: uppercase;
}
.tutos_steps .steps_hero .guide_badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #404040;
    background: #ef9d51;
    border-radius: 6px;
    padding: 4px 10px;
    margin-bottom: 10px;
}
.tutos_steps .steps_hero .hero_subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    margin: 0;
    line-height: 1.55;
    max-width: 460px;
}
.tutos_steps .steps_hero_right {
    position: relative;
    flex-shrink: 0;
    width: 260px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-left: 20px;
    align-self: flex-end;
}
.tutos_steps .steps_hero_right img {
    z-index: 2;
    max-width: 350px;
    max-height: 280px;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 -2px 18px rgba(97,208,196,0.25));
}
.tutos_steps .steps_hero_right .white_img_bkg {
    position: absolute;
    z-index: 1;
    bottom: -130px;
    right: -22px;
    width: 345px;
    height: 280px;
    background: #f5f5f5;
    border-radius: 50%;
}
.tutos_steps .steps_hero .tutos_breadcrumbs {
    margin: 0 0 10px 0;
}
.tutos_steps .steps_hero .tutos_breadcrumbs a,
.tutos_steps .steps_hero .tutos_breadcrumbs span {
    color: #fff;
}

/* --- Cards Réparation + Diagnostic --- */
.tutos_steps .steps_info_row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    align-items: stretch;
}
.tutos_steps .steps_info_card {
    flex: 1;
    background: #fff;
    border: 1px solid #e8ecee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.tutos_steps .steps_info_card .card_title {
    display: flex;
    height: 54px;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #404040;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 18px;
    border-bottom: 1px solid #f0f2f3;
}
.tutos_steps .steps_info_card .card_title.repair img {
    height: 32px;
    margin: 0 0 0 -4px;
}
.tutos_steps .steps_info_card .card_title.diagnostic img {
    height: 30px;
    margin: 0 0 0 -4px;
}
.tutos_steps .steps_info_card .card_body {
    padding: 16px 18px;
}

/* --- SEO text --- */
.tutos_steps .steps_seo {
    position: relative;
    flex: 1;
    background: #fff;
    border: 1px solid #e8ecee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-size: 14px;
    color: #626568;
    line-height: 1.7;
    padding: 15px 15px 15px 40px;
    margin-bottom: 16px;
}
.tutos_steps .steps_seo p {
        font-size: 14px;
}
.tutos_steps .steps_seo::before {
    content: '';
    position: absolute;
    top: 7%;
    left: 16px;
    width: 6px;
    height: 86%;
    background: #61d0c4;
    border-radius: 6px;
}

/* Repair card — 3 métriques alignées avec subgrid (icônes / labels / valeurs sur la même ligne) */
.tutos_steps .repair_card .card_body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 10px;
    row-gap: 8px;
}
.tutos_steps .repair_card .info_item {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    background: #f7faf9;
    border: 1px solid #e8ecee;
    border-radius: 10px;
    padding: 6px;
    text-align: center;
    justify-items: center;
}
.tutos_steps .repair_card .info_item.global_rate img {
    height: 56px;
}
.tutos_steps .repair_card .info_item.duration img {
    position: relative;
    bottom: -12px;
    height: 34px;
}
.tutos_steps .repair_card .info_item.difficulty img {
    position: relative;
    bottom: -10px;
    height: 42px;
}
.tutos_steps .repair_card .info_item .info_label {
    font-size: 11px;
    color: #888;
    line-height: 0.8;
    align-self: start;
}
.tutos_steps .repair_card .info_item .info_value {
    font-size: 14px;
    font-weight: 700;
    color: #404040;
    margin: -6px 0 2px 0;
    align-self: end;
}

/* Diagnostic card */
.tutos_steps .diag_card .card_body {
    font-size: 14px;
    color: #626568;
    line-height: 1.7;
}
.tutos_steps .diag_card .card_body span {
    display: block;
    margin-bottom: -8px;
}
.tutos_steps .diag_card .card_body span p {
    display: flex;
}
.tutos_steps .diag_card .card_body span p::before {
    content: '•';
    font-size: 18px;
    margin-right: 8px;
    vertical-align: -3px;
    color: #61d0c4;
}

/* --- Blocs produits (Pièces / Outils / Options) --- */
.tutos_steps .steps_products_row {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    align-items: flex-start;
}
.tutos_steps .steps_products_row .products_card {
    flex: 1;
    background: #fff;
    border: 1px solid #e8ecee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.tutos_steps .steps_products_row .products_card .card_title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 10px;
    background: #626568;
    border-bottom: 1px solid #f0f2f3;
}
.tutos_steps .steps_products_row .products_card .card_title img {
    height: 32px;
    margin: 4px;
}
.tutos_steps .steps_products_row .products_card .card_list {
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.tutos_steps .steps_products_row .products_card .card_list::-webkit-scrollbar {
    display: none;
}
.tutos_steps .steps_products_row .products_card .card_list article {
    display: grid;
    grid-template-columns: 128px 1fr 54px;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
        "img name cart"
        "img price cart";
    max-height: 128px;
    border-bottom: 1px solid #f0f2f3;
}
.tutos_steps .steps_products_row .products_card .card_list article:last-child {
    border-bottom: none;
}
.tutos_steps .steps_products_row .products_card .card_list article .prod_image {
    grid-area: img;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tutos_steps .steps_products_row .products_card .card_list article .prod_image img {
    width: 112px;
    height: 112px;
    object-fit: contain;
    margin: 8px;
}
.tutos_steps .steps_products_row .products_card .card_list article .prod_name {
    grid-area: name;
    font-size: 13px;
    color: #404040;
    padding: 16px 8px 4px 10px;
    line-height: 1.35;
    align-self: end;
}
.tutos_steps .steps_products_row .products_card .card_list article .prod_name a {
    color: inherit;
    text-decoration: none;
}
.tutos_steps .steps_products_row .products_card .card_list article .prod_price {
    grid-area: price;
    font-size: 14px;
    font-weight: 700;
    color: #61d0c4;
    padding: 4px 8px 16px 10px;
    align-self: start;
}
.tutos_steps .steps_products_row .products_card .card_list article .prod_cart {
    grid-area: cart;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.tutos_steps .steps_products_row .products_card .card_list article .prod_cart button {
    width: 36px;
    height: 36px;
    border: none;
    font-size: 16px;
    color: #fff;
    background: #61d0c4;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.tutos_steps .steps_products_row .products_card .card_list article .prod_cart button:hover {
    background: #41b8ac;
}
.tutos_steps .steps_products_row .products_card .card_more_link {
    text-align: right;
    padding: 5px 14px;
    font-size: 12px;
    border-top: 1px solid #f0f2f3;
}
.tutos_steps .steps_products_row .products_card .card_more_link a {
    color: #61d0c4;
    text-decoration: underline;
}


/* --- Onglets Photos / Vidéo / 3D --- */
.tutos_steps .steps_tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 40px;
    border-bottom: 2px solid #e8ecee;
}
.tutos_steps .steps_tabs .steps_tab {
    position: relative;
    bottom: -2px;
    display: inline-flex;
    align-items: center;
    height: 36px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #626568;
    background: #f4f6f7;
    border: 1px solid #e8ecee;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 0 22px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.tutos_steps .steps_tabs .steps_tab:hover {
    background: #e8ecee;
    color: #404040;
}
.tutos_steps .steps_tabs .steps_tab.active {
    background: #61d0c4;
    color: #fff;
    border-color: #61d0c4;
}

/* --- Vidéo embarquée --- */
.tutos_steps .step_video {
    margin-bottom: 24px;
}
.tutos_steps .video_embedded {
    text-align: center;
    margin: 30px;
}
.tutos_steps .video_embedded iframe {
    width: 70%;
    height: 360px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

/* --- Listing des étapes --- */
.tutos_steps .steps_listing {
    margin: 0;
}

/* Grille principale de chaque étape :
   col 1 = miniatures (140px), col 2 = contenu (flex), col 3 = produits (210px)
   row 1 = header (60px), row 2 = photo (min 300px), row 3 = texte (auto), row 4 = messages (auto) */
.tutos_steps .steps_listing .step {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid #e8ecee;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

/* Colonne gauche : badge + miniatures */
.tutos_steps .steps_listing .step_left {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 170px;
    border-right: 1px solid #e8ecee;
}

/* Colonne centrale : titre + photo + texte + messages */
.tutos_steps .steps_listing .step_middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}


/* Badge étape (haut de step_left) */
.tutos_steps .steps_listing .step_badge {
    flex-shrink: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-bottom: 1px solid #e8ecee;
}
.tutos_steps .steps_listing .step_badge.hidden {
    visibility: hidden;
}
.tutos_steps .steps_listing .step_badge .badge_inner {
    background: #61d0c4;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
}

/* Badge dupliqué dans step_title — visible uniquement sur mobile */
.tutos_steps .steps_listing .step_badge_mobile {
    display: none;
}

/* Titre (haut de step_middle) */
.tutos_steps .steps_listing .step_title {
    flex-shrink: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 17px;
    font-weight: 700;
    color: #404040;
    border-bottom: 1px solid #e8ecee;
    margin: 0;
    line-height: 1.3;
}

/* Panneau produits/outils (col 3) */
.tutos_steps .steps_listing .step .step_products {
    flex-shrink: 0;
    width: 230px;
    border-left: 1px solid #e8ecee;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: none;
    cursor: default;
    padding: 12px 6px;
    gap: 12px;
}
.tutos_steps .steps_listing .step .step_products::-webkit-scrollbar {
    display: none;
}
.tutos_steps .steps_listing .step .step_products .panel_section {
    border-bottom: 1px solid #e8ecee;
}
.tutos_steps .steps_listing .step .step_products .panel_section:last-child {
    border-bottom: none;
}
.tutos_steps .steps_listing .step .step_products .panel_label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #61d0c4;
    padding: 7px 12px;
    border-bottom: 1px solid #f0f2f3;
    background: #f9fdfc;
}
.tutos_steps .steps_listing .step .step_products .panel_label img {
    height: 18px;
}
.tutos_steps .steps_listing .step .step_products .tool_line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid #f4f6f7;
    font-size: 12px;
    color: #404040;
    gap: 8px;
}
.tutos_steps .steps_listing .step .step_products .tool_line:last-child {
    border-bottom: none;
}
.tutos_steps .steps_listing .step .step_products .tool_picto img {
    height: 28px;
    object-fit: contain;
    opacity: 0.7;
    flex-shrink: 0;
}
.tutos_steps .steps_listing .step .step_products .part_line {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 6px;
    border-bottom: 1px solid #f4f6f7;
}
.tutos_steps .steps_listing .step .step_products .part_line:last-child {
    border-bottom: none;
}
.tutos_steps .steps_listing .step .step_products .part_line .part_image img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #e8ecee;
    flex-shrink: 0;
}
.tutos_steps .steps_listing .step .step_products .part_line .part_info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.tutos_steps .steps_listing .step .step_products .part_line .part_name {
    font-size: 13px;
    color: #404040;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tutos_steps .steps_listing .step .step_products .part_line .part_price {
    font-size: 15px;
    font-weight: 700;
    color: #61d0c4;
    margin-top: 10px;
}
.tutos_steps .steps_listing .step .step_products .part_line button {
    float: right;
    width: 34px;
    height: 34px;
    border: none;
    font-size: 20px;
    color: #fff;
    background: #61d0c4;
    border-radius: 8px;
    padding-top: 2px;
    margin-top: -14px;
    cursor: pointer;
    transition: background 0.2s;
}

/* Grande photo active (milieu de step_middle, absorbe l'excédent de hauteur) */
.tutos_steps .steps_listing .step .step_active_photo {
    flex: 1;
    min-height: 443px;
    display: flex;
    flex-direction: column;
    cursor: zoom-in;
    overflow: hidden;
}
.tutos_steps .steps_listing .step .step_active_photo a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}
.tutos_steps .steps_listing .step .step_active_photo img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

/* Texte de l'étape */
.tutos_steps .steps_listing .step_text {
    flex-shrink: 0;
    padding: 20px 24px;
    font-size: 14px;
    color: #626568;
    line-height: 1.45;
    border-top: 1px solid #e8ecee;
}
.tutos_steps .steps_listing .step_text p {
    margin-bottom: 10px;
}
.tutos_steps .steps_listing .step_text p:last-child {
    margin-bottom: 0;
}

/* Zone messages/conseils */
.tutos_steps .steps_listing .step_messages {
    flex-shrink: 0;
    font-size: 15px;
    padding: 20px;
}
.tutos_steps .steps_listing .step_messages .step_message {
    position: relative;
    padding: 10px 10px 10px 18px;
}
.tutos_steps .steps_listing .step_messages .step_message.advice {
    background: #e0f8df;
}
.tutos_steps .steps_listing .step_messages .step_message.warning {
    background: #ffe9c6;
}
.tutos_steps .steps_listing .step_messages .step_message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;   
}
.tutos_steps .steps_listing .step_messages .step_message.advice::before {
    background: #59bc55;
}
.tutos_steps .steps_listing .step_messages .step_message.warning::before {
    background: #e58f06;
}
.tutos_steps .steps_listing .step_messages .step_message .badge {
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 6px;
}
.tutos_steps .steps_listing .step_messages .step_message .badge img {
    height: 26px;
    margin-right: 6px;
}
.tutos_steps .steps_listing .step_messages .step_message:not(:last-child) {
    margin-bottom: 10px;
}


/* Colonne miniatures (col 1, rows 2–4) — 5 slots uniformes, max 85px de haut chacun */
.tutos_steps .steps_listing .step .step_thumbs {
    flex: 1;
    display: grid;
    grid-auto-rows: 108px;
    align-content: start;
    gap: 10px;
    padding: 8px 12px;
    overflow: hidden;
}

/* Miniature individuelle */
.tutos_steps .steps_listing .step .step_thumbs .thumb {
    position: relative;
    cursor: pointer;
}
.tutos_steps .steps_listing .step .step_thumbs .thumb:last-child {
    border-bottom: none;
}
.tutos_steps .steps_listing .step .step_thumbs .thumb img {
    width: 94%;
    height: 94%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Miniature active — indicateur teal en bordure gauche */
/*.tutos_steps .steps_listing .step .step_thumbs .thumb.active {
    box-shadow: inset 4px 0 0 #61d0c4;
}*/

/* Miniatures inactives — opacity sur l'img uniquement, .thumb_number reste visible */
.tutos_steps .steps_listing .step .step_thumbs .thumb:not(.active):not(.empty) img {
    opacity: 0.45;
}
.tutos_steps .steps_listing .step .step_thumbs .thumb.highlighted:not(.active) img,
.tutos_steps .steps_listing .step .step_thumbs .thumb:not(.active):not(.empty):hover img {
    opacity: 0.85;
    transform: scale(1.07);
}

/* Slot vide */
.tutos_steps .steps_listing .step .step_thumbs .thumb.empty {
    cursor: default;
    pointer-events: none;
}
.tutos_steps .steps_listing .step .step_thumbs .thumb.empty::after {
    content: '';
    position: absolute;
    inset: 10%;
    border: 1px dashed #ced3d7;
    border-radius: 10px;
}

/* Numéro sur la miniature */
.tutos_steps .steps_listing .step .step_thumbs .thumb_number {
    position: absolute;
    top: -4px;
    left: -10px;
    min-width: 24px;
    height: 24px;
    padding: 0 4px;
    background: #61d0c4;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 20px;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .tutos_steps .steps_hero {
        padding: 20px 24px 0 24px;
        margin-bottom: 20px;
    }
    .tutos_steps .steps_hero h1 {
        font-size: 18px;
    }
    .tutos_steps .steps_hero_right {
        width: 180px;
    }
    .tutos_steps .steps_hero_right img {
        max-width: 160px;
        max-height: 220px;
    }
    .tutos_steps .steps_products_row .products_card {
        width: 100%;
    }
    .tutos_steps .steps_listing .step_left {
        width: 110px;
    }
    .tutos_steps .steps_listing .step .step_products {
        width: 180px;
    }

}

@media (max-width: 768px) {
    .tutos_steps .steps_hero {
        border-radius: 10px;
        padding: 16px;
        margin: 0 0 20px 0;
        min-height: unset;
    }
    .tutos_steps .steps_hero_left {
        padding-bottom: 16px;
    }
    .tutos_steps .steps_hero h1 {
        font-size: 15px;
        padding: 4px 0;
    }
    .tutos_steps .steps_hero_right {
        display: none;
    }
    .tutos_steps .steps_info_row {
        flex-direction: column;
    }
    .tutos_steps .repair_card .card_body {
        gap: 8px;
    }
    .tutos_steps .steps_products_row {
        flex-direction: column;
    }
    /* Étapes : flex colonne sur mobile */
    .tutos_steps .steps_listing .step {
        flex-direction: column;
    }
    /* display:contents rend step_middle transparent → ses enfants deviennent
       des enfants directs de .step et peuvent être réordonnés librement */
    .tutos_steps .steps_listing .step_middle {
        display: contents;
    }
    .tutos_steps .steps_listing .step .step_title   { order: 1; width: 100%; }
    .tutos_steps .steps_listing .step .step_active_photo { order: 2; width: 100%; }
    /* step_left (thumbs) entre photo et texte */
    .tutos_steps .steps_listing .step_left          { order: 3; }
    .tutos_steps .steps_listing .step_text          { order: 4; width: 100%; }
    .tutos_steps .steps_listing .step_messages      { order: 5; width: 100%; }
    .tutos_steps .steps_listing .step .step_products { order: 6; }
    /* step_left : bande horizontale de miniatures */
    .tutos_steps .steps_listing .step_left {
        width: 100%;
        flex-direction: row;
        height: 78px;
        border-right: none;
        border-top: 1px solid #e8ecee;
        border-bottom: 1px solid #e8ecee;
    }
    /* Badge desktop (dans step_left) masqué sur mobile */
    .tutos_steps .steps_listing .step_left .step_badge {
        display: none;
    }
    /* Badge mobile (dans step_title) affiché sur mobile */
    .tutos_steps .steps_listing .step_badge_mobile {
        display: inline-block;
        margin-right: 6px;
        vertical-align: middle;
        background: #61d0c4;
        border-radius: 6px;
        padding: 3px 8px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #fff;
        white-space: nowrap;
        line-height: 1.4;
    }
    .tutos_steps .steps_listing .step .step_title {
        padding: 10px;
        font-size: 14px;
        border-bottom: 1px solid #e8ecee;
        min-height: auto;
    }
    .tutos_steps .steps_listing .step .step_active_photo {
        flex: none;
        min-height: auto;
    }
    .tutos_steps .steps_listing .step .step_active_photo a {
        display: block;
        min-height: auto;
    }
    .tutos_steps .steps_listing .step .step_active_photo img {
        width: 100%;
        height: auto;
        max-height: none;
        border-radius: 0;
    }
    .tutos_steps .steps_listing .step .step_thumbs {
        flex: 1;
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        height: 78px;
        padding: 8px 8px 0 8px;
        gap: 8px;
        align-content: unset;
        background: none;
    }
    .tutos_steps .steps_listing .step .step_thumbs::-webkit-scrollbar {
        display: none;
    }
    .tutos_steps .steps_listing .step .step_thumbs .thumb {
        flex-shrink: 0;
        width: 20%;
        height: auto;
        border-bottom: none;
    }
    /*.tutos_steps .steps_listing .step .step_thumbs .thumb.active {
        box-shadow: inset 0 -3px 0 #61d0c4;
    }*/
    .tutos_steps .steps_listing .step .step_thumbs .thumb.empty {
        width: 50px;
    }
    .tutos_steps .steps_listing .step .step_thumbs .thumb_number {
        width: 18px;
        height: 18px;
        font-size: 10px;
        line-height: 18px;
    }
    .tutos_steps .steps_listing .step .step_thumbs .thumb img {
        
    }
    .tutos_steps .steps_listing .step_text {
        padding: 10px;
        font-size: 13px;
        line-height: 1.15;
    }
    .tutos_steps .steps_listing .step_messages {

    }
    .tutos_steps .steps_listing .step .step_products {
        order: 6;
        border-left: none;
        border-top: 1px solid #e8ecee;
        width: 100%;
    }
    .tutos_steps .video_embedded {
        margin: 0;
    }
    .tutos_steps .video_embedded iframe {
        width: 100%;
        height: 200px;
        border-radius: 8px;
    }

}

















.tutos_tuto {
    position: relative;
    padding: 30px;
    margin-bottom: 100px;
}
.tutos_tuto.multi {
    top: 100px;
    left: -15px;
    width: calc(100% + 30px);
    border: 2px solid #e9e9e9;
    border-radius: 8px;
}

.tutos_tuto .tuto_type_selection {
    position: relative;
    top: -80px;
    margin-bottom: -75px;
    display: flex;
    height: 50px;
    padding-left: 30px;
    overflow: hidden;
    align-items: flex-end;
}
.tutos_tuto .tuto_type_selection a {
    position: relative;
    display: inline-flex;
    height: 50px;
    bottom: -8px;
    align-items: center;
    font-size: 16px;
    color: #404040;
    font-weight: 600;
    text-transform: uppercase;
    background: #efefef;
    padding: 0 20px;
    margin-right: 6px;
    border: 2px solid #efefef;
    border-radius: 10px 10px 0 0;
    transition: .3s ease;
}
.tutos_tuto .tuto_type_selection a svg g {
    fill: #626568;
}
.tutos_tuto .tuto_type_selection a.selected {
    bottom: 0;
    color: #ef9d51;
    background: #fff;
    border-bottom-color: #fff;
}
.tutos_tuto .tuto_type_selection a.selected svg g {
    fill: #ef9d51;
}
.tutos_tuto .tuto_type_selection a:hover {
    bottom: 0;
    color: #ef9d51;
    background: #fff;
}

.tutos_tuto .tuto_type_selection a svg {
    width: 28px;
    height: 28px;
    margin: -3px 4px 0 0;
}



.tutos_tuto .infos {
    display: flex;
    margin-top: 30px;
    gap: 15px;
}
.tutos_tuto .info {
    display: flex;
    border: 1px solid #61d0c4;
    border-radius: 8px;
    align-items: center;
    padding: 0 20px;
}
.tutos_tuto .seo {
    margin: 30px 0;
}
.tutos_tuto .diagnostic .title {
    font-size: 16px;
    color: #404040;
    text-transform: uppercase;
    font-weight: 600;
}
.tutos_tuto .diagnostic .title img {
    height: 36px;
    vertical-align: -14px;
    margin-right: 8px;
}
.tutos_tuto .diagnostic ul {
    margin: 15px 0 0 20px;
    line-height: 1.2;
    list-style-type: square;
}



.tutos_tuto .articles {
    margin-top: 30px;
}
.tutos_tuto .articles .title {
    display: flex;
    gap: 10px;
    font-size: 16px;
    color: #404040;
    text-transform: uppercase;
    font-weight: 600;
}
.tutos_tuto .articles .title svg {
    height: 34px;
    vertical-align: -11px;
    margin-right: 4px;
}


.tutos_tuto .articles .articles_parts_container {
    position: relative;
    display: inline-flex;
    width: 30%;
    margin: 15px 30px 0 0;
    border: 1px solid #dedede;
}
.tutos_tuto .articles .articles_parts_container .title_container {
    position: absolute;
    display: inline-block;
    top: 10px;
    left: -15px;
    background: #404040;
    padding: 8px 15px;
    border-radius: 0 6px 6px 0;
}
.tutos_tuto .articles .articles_parts_container .title_container::before {
    content: '';
    position: absolute;
    display: block;
    bottom: -15px;
    left: 0;
    width: 15px;
    height: 15px;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    background: #c9cacb;
}
.tutos_tuto .articles .articles_parts_container .title_container .title {
    font-size: 14px;
    color: #61d0c4;
}
.tutos_tuto .articles .articles_parts_container .all_parts_link {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    color: #626568;
    text-decoration: underline;
}

.tutos_tuto .articles .articles_parts_container .articles_parts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 54px 10px 10px 10px;
}
.tutos_tuto .articles .articles_parts_container .articles_parts article {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0px 0px;
    grid-template-areas:
    "cover name name"
    "cover price add_to_cart";
}
.tutos_tuto .articles .articles_parts_container .articles_parts article .cover {
    grid-area: cover;
    border: 1px solid #dedede;
    border-radius: 8px;
    overflow: hidden;
}
.tutos_tuto .articles .articles_parts_container .articles_parts article .name {
    grid-area: name;
    display: flex;
    align-items: center;
    padding-left: 10px;
}
.tutos_tuto .articles .articles_parts_container .articles_parts article .price {
    grid-area: price;
    display: flex;
    align-items: center;
    padding-left: 10px;
    font-size: 20px;
    color: #61d0c4;
}
.tutos_tuto .articles .articles_parts_container .articles_parts article .price_old {
    font-size: 15px;
    color: #ef9d51;
    margin: 0 0 -2px 6px;
    text-decoration: line-through;
}
.tutos_tuto .articles .articles_parts_container .articles_parts article .add_to_cart {
    grid-area: add_to_cart;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
}
.tutos_tuto .articles .articles_parts_container .articles_parts article .add_to_cart button {
    background: none;
    border: none;
}
.tutos_tuto .articles .articles_parts_container .articles_parts article .add_to_cart button:focus {
    outline: none;
}
.tutos_tuto .articles .articles_parts_container .articles_parts article .add_to_cart button small {
    display: block;
    margin: -11px -4px 0 0;
}


.tutos_tuto .steps {
    margin-top: 30px;
}
.tutos_tuto .steps .step {
    margin: 60px 0 20px 0;
}
.tutos_tuto .steps .step .title {
    display: flex;
    border-bottom: 4px solid #ebebeb;
    font-size: 20px;
    font-weight: 600;
    align-items: center;
}
.tutos_tuto .steps .step .title img {

}
.tutos_tuto .steps .step .text {
    margin: 30px 0;
}
.tutos_tuto .steps .step .images_container {
    display: flex;
}
.tutos_tuto .steps .step .images {
    width: 75%
}
.tutos_tuto .steps .step .images .active_image {
    position: relative;
    border: 1px solid #ccc;
}
.tutos_tuto .steps .step .images .active_image img {
    width: 100%;
}
.tutos_tuto .steps .step .images .step_thumbs {
    display: flex;
    width: 100%;
    margin-top: 10px;
    border: 1px solid #ccc;
}
.tutos_tuto .steps .step .images .step_thumbs .thumb {
    position: relative;
    width: 20%;
    cursor: pointer;
}
.tutos_tuto .steps .step .images .step_thumbs .thumb img {
    width: 100%;
    opacity: 0.6;
}
.tutos_tuto .steps .step .images .step_thumbs .thumb.active img {
    opacity: 1;
}
.tutos_tuto .steps .step .images .step_thumbs .thumb::after {
    position: absolute;
    display: block;
    bottom: 0;
    left: 0;
    font-size: 16px;
    color: #fff;
    padding: 4px 6px 2px 6px;
    background: #ef9d51;
    border-radius: 0 6px 0 0;
}
.tutos_tuto .steps .step .images .step_thumbs .thumb:nth-child(1)::after { content: '1'; }
.tutos_tuto .steps .step .images .step_thumbs .thumb:nth-child(2)::after { content: '2'; }
.tutos_tuto .steps .step .images .step_thumbs .thumb:nth-child(3)::after { content: '3'; }
.tutos_tuto .steps .step .images .step_thumbs .thumb:nth-child(4)::after { content: '4'; }
.tutos_tuto .steps .step .images .step_thumbs .thumb:nth-child(5)::after { content: '5'; }


.tutos_tuto .steps .step .screws_container {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}
.tutos_tuto .steps .step .screws_container .screw {
    position: absolute;
    display: flex;
    width: 25px;
    height: 25px;
    border: 3px solid #fff;
    border-radius: 50%;
}
.tutos_tuto .steps .step .screws_container .screws_2,
.tutos_tuto .steps .step .screws_container .screws_3,
.tutos_tuto .steps .step .screws_container .screws_4 {
    display: none;
}

.tutos_tuto .steps .step .step_products {
    width: 25%;
}
.tutos_tuto .steps .step .step_products .step_products_title {
    position: relative;
    display: inline-block;
    top: 15px;
    left: -15px;
    font-size: 18px;
    color: #fff;
    background: #61d0c4;
    padding: 8px 15px;
    border-radius: 0 8px 8px 0;
}
.tutos_tuto .steps .step .step_products .step_products_title::before {
    content: '';
    position: absolute;
    display: block;
    bottom: -15px;
    left: 0;
    width: 15px;
    height: 15px;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    background: #404040;
}
.tutos_tuto .steps .step .step_products .pictos {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 12px 0 12px 0;
    flex-wrap: wrap;
    justify-content: center;
}
.tutos_tuto .steps .step .step_products .pictos .picto {
    display: flex;
    width: 33%;
    height: 100px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.tutos_tuto .steps .step .step_products .pictos .picto img {
    display: block;
    height: 80px;
}
.tutos_tuto .steps .step .step_products .options {
    margin-top: 50px;
    padding: 0 30px;
}
.tutos_tuto .steps .step .step_products .options a {
    display: block;
    text-align: center;
}
.tutos_tuto .steps .step .step_products .options img {
    display: block;
    height: 80px;
    margin: 0 auto;
}


@media (max-width: 560px) {

    .tutos_tuto {
        width: 100%;
        left: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }
    .tutos_tuto .tuto_type_selection {
        padding-left: 0;
    }
    .tutos_tuto h1 {
        font-size: 18px;
    }
    .tutos_tuto .infos {
        flex-direction: column;
    }
    .tutos_tuto .infos .duration {
        min-height: 50px;
        padding-left: 30px;
    }
    .tutos_tuto .articles .articles_parts_container {
        width: 100%;
    }
    .tutos_tuto .steps .step .title {
        font-size: 17px;
    }
    .tutos_tuto .steps .step .images_container {
        flex-direction: column;
    }
    .tutos_tuto .steps .step .images {
        width: 100%;
    }
    .tutos_tuto .steps .step .images .step_thumbs .thumb::after {
        font-size: 10px;
        padding: 2px 4px 0px 3px;
    }
    .tutos_tuto .steps .step .step_products {
        width: 100%;
        background: #ebebeb;
        margin-top: 15px;
        padding-bottom: 15px;
    }
    .tutos_tuto .steps .step .step_products .step_products_title {
        font-size: 14px;
    }
    .tutos_tuto .steps .step .step_products .pictos {
        flex-direction: row;
        justify-content: space-around;
        margin: 25px 0 0px 0;
    }
    .tutos_tuto .steps .step .step_products .pictos .picto {
        width: 20%;
        text-align: center;
    }
    .tutos_tuto .steps .step .step_products .pictos .picto img {
        height: 50px;
    }
    .tutos_tuto .steps .step .step_products .options {
        display: flex;
        padding: 0 15px 15px 15px;
        justify-content: center;
    }
    .tutos_tuto .steps .step .step_products .options a {
        width: 50%;
    }

    .tutos_tuto .steps .step .step_products .options img {
        mix-blend-mode: multiply;
        margin-bottom: 10px;
    }

}