
/* Page d'une saison */
html:not(.avada-has-site-width-percent) .tax-saison #main {
    padding-left: 70px;
    padding-right: 70px;
}

.saison__header {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-bottom: 54px;
}


.saison__header__content {
    position: absolute;
    top: -18px;
    left: 0;
    min-width: 33%;
    max-width: 46%;
    z-index: 10;
    display: flex;
    padding: 28px 42px 46px 37px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    flex-shrink: 0;
    border-radius: 14px 14px 100px 14px;
    background: #FFFDFA;
}
body.tax-saison .saison__header {
    margin-bottom: 0;
}
body.tax-saison .saison__header__content  {
    max-width: 38%;
}

.saison__header__content h1 {
    margin: 0 0 28px 0;
}

.saison__description p {
    margin: 0 0 28px 0;
}

.inscription-button {
    margin: 20px 0;
}

.saison__icon {
    position: absolute;
    width: 140px;
    height: 140px;
    top: 20%;
    left: 40%;
    z-index: 10;
}

.saison__header__img {
    position: relative;
    width: calc(100% - 9.3vw);
}
.saison__header__img img:first-child {
    -webkit-clip-path: url(#clip_stage);
    clip-path: url(#clip_stage);
    aspect-ratio: 1166 / 398;
    object-fit: cover;
    width: 100%;
    object-position: var(--awb-object-position);
}

.saison__others {
    position: absolute;
    width: 15%;
    max-height: 100px;
    bottom: 0;
    right: 0;
    border-radius: 8px;
    background: #F7F7F7;
    padding: 12px;
    font-family: Rosarivo;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    min-height: 95px; 
    display: flex;
    align-items: center;
}
.saison__others ul {
    /* list-style: none; */
    padding: 0 0 0 20px;
    margin: 0;
}
.saison__others ul li::marker {
    color: var(--awb-color4);
}
.saison__others a {
    text-decoration-line: underline;
    text-decoration-color: currentColor;
}

.fusion-tabs.clean .nav-tabs li:first-child .tab-link {
    border-radius: 8px 0 0 8px;
}
.fusion-tabs.clean .nav-tabs li:last-child .tab-link {
    border-radius: 0 8px 8px 0;
}
.fusion-tabs.clean .nav-tabs li:first-child:last-child .tab-link {
    border-radius: 8px;
}

@media only screen and (min-width: 1180px) {
    body .fusion-tabs.nav-not-justified.clean .nav-tabs li .tab-link {
        padding: 8px 16px;
    }
}

/* Avada version */
.fusion-flex-column.saison__header__content {
    --awb-width-large: 46% !important;
    position: absolute !important;
    top: -18px !important;
    left: 0 !important;
    z-index: 10 !important;
}
.fusion-flex-column.saison__others {
    position: absolute !important;
    /* width: 15% !important; */
    bottom: 0 !important;
    right: 0 !important;   
    z-index: 10 !important;
}
.fusion-flex-column.saison__header__img {
    width: calc(100% - 9.3vw) !important;
    margin-left: auto !important;
}

@media only screen and (min-width: 769px) {
    .fusion-flex-column.saison__header__content {
        --h1_typography-font-size: 63px;
        --h1_typography-line-height: 108%;
        --h1_typography-margin-top: 0;
        --h1_typography-margin-bottom: 28px;
    }
}

@media only screen and (max-width: 768px) {
    html:not(.avada-has-site-width-percent) .tax-saison #main {
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
    }
    .saison__container {
        width: 100%;
    }
    .saison__header {
        margin-bottom: 0;
        align-items: flex-start;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .saison__header__content,
    .saison__others,
    .fusion-flex-column.saison__header__content,
    .fusion-flex-column.saison__others {
        position: relative !important;
    }

    .saison__header__content,
    .fusion-flex-column.saison__header__content {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 0 60px 60px;
        top: 0 !important;
        padding: 32px 16px;
    }
    .fusion-body .fusion-page-title-bar .saison__header__content h1 {
        margin-bottom: 20px;
        margin-left: 20px;
    }
    .saison__header__img,
    .fusion-flex-column.saison__header__img {
        width: 100% !important;
        margin-top: -62px !important;
        margin-left: 0 !important;
    }
    .saison__header__img img:first-child {
        --awb-aspect-ratio: 1400 / 1028 !important;
        -webkit-clip-path: none;
        clip-path: none;
        aspect-ratio: 1400 / 1028;
        object-fit: cover;
    }
    .saison__inscription {
        width: 100%;
    }
    .saison__others,
    .fusion-flex-column.saison__others {
        min-width: 100%;
        border-radius: 0;
        bottom: 0 !important;
        text-align: center;
        min-height: 1px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #FFFDFA;
    }
    .saison__others ul {
        display: flex;
        flex-wrap: wrap;
        margin-top: 8px;
        padding-left: 0;
        justify-content: center;
        gap: 8px 50px;
    }
    .back__link,
    .fusion-text.back__link {
        margin-bottom: 9px;
        margin-left: 20px;
    }
    .saison__header__content h1 {
        margin-left: 20px;
    }
    .saison__header__content h1.title__lined::before {
        top: -30px;
        height: calc(100% + 20px);
    }
}

.single-stage-content .fusion-flex-container.stage__tarif {
    display: none !important;
}
/* Fin de la saison */

/* Planning */
.planning__wrp.fusion-tabs.horizontal-tabs.clean .tab-content {
    margin-top: 28px;
}
body .planning.is-hidden {
    display: none;
}
body .planning table {
    border: none;
    background-color: transparent;
    box-shadow: none;
}
body .planning table th {
    font-family: Rosarivo;
    background: transparent;
    padding: 8px 0;
    text-align: center;
    font-size: 18px;
}
body .planning table th,
body .planning table td {
    width: 16.66%;
    border: 12px solid transparent;
}
body .planning table td {
    position: relative;
    background: transparent;
    height: 75px;
    min-height: 75px;
    color: #fff;
    text-align: center;
    font-weight: 300;
}
body .planning table td::before {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    background: #97AA83;
    border-radius: 8px;
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
}
body .planning table td.is-full {
    color: #97AA83;
}
body .planning table td.is-full::before {
    background-color: #E9ECE1;
    border: 1px solid #97AA83;
}
body .planning table td.is-full p:has(strong) {
    display: none;
}
body .planning table td.is-full em {
    font-style: normal;
}
body .planning table td:empty::before {
    background-color: #E9ECE1;
}
body .planning tr:nth-child(2n) {
    background-color: transparent;
}
body .planning table td p {
    margin: 0;
}
body .planning table td p:empty {
    display: none;
}
body .planning table td strong {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}

.fusion-imageframe.planning__icon {
    position: absolute;
    top: 32%;
    left: -15%;
}

.planning__switch__year {
    position: absolute;
    right: 0;
    top: 100px;
}
    .switch__year {
        --button_padding-right: 34px;
        --button_padding-left: 12px;
        --button_gradient_top_color: #FFFDFA;
        --button_accent_color: #97AA83;
        --button_border_color: #97AA83;
        --button_text_transform: none;
        border-width: 1px !important;
    }
    .switch__year::before,
    .switch__year::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 12px;
        transform: translateY(-50%);
        display: inline-block;
        width: 16px;
        height: 16px;
        background-image: url("../img/arrow-next.svg");
        background-repeat: no-repeat;
        background-size: contain;
        transition: opacity 200ms;
    }
    .switch__year::after {
        opacity: 0;
        background: url("../img/arrow-next-hover.svg");
    }
    .switch__year:hover::before {
        opacity: 0;
    }
    .switch__year:hover::after {
        opacity: 1;
    }
    .switch__year.active {
        display: none;
    }

@media only screen and (max-width: 1180px) {
    body .fusion-tabs.mobile-mode-carousel>.nav {
        display: flex !important;
    }
}

@media only screen and (max-width: 1180px) and (min-width: 801px) {
    body .planning table td,
    body .planning table td strong {
        font-size: 14px;
    }
}

@media only screen and (max-width: 800px) {
    .fusion-imageframe.planning__icon {
        /* display: none !important; */
        top: -79px;
        left: 50%;
        transform: translateX(-50%);
        --awb-max-width: 51px;
        max-height: 63px;
    }
    .planning__icon img {
        max-height: 63px;
        object-fit: contain;
    }
    body .planning table {
        margin: 0 13px;
    }
    body .planning table th, 
    body .planning table td {
        width: 27.4vw;
        min-width: 27.4vw;
        max-width: 27.4vw;
        border-top-width: 4px;
        border-bottom-width: 4px;
        border-left-width: 6px;
        border-right-width: 6px;
    }
    body .planning table th {
        background-color: #F6F5ED;
        border-bottom-width: 20px;
        border-left-width: 0;
        border-right-width: 0;
        padding: 16px 0;
        position: relative;
    }
    body .planning table td {
        height: 90px;
        min-height: 90px;
        padding: 0 5px;
        white-space: normal;
    }
    body .planning table th:first-child::before,
    body .planning table th:last-child::before {
        content: "";
        position: absolute;
        top: 0;
        left: -16px;
        width: 16px;
        height: 100%;
        background-color: #F6F5ED;
    }
    body .planning table th:last-child::before {
        left: auto;
        right: -16px;
    }
    .planning__wrp .fusion-tabs {
        --awb-margin-bottom-small: 0 !important;
    }
    .planning__wrp .fusion-tabs.clean .tab-pane {
        margin-bottom: 0;
    }
    .planning__switch__year {
        position: relative;
        right: initial;
        top: initial;
        display: flex;
        justify-content: center;
        margin-top: 32px;
    }
}
/* Fin planning */

/* Stage où ? */
.stage__where {
    text-align: center;
    margin-bottom: 108px;
}
.stage__where h2 {
    margin-top: 4px;
    margin-bottom: 28px;
}
.stage__where__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: auto;
    max-width: 100%;
    margin: 40px auto 0 auto;
    padding: 0;
    list-style: none;
}

/* Styles de chaque école dans la liste */
.stage__ecole {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 19.2vw;
    max-width: 300px; /* Limite la taille maximale */
    padding: 24px 12px;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 7px;
    transition: transform 0.3s ease;
    text-align: center;
}

/* Apparence du bouton et des images */
.stage__ecole img {
    width: 100%;
    height: auto;
}
.stage__ecole:not(.is-available) img {
    filter: grayscale(100%);
}

.stage__ecole h3 {
    --h3_typography-font-size: 30px;
    font-family: var(--h2_typography-font-family);
    font-weight: var(--h2_typography-font-weight);
    margin: 4px 0 0 0; 
}

.stage__ecole .fusion-button {
    margin-top: 16px;
    width: 100%;
}

/* Texte et informations de l'école */
.stage__ecole .school-name {
    font-size: 1.2em;
    margin: 8px 0;
    font-weight: bold;
}

.stage__ecole .school-address {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 16px;
}

/* Styles pour les écoles disponibles */
.stage__ecole.is-available {
    border-color: #97AA83; /* Couleur verte pour indiquer la disponibilité */
}

/* Effet de survol */
.stage__ecole:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive : 2 cartes par ligne sur écrans moyens */
@media screen and (max-width: 1024px) {
    .stage__ecole {
        width: 45%;
    }
}

/* Responsive : 1 carte par ligne sur petits écrans */
@media screen and (max-width: 768px) {
    .stage__where {
        padding-left: 16px;
        padding-right: 16px;
    }
    .stage__where__list {
        gap: 20px;
    }
    .stage__ecole {
        width: calc(50% - 10px);
        padding: 16px;
    }
    .stage__ecole .fusion-button {
        --button_line_height: 1.1;
    }
}
/* Fin stage où ? */

/* Stages saisons */
/* Conteneur principal de la section */
.stages__saisons {
    position: relative;
    text-align: center;
    padding: 24px 12px;
}
section.stages__saisons:not(.no-banner) {
    padding-top: 108px;
    padding-bottom: 54px;
}
section.stages__saisons:not(.no-banner).banner-bottom {
    padding-top: 54px;
    padding-bottom: 108px;
}
section.stages__saisons:not(.no-banner)::before {
    left: -70px;
    top: -8px;
}
section.stages__saisons:not(.no-banner).banner-bottom::before {
    left: 0px;
    top: auto;
    bottom: -4px;
}
.fusion-fullwidth section.stages__saisons::before {
    left: 0;
}
section.stages__saisons + .faq__ctr {
    --awb-background-color: #fff !important;
    margin-left: -70px;
    margin-right: -70px;
}
.fusion-column-wrapper > .stages__saisons:not(.no-banner) {
    padding: 0 70px;
    padding-top: calc(54px + 54px);
    margin: 0px calc((100vw - 100%) / -2);
    width: 100vw;
    background-color: #FBF7F2;
    padding-bottom: 54px;
}
.stages__saisons:not(.no-banner)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 54px;
    width: 100vw;
    background: url("/wp-content/uploads/2024/11/banner-simple.svg");
    background-repeat: repeat-x;
    background-size: contain;
}

.saison__item {
    position: relative;
}

.saison__item__icon {
    width: 127px;
    aspect-ratio: 1/1;
    object-fit: cover;
    overflow: hidden;
    border-radius: 50%;
}

.saison__item.disabled .saison__item__icon {
    filter: grayscale(100%);
}

.stages__saisons h2 {
    font-size: 1.8em;
    margin: 16px 0;
}

.stage__where span:first-child,
.stages__saisons span:first-child {
    font-weight: 300;
    text-transform: uppercase;
}

.saison__state {
    position: absolute;
    top: 24px;
    right: 0;
    padding: 4px 12px;
    border-radius: 100px 0px 0px 100px;
    background: #E9ECE1;
    text-transform: uppercase;
    font-size: 14px;
}
.saison__state:not(.stage) {
    background-color: #3D4338;
    color: #fff;
}

@media only screen and (max-width: 768px) {
    .fusion-column-wrapper > .stages__saisons:not(.no-banner) {
        padding-left: 16px;
        padding-right: 16px;
    }
    section.stages__saisons:not(.no-banner)::before {
        background-size: auto 100%;
        height: 34px;
    }
    body.tax-saison section.stages__saisons:not(.no-banner)::before {
        top: 0;
        left: 0;
    }
    section.stages__saisons:not(.no-banner).banner-bottom::before {
        left: 0;
    }
}

/* Liste des autres saisons */
.other_saisons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 45px;
    max-width: 100%;
    margin: 24px auto;
    padding: 0;
    list-style: none;
}
.fusion-column-wrapper > .stages__saisons .other_saisons {
    margin: 40px auto 0 auto;
}

/* Styles pour chaque carte de saison */
.saison__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 19.2vw;
    max-width: 280px; /* Limite la taille maximale */
    padding: 54px 12px 32px;
    background-color: #ffffff;
    border-radius: 8px;
    transition: transform 0.3s ease;
    text-align: center;
    box-shadow: 4px 4px 15.3px 0px rgba(0, 0, 0, 0.07);
}

/* Icône de la saison */
.saison__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
}

/* Titre de la saison */
.saison__item h3 {
    --h3_typography-font-size: 30px;
    --h3_typography-font-weight: 400;
    margin: 4px 0 0;
}

/* Sous-titre et dates de la saison */
.saison__sub {
    font-family: Rosarivo;
    font-size: 14px;
    margin-bottom: 4px;
}

.saison__dates {    
    font-size: 14px;
    color: rgba(61, 67, 56, 0.50);
    margin-bottom: 12px;
}

/* Bouton de la saison */
.saison__item .fusion-button {
    margin-top: 16px;
    width: 100%;
}
.saison__item.disabled .fusion-button {
    cursor: not-allowed;
    opacity: 0.3;
    pointer-events: none;
    /* --button_accent_color: var(--awb-color4) !important;
    --button_accent_hover_color: var(--awb-color4) !important;
    --button_gradient_top_color: var(--awb-color1) !important;
    --button_gradient_top_color_hover: var(--awb-color1) !important;
    --button_border_color: var(--awb-color4) !important;
    --button_border_hover_color: var(--awb-color4) !important;
    border-width: 1px !important; */
}

/* Effet au survol pour la carte */
.saison__item:not(.disabled):hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive : 2 cartes par ligne sur écrans moyens */
@media screen and (max-width: 1024px) {
    .saison__item {
        width: 45%; /* 2 cartes par ligne */
    }
}

/* Responsive : 1 carte par ligne sur petits écrans */
@media screen and (max-width: 768px) {
    section.stages__saisons::before {
        left: 0px;
        top: -5px;
    }
    section.stages__saisons {
        padding-top: 68px;
    }
    
    .other_saisons {
        gap: 20px;
    }
    .saison__item {
        width: calc(50% - 10px);
        padding: 45px 16px 24px;
    }
    .other_saisons.only-three .saison__item:first-child {
        min-width: calc(100% - 32px);
    }
    .fusion-column-wrapper > .stages__saisons {
        padding: 64px 16px 32px;
    }
    .saison__item h3 {
        --h3_typography-font-size: 25px;
    }
    .saison__dates {
        margin-bottom: 4px;
    }
    .saison__item div:has(.fusion-button) {
        margin: auto 0 0 0;
    }

    .fusion-column-wrapper > .stages__saisons .other_saisons {
        margin-top: 20px;
    }
    .stages__saisons::before {
        background-size: auto 35px;
    }

    body.single-stages_vacances #content {
        margin-bottom: 0;
    }

    section.stages__saisons + .faq__ctr {
        margin-left: 0;
        margin-right: 0;
    }
}

.stages__wrp {
    position: relative;
    text-align: center;
    padding: 54px 70px;
    margin-left: -70px;
    margin-right: -70px;
    margin-bottom: 54px;
}
.stages__wrp::before {
    content: "";
    position: absolute;
    top: 59px;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(180deg, #FFFDFA 0%, #F7F7F7 100%);
    z-index: 0;
}

.stages__wrp > * {
    position: relative;
    z-index: 1;
}

.fusion-row > .saison__container > .stages__wrp:has(.stage__item:nth-child(4)) .stages__list {
    justify-content: flex-start;
}

@media only screen and (min-width: 1441px) {
    .stages__wrp::before {
        left: calc((100vw - 1440px) / -2);
        right: calc((100vw - 1440px) / -2);
    }
    .fusion-row > .saison__container > .stages__wrp:has(.stage__item:nth-child(4)) {
        margin-left: calc((100vw - var(--site_width)) / -2);
        margin-right: calc((100vw - var(--site_width)) / -2);
        min-width: 100vw;
        padding-left: 0;
        padding-right: 0;
    }
    .fusion-row > .saison__container > .stages__wrp:has(.stage__item:nth-child(4)) .stages__list {
        padding-left: 70px;
        padding-right: 70px;
    }
    .fusion-row > .saison__container > .stages__wrp:has(.stage__item:nth-child(4)) .stage__item {
        max-width: 301px;
        scroll-snap-align: center;
    }
}
@media only screen and (max-width: 768px) {
    body.tax-saison .stages__wrp {
        margin-bottom: 0;
    }
    .stages__wrp::before {
        content: none;
    }
}
/* Fin stages saisons */

/* Liste courte des stages */
.stages__list__wrp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    margin-bottom: -1px;
}
.saison__container .stages__list__wrp {
    margin-top: 40px;
}
.stages__list,
.stages__list__wrp ul.slides {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    list-style: none;
}
.stages__list__wrp ul.slides {
    gap: 40px;
}
    .stage__item,
    .stages__list__wrp li.image {
        position: relative;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        flex: 0 0 calc(25% - 24px);
        min-width: 277px;
        scroll-snap-align: start;
        padding: 53px 32px 32px;
        background: #fff;
        border-radius: 8px;
        transition: all 0.3s ease-in-out;
    }
    .stage__item:hover {
        transform: translateY(-5px);
        box-shadow: 4px 4px 15.3px 0px rgba(0, 0, 0, 0.07);
    }
        .stage__icon {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto 0.5rem;
            border-radius: 50%;
        }
        .stage__item h3 {
            --h3_typography-margin-bottom: 0;
            --h3_typography-font-family: "Giarek";
            --h3_typography-font-size: 30px;
            --h3_typography-font-weight: 400;
            --h3_typography-line-height: 1.05;
            margin-left: -10px;
            margin-right: -10px;
        }
        .stage__saison {
            font-family: Rosarivo;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
        }
        .stage__dates {
            color: rgba(61, 67, 56, 0.50);
            text-align: center;
            font-family: Raleway;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: 150%;
            margin-bottom: 28px;
        }
        .stage__dates.list {
            list-style: none;
            padding: 0;
            margin: 10px 0 0 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
        }

        .stage__label {
            position: absolute;
            top: 24px;
            right: 0;
            background: #E9ECE1;
            border-radius: 100px 0 0 100px;
            padding: 4px 12px;
            text-transform: uppercase;
        }
        .stage__label:not(.stage) {
            background-color: #3D4338;
            color: #fff;
        }

.stages__list::-webkit-scrollbar {
    height: 4px;
}

.stages__list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.stages__list::-webkit-scrollbar-track {
    background: #e0e0e0;
}

.stages__nav__wrp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 0;
    position: absolute;
    top: 50%;
    left: -130px;
    transform: translateY(-50%);
}

.stages__list__wrp:not(.samedi__wrp):not(:has(.image:nth-child(6))) .stages__nav__wrp {
    display: none;
}

.stages__nav {
    border: none;
    width: 10px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
}

.stages__nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.stages__nav--previous::before,
.stages__nav--next::before {
    content: '';
    display: inline-block;
    background-image: url("../img/arrow-nav.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    width: 17px; /* Ajustez selon vos besoins */
    height: 27px; /* Ajustez selon vos besoins */
    cursor: pointer;
    background-color: transparent;
}

.stages__nav--next::before {
    transform: rotate(180deg);
}

.stages__nav__dots {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    min-width: calc((8px + 4px ) * 3);
    max-width: calc((8px + 4px ) * 6);
    gap: 8px;
}

.stages__nav__dot {
    list-style: none;
}

.stages__nav__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #E9ECE1;
    padding: 0;
    border: none;
    cursor: pointer;
    color: transparent;
}

.stages__nav__dot:hover,
.stages__nav__dot.active {
    background-color: #97AA83;
}

/* Flexslider version */
.stages__list__wrp .flexslider {
    margin-bottom: 0 !important;
    width: 100%;
    height: 100%;
    max-height: calc(100% - 17px); /* Increase/decrease this value for cross-browser compatibility */
    overflow: hidden;
}
    .stages__list__wrp .flexslider .slides {
        padding-bottom: 17px; /* Increase/decrease this value for cross-browser compatibility */
        box-sizing: content-box;
    }
        .stages__list__wrp .flexslider.slides li {
            display: flex;
        }

.stages__list__wrp li.image {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    flex: 0 0 186px;
    min-width: 186px;
    scroll-snap-align: start;
    padding: 0;
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1/1;
    transition: all 0.3s ease-in-out;
}

.stages__list__wrp li.image:last-child {
    margin-right: 54px;
}
.stages__list__wrp li.image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #01010142;
    z-index: 1;
    opacity: 0;
    touch-action: none;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.stages__list__wrp li.image::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 40px;
    background: url("../img/more.svg");
    z-index: 2;
    opacity: 0;
    touch-action: none;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.stages__list__wrp li.image:hover {
    cursor: pointer;
    box-shadow: 4px 4px 15.3px 0px rgba(0, 0, 0, 0.07);
}
.stages__list__wrp li.image:hover::before,
.stages__list__wrp li.image:hover::after {
    opacity: 1;
}

@media only screen and (min-width: 769px) {
    .stages__list,
    .stages__list__wrp ul.slides {
        overflow-x: auto;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    ul.stages__list {
        justify-content: center;
        padding-left: 0;
    }
}

@media only screen and (max-width: 768px) {
    html body.post-type-archive.post-type-archive-stages_vacances{
        --main_padding-top: 0;
    }

    .stages__wrp {
        background: #F7F7F7;
    }
    /* body.tax-saison .stages__wrp {
        background: transparent;
    } */
    .saison__container .stages__list__wrp {
        margin-top: 20px;
    }
    .post-type-archive-stages_vacances .stages__list__wrp {
        margin: 0 -20px;
    }
    .post-type-archive-stages_vacances .stages__list__wrp ul {
        overflow-x: auto;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        padding-left: 20px;
        scroll-padding: 0 20px;
    }
    .stages__list {
        padding: 0;
        flex-direction: column;
        gap: 20px;
        width: calc(100% - 32px);
    }
        .stage__item {
            flex: 0 0 100%;
            min-width: 100%;
        }
}
/* Fin liste courte des stages */

/* Liste des samedi */
.samedi__wrp {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 20px;
    margin-right: -70px;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}
.samedi__list {
    max-width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding-left: 20px;
    padding-right: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 50px;
    padding-bottom: 1px;
}
    .samedi__item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 0 0 calc(25% - 24px);
        min-width: 17.5vw;
        scroll-snap-align: start;
        padding: 32px 16px 16px;
        background: #fff;
        border: 1px solid #97AA83;
        border-radius: 8px;
        transition: all 0.3s ease-in-out;
    }
        .samedi__item img {
            width: 60px;
            height: 60px;
            object-fit: contain;
            margin-bottom: 8px;
        }
        .samedi__item .state {
            display: block;
            text-align: center;
            font-size: 14px;
        }
        .samedi__item h3.name {
            --h3_typography-margin-bottom: 0;
            --h3_typography-font-family: "Giarek";
            --h3_typography-font-size: 20px;
            --h3_typography-font-weight: 400;
            --h3_typography-line-height: 150%;
            text-align: center;
            margin-left: 10px;
            margin-right: 10px;
            min-height: 57px;
        }
        .samedi__item .desc {
            position: relative;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            margin-top: 8px;
        }
        .samedi__item .desc p {
            margin: 0;
        }

.samedi__wrp .stages__nav__wrp {
    position: relative;
    margin-left: 20px;
    top: auto;
    left: auto;
    transform: none;
}


@media only screen and (min-width: 769px) {
    body.single-stages_vacances .samedi__list__wrp {
        --awb-padding-left: 70px !important;
    }
    body.single-stages_vacances .samedi__list {
        max-width: calc(100% - 70px);
    }
    .samedi__list {
        padding-bottom: 17px;
        margin-bottom: -17px;
    }
    .stage__more .lbs-badge {
        --y: 50% !important;
        transform: translateY(-50%) rotate(var(--rotate, 0deg)) !important;
    }
}

@media only screen and (max-width: 768px) {
    .samedi__list__wrp .fusion_builder_column:first-child {
        margin-left: 16px !important;
        margin-right: 16px !important;
        max-width: calc(100% - 32px);
    }
    .samedi__wrp .stages__nav__wrp {
        display: none;
    }
    .samedi__list {
        gap: 16px;
        padding-right: 90px;
        scroll-padding: 0 100px;
    }
    .samedi__item {
        min-width: 55.21vw;
    }
    .stage__more .lbs-badge {
        --y_small: 0 !important;
        transform: translateY(-50%) rotate(var(--rotate, 0deg)) scale(.8) !important;
    }
}

body:not(.post-type-archive-stages_vacances) .fusion-tb-footer .fusion-fullwidth {
    --awb-background-color: #FDF9F3 !important;
}

@media only screen and (min-width: 769px) {
    .stage__content {
        margin-left: -70px !important;
        margin-right: -70px !important;
    }
}

@media only screen and (min-width: 1500px) {
    .home__engagements.equipe.stage__programme {
        margin-left: -70px !important;
        margin-right: -70px !important;
    }
}

.stage__img {
    box-shadow: 0px 4px 18px 0px rgba(151, 170, 131, 0.23);
}

@media only screen and (max-width: 768px) {
    .stage__img {
        border-width: 12px !important;
        --awb-max-width: 55vw !important;
        margin-top: 20px;
    }
    .fusion-image-element:has(.stage__img) {
        text-align: center;
    }
    .fusion-image-element:has(.stage__img) > div {
        width: auto !important;
    }
}

.lbs-stage-location-wrap + .fusion-tabs .nav {
    display: none !important;
}

.lbs-stage-location-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === Bouton (select fermé) === */
.ss-main.lbs-stage-location-select{
  background:#3d4339 !important;
  border:0 !important;
  border-radius:12px !important;
  width:220px;
  transition: background-color var(--ss-animation-timing), border-radius var(--ss-animation-timing);
}
.ss-main.lbs-stage-location-select[aria-expanded="true"] {
    border-radius: 12px 12px 0 0 !important;
}

.ss-main.lbs-stage-location-select .ss-values{
  justify-content:center;
}

.ss-main.lbs-stage-location-select .ss-single{
  color:#fffdfa !important;
  text-align:center;
}

/* Chevron : selon versions SlimSelect (border-based ou svg) */
.ss-main.lbs-stage-location-select .ss-arrow{
  border-color:#fffdfa !important; /* couvre les chevrons en borders */
  color:#fffdfa !important;
}

.ss-main.lbs-stage-location-select .ss-arrow svg,
.ss-main.lbs-stage-location-select .ss-arrow path{
  stroke:#fffdfa !important;
}

/* === Dropdown (options) === */
.ss-content.lbs-stage-location-select{
  background:#fffdfa !important;
  border:0 !important;
  border-radius:0 0 12px 12px !important;
  overflow:hidden; /* coins propres */
}

.ss-content.lbs-stage-location-select .ss-list .ss-option{
  background:#fffdfa !important;
  color:#3d4339 !important;
  text-align:center;
  border-radius:0 !important;
}

/* Arrondis uniquement 1ère / dernière option */
.ss-content.lbs-stage-location-select .ss-list .ss-option:first-child{
  border-top-left-radius:0 !important;
  border-top-right-radius:0 !important;
}
.ss-content.lbs-stage-location-select .ss-list .ss-option:last-child{
  border-bottom-left-radius:12px !important;
  border-bottom-right-radius:12px !important;
}

/* Hover + highlight clavier : uniquement bg + color */
.ss-content.lbs-stage-location-select .ss-list .ss-option:hover,
.ss-content.lbs-stage-location-select .ss-list .ss-option.ss-highlighted{
  background:#3d4339 !important;
  color:#fffdfa !important;

  /* anti-déplacement (si le thème ajoute des effets) */
  transform:none !important;
  margin:0 !important;
  box-shadow:none !important;
}

/* Garde la même géométrie tout le temps */
.ss-content.lbs-stage-location-select .ss-list .ss-option{
  padding:10px 12px !important; /* fixe un padding constant */
  line-height:1.2 !important;
  transition:none !important;    /* pas d'animation qui "glisse" */
}

/* Option sélectionnée : tu peux la laisser comme au hover, ou neutre */
.ss-content.lbs-stage-location-select .ss-list .ss-option.ss-selected:not(:hover) {
  background:#fffdfa !important;
  color:#3d4339 !important;
  transform:none !important;
}

.ss-content.lbs-stage-location-select .ss-list .ss-option:hover:not(.ss-disabled) {
    border-left: none;
}

/* Option full: style distinct */
.ss-content.lbs-stage-location-select .ss-option.lbs-is-full{
  opacity: .55;
  position: relative;
}