:root {
    --radius: 15px;
    --swiper-pagination-color: var(--redMinusl);
    --swiper-navigation-color: var(--white);
    --swiper-pagination-bullet-size: .75rem;
    --swiper-pagination-bullet-width: .75rem;
    --swiper-pagination-bullet-height: .75rem;
    --swiper-pagination-bullet-inactive-color: var(--white);
    --swiper-pagination-bullet-inactive-opacity: 1;
    --swiper-pagination-bullet-opacity: 1;
    --swiper-pagination-bullet-horizontal-gap: 0.656rem;
    --swiper-pagination-bullet-vertical-gap: 0.656;
    --swiper-pagination-bottom: 2.5rem;
    --swiper-navigation-size: 3.56rem;
    --swiper-navigation-sides-offset: calc(var(--swiper-navigation-size) / 2 * -5);

    --image-height-rem: 16.25;
    --banner-height-rem: 5.625;
    --swiper-height: calc((var(--image-height-rem) + var(--banner-height-rem)) * var(--base-font-size) * 1px);
}

.swipper-section {
    /* padding-top: var(--padding-md); */
    /* padding-bottom: var(--padding-2xl); */
    padding-block: var(--padding-2xl);
}

.swipper-section .content-width {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    height: unset;
    /* max-width: 100vw; */
    border-radius: 25px;
    background-color: var(--white, white);
    text-align: center;
    padding: var(--padding-lg) var(--padding-xs);
    padding-left: 0%;
    padding-right: 0%;
    overflow: hidden;
}

.swipper-section .swiper {
    width: 100%;
    margin-top: var(--spacing-lg);
    /* margin-left: auto; */
    /* margin-right: auto; */
    /* transform: none; */
}

/* .swiper-slide picture, */
.swiper-slide img {
    max-width: 100%;
    object-fit: cover;
}

.home .swipper-section {
    padding-bottom: var(--padding-md);
}

/* HOME PRODUCT RANGE SLIDER */
.home .swipper-section:not(.athentikos) .swiper-slide img {
    width: 60%;
}

/* 568 */
@media (min-width: 35.5rem) {
    .home .swipper-section:not(.athentikos) .swiper-slide img {
        width: 70%;
    }
}

/* 768 */
@media (min-width: 48rem) {
    .home .swipper-section {
        /* padding-top: var(--spacing-md); */
        /* padding-top: unset; */
        padding-bottom: var(--padding-section-3xl);
    }

    .home .overlapping-boxes .swiper-button-next,
    .home .overlapping-boxes .swiper-button-prev {
        margin-top: unset;
    }

}

/* END HOME PRODUCT RANGE SLIDER */

/* SWIPER ARROW PRE/NEXT DEFAULT MINUSL */
.swiper-arrow {
    border-radius: 50%;
    width: var(--swiper-navigation-size);
    color: var(--white);
    background-color: var(--redMinusl);
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: var(--padding-md); */
    position: absolute;
    border: 2px solid var(--redMinusl, red);
}

.swiper-arrow:after {
    font-size: calc(var(--swiper-navigation-size) / 2);
    font-weight: 900;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    pointer-events: initial;
    opacity: 1;
    color: var(--white);
    background-color: var(--grey);
    border-color: var(--grey);
}

.swiper-button-next,
.swiper-button-prev {
    top: 50%;
    z-index: 5;
}

.swiper-button-prev {
    left: 3%;
    right: unset;
}

.swiper-button-next {
    left: unset;
    right: 3%;
}

.recipe-footer {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--spacing-lg);
}

.recipe-footer .recipe-footer-title {
    width: 50%;
    font-size: var(--fs-h4-caps);
    line-height: 100%;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* permet d'isoler le arrow du slide des arrows du slider */
.swipper-section .content-width .swiper-button-next.recipe-footer-arrow {
    position: absolute;
    width: 1.81rem;
    height: 1.81rem;
    margin-top: unset;
    top: unset;
    left: 85%;
    transform: unset;
    right: unset;
    /* annule la position vertical du arrow next de slider */
    color: var(--redMinusl);
    background-color: transparent;
}

.swipper-section .content-width .swiper-button-next.recipe-footer-arrow:after {
    font-size: calc(29px / 2);
    font-weight: 900;
}

/* END PRODUCT RANGE PAGE SLIDER */

/* HOME DOUBLE CTA SLIDER */
.swipper-section.athentikos {
    display: none
}

.swipper-section.athentikos .content-width .swiper-button-prev {
    transform: translateX(-15%);
}


/* 768 */
@media (min-width: 48rem) {
    :root {
        --swiper-navigation-size: 3rem;
    }

    .swipper-section.athentikos {
        display: block;
        padding: 0;
        padding-top: var(--padding-md);
    }

    .athentikos .swiper-button-prev,
    .athentikos .swiper-button-next {
        top: 70%;
        position: absolute;
        transform: none;
        background-color: var(--white);
        color: var(--redMinusl);
        border: none;
    }


    .swipper-section.athentikos .content-width .swiper-button-next {
        margin-top: calc(0px - (var(--swiper-navigation-size)/ 2));
        transform: none;
    }

    .swiper-slide.home-two-cta-slide {
        background-color: var(--blueMinusl);
        border-radius: 0;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Centre tout horizontalement */
        justify-content: center;
        /* Centre verticalement si besoin */
        text-align: center;
        gap: .625rem;
        z-index: 0;
        /* Fond en arrière-plan */
        padding-top: var(--padding-xl);
        padding-bottom: var(--padding-section);
        width: 100%;
    }

    /* Image centrée */
    .home-two-cta-slide img {
        width: 22rem;
        height: auto;
        z-index: 2;
        margin-block: unset;
    }

    .home-two-cta-slide .slide-footer {
        margin-top: var(--spacing-lg);
    }

    /* Titre et sous-titre identiques */
    .home-two-cta-slide .slide-footer h2 {
        z-index: 2;
        color: var(--white);
        font-size: var(--fs-h3);
        line-height: var(--fs-h3);
        font-weight: var(--font-weight-md);
        margin: var(--spacing-xs);
    }

    .home-two-cta-slide .slide-footer .slide-footer-cta {
        margin-top: var(--spacing-md);
        display: flex;
        /* Espacement entre les boutons */
        justify-content: center;
        /* Centre les boutons */
    }

    .home-two-cta-slide .slide-footer .slide-footer-cta .cta {
        margin: var(--spacing-md) var(--spacing-sm);
    }

    /* Textes en fond derrière tout sauf le background */
    .text-background {
        position: absolute;
        top: 30%;
        /* Aligné verticalement avec l’image */
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        z-index: 1;
        /* Derrière tous les autres éléments, mais devant le background */
        pointer-events: none;
        /* Évite que ça gêne les clics */
        display: flex;
        flex-direction: column;
        /* Chaque texte sur une ligne */
        align-items: center;
        font-family: var(--font-primary);
    }

    /* Style des textes de fond */
    .bg-text {
        font-size: 14.375rem;
        line-height: 11.25rem;
        font-weight: bold;
        color: rgba(255, 255, 255, 0.2);
        text-transform: uppercase;
        /* Transparence pour un effet subtil */
        white-space: nowrap;
    }


    @keyframes move-left {
        0% {
            transform: translateX(100%);
        }

        75% {
            transform: translateX();
        }

        100% {
            transform: translateX(-100%);
        }
    }

    /* Un texte à gauche et un texte à droite */
    .bg-text-left {
        animation: move-left 16s cubic-bezier(1, 0, 0.7, 1) infinite alternate;

        font-weight: 900;
        /* Assure une épaisseur suffisante pour le contour */
        color: transparent;
        /* Supprime totalement le remplissage */
        -webkit-text-stroke: 0.5px var(--color-tertiary, white);

        /* Supprime tout effet de lissage */
        -webkit-font-smoothing: none;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: geometricPrecision;
    }

    @keyframes move-right {
        0% {
            transform: translateX(-100%);
            /* Départ complètement caché à gauche */
        }

        75% {
            transform: translateX(50%);
            /* Déplacement rapide, presque au bout */
        }

        100% {
            transform: translateX(100%);
            /* Fin lente, caché à droite */
        }
    }

    .bg-text-right {
        animation: move-right 16s cubic-bezier(1, 0, 0.7, 1) infinite alternate;
    }

    .shape-divider {
        background-image: url("img/wave1-84e7a5d39bd75ce77236bc4a36b56efd.svg");
        position: relative;
        width: 100%;
        height: 100px;
        /* adapte à ton SVG */
        overflow: hidden;
        line-height: 0;
        top: 0.06rem;
    }

    .shape-divider svg {
        display: block;
        width: 100%;
        height: 100%;
    }

    /* END HOME DOUBLE CTA SLIDER */

    .swiper-slide {
        height: auto;
        /* ou fixe si besoin */
        padding-bottom: var(--padding-lg);
        padding-top: var(--padding-lg);
    }

    .recipe-footer {
        margin-top: 0;
    }

    .swipper-section {
        padding-inline: var(--padding-md);
    }

    .swiper-button-next,
    .swiper-button-prev {
        top: unset;
        z-index: 9;
    }

    .swipper-section .content-width .swiper-button-prev {
        transform: translateX(-65%);
    }

    .swiper-arrow {
        position: unset;
    }

    .swiper-button-next.swiper-button-disabled,
    .swiper-button-prev.swiper-button-disabled {
        pointer-events: initial;
        opacity: 1;
        color: var(--redMinusl);
        background-color: transparent;
        border: 2px solid var(--redMinusl, red);
    }

    .swipper-section .content-width .swiper-button-next {
        margin-top: calc(0px - (var(--swiper-navigation-size) + 4px));
        transform: translateX(65%);
    }

    .recipe-footer .recipe-footer-title {
        width: 80%;
    }

    .swipper-section .content-width .swiper-button-next.recipe-footer-arrow {
        position: absolute;
        width: 1.87rem;
        height: 1.87rem;
        margin-top: 0;
        left: 82%
    }

    .swiper-slide.product-details {
        padding: 0%;
    }

    .swiper-slide.product-details .recipe-footer .recipe-footer-title {
        font-size: 1.87rem;
    }

    .swiper-slide.product-details .recipe-footer .swiper-button-next.recipe-footer-arrow {
        width: 1.25rem;
        ;
        height: 1.25rem;
        ;
    }
}

/* 1024 */
@media (min-width: 64rem) {
    .swipper-section .content-width .swiper-button-next.recipe-footer-arrow {
        left: 79%;
    }
}

/* 1366 */
@media (min-width: 85.375rem) {
    .swipper-section .content-width .swiper-button-next.recipe-footer-arrow {
        left: 83%;
    }
}

/* 1024 */
@media (min-width: 64rem) {

    .athentikos .swiper-button-prev,
    .athentikos .swiper-button-next {
        top: 69%;
    }
}

/* 1366 */
@media (min-width: 85.375rem) {

    .athentikos .swiper-button-prev,
    .athentikos .swiper-button-next {
        top: 68%;
    }
}

/* 1680 */
@media (min-width: 105rem) {

    .athentikos .swiper-button-prev,
    .athentikos .swiper-button-next {
        top: 69%;
    }

    .athentikos .swiper-button-prev {
        transform: translateX(0);
        left: 20%;
    }

    .athentikos .swiper-button-next {
        transform: translateX(0);
        right: 20%;
    }
}

/* COMPONENT RECIPE LIST */
.section-recipes-list {
    position: relative;
    padding-top: var(--padding-xl);
    padding-bottom: var(--padding-3xl);
    padding-inline: var(--spacing-md);
}

.componentRecipesList-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-recipes-list p {
    font-size: 1.5rem;
    line-height: 100%;
    width: 100%;
    text-align: center;
    margin: 0;
    font-family: var(--font-primary);
}

.section-recipes-list .content-width {
    width: 100%;
    margin-top: var(--padding-xl);
    position: relative;
}

.section-recipes-list .swiper-arrow {
    top: 50%;
}

.section-recipes-list .swiper-button-prev {
    left: 0%;
}

.section-recipes-list .swiper-button-next {
    right: 0%;
}

.section-recipes-list .swiper .swiper-slide {
    padding: 0;
    position: relative;
    /* width: 100%; */
    height: 24.25rem;
    /* aspect-ratio: 3 / 4; */
    /* ✅ hauteur auto selon la largeur */
    overflow: hidden;
    border-radius: 15px;
}

.section-recipes-list h2 {
    margin-top: 1.313rem;
    margin-bottom: 1.5rem;
}

.section-recipes-list .swiper .swiper-slide img {
    position: absolute;
    inset: 0;
    /* équivalent de top/left/right/bottom à 0 */
    margin-block: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.section-recipes-list .swiper .swiper-slide .recipe-overlay {
    position: absolute;
    inset: 0;
    /* top: 0; right: 0; bottom: 0; left: 0 */
    background: rgba(0, 0, 0, 0.15);
    /* couleur et opacité */
    z-index: 1;
}

.section-recipes-list .swiper .swiper-slide .recipe-footer {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: auto;
    width: 100%;
    color: white;
    z-index: 2;
    justify-content: center;
    margin-top: 0;
    /* padding-bottom: var(--padding-md); */
}

.section-recipes-list .swiper .swiper-slide .recipe-footer .swiper-arrow-cta {
    display: none;
}

.section-recipes-list .swiper .swiper-slide .recipe-footer .recipe-footer-title {
    font-size: 1.5rem;
    line-height: 100%;
    text-align: center;
    text-transform: unset;
}

.section-recipes-list .swiper .swiper-slide .recipe-footer .recipe-footer-title a {
    color: var(--white);
}

.section-recipes-list .swiper .swiper-slide .recipe-footer .recipe-footer-title a span {
    display: block;
    margin-top: var(--spacing-xs);
    /* ⬅️ Forcer le retour à la ligne */
}

.section-recipes-list .cta {
    display: none;
}

.shape-divider-small {
    background-image: url("img/wave2-6dbe3d95c1be2050360d84bf8e140118.svg");
    aspect-ratio: 265 / 20;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 1;
    pointer-events: none;
}

/* 768 */
@media (min-width: 48rem) {
    .section-recipes-list {
        padding: var(--padding-section) var(--padding-2xl);
    }

    .pageProduct .section-recipes-list .content-width {
        margin-top: .125rem;
    }

    .section-recipes-list p {
        font-size: 1.75rem;
        line-height: 2rem;
        /* width: 50%; */
    }

    .section-recipes-list .swiper {
        margin-top: var(--padding-2xl);
    }

    .section-recipes-list .swiper-arrow:not(.swiper-arrow-cta) {
        display: none;
    }

    .section-recipes-list .swiper .swiper-slide .recipe-footer {
        position: absolute;
        bottom: 0;
        transform: unset;
        top: unset;
        left: unset;
        width: 100%;
        color: white;
        z-index: 2;
        justify-content: center;
        padding-bottom: var(--padding-md);
    }

    .section-recipes-list .swiper .swiper-slide .recipe-footer .swiper-arrow-cta {
        display: flex;
        margin-top: unset;
    }

    .section-recipes-list .swiper .swiper-slide .recipe-footer .recipe-footer-title {
        font-size: 1.75rem;
        line-height: 2rem;
        text-align: left;
    }

    .section-recipes-list .swiper .swiper-slide .recipe-footer .recipe-footer-title a span {
        margin-top: 0;
    }


    .section-recipes-list h2 {
        margin-top: var(--spacing-md);
        margin-bottom: 1.18rem;
    }
}

/* 1024 */
@media (min-width: 64rem) {

    .section-recipes-list p {
        width: 50%;
    }

    .section-recipes-list .content-width {
        margin-top: var(--padding-3xl);
    }

    .section-recipes-list .swiper {
        margin-top: 0;
    }
}

@media (min-width: 1680px) {
    .section-recipes-list .componentRecipesList-content {
        max-width: 1680px;
    }

    .section-recipes-list {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .pageRecipe .section-recipes-list {
        width: unset;
    }

    /* .pageProduct .section-recipes-list .content-width,
    .section-recipes-list h2,
    .section-recipes-list p {
        max-width: 1440px;
    } */

}

/* END COMPONENT RECIPE LIST */


/* PAGE MARKE */
.marke .swipper-section:not(.swipper-section-title) {
    position: relative;
    padding-top: 0;
    padding-bottom: 1rem;
    padding-left: 1.06rem;
    padding-right: 3.5rem;
}

.marke .swipper-section-title {
    padding-bottom: 0.75rem;
}

.marke .swipper-section h2 {
    line-height: 100%;
    margin-bottom: 0;
}

.marke .swipper-section-title p {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    line-height: 100%;
    /* margin-top: 1.25rem; */
}

.marke .swipper-section h2,
.marke .swipper-section-title p {
    text-align: center;
    width: 75%;
}

.marke .swiper:not(.componentHero-banner) {
    overflow: unset;
    margin-bottom: 2.81rem;
    margin-top: 0;
}

.marke .swipper-section .content-width .swiper-button-prev,
.marke .swipper-section .content-width .swiper-button-next {
    display: none;
}

.marke .swiper-slide:not(.home_image_banner-slide) {
    background-color: unset;
    text-align: unset;
    border-radius: unset;
    padding-left: 2rem;
    padding-right: 1.781rem;
    box-sizing: border-box;
    padding-top: 0;
    padding-bottom: 3.125rem;
}

.marke .swiper-slide img {
    max-width: 100%;
    max-height: 11.938rem;
    margin-bottom: 0.56rem;
    border-radius: 15px;
}

.marke .swiper-slide .recipe-footer {
    flex-direction: column;
    align-items: start;
    margin-top: 0;
}

.marke .recipe-footer .recipe-footer-title {
    font-size: 3rem;
    line-height: 100%;
}

.marke .recipe-footer p {
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.timeline-line {
    position: absolute;
    bottom: 12px;
    left: -50%;
    width: 150vw;
    height: 2px;
    background-color: var(--color-primary);
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-line-vertical {
    position: absolute;
    bottom: 12px;
    left: 6px;
    height: 100%;
    width: 2px;
    background-color: var(--color-primary);
    z-index: 1;
}

.timeline-line-vertical-50 {
    height: 50%;
}

.timeline-point {
    width: 14px;
    height: 14px;
    background-color: var(--color-primary);
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    left: 7px;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* shape divider bas */
.componentMarkeTimeline-waveDivider {
    display: none;
}

@media (min-width: 768px) {
    .marke .swipper-section:not(.swipper-section-title) {
        padding-left: 4.938rem;
        padding-top: 3.75rem;
        padding-bottom: 14.5rem;
        padding-right: unset;
    }

    .marke .swipper-section h2 {
        line-height: 6rem;
    }

    .marke .swiper {
        margin-top: var(--spacing-lg);
    }

    .marke .swipper-section .content-width .swiper-button-prev,
    .marke .swipper-section .content-width .swiper-button-next {
        display: flex;
        margin-left: -4.938rem;
    }

    .marke .swipper-section h2,
    .marke .swipper-section-title p {
        text-align: unset;
        margin-top: 1rem;
        width: unset;
    }

    .marke .swipper-section-title p {
        font-size: 1.75rem;
        line-height: 2rem;
    }

    .marke .swiper-slide .recipe-footer {
        margin-top: var(--spacing-lg);
    }

    .marke .recipe-footer p {
        margin-bottom: 2rem;
    }

    /* shape divider bas */
    .componentMarkeTimeline-waveDivider {
        display: block;
        background-image: url("img/wave3-d89c23fa867e7438fd7c8d46098991db.svg");
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 120px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: top center;
    }
}

/* END PAGE MARKE */