/* ******************** Palette globale Go'App ******************** */

:root {

    /* Icones du footer */
    --app-icones-footer: #ffffff;
    /* Couleur principale des boutons, éléments actifs et validations. */
    --app-couleur-principale: #AADD66;
    /* Couleur secondaire des accents et éléments complémentaires. */
    --app-couleur-secondaire: #004B40;
    /* Couleur du fond général de la page. */
    --app-couleur-fond-page: #FBF8F4;
    /* Couleur du fond des sections et encarts. */
    --app-couleur-fond-section: #DCEFE8;
    /* Couleur commune des bordures et séparateurs. */
    --app-couleur-bordure: #D0D5DD;
    /* Couleur du texte courant et des icônes. */
    --app-couleur-texte: #212425;
    /* Couleur des titres et noms d’exercices. */
    --app-couleur-texte-titre: #17324D;
    /* Couleur des liens textuels. */
    --app-couleur-texte-lien: #6FAE18;
    /* Couleur du texte placé dans les boutons. */
    --app-couleur-texte-bouton: #FFFFFF;
    /* Couleur des erreurs et alertes. */
    --app-couleur-erreur: #E00020;
    /* Couleur du niveau débutant. */
    --app-couleur-niveau-debutant: #43A047;
    /* Couleur du niveau intermédiaire. */
    --app-couleur-niveau-intermediaire: #F59E0B;
    /* Couleur du niveau confirmé. */
    --app-couleur-niveau-confirme: var(--app-couleur-erreur);
    /* Valeur technique pour les fonds transparents. */
    --app-couleur-transparent: transparent;

    /* Dimensions communes conservées pour le moment. */
    --app-marge-footer-bas: 18px;
    --app-hauteur-footer: 76px;
    --app-ecart-compteurs: 5px;
}

/* ******************** Go'App : base, navigation, structures, exercices ******************** */

body main {
    min-height: 100vh;
    background-color: transparent !important;
}

/* ******************** Règles générales ******************** */

.elementor-icon-wrapper {
    display: flex;
}

.elementor-icon-wrapper svg {
    fill: var(--app-couleur-texte) !important;
}

/* ******************** Menu actif ******************** */

#ouvrir-accueil.active a,
#ouvrir-accueil.active span,
#ouvrir-accueil.active svg,
#ouvrir-exercices.active span,
#ouvrir-exercices.active svg,
#ouvrir-etirements.active a,
#ouvrir-etirements.active span,
#ouvrir-etirements.active svg,
#ouvrir-parcours.active a,
#ouvrir-parcours.active span,
#ouvrir-parcours.active svg {
    color: var(--app-couleur-principale);
}

/* ******************** Header ******************** */

.bienvenue {
    margin-top: 4px;
}

.bienvenue span {
    font-size: 15px;
    font-weight: 600;
    color: var(--app-couleur-texte);
}

body#product header .bienvenue {
    text-align: center !important;
}

#header-normal .elementor-element-9de7d28.elementor-sticky--active {
    background: transparent !important;
    isolation: isolate;
}

#header-normal .elementor-element-9de7d28.elementor-sticky--active::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(253, 252, 248, 0.58) 0%,
        rgba(253, 252, 248, 0.28) 85%,
        transparent 100%
    );

    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);

    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 85%,
        transparent 100%
    );

    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 85%,
        transparent 100%
    );
}

#header-normal .elementor-element-9de7d28.elementor-sticky--active > * {
    position: relative;
    z-index: 1;
}

/* ******************** Accueil ******************** */

/* .accueil-texte-bouton .elementor-widget-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
} */

.page-index .elementor-widget {
    margin-bottom: 0;
}

.home-aide-structure,
.home-section-1,
.home-section-2,
.home-section-3,
.home-section-4,
.home-section-5 {
    padding: 4px 16px 4px 16px !important;
}

.page-index .home-section-1 img {
    height: 100px;
    object-fit: cover;
    border-radius: 20px;
}

.page-index .home-section-2 .elementor-row > .elementor-top-column:nth-child(1),
.page-index .home-section-4 .elementor-row > .elementor-top-column:nth-child(1) {
    width: calc(50% - 6px);
    margin-right: 6px;
}

.page-index .home-aide-structure .elementor-row > .elementor-top-column:nth-child(2),
.page-index .home-section-2 .elementor-row > .elementor-top-column:nth-child(2),
.page-index .home-section-4 .elementor-row > .elementor-top-column:nth-child(2) {
    width: calc(50% - 6px);
    margin-left: 6px;
}

.page-index .home-icon-box .elementor-icon-box-wrapper {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.page-index .home-icon-box .icon-box-titre {
    font-size: 16px !important;
}

.home-section-5 .elementor-widget-wrap {
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.home-section-5 .elementor-column-wrap.elementor-element-populated {
    padding: 0;
}

.page-index .home-section-5 .elementor-widget-wrap > .elementor-widget:nth-child(1) .elementor-widget-container {
    transform: translateY(4px);
}



.zone-cliquable {
    cursor: pointer;
}

.page-index #choisir-structure > .elementor-column-wrap > .elementor-widget-wrap {
    flex-direction: column;
    justify-content: space-between;
}

/* Section avec le guide et la structure sélectionnée */
.page-index .home-aide-structure .elementor-row {
    display: flex;
    gap: 12px;
}

.page-index .home-aide-structure .elementor-row > .elementor-top-column:nth-child(1) {
    width: calc(50% - 6px);
    margin: 0;
}

.page-index .home-aide-structure .elementor-row > .elementor-top-column:nth-child(2) {
    width: calc(50% - 6px);
    margin: 0;
}

/* État si le guide est fermé */

.page-index .home-aide-structure.is-guide-closed .elementor-row > .elementor-top-column:nth-child(1) {
    display: none;
}

.page-index .home-aide-structure.is-guide-closed .elementor-row > .elementor-top-column:nth-child(2) {
    width: 100%;
    margin: 0;
}

#brique-gomouv .elementor-widget-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

body:not(.elementor-editor-active)
.home-structure picture img{
    opacity:0;
    transition:opacity .15s ease;
}

/* ******************** Curseur des boutons du footer ******************** */
#ouvrir-accueil,
#ouvrir-accueil *,
#ouvrir-exercices,
#ouvrir-exercices *,
#ouvrir-parcours,
#ouvrir-parcours *,
#ouvrir-etirements,
#ouvrir-etirements * {
    cursor: pointer !important;
}
/* ******************** Briques Elementor ******************** */

/* ********** Base commune des briques ********** */
.app-brique {
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 20px;
    color: var(--app-couleur-texte);
}

/* ********** Couleur du contenu des briques ********** */
.app-brique .elementor-heading-title,
.app-brique .elementor-widget-text-editor,
.app-brique .elementor-icon,
.app-brique .elementor-icon-box-title,
.app-brique .elementor-icon-box-description,
.app-brique .elementor-icon-box-description p,
.app-brique p,
.app-brique a {
    color: inherit !important;
}
/* ********** Couleur des icônes des briques ********** */
.app-brique .elementor-icon-wrapper svg {
    fill: currentColor !important;
    stroke: currentColor;
}

/* ******************** Footer ******************** */

.app-footer {
    position: fixed;
    bottom: 18px;
    left: 16px;
    right: 16px;
    width: auto;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 25px;
    z-index: 99;
    box-shadow: 0 3px 7px 0 color-mix(in srgb, var(--app-couleur-texte) 12%, var(--app-couleur-transparent));
}

.app-footer .elementor-icon-box-icon svg {
    width: 25px;
    height: 25px;
    color: var(--app-icones-footer);
}

.elementor-icon-box-icon,
.app-footer .elementor-icon-box-title,
.app-footer .elementor-icon-box-title a {
    margin-bottom: 0;
}

.app-footer .elementor-icon-box-title a,
.app-footer .elementor-icon-box-title span {
    color: var(--app-icones-footer);
}

/* ******************** Bouton central du footer ******************** */

.app-footer_minuteur {
    transform: translateY(-30px);
}

.app-footer_minuteur svg {
    width: 30px;
    height: 30px;
}

.app-footer_minuteur .elementor-widget-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 5px solid var(--app-couleur-fond-page);
    border-radius: 50%;
    background-color: var(--app-couleur-principale);
    box-shadow: 0 3px 7px 0 color-mix(in srgb, var(--app-couleur-texte) 12%, var(--app-couleur-transparent));
}

/* ******************** Affichage de la séance dans le footer ******************** */

.app-footer_minuteur .elementor-widget-container {
    position: relative;
}

.app-footer-chrono-icone,
.app-footer-chrono-temps,
.app-footer-chrono-reprise {
    position: relative;
    z-index: 2;
}

.app-footer-chrono-temps,
.app-footer-chrono-reprise {
    display: none;
}

.app-footer-chrono-temps {
    color: var(--app-couleur-texte);
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.app-footer-chrono-reprise {
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--app-couleur-texte);
}

.app-footer-chrono-reprise-picto {
    display: block;
    transform: translateX(1px);
    font-size: 18px;
    line-height: 1;
}

.app-footer_minuteur.seance-active .elementor-widget-container {
    position: relative;
    z-index: 1;
    animation: appSeancePulse 2.8s ease-in-out infinite;
}

.app-footer_minuteur.seance-active .elementor-widget-container::before {
    position: absolute;
    inset: -5px;
    z-index: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 2px, var(--app-couleur-secondaire) 2px, var(--app-couleur-transparent) 3px);
    content: '';
    animation: appSeanceRotation 1.8s linear infinite;
    pointer-events: none;
    will-change: transform;
}

.app-footer_minuteur.seance-active .app-footer-chrono-icone {
    display: none;
}

.app-footer_minuteur.seance-active .app-footer-chrono-temps {
    display: block;
}

.app-footer_minuteur.seance-pause .elementor-widget-container {
    animation: none;
}

.app-footer_minuteur.seance-pause .elementor-widget-container::before {
    animation-play-state: paused;
}

.app-footer_minuteur.seance-pause .app-footer-chrono-temps {
    display: none;
}

.app-footer_minuteur.seance-pause .app-footer-chrono-reprise {
    display: flex;
}

@keyframes appSeanceRotation {
    to {
        transform: rotate(360deg);
    }
}

@keyframes appSeancePulse {
    0%, 100% {
        box-shadow: 0 3px 7px 0 color-mix(in srgb, var(--app-couleur-texte) 12%, var(--app-couleur-transparent)), 0 0 0 0 color-mix(in srgb, var(--app-couleur-principale) 45%, var(--app-couleur-transparent));
    }

    50% {
        box-shadow: 0 5px 12px 0 color-mix(in srgb, var(--app-couleur-texte) 18%, var(--app-couleur-transparent)), 0 0 0 7px var(--app-couleur-transparent);
    }
}

/* ******************** Affichage de l’exercice dans le bouton central ******************** */
.app-footer_minuteur {
    position:relative;
    z-index:2;
    transform-origin:center bottom;
    transition:transform 320ms ease;
}

.app-footer_minuteur .elementor-widget-container {
    transition:background-color 320ms ease;
}

.app-footer-chrono-exercice {
    display:none;
    position:relative;
    z-index:2;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    color:var(--app-couleur-texte);
    line-height:1;
    text-align:center;
}

.app-footer-chrono-exercice-label {
    font-size:9px;
    font-weight:700;
}

.app-footer-chrono-exercice-temps {
    font-size:11px;
    font-variant-numeric:tabular-nums;
    font-weight:700;
}

.app-footer_minuteur.app-footer-exercice-actif {
    transform:translateY(-30px) scale(1.35);
}

.app-footer_minuteur.app-footer-exercice-actif .elementor-widget-container {
    background-color:var(--app-couleur-secondaire);
    animation:appSeancePulse 2.8s ease-in-out infinite;
}

.app-footer_minuteur.app-footer-exercice-actif .elementor-widget-container::before {
    position:absolute;
    inset:-5px;
    z-index:1;
    border-radius:50%;
    background:radial-gradient(circle at 50% 2px, var(--app-couleur-principale) 2px, var(--app-couleur-transparent) 3px);
    content:'';
    animation:appSeanceRotation 1.8s linear infinite;
    pointer-events:none;
    will-change:transform;
}

.app-footer_minuteur.app-footer-exercice-actif .app-footer-chrono-icone,
.app-footer_minuteur.app-footer-exercice-actif .app-footer-chrono-temps,
.app-footer_minuteur.app-footer-exercice-actif .app-footer-chrono-reprise {
    display:none;
}

.app-footer_minuteur.app-footer-exercice-actif .app-footer-chrono-exercice {
    display:flex;
    color:var(--app-couleur-texte-bouton);
}

.app-footer-chrono-seance-label {
    display:none;
    color:var(--app-couleur-texte);
    font-size:9px;
    font-weight:700;
    line-height:1;
}

.app-footer_minuteur.seance-active .elementor-widget-container {
    flex-direction:column;
    gap:2px;
}

.app-footer_minuteur.seance-active .app-footer-chrono-seance-label {
    display:block;
}

.app-footer_minuteur.seance-pause .app-footer-chrono-seance-label,
.app-footer_minuteur.app-footer-exercice-actif .app-footer-chrono-seance-label {
    display:none;
}

.app-footer_minuteur.app-footer-exercice-pause .elementor-widget-container,
.app-footer_minuteur.app-footer-exercice-pause .elementor-widget-container::before {
    animation-play-state:paused;
}

@media (prefers-reduced-motion: reduce) {
    .app-footer_minuteur.app-footer-exercice-actif,
    .app-footer_minuteur.app-footer-exercice-actif .elementor-widget-container,
    .app-footer_minuteur.app-footer-exercice-actif .elementor-widget-container::before {
        animation:none;
        transition:none;
    }
}

footer .elementor-column-gap-default > .elementor-row > .elementor-column > .elementor-element-populated {
    padding: 0 !important;
}

/* ******************** Compteurs d’activité ******************** */

.img-light-box .wrapper-imgs {
    position: relative;
}

.app-compteur-exercice {
    position: absolute;
    right: auto;
    bottom: 16px;
    left: 50%;
    z-index: 98;
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 24px;
    padding: 4px 10px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--app-couleur-texte) 62%, var(--app-couleur-transparent));
    color: var(--app-couleur-texte-bouton);
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity .2s ease, transform .2s ease;
}

.app-compteur-exercice.actif {
    opacity: 1;
    transform: translate(-50%, 0);
}

.app-compteur-exercice-label {
    font-weight: 400;
}

.app-compteur-exercice-temps {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* ******************** Choix des structures ******************** */

body.cms-id-34 .page-title {
    display: none;
}
body.cms-id-34 .app-zone-choix-structures {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

body.cms-id-34 .app-conteneur-diaporama {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
}

body.cms-id-34.app-liste-diaporama {
    box-sizing: border-box;
}

body.cms-id-34 .app-carte-structure {
    display: block;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
    color: var(--app-couleur-texte);
    text-align: center;
    text-decoration: none;
}

body.cms-id-34 .app-carte-structure:hover {
    color: var(--app-couleur-texte);
    text-decoration: none;
}

body.cms-id-34 .app-image-structure {
    display: block;
    width: 210px;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 8px;
}

body.cms-id-34 .app-nom-structure {
    margin: 10px auto 0;
    color: var(--app-couleur-texte);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    overflow-wrap: break-word;
}

body.cms-id-34 .app-conteneur-diaporama .app-bouton-precedent,
body.cms-id-34 .app-conteneur-diaporama .app-bouton-suivant {
    width: 24px;
    height: 24px;
    margin-top: -12px;
    color: var(--app-couleur-texte);
}

.app-conteneur-diaporama .app-bouton-precedent {
    left: 4px;
}

body.cms-id-34 .app-conteneur-diaporama .app-bouton-suivant {
    right: 4px;
}

body.cms-id-34 .app-conteneur-diaporama .app-bouton-precedent::after,
body.cms-id-34 .app-conteneur-diaporama .app-bouton-suivant::after {
    font-size: 14px;
    font-weight: 600;
}

/* Contrôles d’un exercice classique : mêmes libellés explicites que la séance. */
body:not(.page-parcours-actif) #validation-exercices.app-exercice-actions-actives {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: calc(100% - 30px);
    margin: 14px 15px 0;
}

body:not(.page-parcours-actif) #validation-exercices.app-exercice-actions-actives button {
    display: flex;
    min-height: 54px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 6px;
    border: 2px solid var(--app-couleur-principale);
    border-radius: 24px;
    background: var(--app-couleur-transparent);
    color: var(--app-couleur-texte);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    cursor: pointer;
}

body:not(.page-parcours-actif) #validation-exercices.app-exercice-actions-actives .app-exercice-terminer {
    background: var(--app-couleur-principale);
}

body:not(.page-parcours-actif) #validation-exercices.app-exercice-actions-actives button span {
    display: block;
}

@media (max-width: 767px) {
    .app-image-structure {
        width: 140px;
        height: 90px;
    }

    .app-nom-structure {
        font-size: 15px;
    }

    .app-conteneur-diaporama .app-bouton-precedent,
    .app-conteneur-diaporama .app-bouton-suivant {
        width: 22px;
        height: 22px;
        margin-top: -11px;
    }

    .app-conteneur-diaporama .app-bouton-precedent::after,
    .app-conteneur-diaporama .app-bouton-suivant::after {
        font-size: 12px;
    }
}

/* ******************** Page du choix des exercices - Cacher les éléments et changer l'icone ******************** */

body.page-category .axps-breadcrumb,
body.page-category #js-product-list-top .gr-list-gird {
    display: none;
}

body.page-category #js-product-list-top .nav-products-list-top-center {
    display: none;
}

body.page-category #js-product-list-top .nav-products-list-top-right {
    display: none;
}

/* Cacher uniquement l'arbre des catégories et la description.
   La navigation à facettes reste visible. */
body.page-category #left-column .block-categories,
body.page-category #left-column .block-category,
body.page-category #left-column .category-top-menu,
body.page-category #left-column .category-sub-menu,
body.page-category .category-description {
    display: none !important;
}

#js-product-list-top .filter-buttons.hidden-lg-up .open-filters {
    margin-left: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    font-size: 13px;
    border-bottom: none;
    text-decoration: none;
}

/* Remplace le "+" par le SVG */
#js-product-list-top .filter-buttons.hidden-lg-up .open-filters::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 16px;
    background: url("/img/cms/webapp/pictos/gmv-app-filtres.svg")
    center / contain
    no-repeat;

    border: 0;
}

/* ******************** Page exercice - éléments masqués ******************** */

.single-breadcrumbs-wrapper,
.product-images-thumb,
.product-additional-info,
.summary-container,
#wrapper-tab-product {
    display: none;
}

/* Réafficher le résumé produit pour les fiches parcours uniquement */
body:has(.app-parcours-fiche) .summary-container {
    display: block;
}

/* Uniquement pour les activités libres */
body.category-id-140 .tpl-exercice-niveau,
body.product-id-category-140 .tpl-exercice-niveau {
    display: none;
}

body.category-id-140 .tpl-exercice-informations-bouton {
    display:none;
}

/* Réduire la zone image des activités libres */
body.product-id-category-140 .gr-btn-additional {
    display: none;
}

body.product-id-category-140 .img-light-box .wrapper-imgs {
    aspect-ratio: auto;
    height: 320px;
}

body.product-id-category-140 .img-light-box .wrapper-imgs .exercice-video {
    height: 100%;
    object-fit: contain;
}

/* ******************** Page exercice - zone vidéo ******************** */

.img-light-box {
    position: relative;
    height: auto;
}

.img-light-box .wrapper-imgs {
    display: block;
    width: 100%;
    aspect-ratio: 1.02;
    overflow: hidden;
}

.img-light-box .wrapper-imgs .exercice-video {
    display: block;
    width: calc(100% - 32px);
    height: 100%;
    margin-left: 16px;
    margin-right: 16px;
    object-fit: cover;
    border-radius: 25px;
}

.item-image.swiper-slide {
    position: relative;
}

.item-image.swiper-slide .img-light-box {
    position: relative;
    z-index: 1;
}

.product-images-cover {
    position: relative;
}

/* ******************** Page exercice - overlay ******************** */

.exercice-overlay {
    position: absolute;
    top: 10px;
    left: 7%;
    right: 7%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    pointer-events: none;
}

.exercice-titre {
    min-width: 0;
    flex: 1 1 auto;
    margin: 0;
    color: var(--app-couleur-texte-bouton);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    text-shadow: 0 1px 4px color-mix(in srgb, var(--app-couleur-texte) 50%, var(--app-couleur-transparent));
}

.exercice-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    pointer-events: auto;
}

/* ******************** Page exercice - favori ******************** */

.exercice-actions .btn-wishlist,
.tpl-exercice-actions .btn-wishlist {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: var(--app-couleur-transparent);
    color: var(--app-couleur-transparent);
    font-size: 0;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.exercice-actions .btn-wishlist {
    width: 42px;
    height: 42px;
}

.exercice-actions .btn-wishlist::before,
.tpl-exercice-actions .btn-wishlist::before {
    display: none;
    content: none;
}

.exercice-actions .btn-wishlist svg,
.tpl-exercice-actions .btn-wishlist svg {
    display: block;
    width: 30px;
    height: 30px;
    fill: var(--app-couleur-transparent);
    stroke: var(--app-couleur-texte-bouton);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.exercice-actions .btn-wishlist.added svg,
.tpl-exercice-actions .btn-wishlist.added svg {
    fill: var(--app-couleur-erreur);
    stroke: var(--app-couleur-erreur);
}

/* ******************** Page exercice - agrandissement ******************** */

.gr-btn-additional {
    position: absolute;
    top: 16px;
    right: 16px;
    display: block;
    z-index: 20;
}

.btn-additional {
    display: flex;
    align-items: center;
}

a.btn-additional-view.js-view-large {
    position: relative;
    display: flex;
    z-index: 21;
}

.exercice-actions .gr-btn-additional {
    position: static;
    display: block;
    padding: 5px;
}

.exercice-actions .btn-additional {
    display: flex;
}

.exercice-actions .btn-additional-view {
    display: flex;
}

body#product .btn-additional-view span {
    display: none;
}

body#product .btn-additional-view {
    width: 42px;
    min-width: 42px;
    overflow: hidden;
}

/* ******************** Page exercice - description et muscles ******************** */

.exercice-description-muscles {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    width: calc(100% - 30px);
    min-height: 76px;
    margin: 14px 15px 0;
    padding: 10px 0;
    border-radius: 0;
    background: var(--app-couleur-transparent);
}

.exercice-description {
    display: flex;
    flex: 1 1 74%;
    flex-direction: column;
    min-width: 0;
    color: var(--app-couleur-texte);
    font-size: 14px;
    line-height: 1.4;
}

.exercice-description p {
    margin: 0;
}

.exercice-muscles {
    position: relative;
    display: flex;
    flex: 0 1 26%;
    min-width: 84px;
    align-items: center;
    justify-content: center;
    min-height: 64px;
}

.exercice-muscles-info {
    position: absolute;
    top: -6px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--app-couleur-transparent);
    color: var(--app-couleur-texte);
    cursor: pointer;
}

.exercice-muscles-info svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.exercice-muscles-info:active {
    transform: scale(.94);
}

.exercice-muscles img {
    width: auto;
    max-width: 100%;
    height: 72px;
    object-fit: contain;
}

/* ******************** Mode exercice agrandi ******************** */

body.mode-exercice-agrandi {
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: var(--app-couleur-texte);
}

body.mode-exercice-agrandi header,
body.mode-exercice-agrandi .app-footer {
    display: none;
}

body.mode-exercice-agrandi .img-light-box {
    position: fixed;
    inset: 0;
    z-index: 1000;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: var(--app-couleur-texte);
    isolation: isolate;
}

body.mode-exercice-agrandi .img-light-box .wrapper-imgs {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    overflow: hidden;
}

body.mode-exercice-agrandi .img-light-box .exercice-video {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    object-fit: cover;
}

body.mode-exercice-agrandi .exercice-overlay {
    top: calc(16px + env(safe-area-inset-top));
    right: 7%;
    left: 7%;
    z-index: 130;
    pointer-events: none;
}

body.mode-exercice-agrandi .exercice-titre {
    color: var(--app-couleur-texte-bouton);
    pointer-events: auto;
}

body.mode-exercice-agrandi .exercice-retour-plein-ecran {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--app-couleur-fond-page) 90%, var(--app-couleur-transparent));
    color: var(--app-couleur-texte);
    cursor: pointer;
}

body.mode-exercice-agrandi .exercice-retour-plein-ecran svg {
    width: 26px;
    height: 26px;
}

body.mode-exercice-agrandi .app-compteur-exercice {
    position:absolute;
    right:auto;
    bottom:calc(84px + env(safe-area-inset-bottom));
    left:50%;
    z-index:140;
    display:flex;
    align-items:center;
    min-height:34px;
    padding:6px 12px;
    border-radius:20px;
    background:color-mix(in srgb, var(--app-couleur-texte) 62%, var(--app-couleur-transparent));
    color:var(--app-couleur-texte-bouton);
    font-size:16px;
    line-height:1;
    pointer-events:none;
    transform:translateX(-50%);
}

body.mode-exercice-agrandi
.app-compteur-exercice:not(.actif) {
    opacity: 0;
}

body.mode-exercice-agrandi #validation-exercices {
    position:absolute;
    right:16px;
    bottom:calc(24px + env(safe-area-inset-bottom));
    left:16px;
    z-index:1200;
    width:auto;
    margin:0;
    pointer-events:auto;
}

body.mode-exercice-agrandi #validation-exercices button {
    background:var(--app-couleur-principale);
    color:var(--app-couleur-texte);
}

@media (max-width: 420px) {

    body.mode-exercice-agrandi .exercice-overlay {
        right: 5%;
        left: 5%;
    }

    body.mode-exercice-agrandi #validation-exercices {
        right: 12px;
        bottom: calc(16px + env(safe-area-inset-bottom));
        left: 12px;
        gap: 8px;
    }

    body.mode-exercice-agrandi #validation-exercices button {
        min-height: 44px;
        padding-right: 8px;
        padding-left: 8px;
        font-size: 14px;
    }

}

/* ******************** Carte ******************** */

/* Cacher le titre et le fil d'ariane et la liste des structures qui était en bas après la liste des exercices */
body.page-category .widget-content {
    /*display: none;*/
}

body.page-category .page-title {
    display: none;
}

.tpl-exercice-item {
    width: 100%;
    min-width: 0;
}

.tpl-exercice-carte {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--app-couleur-fond-page);
    border-radius: 15px;
    isolation: isolate;
}

.tpl-exercice-carte-avant {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.tpl-exercice-lien {
    position: absolute;
    inset: 0;
    display: block;
    color: inherit;
    text-decoration: none;
}

.tpl-exercice-lien:hover,
.tpl-exercice-lien:focus {
    color: inherit;
    text-decoration: none;
}

/* ******************** Cartes Parcours ******************** */

.tpl-exercice-carte:has(.type-pack) .tpl-exercice-niveau,
.tpl-exercice-carte:has(.type-pack) .tpl-exercice-niveau-informations,
.tpl-exercice-carte:has(.type-pack) .tpl-exercice-muscles,
.tpl-exercice-carte:has(.type-pack) .tpl-exercice-informations-bouton,
.tpl-exercice-carte:has(.type-pack) .tpl-exercice-video {
    display: none;
}

/* ******************** Fiche Parcours ******************** */

.app-parcours-fiche {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: 560px;
    margin: 12px auto 50px;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: var(--app-couleur-transparent);
    color: var(--app-couleur-texte);
    box-shadow: none;
}

body:has(.app-parcours-fiche) .product-information,
body:has(.app-parcours-fiche) .js-product-images-modal {
    display: none;
}

body.page-parcours-actif .app-parcours-fiche,
body.page-parcours-actif .product-short-description {
    display: none;
}

body.page-parcours-actif .single-product-images,
body.page-parcours-actif .single-product-images .img-light-box {
    display: block !important;
}

body:has(.app-parcours-fiche) .single-product-summary h1,
body:has(.app-parcours-fiche) .single-product-summary .product-title,
body:has(.app-parcours-fiche) h1[itemprop="name"] {
    margin: 12px 16px 10px;
    font-size: clamp(28px, 7vw, 34px);
    line-height: 1.1;
}

.app-parcours-informations {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.app-parcours-information {
    margin: 0;
    padding: 8px 10px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--app-couleur-principale) 22%, var(--app-couleur-transparent));
    color: var(--app-couleur-texte);
    font-size: 13px;
    line-height: 1.25;
}

.app-parcours-information strong {
    font-weight: 700;
}

.app-parcours-conseil {
    flex: 0 0 100%;
    box-sizing: border-box;
    margin: 2px 0 4px;
    padding: 12px;
    border-left: 4px solid var(--app-couleur-principale);
    border-radius: 8px;
    background: var(--app-couleur-fond-page);
    color: var(--app-couleur-texte);
    font-size: 14px;
    line-height: 1.45;
}

.app-parcours-actions {
    order: 4;
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
    width: 100%;
    margin-bottom: 12px;
}

.app-parcours-actions button {
    flex: 1;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 24px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.app-parcours-demarrer {
    width: 100%;
    border: 0;
    background: var(--app-couleur-principale);
    color: var(--app-couleur-texte);
}

.app-parcours-actions button:active {
    transform: scale(.97);
}

.app-parcours-etapes {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 12px;
}

.app-parcours-etapes-toggle {
    align-self: center;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 8px;
    border: 0;
    background: var(--app-couleur-transparent);
    color: var(--app-couleur-texte);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    cursor: pointer;
}

.app-parcours-etapes-toggle::after {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 9px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: '';
    transform: rotate(45deg) translate(-2px,-2px);
    transition: transform .2s ease;
}

.app-parcours-etapes-toggle[aria-expanded="true"]::after {
    transform: rotate(225deg) translate(-2px,-2px);
}

.app-parcours-etapes-liste {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-parcours-etapes-liste[hidden] {
    display: none;
}

.app-parcours-etape {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    min-height: 72px;
    padding: 8px;
    border: 1px solid color-mix(in srgb, var(--app-couleur-texte) 8%, var(--app-couleur-transparent));
    border-radius: 16px;
    background: var(--app-couleur-fond-page);
}

.app-parcours-etape-image {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 12px;
}

.app-parcours-etape-numero {
    display: flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--app-couleur-principale);
    color: var(--app-couleur-texte);
    font-size: 13px;
    font-weight: 700;
}

.app-parcours-etape-contenu {
    flex: 1 1 auto;
    min-width: 0;
}

.app-parcours-etape-nom {
    margin: 0 0 3px;
    color: var(--app-couleur-texte-titre);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.app-parcours-etape-details {
    margin: 0;
    color: color-mix(in srgb, var(--app-couleur-texte) 70%, var(--app-couleur-transparent));
    font-size: 13px;
    line-height: 1.3;
}

@media (max-width: 480px) {

    .app-parcours-fiche {
        width: calc(100% - 20px);
        margin-bottom: 50px;
        padding: 0;
    }

    body:has(.app-parcours-fiche) .single-product-summary h1,
    body:has(.app-parcours-fiche) .single-product-summary .product-title,
    body:has(.app-parcours-fiche) h1[itemprop="name"] {
        margin-right: 10px;
        margin-left: 10px;
        font-size: 30px;
    }

    .app-parcours-information {
        padding: 7px 9px;
    }

    .app-parcours-etape-image {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    .app-parcours-actions {
        flex-direction: column;
    }

    .app-parcours-actions button {
        width: 100%;
    }
}

/* Cacher les éléments */

body:has(.app-parcours-fiche) .col-12.single-product-images {
    display: none;
}

/* ******************** Barre d’avancement du Parcours ******************** */

#app-barre-progression {
    order: 3;
    flex: 0 0 auto;
    display: flex;
    gap: 4px;
    width: 100%;
    margin: 0 0 6px;
    padding: 10px 0;
    opacity: 0;
    transition: opacity .3s ease;
}

#app-barre-progression.app-barre-visible {
    opacity: 1;
}

#app-barre-progression.app-barre-apercu,
#app-barre-progression.app-barre-actif {
    opacity: 1;
}


/* ******************** Image et vidéo ******************** */

.tpl-exercice-media,
.tpl-exercice-video-conteneur,
.tpl-exercice-image-remplacement {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.tpl-exercice-video-conteneur {
    overflow: hidden;
}

.tpl-exercice-image-remplacement a,
.tpl-exercice-image-remplacement picture,
.tpl-exercice-image-remplacement img {
    display: block;
    width: 100%;
    height: 100%;
}

.tpl-exercice-image-remplacement img {
    object-fit: cover;
}

.tpl-exercice-video {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.tpl-exercice-video-visible {
    opacity: 1;
}

.tpl-exercice-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(
        to bottom,
        color-mix(in srgb, var(--app-couleur-texte) 2%, var(--app-couleur-transparent)),
        color-mix(in srgb, var(--app-couleur-texte) 4%, var(--app-couleur-transparent)) 55%,
        rgba(0, 0, 0, .58)
    );
    pointer-events: none;
}

/* ******************** Informations visuelles du bas ******************** */

.tpl-exercice-informations-visuelles {
    position: absolute;
    right: 16px;
    bottom: 14px;
    left: 16px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    text-align: left;
}

.tpl-exercice-niveau {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    margin: 0;
    padding: 5px 9px;
    border-radius: 5px;
    background: var(--app-couleur-secondaire);
    color: var(--app-couleur-texte);
    font-size: 11px;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
}

.tpl-exercice-niveau[hidden] {
    display: none;
}

.tpl-exercice-niveau.tpl-niveau-1 {
    background: var(--app-couleur-niveau-debutant);
    border-color: var(--app-couleur-niveau-debutant);
    color: var(--app-couleur-texte-bouton);
}

.tpl-exercice-niveau.tpl-niveau-2 {
    background: var(--app-couleur-niveau-intermediaire);
    border-color: var(--app-couleur-niveau-intermediaire);
    color: var(--app-couleur-texte);
}

.tpl-exercice-niveau.tpl-niveau-3 {
    background: var(--app-couleur-niveau-confirme);
    border-color: var(--app-couleur-niveau-confirme);
    color: var(--app-couleur-texte-bouton);
}

.tpl-exercice-titre {
    display: -webkit-box;
    width: 100%;
    margin: 0;
    overflow: hidden;
    color: var(--app-couleur-texte-bouton);
    font-size: 12px;
    line-height: 1.2;
    text-align: left;
    word-break: normal;
    overflow-wrap: normal;
    text-shadow: 0 1px 4px color-mix(in srgb, var(--app-couleur-texte) 35%, var(--app-couleur-transparent));
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* ******************** Muscles ******************** */

.tpl-exercice-muscles {
    position: absolute;
    right: 16px;
    bottom: 23px;
    z-index: 8;
    width: 80px;
    pointer-events: none;
}

.tpl-exercice-muscles svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.tpl-exercice-muscles path {
    fill: currentColor;
    transition: fill .2s ease;
}

.tpl-exercice-muscles path.tpl-exercice-muscle-actif {
    fill: var(--app-couleur-erreur);
}

/* ******************** Actions ******************** */

.tpl-exercice-actions {
    position: absolute;
    inset: 0;
    z-index: 100;
    pointer-events: none;
}

.tpl-exercice-actions > * {
    pointer-events: auto;
}

.tpl-exercice-actions .btn-wishlist {
    position: absolute;
    top: 14px;
    left: 16px;
    z-index: 120;
    width: 24px;
    height: 24px;
    min-width: 24px;
    box-shadow: none;
}

.tpl-exercice-actions .btn-wishlist svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.7;
}

.tpl-exercice-informations-bouton {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 110;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    width: 56px;
    height: 56px;
    padding: 11px 9px 0 0;
    border: 0;
    border-radius: 0 15px 0 0;
    background: var(--app-couleur-principale);
    color: var(--app-couleur-secondaire);
    filter: drop-shadow(-2px 3px 4px color-mix(in srgb, var(--app-couleur-texte) 16%, var(--app-couleur-transparent)));
    font-size: 0;
    cursor: pointer;
    clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.tpl-exercice-informations-bouton svg {
    position: relative;
    z-index: 120;
    display: block;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: var(--app-couleur-secondaire);
    stroke-width: 2;
    stroke-linecap: round;
}

.tpl-exercice-informations-bouton:focus-visible,
.tpl-exercice-informations-fermeture:focus-visible {
    outline: 3px solid var(--app-couleur-secondaire);
    outline-offset: 3px;
}

/* ******************** Surcouche informations pour un exercice ******************** */

.tpl-exercice-informations-overlay {
    position: absolute;
    inset: 0;
    z-index: 200;
    overflow-y: auto;
    padding: 40px 10px 10px;
    border-radius: inherit;
    background:
        radial-gradient(
            circle at 92% 8%,
            rgba(169, 223, 95, 0.24) 0%,
            rgba(169, 223, 95, 0) 34%
        ),
        linear-gradient(
            145deg,
            rgba(18, 48, 77, 0.97) 0%,
            rgba(31, 82, 124, 0.95) 58%,
            rgba(0, 104, 105, 0.94) 100%
        );
    color: var(--app-couleur-texte-bouton);
    clip-path: circle(0 at calc(100% - 28px) 28px);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
        clip-path .45s ease,
        opacity .15s ease,
        visibility 0s linear .45s;
}

.tpl-exercice-carte-informations-ouvertes .tpl-exercice-informations-overlay {
    clip-path: circle(150% at calc(100% - 28px) 28px);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition:
        clip-path .45s ease,
        opacity .15s ease;
}

.tpl-exercice-informations-fermeture {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 210;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--app-couleur-texte-bouton);
    color: var(--app-couleur-texte);
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
}

.tpl-exercice-informations-contenu {
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity .25s ease .18s,
        transform .25s ease .18s;
}

.tpl-exercice-carte-informations-ouvertes .tpl-exercice-informations-contenu {
    opacity: 1;
    transform: translateY(0);
}

.tpl-exercice-niveau-informations {
    position: static;
    display: inline-flex;
    margin: 0 0 16px;
    box-shadow: none;
}

.tpl-exercice-informations-titre {
    margin: 0 32px 12px 0;
    color: var(--app-couleur-texte-bouton);
    font-size: 20px;
    line-height: 1.2;
}

.tpl-exercice-informations-sous-titre {
    margin-bottom: 14px;
    color: color-mix(in srgb, var(--app-couleur-texte-bouton) 80%, var(--app-couleur-transparent));
    font-size: 13px;
}

.tpl-exercice-informations-sous-titre[hidden],
.tpl-exercice-informations-details[hidden] {
    display: none;
}

.tpl-exercice-informations-description {
    font-size: 12px;
    line-height: 1.3;
}

.tpl-exercice-informations-description p {
    margin: 0 0 10px;
}

.tpl-exercice-informations-details {
    margin-top: 16px;
    color: color-mix(in srgb, var(--app-couleur-texte-bouton) 82%, var(--app-couleur-transparent));
    font-size: 13px;
}

/* ******************** Réduction des animations ******************** */

@media (prefers-reduced-motion: reduce) {
    .tpl-exercice-video,
    .tpl-exercice-informations-overlay,
    .tpl-exercice-informations-contenu,
    .app-footer_minuteur.seance-active .elementor-widget-container,
    .app-footer_minuteur.seance-active .elementor-widget-container::before {
        animation: none;
        transition: none;
    }
}

@media (max-width: 767px) {
    .exercice-overlay {
        left: 7%;
        right: 7%;
    }

    .exercice-titre {
        font-size: 16px;
    }
}

/* ******************** Modale séance ******************** */

#app-modale-seance {
    position:fixed;
    inset:0;
    z-index:90;
    visibility:hidden;
    opacity:0;
    transition:opacity .25s ease;
}

#app-modale-seance[hidden] {
    display:none;
}

#app-modale-seance.ouverte {
    visibility:visible;
    opacity:1;
}

.app-seance-fond {
    position:absolute;
    inset:0 0 calc(var(--app-hauteur-footer) + var(--app-marge-footer-bas));
    background:color-mix(in srgb, var(--app-couleur-texte) 38%, var(--app-couleur-transparent));
}

.app-seance-panneau {
    position:absolute;
    right:0;
    bottom:calc(var(--app-hauteur-footer) + var(--app-marge-footer-bas));
    left:0;
    z-index:10;
    width:100%;
    max-width:420px;
    max-height:calc(100dvh - var(--app-hauteur-footer) - var(--app-marge-footer-bas));
    margin:0 auto;
    padding:14px 20px 24px;
    overflow-y:auto;
    box-sizing:border-box;
    border-radius:24px 24px 0 0;
    background:var(--app-couleur-fond-page);
    box-shadow:0 -8px 24px color-mix(in srgb, var(--app-couleur-texte) 16%, var(--app-couleur-transparent));
    transform:translateY(100%);
    transition:transform .25s ease;
    text-align:center;
}

#app-modale-seance.ouverte .app-seance-panneau {
    transform:translateY(0);
}

#app-modale-seance.fermeture {
    visibility:visible;
    opacity:1;
}

#app-modale-seance.fermeture .app-seance-panneau {
    transform:translateY(100%);
}

/* ******************** Modale activité libre ******************** */

#app-modale-activite-libre {
    position:fixed;
    inset:0;
    z-index:90;
    visibility:hidden;
    opacity:0;
    transition:opacity .25s ease;
}

#app-modale-activite-libre[hidden] {
    display:none;
}

#app-modale-activite-libre.ouverte {
    visibility:visible;
    opacity:1;
}

#app-modale-activite-libre.ouverte .app-seance-panneau {
    transform:translateY(0);
}

/* ******************** Poignée et fermeture ******************** */

.app-seance-poignee {
    width:72px;
    height:4px;
    margin:0 auto 14px;
    border-radius:4px;
    background:var(--app-couleur-texte);
    opacity:.45;
    cursor:grab;
    touch-action:none;
}

.app-seance-poignee:active {
    cursor:grabbing;
}

.app-seance-fermer {
    position:absolute;
    top:12px;
    right:14px;
    width:30px;
    height:30px;
    padding:0;
    border:1px solid color-mix(in srgb, var(--app-couleur-texte) 25%, var(--app-couleur-transparent));
    border-radius:50%;
    background:var(--app-couleur-transparent);
    color:var(--app-couleur-texte);
    font-size:22px;
    line-height:26px;
    cursor:pointer;
}

/* ******************** Choix de la séance ******************** */

.app-seance-titre {
    margin:0 34px 14px;
    color:var(--app-couleur-texte-titre);
    font-size:18px;
    font-weight:700;
}

.app-seance-choix {
    display:flex;
    justify-content:center;
    gap:12px;
}

.app-seance-actions {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    margin-top:20px;
}

.app-seance-mode,
.app-seance-demarrer,
.app-seance-pause,
.app-seance-terminer,
.app-seance-annuler {
    flex:1;
    min-width:0;
    padding:11px 18px;
    border:0;
    border-radius:24px;
    background:var(--app-couleur-principale);
    color:var(--app-couleur-texte);
    font:inherit;
    font-weight:600;
    cursor:pointer;
}

.app-seance-retour {
    margin-top:14px;
    padding:8px 14px;
    border:1px solid color-mix(in srgb, var(--app-couleur-texte) 25%, var(--app-couleur-transparent));
    border-radius:20px;
    background:var(--app-couleur-transparent);
    color:var(--app-couleur-texte);
    font:inherit;
    font-size:14px;
    cursor:pointer;
}

.app-seance-accroche,
.app-seance-sous-titre {
    margin:16px 0;
    color:var(--app-couleur-texte);
    font-size:15px;
}

#app-modale-seance .app-seance-accroche {
    margin:0 34px 8px;
    font-size:13px;
}

.app-seance-confirmation-message {
    margin:16px 0;
    font-size:15px;
}

.app-seance-confirmation-actions .app-seance-mode {
    font-size:13px;
}

.app-seance-controles {
    display:flex;
    gap:10px;
    margin-top:20px;
}

.app-seance-controles button {
    display:flex;
    flex:1;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:10px 14px;
    border:0;
    border-radius:24px;
    background:var(--app-couleur-principale);
    color:var(--app-couleur-texte);
    font:inherit;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
}

.app-seance-controles button svg {
    width:24px;
    height:24px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}

/* ******************** Affichage du chronomètre ******************** */

.app-seance-actif {
    padding-top:4px;
}

.app-seance-mode-actif {
    color:var(--app-couleur-texte);
    font-size:15px;
    font-weight:600;
}

.app-seance-actif .app-seance-demarrer,
.app-seance-actif .app-seance-pause,
.app-seance-actif .app-seance-terminer,
.app-seance-actif .app-seance-annuler {
    flex:1;
    min-width:120px;
}

/* ******************** Roue du minuteur ******************** */

.app-modale-timer {
    position:absolute;
    top:25%;
    right:7%;
    bottom:25%;
    left:7%;
    z-index:30;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:16px;
    background:color-mix(in srgb, var(--app-couleur-secondaire) 94%, var(--app-couleur-transparent));
    box-shadow:0 8px 24px color-mix(in srgb, var(--app-couleur-texte) 25%, var(--app-couleur-transparent));
}

.app-modale-timer[hidden] {
    display:none;
}

.app-modale-timer {
    flex-direction:column;
    padding:22px 18px 18px;
    box-sizing:border-box;
}

.app-timer-selecteur {
    position:relative;
    width:100%;
    max-width:230px;
    height:102px;
    overflow:hidden;
}

.app-timer-roue {
    height:100%;
    overflow-y:auto;
    padding:34px 0;
    box-sizing:border-box;
    scroll-snap-type:y mandatory;
    scrollbar-width:none;
}

.app-timer-roue::-webkit-scrollbar {
    display:none;
}

.app-timer-selecteur::before {
    position:absolute;
    top:34px;
    right:0;
    left:0;
    z-index:1;
    height:34px;
    border-top:1px solid color-mix(in srgb, var(--app-couleur-texte) 25%, var(--app-couleur-transparent));
    border-bottom:1px solid color-mix(in srgb, var(--app-couleur-texte) 25%, var(--app-couleur-transparent));
    background:color-mix(in srgb, var(--app-couleur-texte) 6%, var(--app-couleur-transparent));
    content:'';
    pointer-events:none;
}

.app-timer-option {
    position:relative;
    z-index:0;
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:34px;
    padding:0;
    border:0;
    background:var(--app-couleur-transparent);
    color:color-mix(in srgb, var(--app-couleur-texte) 42%, var(--app-couleur-transparent));
    font:inherit;
    font-size:16px;
    line-height:34px;
    scroll-snap-align:center;
    cursor:pointer;
    transition:color .2s,opacity .2s,transform .2s;
}

.app-timer-option.selected {
    z-index:2;
    color:var(--app-couleur-secondaire);
    font-weight:700;
    transform:scale(1.08);
}

.app-timer-option.adjacent {
    opacity:1;
    transform:scale(.94);
}

.app-timer-demarrer {
    margin-top:12px;
    padding:9px 18px;
    border:0;
    border-radius:8px;
    background:var(--app-couleur-principale);
    color:var(--app-couleur-secondaire);
    font-size:14px;
    font-weight:600;
    cursor:pointer;
}

/* Intégrer la roue dans la modale séance. */

#app-modale-seance .app-seance-roue {
    position:static;
    inset:auto;
    display:flex;
    width:auto;
    max-width:none;
    height:auto;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:var(--app-couleur-transparent);
    box-shadow:none;
    transform:none;
}

#app-modale-seance .app-seance-roue .app-timer-demarrer {
    width:100%;
    margin-top:12px;
}

/* ******************** Adaptation mobile ******************** */

@media (max-width:480px) {
    .app-seance-panneau {
        padding-right:16px;
        padding-left:16px;
    }

    .app-seance-mode,
    .app-seance-demarrer {
        padding-right:12px;
        padding-left:12px;
    }
}

/* ******************** Boutons d'action de l'exercice ******************** */

#validation-exercices {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    width:calc(100% - 30px);
    margin:18px 15px 0;
}

#validation-exercices .exercice-actions-accroche {
    flex:0 0 100%;
    color:var(--app-couleur-texte);
    font-size:15px;
    font-weight:700;
    line-height:1.25;
    text-align:center;
}

#validation-exercices button {
    display:flex;
    flex:1 1 0;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:58px;
    padding:10px 12px;
    border:0;
    border-radius:24px;
    background:var(--app-couleur-principale);
    color:var(--app-couleur-texte);
    font:inherit;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
}

#validation-exercices button:active {
    transform:scale(.97);
}

#validation-exercices button span {
    line-height:1.15;
    text-align:left;
}

#validation-exercices button svg {
    flex:0 0 24px;
    width:24px;
    height:24px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}

/* ******************** Activité libre ******************** */

.app-activite-libre-contenu {
    box-sizing:border-box;
    width:calc(100% - 24px);
    max-width:560px;
    margin:12px auto 95px;
    padding:0;
    border:0;
    border-radius:0;
    background:var(--app-couleur-transparent);
    box-shadow:none;
}

.app-activite-libre-champ {
    position:relative;
    display:flex;
    flex-direction:column;
    gap:5px;
    width:100%;
    color:var(--app-couleur-texte);
    font-size:15px;
    font-weight:600;
}

.app-activite-libre-champ input,
.app-activite-libre-date {
    box-sizing:border-box;
    width:100%;
    min-height:42px;
    padding:10px 12px;
    border:1px solid var(--app-couleur-bordure);
    border-radius:10px;
    background:var(--app-couleur-texte-bouton);
    padding-right:52px;
    color:var(--app-couleur-texte);
    font:inherit;
    font-size:16px;
}

.app-activite-libre-champ input:focus,
.app-activite-libre-date:focus {
    outline:2px solid color-mix(in srgb, var(--app-couleur-principale) 45%, var(--app-couleur-transparent));
    border-color:var(--app-couleur-principale);
}

.app-activite-libre-champ::after {
    position:absolute;
    right:12px;
    bottom:13px;
    color:var(--app-couleur-texte);
    font-size:13px;
    font-weight:600;
    line-height:1;
    pointer-events:none;
}

.app-activite-libre-champ:has(.app-activite-libre-duree)::after {
    content:"min";
}

.app-activite-libre-champ:has(.app-activite-libre-distance)::after {
    content:"km";
}

.app-activite-libre-champ:has(.app-activite-libre-repetitions)::after {
    content:"rép.";
}

.app-activite-libre-date-choix {
    display:flex;
    align-items:center;
    gap:9px;
    min-height:30px;
    color:var(--app-couleur-texte);
    font-size:14px;
    font-weight:500;
    cursor:pointer;
}

.app-activite-libre-date-choix input {
    width:17px;
    height:17px;
    margin:0;
    accent-color:var(--app-couleur-principale);
}

.app-activite-libre-date[hidden] {
    display:none;
}

.app-activite-libre-message {
    min-height:20px;
    color:var(--app-couleur-principale);
    font-size:14px;
    line-height:20px;
}

.app-activite-libre-contenu #validation-exercices {
    display:grid;
    grid-template-columns:1fr 1.25fr;
    gap:10px;
    width:100%;
    margin:4px 0 0;
}

.app-activite-libre-contenu #validation-exercices button {
    box-sizing:border-box;
    width:100%;
    min-height:42px;
    padding:10px 12px;
    border:0;
    border-radius:24px;
    background:var(--app-couleur-principale);
    color:var(--app-couleur-texte);
    font:inherit;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
}

.app-activite-libre-contenu #validation-exercices button:active {
    transform:scale(.97);
}

.app-activite-libre-contenu #validation-exercices
.app-activite-libre-annuler {
    border:1px solid var(--app-couleur-principale);
    background:var(--app-couleur-texte-bouton);
}

.app-activite-libre-contenu #validation-exercices
.app-activite-libre-valider {
    background:var(--app-couleur-principale);
}

.app-activite-libre-formulaire {
    display:flex;
    flex-direction:column;
    gap:10px;
    width:100%;
}

@media (max-width:480px) {

    .app-activite-libre-contenu {
        width:calc(100% - 20px);
        margin-top:12px;
        padding:0;
        border-radius:0;
    }

    .app-activite-libre-contenu #validation-exercices {
        grid-template-columns:1fr 1.25fr;
        gap:8px;
    }

    .app-activite-libre-contenu #validation-exercices button {
        min-height:42px;
        padding-right:8px;
        padding-left:8px;
        font-size:13px;
    }
}
/* ******************** Exercice actif d’un Parcours ******************** */

body.page-parcours-actif .app-parcours-fiche,
body.page-parcours-actif .single-product-summary > h1,
body.page-parcours-actif .single-product-summary .product-title,
body.page-parcours-actif .product-short-description,
body.page-parcours-actif .label-flag.type-pack {
    display: none;
}

body.page-parcours-actif .single-product-images,
body.page-parcours-actif .single-product-images .img-light-box {
    display: block !important;
}

body.page-parcours-actif .exercice-titre {
    max-width: 75%;
    font-size: 16px;
    line-height: 1.2;
}

body.page-parcours-actif #validation-exercices {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: calc(100% - 30px);
    min-height: 46px;
    margin: 14px 15px 0;
    padding: 0;
    background: var(--app-couleur-transparent);
}

body.page-parcours-actif #validation-exercices.app-exercice-actions-actives {
    min-height: 46px;
}

body.page-parcours-actif #validation-exercices button,
body.page-parcours-actif #validation-exercices .app-exercice-objectif {
    box-sizing: border-box;
    min-height: 46px;
    border-radius: 24px;
}

body.page-parcours-actif #validation-exercices button {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: var(--app-couleur-principale);
    color: var(--app-couleur-texte);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

body.page-parcours-actif #validation-exercices button:hover {
    filter: brightness(.97);
}

body.page-parcours-actif #validation-exercices button svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

body.page-parcours-actif #validation-exercices .app-exercice-objectif {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
    padding: 10px 14px;
    background: var(--app-couleur-principale);
    color: var(--app-couleur-texte);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.1;
    text-align: left;
}

body.page-parcours-repetitions .app-compteur-exercice {
    display: none !important;
}

body.page-parcours-actif #validation-exercices.app-exercice-actions-terminees {
    min-height: 46px;
}

body.page-parcours-actif #validation-exercices .app-exercice-termine {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 24px;
    background: var(--app-couleur-principale);
    color: var(--app-couleur-texte);
    font-size: 17px;
    font-weight: 700;
    text-align: left;
}

body.page-parcours-actif #validation-exercices .app-exercice-suivant {
    animation: app-parcours-suivant-pulse 1.4s ease-in-out infinite;
}

body.page-parcours-actif .app-parcours-confirmation-message {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.45;
    text-align: center;
}

body.page-parcours-actif .app-parcours-confirmation-actions {
    display: flex;
    gap: 10px;
}

body.page-parcours-actif .app-parcours-confirmation-actions button {
    flex: 1;
    min-height: 48px;
    padding: 8px 10px;
    border: 0;
    border-radius: 24px;
    background: var(--app-couleur-principale);
    color: var(--app-couleur-texte);
    font: inherit;
    font-weight: 600;
}

@keyframes app-parcours-suivant-pulse {
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 8px color-mix(in srgb, var(--app-couleur-principale) 20%, var(--app-couleur-transparent));
    }
}

/* ******************** Parcours en plein écran ******************** */

body.mode-exercice-agrandi.page-parcours-actif .exercice-overlay {
    top: calc(16px + env(safe-area-inset-top));
    right: 7%;
    left: 7%;
    z-index: 180;
}

body.mode-exercice-agrandi.page-parcours-actif .exercice-titre {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    color: var(--app-couleur-texte-bouton);
    font-size: 17px;
    font-weight: 600;
}

body.mode-exercice-agrandi.page-parcours-actif
.exercice-titre-plein-ecran {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.mode-exercice-agrandi.page-parcours-actif
#validation-exercices {
    position: absolute;
    right: 15px;
    bottom: calc(50px + env(safe-area-inset-bottom));
    left: 15px;
    z-index: 180;
    width: auto;
    margin: 0;
}

body.mode-exercice-agrandi.page-parcours-actif
#app-barre-progression {
    position: absolute;
    right: 15px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 15px;
    z-index: 180;
    width: auto;
    margin: 0;
    padding: 0;
}

body.mode-exercice-agrandi.page-parcours-actif
#app-barre-progression > span {
    height: 8px;
}

body.mode-exercice-agrandi.page-parcours-actif
#validation-exercices.app-exercice-actions-terminees {
    bottom: calc(50px + env(safe-area-inset-bottom));
}

@media (max-width: 480px) {

    body.mode-exercice-agrandi.page-parcours-actif
    #validation-exercices {
        right: 15px;
        bottom: calc(50px + env(safe-area-inset-bottom));
        left: 15px;
    }

    body.mode-exercice-agrandi.page-parcours-actif
    #app-barre-progression {
        right: 15px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        left: 15px;
    }
}

body.page-parcours-actif #app-barre-progression {
    display: flex;
    width: calc(100% - 30px);
    margin: 14px 15px 0;
    padding: 0;
}

/* Ajustements finaux du Parcours actif. */
body.page-parcours-actif .app-parcours-titre-source {
    display: none !important;
}

.app-parcours-titre-actif {
    box-sizing: border-box;
    width: calc(100% - 30px);
    margin: 18px 15px 12px;
    color: var(--app-couleur-texte-titre);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

body.page-parcours-actif #app-compteur-exercice {
    display: none !important;
}

body.page-parcours-actif #validation-exercices .app-exercice-parcours-termine {
    flex: 0 0 52px;
}


/* Variables de progression du Parcours. */


/* Animation de validation de la barre du Parcours. */
#app-barre-progression > span {
    position: relative;
    display: block;
    flex: 1;
    height: 10px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--app-couleur-principale);
    transition: background-color .25s ease, transform .3s ease;
}

#app-barre-progression > span > .app-barre-remplissage-interne {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: inherit;
    background: var(--app-couleur-principale);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .45s cubic-bezier(.4,0,.2,1), background-color .25s ease;
}

#app-barre-progression > span.app-barre-remplissage > .app-barre-remplissage-interne {
    transform: scaleX(1);
}

#app-barre-progression > span.app-barre-terminee {
    background: var(--app-couleur-texte);
    animation: app-barre-pop .3s cubic-bezier(.175,.885,.32,1.275);
}

#app-barre-progression > span.app-barre-terminee > .app-barre-remplissage-interne {
    background: var(--app-couleur-texte);
    transform: scaleX(1);
}

#app-barre-progression > span.app-barre-passee {
    background: #d94a4a;
    animation: app-barre-pop .3s cubic-bezier(.175,.885,.32,1.275);
}

#app-barre-progression > span.app-barre-passee > .app-barre-remplissage-interne {
    background: #d94a4a;
    transform: scaleX(1);
}

#app-barre-progression.app-barre-actif > span.app-barre-actif {
    background: var(--app-couleur-principale);
    animation: app-barre-pulse 1.3s ease-in-out infinite;
}

#app-barre-progression.app-barre-actif > span.app-barre-actif > .app-barre-remplissage-interne {
    transform: scaleX(0);
}

@keyframes app-barre-pulse {
    50% { opacity: .55; }
}

@keyframes app-barre-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.app-barre-particule {
    position: fixed;
    z-index: 1000;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    animation: app-barre-eclat .7s cubic-bezier(.1,.8,.3,1) forwards;
}

@keyframes app-barre-eclat {
    0% { opacity: 1; transform: translate(0,0) scale(1); }
    100% { opacity: 0; transform: translate(var(--app-particule-x),var(--app-particule-y)) scale(.2); }
}

@media (prefers-reduced-motion: reduce) {
    #app-barre-progression > span,
    #app-barre-progression > span > .app-barre-remplissage-interne,
    #app-barre-progression > span.app-barre-terminee,
    #app-barre-progression.app-barre-actif > span.app-barre-actif,
    .app-barre-particule {
        animation: none !important;
        transition: none !important;
    }
}

/* Hiérarchie : footer toujours visible au-dessus de la modale ;
   modale au-dessus de l’animation de progression. */
.app-footer {
    z-index: 300;
}

#app-modale-seance {
    z-index: 250;
}

.app-barre-particule {
    z-index: 200;
}

/* Modale de lancement de séance : choix explicites avec pictogrammes. */
#app-modale-seance .app-seance-choix {
    display: flex;
    gap: 10px;
    width: calc(100% - 30px);
    margin: 18px 15px 0;
}

#app-modale-seance .app-seance-mode {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 82px;
    padding: 10px 8px;
    border: 0;
    border-radius: 24px;
    background: var(--app-couleur-principale);
    color: var(--app-couleur-texte);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    cursor: pointer;
}

#app-modale-seance .app-seance-mode svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

/* Boutons Démarrer / Retour. */
#app-modale-seance .app-seance-demarrer,
#app-modale-seance .app-timer-demarrer {
    min-height: 46px;
    border: 0;
    border-radius: 24px;
    background: var(--app-couleur-principale);
    color: var(--app-couleur-texte);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

#app-modale-seance .app-seance-retour {
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid var(--app-couleur-bordure);
    border-radius: 18px;
    background: var(--app-couleur-transparent);
    color: var(--app-couleur-texte);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* Page des activités réalisées. */
#activites-realisees {
    width:calc(100% - 60px);
    max-width:900px;
    margin:0 30px;
}

.app-activites-realisees-vide {
    margin:24px 0;
    color:var(--app-couleur-texte);
    text-align:center;
}

.app-activites-realisees-mois,
.app-activites-realisees-jour {
    margin:0 0 14px;
    border-bottom:1px solid color-mix(in srgb,var(--app-couleur-bordure) 60%,var(--app-couleur-transparent));
}

.app-activites-realisees-mois > summary,
.app-activites-realisees-jour > summary {
    cursor:pointer;
    padding:12px 0;
    color:var(--app-couleur-texte-titre);
    font-weight:700;
    list-style:none;
}

.app-activites-realisees-mois > summary::-webkit-details-marker,
.app-activites-realisees-jour > summary::-webkit-details-marker {
    display:none;
}

.app-activites-realisees-mois > summary::before,
.app-activites-realisees-jour > summary::before {
    display:inline-block;
    width:18px;
    content:'+';
    color:var(--app-couleur-principale);
    font-size:18px;
}

.app-activites-realisees-mois[open] > summary::before,
.app-activites-realisees-jour[open] > summary::before {
    content:'−';
}

.app-activites-realisees-jour {
    margin:0 18px 10px;
    border-bottom:0;
}

.app-activites-realisees-jour > summary {
    padding:8px 0;
    font-size:15px;
}

.app-activites-realisees-seance {
    margin:0 18px 12px;
    padding-right:6px;
    padding-left:14px;
    border-left:2px solid color-mix(in srgb,var(--app-couleur-principale) 55%,var(--app-couleur-transparent));
}

.app-activites-realisees-seance > summary {
    cursor:pointer;
    margin:0 0 6px;
    padding:6px 0;
    color:var(--app-couleur-texte);
    font-size:13px;
    font-weight:700;
    list-style:none;
}

.app-activites-realisees-seance > summary::-webkit-details-marker {
    display:none;
}

.app-activites-realisees-seance > summary::before {
    display:inline-block;
    width:18px;
    content:'+';
    color:var(--app-couleur-principale);
    font-size:17px;
}

.app-activites-realisees-seance[open] > summary::before {
    content:'−';
}

.app-activites-realisees-liste {
    display:grid;
    gap:8px;
}

.app-activite-realisee-ligne {
    display:grid;
    grid-template-columns:minmax(0,1fr) 30px;
    align-items:center;
    column-gap:10px;
    padding:8px 0;
    border-top:1px solid color-mix(in srgb,var(--app-couleur-bordure) 45%,var(--app-couleur-transparent));
}

.app-activite-realisee-ligne:first-child {
    border-top:0;
}

.app-activite-realisee-informations {
    display:flex;
    min-width:0;
    align-items:center;
    gap:9px;
}

.app-activite-realisee-icone {
    display:flex;
    flex:0 0 auto;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    border-radius:50%;
    background:color-mix(in srgb,var(--app-couleur-principale) 24%,var(--app-couleur-transparent));
}

.app-activite-realisee-icone svg {
    width:18px;
    height:18px;
}

.app-activite-realisee-details {
    min-width:0;
}

.app-activite-realisee-titre,
.app-activite-realisee-type {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.app-activite-realisee-titre {
    color:var(--app-couleur-texte-titre);
    font-size:14px;
    font-weight:600;
}

.app-activite-realisee-type {
    margin-top:2px;
    color:var(--app-couleur-texte);
    font-size:12px;
}

.app-activite-realisee-refaire {
    display:flex;
    flex:0 0 auto;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    border-radius:50%;
    background:var(--app-couleur-principale);
    color:var(--app-couleur-texte);
    font-size:20px;
    line-height:1;
    text-decoration:none;
}

/* Dernières activités de la séance active. */
.app-seance-dernieres-activites {
    width:calc(100% - 30px);
    margin:14px 15px 0;
    text-align:left;
}

.app-seance-dernieres-activites-titre {
    margin-bottom:6px;
    font-size:12px;
    font-weight:700;
}

.app-seance-dernieres-activites-liste {
    display:grid;
    gap:4px;
}

.app-seance-activite-realisee {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:6px;
    padding:5px 0;
    border-top:1px solid color-mix(in srgb,var(--app-couleur-bordure) 55%,var(--app-couleur-transparent));
}

.app-seance-activite-realisee:first-child {
    border-top:0;
}

.app-seance-activite-realisee-informations {
    display:flex;
    min-width:0;
    align-items:center;
    gap:6px;
}

.app-seance-activite-realisee-type {
    flex:0 0 auto;
    padding:2px 5px;
    border-radius:8px;
    background:color-mix(in srgb,var(--app-couleur-principale) 18%,var(--app-couleur-transparent));
    font-size:10px;
    font-weight:700;
}

.app-seance-activite-realisee-details {
    min-width:0;
}

.app-seance-activite-realisee-titre {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:12px;
    font-weight:600;
}

.app-seance-activite-realisee-refaire {
    display:flex;
    flex:0 0 auto;
    align-items:center;
    justify-content:center;
    width:22px;
    height:22px;
    border:1px solid var(--app-couleur-bordure);
    border-radius:50%;
    background:var(--app-couleur-transparent);
    color:var(--app-couleur-texte-lien);
    font-size:16px;
    line-height:1;
    text-decoration:none;
}

.app-seance-dernieres-activites-plus {
    display:inline-block;
    margin-top:6px;
    font-size:11px;
    font-weight:600;
    text-decoration:underline;
}

/* Roue verticale : aucun déplacement horizontal. */
#app-modale-seance .app-timer-roue {
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: pan-y;
    overscroll-behavior-x: none;
}

/* Contrôles d’une séance en cours : texte explicite sur deux lignes. */
#app-modale-seance .app-seance-controles {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
    width: calc(100% - 30px);
    margin: 18px 15px 0;
}

#app-modale-seance .app-seance-controles button {
    display: flex;
    min-height: 58px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 6px;
    border-radius: 24px;
    color: var(--app-couleur-texte);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    cursor: pointer;
}

#app-modale-seance .app-seance-controles button span {
    display: block;
}

#app-modale-seance .app-seance-pause,
#app-modale-seance .app-seance-annuler {
    border: 2px solid var(--app-couleur-principale);
    background: var(--app-couleur-transparent);
}

#app-modale-seance .app-seance-terminer {
    border: 2px solid var(--app-couleur-principale);
    background: var(--app-couleur-principale);
}



/* Lancement de séance : boutons de même taille, empilés verticalement. */
#app-modale-seance .app-seance-actif,
#app-modale-seance .app-seance-timer {
    display: flex;
    width: calc(100% - 30px);
    margin: 18px 15px 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

#app-modale-seance .app-seance-actif .app-seance-demarrer,
#app-modale-seance .app-seance-actif .app-seance-retour,
#app-modale-seance .app-seance-timer .app-seance-retour,
#app-modale-seance .app-seance-roue .app-timer-demarrer {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
}

#app-modale-seance .app-seance-roue-conteneur,
#app-modale-seance .app-seance-roue {
    width: 100%;
}


/* Les boutons de lancement reprennent le pictogramme du choix précédent. */
#app-modale-seance .app-seance-demarrer,
#app-modale-seance .app-timer-demarrer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#app-modale-seance .app-seance-demarrer svg,
#app-modale-seance .app-timer-demarrer svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

/* Aération commune des écrans de lancement de séance. */
#app-modale-seance .app-seance-actif,
#app-modale-seance .app-seance-timer {
    margin-top: 24px;
    margin-bottom: 14px;
    gap: 14px;
}

#app-modale-seance .app-seance-roue-conteneur {
    margin-bottom: 2px;
}

#app-modale-seance .app-seance-panneau {
    padding-top: 10px;
    padding-bottom: 16px;
}

/* Répartition fine : titre rapproché du contenu, espace renforcé avant les actions. */
#app-modale-seance .app-seance-panneau {
    padding-top: 20px;
    padding-bottom: 16px;
}

#app-modale-seance .app-seance-titre {
    margin-bottom: 6px;
}

#app-modale-seance .app-seance-sous-titre {
    margin-top: 4px;
    margin-bottom: 2px;
}

#app-modale-seance .app-seance-timer {
    margin-top: 8px;
    gap: 0;
}

#app-modale-seance .app-seance-roue-conteneur {
    margin-bottom: 14px;
}

#app-modale-seance .app-seance-roue .app-timer-demarrer {
    margin-top: 16px;
}

#app-modale-seance .app-seance-actif {
    margin-top: 10px;
    gap: 12px;
}


/* Bottom sheet : le panneau remplit l’espace jusqu’au bas de l’écran. */
#app-modale-seance {
    background: var(--app-couleur-transparent);
}

#app-modale-seance .app-seance-fond {
    inset: 0;
    background: var(--app-couleur-transparent);
}

#app-modale-seance .app-seance-panneau {
    bottom: 0;
    max-height: 100dvh;
    padding-bottom: calc(16px + var(--app-hauteur-footer) + var(--app-marge-footer-bas));
    transform: translateY(calc(100% + var(--app-hauteur-footer) + var(--app-marge-footer-bas)));
}

#app-modale-seance.ouverte .app-seance-panneau {
    transform: translateY(0);
}

#app-modale-seance.fermeture .app-seance-panneau {
    transform: translateY(calc(100% + var(--app-hauteur-footer) + var(--app-marge-footer-bas)));
}


@media (max-width: 767px) {
    .img-light-box .wrapper-imgs {
        aspect-ratio: 1.16;
    }

    .exercice-description-muscles {
        gap: 8px;
        min-height: 66px;
        margin-top: 10px;
    }

    .exercice-description {
        font-size: 13px;
        line-height: 1.35;
    }

    .exercice-muscles {
        min-width: 86px;
    }

    #validation-exercices {
        gap: 8px;
        margin-top: 12px;
    }

    #validation-exercices .exercice-actions-accroche {
        font-size: 14px;
    }

    #validation-exercices button {
        min-height: 54px;
        padding: 8px 10px;
        font-size: 12px;
    }
}


/* Surcharge finale : aucun pictogramme sur les contrôles actifs d’exercice. */
body.page-parcours-actif #validation-exercices.app-exercice-actions-actives {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: calc(100% - 30px);
    margin: 14px 15px 0;
}

body.page-parcours-actif #validation-exercices.app-exercice-actions-actives .app-exercice-objectif {
    grid-column: 1 / -1;
    min-width: 0;
}

body.page-parcours-actif #validation-exercices.app-exercice-actions-actives button {
    display: flex !important;
    flex: 1 1 auto !important;
    min-height: 54px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 6px;
    border: 2px solid var(--app-couleur-principale);
    border-radius: 24px;
    background: var(--app-couleur-transparent);
    color: var(--app-couleur-texte);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
}

body.page-parcours-actif #validation-exercices.app-exercice-actions-actives .app-exercice-valider {
    background: var(--app-couleur-principale);
}

body.page-parcours-actif #validation-exercices.app-exercice-actions-actives button span {
    display: block;
}

body.page-parcours-actif #validation-exercices.app-exercice-actions-actives button svg {
    display: none !important;
}

body:not(.page-parcours-actif) #validation-exercices.app-exercice-actions-actives button svg {
    display: none !important;
}


/* Couleur commune des boutons d’exercice. */


/* Contrôles toujours visibles et lisibles en plein écran. */
body.mode-exercice-agrandi #validation-exercices {
    z-index: 1500;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    bottom: calc(28px + env(safe-area-inset-bottom));
}

body.mode-exercice-agrandi #validation-exercices button {
    min-height: 58px;
    border: 2px solid var(--app-couleur-principale);
    border-radius: 28px;
    color: var(--app-couleur-texte);
    font-size: 13px;
    line-height: 1.1;
    text-align: center;
}

body.mode-exercice-agrandi #validation-exercices .app-exercice-terminer,
body.mode-exercice-agrandi #validation-exercices .app-exercice-valider {
    background: var(--app-couleur-principale);
}

body.mode-exercice-agrandi #validation-exercices .app-exercice-pause,
body.mode-exercice-agrandi #validation-exercices .app-exercice-annuler,
body.mode-exercice-agrandi #validation-exercices .app-exercice-suivant {
    background: color-mix(in srgb, var(--app-couleur-principale) 28%, var(--app-couleur-transparent));
}

@media (max-width: 480px) {
    body.mode-exercice-agrandi #validation-exercices {
        right: 12px;
        bottom: calc(28px + env(safe-area-inset-bottom));
        left: 12px;
        gap: 8px;
    }

    body.mode-exercice-agrandi #validation-exercices button {
        min-height: 54px;
        padding-right: 6px;
        padding-left: 6px;
        font-size: 12px;
    }
}


/* Plein écran : séparation claire entre la vidéo et les commandes. */
body.mode-exercice-agrandi #validation-exercices {
    box-sizing: border-box;
    padding: 12px 12px calc(14px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
    background: color-mix(in srgb, var(--app-couleur-principale) 18%, var(--app-couleur-transparent));
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

body.mode-exercice-agrandi #validation-exercices:not(.app-exercice-actions-actives) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.mode-exercice-agrandi #validation-exercices:not(.app-exercice-actions-actives) .exercice-actions-accroche {
    grid-column: 1 / -1;
    text-align: center;
}

body.mode-exercice-agrandi #validation-exercices.app-exercice-actions-actives .app-exercice-repetitions-message {
    grid-column: 1 / -1;
    margin-bottom: 2px;
    color: var(--app-couleur-texte);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

body.mode-exercice-agrandi.page-parcours-actif #validation-exercices.app-exercice-actions-actives {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body:not(.mode-exercice-agrandi) #validation-exercices .app-exercice-repetitions-message {
    flex: 0 0 100%;
    color: var(--app-couleur-texte);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

body.page-parcours-actif #validation-exercices.app-exercice-actions-actives .app-exercice-repetitions-message {
    grid-column: 1 / -1;
    color: var(--app-couleur-texte);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

/* Zone plein écran : centrée, blanche et animée par le même pulse que le footer. */
body.mode-exercice-agrandi #validation-exercices {
    right: auto;
    left: 50%;
    width: calc(100% - 32px);
    max-width: 520px;
    align-items: center;
    transform: translateX(-50%);
    background: color-mix(in srgb, var(--app-couleur-fond-page) 78%, var(--app-couleur-transparent));
    animation: appSeancePulse 2.8s ease-in-out infinite;
}

@media (max-width: 480px) {
    body.mode-exercice-agrandi #validation-exercices {
        right: auto;
        left: 50%;
        width: calc(100% - 24px);
        transform: translateX(-50%);
    }
}

/* Mode normal : le message reste sur sa ligne, puis les trois boutons dessous. */
body:not(.mode-exercice-agrandi):not(.page-parcours-actif) #validation-exercices.app-exercice-actions-actives {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

body:not(.mode-exercice-agrandi):not(.page-parcours-actif) #validation-exercices.app-exercice-actions-actives .app-exercice-repetitions-message {
    grid-column: 1 / -1;
    width: 100%;
}

.app-exercice-repetitions-message {
    display: block;
    transform-origin: center;
    animation: appRepetitionsPulse 1.8s ease-in-out infinite;
}

@keyframes appRepetitionsPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 0 var(--app-couleur-transparent);
    }

    50% {
        transform: scale(1.035);
        text-shadow: 0 0 9px color-mix(in srgb, var(--app-couleur-principale) 72%, var(--app-couleur-transparent));
    }
}

/* En plein écran, la zone vient se poser contre le bas de la vidéo. */
body.mode-exercice-agrandi #validation-exercices {
    bottom: 0;
}

/* Mode répétitions : pas de pause, uniquement Terminer et Annuler. */
body:not(.mode-exercice-agrandi):not(.page-parcours-actif) #validation-exercices.app-exercice-actions-actives.app-exercice-actions-repetitions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.mode-exercice-agrandi #validation-exercices.app-exercice-actions-actives.app-exercice-actions-repetitions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.mode-exercice-agrandi #validation-exercices.app-exercice-actions-actives.app-exercice-actions-repetitions .app-exercice-repetitions-message {
    grid-column: 1 / -1;
}

/* Plein écran : recentrer les contrôles actifs après les règles du mode normal. */
body.mode-exercice-agrandi #validation-exercices.app-exercice-actions-actives {
    right: auto;
    left: 50%;
    width: calc(100% - 32px);
    margin: 0;
    transform: translateX(-50%);
}

@media (max-width: 480px) {
    body.mode-exercice-agrandi #validation-exercices.app-exercice-actions-actives {
        width: calc(100% - 24px);
    }
}

/* Page de connexion */
/* Message motivant affiché après une action nécessitant une connexion. */

body.page-customer-account .page-title {
    display: none;
}

body.page-customer-account #app-titre-connexion {
    text-align: center;
    font-size: 19px;
    font-weight: 600;
}

body#authentication #content,
body.page-authentication #content,
body#authentication .login-form,
body.page-authentication .login-form {
    border: 0 !important;
    border-top: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.app-message-connexion-requise {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid var(--app-couleur-principale);
    border-radius: 14px;
    background: color-mix(in srgb, var(--app-couleur-principale) 16%, var(--app-couleur-transparent));
    color: var(--app-couleur-texte);
    font-size: 14px;
    line-height: 1.4;
}

.app-message-connexion-requise strong {
    font-size: 16px;
    font-weight: 700;
}

.app-message-connexion-requise span {
    opacity: .88;
}

/* ********** Menu Burger ********** */

/* Réseaux sociaux */
#canvas-menu-mobile .social-pinterest {
    display: none;
}

/* Retirer les lignes border bottom */
.mo_element_a_39.mo_element_a_depth_0,
.mo_element_a_41.mo_element_a_depth_0,
.mo_element_a_42.mo_element_a_depth_0,
.mo_element_a_43.mo_element_a_depth_0,
.mo_element_a_44.mo_element_a_depth_0,
.mo_element_a_45.mo_element_a_depth_0,
.title-canvas-widget.h3 {
    border-bottom: none !important;
}

#canvas-menu-mobile .wrapper-menu-mobile ul.mo_element_ul_depth_0 > li.nrt_mo_mega_41,
#canvas-menu-mobile .wrapper-menu-mobile ul.mo_element_ul_depth_0 > li.nrt_mo_mega_42,
#canvas-menu-mobile .wrapper-menu-mobile ul.mo_element_ul_depth_0 > li.nrt_mo_mega_43,
#canvas-menu-mobile .wrapper-menu-mobile ul.mo_element_ul_depth_0 > li.nrt_mo_mega_44,
#canvas-menu-mobile .wrapper-menu-mobile ul.mo_element_ul_depth_0 > li.nrt_mo_mega_45 {
    min-height: 30px !important;
    height: auto !important;
    margin-bottom: 0 !important;
}

#canvas-menu-mobile .wrapper-menu-mobile ul.mo_element_ul_depth_0 > li.nrt_mo_mega_41 a.mo_element_a_41,
#canvas-menu-mobile .wrapper-menu-mobile ul.mo_element_ul_depth_0 > li.nrt_mo_mega_42 a.mo_element_a_42,
#canvas-menu-mobile .wrapper-menu-mobile ul.mo_element_ul_depth_0 > li.nrt_mo_mega_43 a.mo_element_a_43,
#canvas-menu-mobile .wrapper-menu-mobile ul.mo_element_ul_depth_0 > li.nrt_mo_mega_44 a.mo_element_a_44,
#canvas-menu-mobile .wrapper-menu-mobile ul.mo_element_ul_depth_0 > li.nrt_mo_mega_45 a.mo_element_a_45 {
    min-height: 30px !important;
    height: auto !important;
    margin: 0 !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
}

#canvas-menu-mobile .wrapper-menu-mobile ul.mo_element_ul_depth_0 > li.nrt_mo_mega_41 a.mo_element_a_41 span,
#canvas-menu-mobile .wrapper-menu-mobile ul.mo_element_ul_depth_0 > li.nrt_mo_mega_42 a.mo_element_a_42 span,
#canvas-menu-mobile .wrapper-menu-mobile ul.mo_element_ul_depth_0 > li.nrt_mo_mega_43 a.mo_element_a_43 span,
#canvas-menu-mobile .wrapper-menu-mobile ul.mo_element_ul_depth_0 > li.nrt_mo_mega_44 a.mo_element_a_44 span,
#canvas-menu-mobile .wrapper-menu-mobile ul.mo_element_ul_depth_0 > li.nrt_mo_mega_45 a.mo_element_a_45 span {
    font-size: 13px !important;
    line-height: 1.25 !important;
}

.mo_element_a_40.mo_element_a_depth_0 {
    margin-bottom: 150px;
}

.title-canvas-widget.h3 {
    margin-bottom: 10px;
}

.wrapper-scroll-content .btn-canvas.btn-canvas-compare.sb-item,
.wrapper-scroll-content .btn-canvas.btn-canvas-wishlist.sb-item {
    display: none !important;
}

/* Infos en bas */
.wrapper-menu-mobile {
    display: flex;
    flex-direction: column;
}

.app-burger-mentions-legales {
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    padding: 0 16px;
    color: var(--app-couleur-texte);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.45;
    text-align: center;
}

/* Uniquement pour go'app */
.app-burger-mentions-legales > div:first-child {
    font-size: 12px;
}

/* Icônes Exercices et Parcours reprises du footer. */
.wrapper-menu-mobile li.app-burger-exercices .mo_element_a_depth_0,
.wrapper-menu-mobile li.app-burger-parcours .mo_element_a_depth_0,
.wrapper-menu-mobile a.app-burger-exercices,
.wrapper-menu-mobile a.app-burger-parcours {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wrapper-menu-mobile .app-burger-icone {
    display: block;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    color: var(--app-couleur-texte);
}

.wrapper-scroll-content {
    position: relative;
    min-height: 100%;
}

#canvas-menu-mobile .wrapper-scroll-content.app-burger-structure {
    display: block;
}

/* ********** Page Mon compte ********** */

body#my-account .my-account-content.app-my-account-content-top {
    border: none;
    background: var(--app-couleur-transparent);
}

body#my-account .page-title.page-title-layout-2 {
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 5px 0 0;
    background: none;
}

body#my-account .page-title.page-title-layout-2 .h1 {
    display: none;
}

body#my-account .page-title.page-title-layout-2 .axps-breadcrumb {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

body#my-account .my-account-links > a {
    border: none;
    background: var(--app-couleur-transparent);
}

body#my-account .my-account-links #address-link,
body#my-account .my-account-links #emailsalerts,
body#my-account .my-account-links #order-slips-link {
    display: none;
}

body#my-account .app-profil-entete {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

body#my-account .app-profil-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 50%;
    background-color: var(--app-couleur-texte-bouton);
    color: var(--app-couleur-texte);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    overflow: hidden;
}

body#my-account .app-profil-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body#my-account .app-profil-modifier-avatar {
    display: block;
    order: 2;
    margin: 8px auto 0;
    text-align: center;
}

body#my-account .app-profil-entete > p {
    order: 3;
    margin: 8px 0 0;
    text-align: center;
}

body#my-account .my-account-links #app-pratique-sportive-link .link-item {
    display: inline-flex;
    align-items: center;
}

body#my-account .my-account-links #app-pratique-sportive-link .las.la-running {
    display: inline-block;
    margin-right: 5px;
    vertical-align: -2px;
    font-size: 18px;
}

/* ********** Page Ma pratique sportive : champs dynamiques ********** */

body.cms-id-44 .page-title {
    display: none;
}

#ma-pratique-sportive #app-pratique-sportive-donnees {
    max-width: 620px;
    margin: 0 auto;
    padding: 24px 18px 40px;
    color: var(--app-couleur-texte);
}

#ma-pratique-sportive .app-pratique-champ {
    margin: 0 0 24px;
}

#ma-pratique-sportive .app-pratique-champ label {
    display: block;
    margin: 0 0 8px;
    color: var(--app-couleur-texte);
    font-size: 14px;
    font-weight: 600;
}

#ma-pratique-sportive .app-pratique-champ select {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--app-couleur-bordure);
    border-radius: 6px;
    background: var(--app-couleur-texte-bouton);
    color: var(--app-couleur-texte);
    font-size: 13px;
    font-weight: 400;
}

#ma-pratique-sportive #description-niveau-sportif,
#ma-pratique-sportive #description-frequence-activite {
    min-height: 20px;
    margin: 8px 0 0;
    color: var(--app-couleur-texte);
    font-size: 13px;
    line-height: 1.4;
}

#ma-pratique-sportive .app-pratique-structure {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--app-couleur-bordure);
}

#ma-pratique-sportive .app-pratique-structure h3 {
    margin: 0 0 8px;
    color: var(--app-couleur-texte-titre);
    font-size: 18px;
}

#ma-pratique-sportive #structure-reference-nom,
#ma-pratique-sportive #structure-reference-ville {
    margin: 4px 0;
    color: var(--app-couleur-texte);
    font-size: 14px;
}

#ma-pratique-sportive #changer-structure {
    display: inline-block;
    margin-top: 12px;
    color: var(--app-couleur-texte-lien);
    font-size: 14px;
    text-decoration: underline;
}

#ma-pratique-sportive .app-pratique-valeur {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--app-couleur-bordure);
    border-radius: 6px;
    color: var(--app-couleur-texte);
}

#ma-pratique-sportive .app-pratique-modifier {
    border: 0;
    background: var(--app-couleur-transparent);
    color: var(--app-couleur-texte-lien);
    cursor: pointer;
    font-size: 14px;
}

/* Message temporaire après validation d’une série de répétitions. */
#app-message-felicitations {
    display:none;
    box-sizing:border-box;
    width:calc(100% - 32px);
    margin:12px auto;
    padding:0 16px;
    color:var(--app-couleur-texte);
    font-size:15px;
    font-weight:600;
    line-height:1.4;
    text-align:center;
}

#app-message-felicitations.visible {
    display:block;
}

/* Le compteur vidéo est remplacé par celui du bouton central pendant l’exercice. */
body.app-exercice-affichage-footer #app-compteur-exercice,
body.app-exercice-affichage-footer .app-compteur-exercice {
    display:none;
}

/* Réserver la place du footer et du cercle sans déplacer la modale du bas. */
body.app-exercice-affichage-footer #app-modale-seance .app-seance-panneau {
    padding-bottom:calc(24px + 111px);
}

/* Modale dédiée lorsque l’utilisateur ouvre la séance pendant un exercice. */
#app-modale-seance.app-seance-exercice-actif .app-seance-dernieres-activites {
    display:none;
}

#app-modale-seance.app-seance-exercice-actif .app-seance-controles {
    grid-template-columns:repeat(2,minmax(0,1fr));
}

#app-modale-seance.app-seance-exercice-actif .app-seance-annuler {
    display:none;
}

/* Reprise discrète sous les deux choix principaux de la séance. */
#app-modale-seance.app-seance-avec-reprise .app-seance-panneau {
    padding-bottom:calc(26px + var(--app-hauteur-footer) + var(--app-marge-footer-bas));
}

#app-modale-seance .app-seance-reprise {
    display:flex;
    width:100%;
    margin:8px 0 0;
    justify-content:center;
    gap:0;
}

#app-modale-seance .app-seance-reprise .app-seance-mode {
    flex:0 0 auto;
    min-height:34px;
    padding:7px 16px;
    border:1px solid var(--app-couleur-bordure);
    border-radius:18px;
    background:var(--app-couleur-transparent);
    color:var(--app-couleur-texte);
    font-size:12px;
    font-weight:600;
    line-height:1.2;
    flex-direction:row;
    gap:6px;
}

#app-modale-seance .app-seance-reprise .app-seance-mode:hover,
#app-modale-seance .app-seance-reprise .app-seance-mode:focus-visible {
    background:color-mix(in srgb, var(--app-couleur-principale) 18%, var(--app-couleur-transparent));
}


/* ********** Harmonisation finale des actions d’exercice ********** */
/* Le conteneur ne pulse pas : seules les actions pertinentes peuvent attirer l’attention. */
body.page-parcours-actif #validation-exercices.app-exercice-actions-actives {
    animation: none !important;
}

/* Répétitions : passer à gauche, valider à droite, avec le pulse sur les deux éléments importants. */
body.page-parcours-actif #validation-exercices.app-exercice-actions-actives.app-exercice-actions-repetitions .app-exercice-suivant {
    order: 1;
    background: var(--app-couleur-transparent);
    animation: none;
}

body.page-parcours-actif #validation-exercices.app-exercice-actions-actives.app-exercice-actions-repetitions .app-exercice-valider {
    order: 2;
    background: var(--app-couleur-principale);
    animation: appRepetitionsPulse 1.8s ease-in-out infinite;
}

body.page-parcours-actif #validation-exercices.app-exercice-actions-actives.app-exercice-actions-repetitions .app-exercice-repetitions-message {
    animation: appRepetitionsPulse 1.8s ease-in-out infinite;
}

/* Minuteur : passer à gauche, pause à droite, sans pulse. */
#validation-exercices.app-exercice-actions-actives:not(.app-exercice-actions-repetitions) .app-exercice-suivant {
    order: 1;
    animation: none !important;
}

#validation-exercices.app-exercice-actions-actives:not(.app-exercice-actions-repetitions) .app-exercice-pause {
    order: 2;
    animation: none !important;
}

/* Le compteur du minuteur est centré dans le contenu, jamais dans le footer. */
#validation-exercices.app-exercice-actions-actives:not(.app-exercice-actions-repetitions) .app-exercice-objectif {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 4px 0 8px;
    border: 0;
    border-radius: 0;
    background: var(--app-couleur-transparent);
    color: var(--app-couleur-texte);
    font-size: 27px;
    font-weight: 700;
    text-align: center;
}

#validation-exercices.app-exercice-actions-actives:not(.app-exercice-actions-repetitions) .app-exercice-objectif-temps {
    display: block;
    font-size: 27px;
    font-weight: 700;
    text-align: center;
}

/* En plein écran, les contrôles ne doivent pas recouvrir la barre de progression. */
body.mode-exercice-agrandi #validation-exercices.app-exercice-actions-actives {
    bottom: calc(58px + env(safe-area-inset-bottom));
    z-index: 1600;
    animation: none !important;
}

/* Le minuteur reste lisible sur la vidéo et ne pulse jamais en plein écran. */
body.mode-exercice-agrandi #validation-exercices.app-exercice-actions-actives:not(.app-exercice-actions-repetitions) {
    padding: 10px 12px;
    border-radius: 22px;
    background: rgba(14, 20, 28, .78);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
    animation: none !important;
}

body.mode-exercice-agrandi #validation-exercices.app-exercice-actions-actives:not(.app-exercice-actions-repetitions) .app-exercice-objectif {
    color: #fff;
}

body.mode-exercice-agrandi #validation-exercices.app-exercice-actions-actives:not(.app-exercice-actions-repetitions) .app-exercice-suivant,
body.mode-exercice-agrandi #validation-exercices.app-exercice-actions-actives:not(.app-exercice-actions-repetitions) .app-exercice-pause {
    animation: none !important;
}

/* La fin d’étape reste cliquable au-dessus de la vidéo et de la progression. */
body.mode-exercice-agrandi #validation-exercices.app-exercice-actions-terminees {
    z-index: 1700;
}

/* ********** Récapitulatif Elementor du Parcours ********** */
#parcours-termine.app-parcours-recap {
    box-sizing: border-box;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 28px 24px 34px;
    color: #064f43;
    font-family: inherit;
    text-align: center;
}

#parcours-termine.app-parcours-recap .app-parcours-recap-entete h1 {
    margin: 22px 0 16px;
    color: #075e50;
    font-size: clamp(32px, 9vw, 48px);
    font-weight: 800;
    line-height: .98;
}

.app-parcours-recap-badge {
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    margin: 0 auto;
    border: 14px solid #00df9a;
    border-radius: 42% 58% 45% 55% / 52% 42% 58% 48%;
    color: #00b889;
    transform: rotate(-8deg);
}

.app-parcours-recap-badge span {
    font-size: 62px;
    font-weight: 800;
    line-height: 1;
    transform: rotate(8deg);
}

.app-parcours-recap-ligne {
    width: 168px;
    height: 10px;
    margin: 18px auto 26px;
    border: 3px solid #007a62;
    border-radius: 999px;
    background: #00df9a;
}

.app-parcours-recap-stats p {
    margin: 0 0 16px;
    color: #064f43;
    font-size: 16px;
}

.app-parcours-recap-stats strong {
    display: block;
    color: #8780f2;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.1;
}

.app-parcours-recap-actions {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.app-parcours-recap-actions button {
    min-height: 42px;
    padding: 8px 18px;
    border: 0;
    border-radius: 999px;
    background: #8780f2;
    color: #18233b;
    font: inherit;
    font-size: 16px;
    cursor: pointer;
}

.app-parcours-recap-details {
    margin-top: 22px;
    color: #064f43;
    text-align: left;
}

.app-parcours-recap-details summary {
    cursor: pointer;
    font-weight: 700;
}

.app-parcours-recap-details li {
    margin-top: 7px;
}

/* ********** Affichage enrichi uniquement dans la liste Parcours ********** */
.tpl-exercice-carte.tpl-parcours-affichage .tpl-exercice-niveau,
.tpl-exercice-carte.tpl-parcours-affichage .tpl-exercice-video {
    display: block;
}

/* La loupe et la surcouche existent déjà dans product-30.tpl. */
.tpl-exercice-carte.tpl-parcours-affichage:has(.type-pack) .tpl-exercice-informations-bouton {
    display: flex !important;
}

.tpl-exercice-carte.tpl-parcours-affichage .tpl-exercice-nombre-etapes {
    display: block;
    margin: 0;
    padding: 0;
    background: var(--app-couleur-transparent);
    color: var(--app-couleur-texte-bouton);
    font-size: 11px;
    line-height: 1.2;
    text-shadow: 0 1px 4px color-mix(in srgb, var(--app-couleur-texte) 35%, var(--app-couleur-transparent));
}

.tpl-exercice-nombre-etapes[hidden] {
    display: none;
}

/* ********** Tableau de bord ********** */

body.cms-id-36 .page-title {
    display: none;
}

body.cms-id-36 .tableau-bord-temps-total.elementor-widget:not(:last-child) {
    margin-bottom: 0 !important;
}

body.cms-id-36 #app-temps-total {
    margin-bottom: 0 !important;
}

/* Ligne Mon activité */
body.cms-id-36 #mon-activite .elementor-row > .tableau-bord-mon-activite:nth-child(1) .elementor-widget-container {
    background: color-mix(in srgb,var(--app-couleur-texte-lien) 20%,transparent);
}

body.cms-id-36 #mon-activite .elementor-row > .tableau-bord-mon-activite:nth-child(2) .elementor-widget-container {
    background: color-mix(in srgb,var(--app-couleur-texte) 10%,transparent);
}

body.cms-id-36 #temps-total-radio .elementor-icon-box-title{
    margin:0;
}

/* Bouton Radio pour les 7 ou 30 jours */
.app-tps-passe-switch{
    --app-tps-passe-switch-fond:#e1ebca;
    --app-tps-passe-switch-curseur:#a9df5f;
    --app-tps-passe-switch-curseur-actif:#91d43f;
    --app-tps-passe-switch-texte:#12304d;
    position:relative;
    display:inline-grid;
    grid-template-columns:repeat(2,1fr);
    align-items:center;
    width:92px;
    min-height:36px;
    padding:4px;
    box-sizing:border-box;
    border-radius:9999px;
    background-color:var(--app-tps-passe-switch-fond);
    cursor:pointer;
    isolation:isolate;
    user-select:none;
}

.app-tps-passe-switch
input[type="checkbox"]{
    position:absolute;
    width:1px;
    height:1px;
    margin:-1px;
    padding:0;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}

.app-tps-passe-switch-option{
    position:relative;
    z-index:2;
    display:grid;
    place-items:center;
    min-height:28px;
    color:var(--app-tps-passe-switch-texte);
    font-family:inherit;
    font-size:12px;
    font-weight:600;
    line-height:1;
    transition:
        color 250ms ease,
        opacity 250ms ease;
}

.app-tps-passe-switch-7j{
    color:#ffffff;
    opacity:1;
}

.app-tps-passe-switch-30j{
    opacity:.65;
}

.app-tps-passe-switch-curseur{
    position:absolute;
    z-index:1;
    top:4px;
    bottom:4px;
    left:4px;
    width:calc(50% - 4px);
    border-radius:9999px;
    background-color:var(--app-tps-passe-switch-curseur);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.35),
        0 1px 2px rgba(0,0,0,.12);
    transition:
        transform 300ms cubic-bezier(.47,1.64,.41,.8),
        background-color 250ms ease;
}

.app-tps-passe-switch
input:checked
~ .app-tps-passe-switch-curseur{
    transform:translateX(100%);
    background-color:var(
        --app-tps-passe-switch-curseur-actif
    );
}

.app-tps-passe-switch
input:checked
~ .app-tps-passe-switch-7j{
    color:var(--app-tps-passe-switch-texte);
    opacity:.65;
}

.app-tps-passe-switch
input:checked
~ .app-tps-passe-switch-30j{
    color:#ffffff;
    opacity:1;
}

.app-tps-passe-switch
input:focus-visible
~ .app-tps-passe-switch-curseur{
    outline:3px solid rgba(145,212,63,.35);
    outline-offset:3px;
}

/* ********** Graphique activité - styles dédiés ********** */
body.cms-id-36 #app-graphique-activite-zone {
    display: none;
    position: relative;
    width: 100%;
    height: 190px;
    margin-top: 16px;
}

body.cms-id-36 #app-graphique-activite-zone.app-graphique-activite-visible {
    display: block;
}

body.cms-id-36 #app-graphique-activite-zone .app-graphique-activite-canvas {
    display: block;
    width: 100% !important;
    height: 190px !important;
}

/* ********** Prise en main rapide ********** */

body.cms-id-39 .page-title {
    display: none;
}

/* Conditions générales */

body.cms-id-40 .page-title {
    background-color: transparent;
}

/* Cookies */

body.cms-id-41 .page-title {
    background-color: transparent;
}

/* Données personnelles */

body.cms-id-42 .page-title {
    background-color: transparent;
}

/* Mentions légales */

body.cms-id-43 .page-title {
    background-color: transparent;
}