/* ==========================================================================
   Archive Product - Blocs CSS compilés
   Concaténation de :
   - gutenberg/blocks/accordeon/style.css
   - gutenberg/blocks/temoignages-vertical/style.css
   - gutenberg/blocks/textimage/style.css
   Chargé uniquement sur archive-product.php (voir functions.php)
   ========================================================================== */

h1 {
    font-weight: 700;
}

/* ==========================================================================
   1. ACCORDÉON
   ========================================================================== */

.accordeon {
    background-color: white;
}

.archive.woocommerce .grand-bloc__titre, .tax-product_cat .grand-bloc__titre {
    width: 90%;
    max-width: 1600px;
    margin: 100px auto 0;
    text-align: left;
    padding: 0;
}

.archive-product__intro-texte {
    max-width: 1000px;
}

.accordeon h2 strong {
    position: relative;
    color: #e30613;
}

.accordeon h2 strong:before {
    z-index: -1;
    content: "";
    position: absolute;
    right: -50%;
    bottom: -85%;
    width: 260px;
    height: auto;
    aspect-ratio: 152 / 20;
    background-image: url(https://www.toopre.fr/wp-content/uploads/2024/06/sublineleft.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.accordeon .btn {
    margin: 0 auto;
}

.accordeon-container {
    margin: 0 auto;
}

.accordeon-titre {
    margin: 0 0 24px 0;
}

.accordeon-titre h2 {
    color: var(--Base-black, #0A0A0A);
    font-family: Montserrat;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
    margin: 0 auto;
    text-align: center;
}

.accordeon-titre p {
    color: var(--Blue-3, #070C16);

    /* Text/text-lg */
    font-family: Roboto;
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5; /* 155.556% */
    text-align: center;
    margin: 0 auto;
}

.accordeon-container .accordeon-liste h3 i {
    color: #e30613;
    transition: 0.3s all ease;
}

.accordeon-container .accordeon-liste .ui-accordion-header-active i {
    color: #e30613;
    transition: 0.3s all ease;
}

.accordeon-container .accordeon-liste .ui-accordion-header-active span {
    color: #070C16;
    border-bottom: unset;
    transition: 0.3s all ease;
}

.accordeon-container .accordeon-liste {
    padding: 32px;
}

.accordeon-container .accordeon-liste h3 {
    position: relative;
    display: flex;
    cursor: pointer;
    align-items: center;
    color: var(--Blue-3, #070C16);
    /* Headlines/headline-3-desktop */
    font-family: "Montserrat";
    font-size: 2.8rem;
    font-style: normal;
    font-weight: 700;
    line-height: 36px; /* 128.571% */
    padding: 32px 100px 32px 32px;
    margin: 0;
    border: 2px solid var(--Grey-1, #F3F3F3);
    border-radius: 10px 10px 0 0;
    background: transparent;
    transition: 0.3s all ease;
}

.accordeon-liste h3.ui-accordion-header-active {
    border: 2px solid transparent;
    background: var(--Charte-orange-3, #F3F3F3);
}

.accordeon-liste .ui-accordion-header-collapsed {
    border-radius: 10px;
    margin-bottom: 16px;
    transition: 0.3s all ease;
}

.accordeon-liste h3::after {
    content: "";
    position: absolute;
    width: 55px;
    height: 55px;
    top: 50%;
    right: 16px;
    transform: translateY(-50%) rotate(-90deg);
    background-image: url("https://mutelet.fr/wp-content/uploads/2026/06/svgexport-1-17-1.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    transition: 0.3s all ease;
}

.accordeon-liste h3 span {
    font-family: 'Montserrat';
    font-weight: 700;
}

.accordeon-liste h3 span.ui-accordion-header-icon {
    display: none;
}

.accordeon-liste h3.ui-accordion-header-active::after {
    transform: translateY(-50%);
    transition: 0.3s all ease;
}

.accordeon-liste h3:hover span {
    color: #e30613;
    transition: 0.3s all ease;
}

.accordeon-liste h3 span, .accordeon-liste p {
    color: black;
}

.accordeon-liste div {
    padding: 16px 32px 32px 32px;
    background: var(--Charte-orange-3, #F3F3F3);
    border-radius: 0 0 10px 10px;
    transition: 0.3s all ease;
}

.accordeon-liste h3.ui-accordion-header-active + div + h3 {
    margin-top: 16px;
    margin-bottom: 16px;
    transition: 0.3s all ease;
}

.accordeon-liste div > .btn {
    margin: 24px auto;
    padding: 12px 28px;
}

.accordeon-listeliens {
    display: flex;
    flex-wrap: wrap;
    width: fit-content;
    gap: 16px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .accordeon h2 strong:before {
        display: none;
    }

    .accordeon-titre * {
        font-size: 2.4rem;
    }

    .accordeon-liste {
        padding: 16px 0;
    }

    .accordeon-liste h3 span {
        padding: 0 5% 0 0;
    }
}

/* ==========================================================================
   2. TÉMOIGNAGES VERTICAL
   ========================================================================== */

.bloc-temoignages-vertical {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    background: #ee0d13;
    color: #fff;
}

.bloc-temoignages-vertical::before {
    content: "";
    position: absolute;
    top: -80px;
    left: -60px;
    width: 420px;
    height: 260px;
    background-image: url("https://mutelet.fr/wp-content/uploads/2023/08/Trace-34.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top left;
    opacity: 0.12;
    pointer-events: none;
}

.bloc-temoignages-vertical__left {
    position: relative;
    z-index: 2;
}

.bloc-temoignages-vertical__left-inner {
    max-width: 320px;
}

.bloc-temoignages-vertical__logo {
    width: 72px;
    height: 72px;
    margin-bottom: 28px;
    border-radius: 50%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bloc-temoignages-vertical__logo img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    display: block;
}

.bloc-temoignages-vertical__title {
    margin: 0 0 16px 0;
}

.bloc-temoignages-vertical__title h1,
.bloc-temoignages-vertical__title h2,
.bloc-temoignages-vertical__title h3,
.bloc-temoignages-vertical__title p {
    margin: 0;
    color: #fff;
}

.bloc-temoignages-vertical__title p {
    font-family: "Montserrat";
    font-size: 4rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
}

.bloc-temoignages-vertical__title h2 {
    font-size: clamp(2.1rem, 3vw, 3.6rem);
    line-height: 0.98;
    font-weight: 700;
    margin-bottom: 22px;
}

.bloc-temoignages-vertical__global-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-family: "myriad-pro", sans-serif;
    font-size: 1.6rem;
    font-style: normal;
    line-height: 1.2;
}

.bloc-temoignages-vertical__star,
.temoignage-card__star {
    color: #ffd54a;
    font-size: 1.4rem;
    line-height: 1;
}

.bloc-temoignages-vertical__global-note {
    font-weight: 700;
}

.bloc-temoignages-vertical__global-text {
    opacity: 0.95;
}

.bloc-temoignages-vertical__right {
    position: relative;
    z-index: 2;
}

.temoignagesVerticalSwiper {
    height: 220px;
    overflow: hidden;
}

.temoignagesVerticalSwiper .swiper-slide {
    display: flex;
    align-items: center;
}

.temoignage-card {
    width: 100%;
    padding-right: 70px;
}

.temoignage-card__note {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 1.4rem;
    font-family: "myriad-pro", sans-serif;
    font-weight: 700;
}

.temoignage-card__nom {
    margin-bottom: 16px;
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 700;
    color: #fff;
}

.temoignage-card__avis {
    line-height: 1.65;
    color: #fff;
    max-width: 720px;
}

.temoignage-card__avis p {
    font-size: 1.6rem;
    font-weight: 500;
    color: white;
    margin: 0 0 10px 0;
}

.temoignage-card__avis p:last-child {
    margin-bottom: 0;
}

.bloc-temoignages-vertical .swiper-pagination {
    position: absolute;
    top: 50%;
    right: 0;
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bloc-temoignages-vertical .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 !important;
    border: 1px solid #fff;
    background: transparent;
    opacity: 1;
}

.bloc-temoignages-vertical .swiper-pagination-bullet-active {
    background: #fff;
}

@media (max-width: 991px) {
    .bloc-temoignages-vertical {
        padding: 70px 0;
    }

    .bloc-temoignages-vertical__left {
        margin-bottom: 40px;
    }

    .bloc-temoignages-vertical__left-inner {
        max-width: 100%;
    }

    .temoignagesVerticalSwiper {
        height: 260px;
    }

    .temoignage-card {
        padding-right: 40px;
    }

    .temoignage-card__nom {
        font-size: 1.5rem;
    }

    .temoignage-card__avis {
        font-size: 1rem;
        line-height: 1.55;
    }
}

@media (max-width: 767px) {
    .bloc-temoignages-vertical {
        padding: 55px 0;
    }

    .bloc-temoignages-vertical__logo {
        width: 62px;
        height: 62px;
        margin-bottom: 22px;
    }

    .bloc-temoignages-vertical__title h2 {
        margin-bottom: 18px;
    }

    .temoignagesVerticalSwiper {
        height: 300px;
    }

    .temoignage-card {
        padding-right: 30px;
    }

    .temoignage-card__nom {
        font-size: 1.3rem;
        margin-bottom: 14px;
    }

    .temoignage-card__avis {
        font-size: 0.98rem;
    }

    .bloc-temoignages-vertical .swiper-pagination {
        right: 0;
        gap: 8px;
    }
}

/* ==========================================================================
   3. TEXTE ET IMAGE
   ========================================================================== */

.text-image {
    background-color: #FFF;
}

.text-image .row {
    position: relative;
    align-items: flex-start;
}

.text-image .text-image__image .imgcropCtn {
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    -webkit-mask-size: contain;
    -webkit-mask-position: center center;
    -webkit-mask-repeat: no-repeat;
}

.text-image__texte .text-image__texte-wrapper {
}

.text-image__image {
    z-index: 2;
    position: relative;
}

.text-image .text-image__image .deuxiemeImage {
    position: absolute;
    width: 50%;
    height: auto;
    bottom: -15px;
    right: -15px;
}

.text-image__texte {
    position: relative;
}

/*Image à gauche et texte à droite*/

.text-image .imagegauche .text-image__texte .text-image__texte-wrapper {
    z-index: 1;
    position: relative;
}

.text-image .imagegauche .text-image__texte .pretitre {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--Red, #E10F1A);
    font-family: "myriad-pro", sans-serif;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin: 0 0 12px 0;
}

.text-image .imagedroite .text-image__texte .pretitre {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--Red, #E10F1A);
    font-family: "myriad-pro", sans-serif;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin: 0 0 12px 0;
}

.text-image h2 {
    color: var(--Base-black, #0A0A0A);

    /* Display/display-xs-desktop */
    font-family: Montserrat;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px; /* 120% */
}

.text-image .imagegauche .text-image__texte .pretitre::before {
    content: "";
    z-index: 0;
    height: 2px;
    width: 48px;
    background: #E10F1A;
    border-radius: 24px;
}

.text-image .imagedroite .text-image__texte .pretitre::before {
    content: "";
    z-index: 0;
    height: 2px;
    width: 48px;
    background: #E10F1A;
    border-radius: 24px;
}

/*Texte à gauche et image à droite*/

.text-image .imagedroite .text-image__texte .text-image__texte-wrapper {
    z-index: 1;
    position: relative;
}

/*Bloc Noir*/

.blockblack {
    position: relative;
}

.blockblack .text-image__texte {
    width: 66% !important;
}

.blockblack .text-image__texte-wrapper {
    background-color: black !important;
    padding-top: 74px !important;
    padding-bottom: 74px !important;
}

.blockblack .text-image__image {
    position: absolute !important;
    top: 50px !important;
    right: 0 !important;
    width: 42% !important;
}

.blockblack .text-image__texte::before {
    background-color: white !important;
}

.blockblack .text-image__texte h2, .blockblack .text-image__texte p, .blockblack .text-image__texte a {
    color: white !important;
}

.blockblack .text-image__texte::before {
    top: 90px !important;
    width: 28% !important;
}

.blockblack .btn .plus-button {
    border: 2px solid white;
}

.blockblack .btn .plus-button::before, .blockblack .btn .plus-button::after {
    background-color: white;
}

.blockblack .btn:hover span {
    opacity: 0.8;
    color: white !important;
}

.blockblack .btn:hover .plus-button {
    opacity: 0.8;
    border: 2px solid white !important;
}

.blockblack .btn .plus-button::before, .blockblack .btn .plus-button::after {
    opacity: 0.8;
    background-color: white !important;
}

/*Bloc Gris*/

.blockgrey {
    position: relative;
}

.blockgrey .text-image__texte {
    width: 66% !important;
}

.blockgrey .text-image__texte-wrapper {
    background-color: #fafafa91;
    padding-top: 74px;
    padding-bottom: 74px;
}

.blockgrey .text-image__image {
    position: absolute;
    top: 50px;
    right: 0;
    width: 42% !important;
}

.blockgrey .text-image__texte::before {
    background-color: white !important;
}

.blockgrey .text-image__texte h2 {
    color: #E30514;
}

.blockgrey .text-image__texte p {
    color: #000000;
}

.blockgrey .text-image__texte a {
    color: #E30514;
}

.blockgrey .text-image__texte::before {
    top: 90px;
    width: 28%;
}

.blockgrey .imagegauche {
    align-items: flex-end;
    justify-content: flex-end;
}

.blockgrey .imagegauche .text-image__image {
    left: 0;
    right: unset;
}

.blockgrey .imagegauche .text-image__texte .text-image__texte-wrapper {
    padding-left: 16% !important;
}

/*Illustration Fond*/

.text-image-illu .imagegauche::after {
    content: "";
    position: absolute;
    bottom: -20%;
    right: -20%;
    aspect-ratio: 1/1;
    width: 50%;
    height: auto;
    background-image: url(https://muteletcom.gqoe9330.odns.fr/wp-content/uploads/2024/01/BucheFondDec.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.text-image-illu .imagedroite::after {
    content: "";
    position: absolute;
    bottom: -20%;
    left: -20%;
    aspect-ratio: 1/1;
    width: 50%;
    height: auto;
    background-image: url(https://muteletcom.gqoe9330.odns.fr/wp-content/uploads/2024/01/BucheFondDec.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

@media (max-width: 992px) {
    .text-image h2 {
        font-size: 3rem !important;
        line-height: 1.2;
    }
    .text-image__texte {
        padding: 50px 0 150px;
    }

    .text-centered .wrapper {
        width: 90%;
        margin: 0 auto;
    }

    .text-image__texte h2, .text-image__texte p {
        text-align: left;
    }

    .text-image__texte a {
        text-align: left;
        margin: 16px 0;
    }

    .text-image .imagegauche .text-image__texte::before {
        display: none;
    }

    .text-image .imagedroite .text-image__texte::before {
        display: none;
    }

    .text-image .imagegauche .text-image__texte .text-image__texte-wrapper {
        padding-left: 0 !important;
    }

    .blockblack .text-image__texte, .blockgrey .text-image__texte {
        order: 2;
        width: 100% !important;
    }

    .blockblack .text-image__image, .blockgrey .text-image__image {
        order: 1;
        position: initial !important;
        width: 100% !important;
    }

    .text-image .imagedroite .text-image__texte .text-image__texte-wrapper, .text-image .imagegauche .text-image__texte .text-image__texte-wrapper {
        padding-left: 5% !important;
        padding-right: 5% !important;
    }

    .blockblack, .blockgrey {
        margin-top: 75px !important;
        margin-bottom: 75px !important;
    }
}
