/**
 * Page Optimal Health /optimal-health/ (lib/oh_page.php) sur le site public (.woh-page),
 * pour un visiteur comme pour un compte connecté, reprise du plugin WordPress. Toutes les règles sont préfixées par .woh pour résister aux styles du thème.
 * Recherche et tri passent par des liens : .woh-sort__button[aria-current]. Fenêtre
 * « abonnement nécessaire » : .woh-modal (public/js/optimal-health.js).
 */

.woh {
    --woh-ink: var(--weavy-ink, #1c244b);
    --woh-text: var(--weavy-text-secondary, #5b6284);
    --woh-soft: var(--weavy-muted-soft, #9aa0ba);
    --woh-line: var(--weavy-border, #e7e9f2);
    --woh-primary: var(--weavy-primary, #7935bc);
    --woh-primary-hover: var(--weavy-primary-hover, #5f2799);
    --woh-tint: var(--weavy-accent-soft, #f3ebfb);
    --woh-radius: var(--weavy-radius-card, 14px);
    --woh-hero-from: #2a1a4f;
    --woh-hero-to: #7935bc;
    color: var(--woh-ink);
}

.woh .woh-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.woh svg {
    width: 18px;
    height: 18px;
    flex: none;
    fill: currentColor;
}

/* Chargement ---------------------------------------------------------- */

.woh .woh-loading {
    display: flex;
    justify-content: center;
    padding: 48px 0;
}

.woh .woh-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: woh-spin .7s linear infinite;
    vertical-align: middle;
}

@keyframes woh-spin {
    to { transform: rotate(360deg); }
}

/* Boutons --------------------------------------------------------------- */

.woh .woh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--weavy-radius-pill, 999px);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.woh .woh-button:focus-visible,
.woh .woh-card__link:focus-visible,
.woh .woh-back:focus-visible,
.woh .woh-link:focus-visible {
    outline: 3px solid rgba(121, 53, 188, .35);
    outline-offset: 2px;
}

.woh .woh-button--primary {
    background: var(--woh-primary);
    color: #fff;
    box-shadow: 0 10px 24px -14px rgba(121, 53, 188, .9);
}

.woh .woh-button--primary:hover {
    background: var(--woh-primary-hover);
    color: #fff;
    transform: translateY(-1px);
}

.woh .woh-button--primary[disabled] {
    opacity: .7;
    cursor: progress;
    transform: none;
}

.woh .woh-button--ghost {
    background: #fff;
    border-color: var(--weavy-border-strong, #dfe2ee);
    color: var(--woh-ink);
}

.woh .woh-button--ghost:hover {
    border-color: var(--woh-primary);
    color: var(--woh-primary);
}

.woh .woh-button--light {
    background: #fff;
    color: var(--woh-primary);
}

.woh .woh-button--light:hover {
    background: var(--woh-tint);
    color: var(--woh-primary-hover);
}

.woh .woh-button--block {
    width: 100%;
}

.woh .woh-link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--woh-primary);
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

/* Bandeau abonnés -------------------------------------------------------- */

.woh .woh-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px 18px;
    border-radius: var(--woh-radius);
    background: linear-gradient(120deg, var(--woh-hero-from), var(--woh-hero-to));
    color: #fff;
}

.woh .woh-banner__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
}

.woh .woh-banner__text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    line-height: 1.45;
}

.woh .woh-banner__text strong {
    font-size: 15px;
}

/* Programme à la une ----------------------------------------------------- */

.woh .woh-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    min-height: 320px;
    margin-bottom: 28px;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--woh-hero-from), var(--woh-hero-to));
    color: #fff;
    box-shadow: 0 24px 50px -30px rgba(42, 26, 79, .8);
}

.woh .woh-hero__media {
    position: relative;
    display: block;
    min-height: 240px;
    background: rgba(255, 255, 255, .08);
}

.woh .woh-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.woh .woh-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 55%, rgba(42, 26, 79, .55));
}

.woh .woh-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    padding: 36px 40px;
}

.woh .woh-hero__eyebrow {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: var(--weavy-radius-pill, 999px);
    background: rgba(255, 255, 255, .16);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.woh .woh-hero__title {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 700;
    line-height: 1.15;
}

.woh .woh-hero__short {
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 16px;
    line-height: 1.55;
}

.woh .woh-hero .woh-chip {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.woh .woh-hero__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 6px;
}

.woh .woh-hero__price {
    font-size: 22px;
    font-weight: 700;
}

/* Recherche ---------------------------------------------------------------- */

.woh .woh-toolbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 80px;
    margin-bottom: 50px;
}

.woh .woh-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    color: var(--woh-soft);
}

.woh .woh-search > svg {
    position: absolute;
    left: 16px;
    pointer-events: none;
}

.woh .woh-search input[type="search"] {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 44px 0 46px;
    border: 1px solid var(--weavy-border-strong, #dfe2ee);
    border-radius: var(--weavy-radius-pill, 999px);
    background: #fff;
    color: var(--woh-ink);
    font: inherit;
    font-size: 15px;
    box-shadow: 0 1px 2px rgba(28, 36, 75, .04);
    -webkit-appearance: none;
    appearance: none;
}

.woh .woh-search input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

.woh .woh-search input[type="search"]:focus {
    border-color: var(--woh-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(121, 53, 188, .12);
}

.woh .woh-search__clear {
    position: absolute;
    right: 8px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--woh-soft);
    cursor: pointer;
}

.woh .woh-search__clear:hover {
    background: var(--woh-tint);
    color: var(--woh-primary);
}

.woh .woh-search__clear[hidden] {
    display: none;
}

.woh .woh-sort {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.woh .woh-sort__button {
    margin: 0;
    padding: 8px 16px;
    border: 1px solid var(--weavy-border-strong, #dfe2ee);
    border-radius: var(--weavy-radius-pill, 999px);
    background: #fff;
    color: var(--woh-text);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}

.woh .woh-sort__button:hover {
    border-color: var(--woh-primary);
    color: var(--woh-primary);
}

.woh .woh-sort__button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(121, 53, 188, .12);
}

.woh .woh-sort__button[aria-pressed="true"],
.woh .woh-sort__button[aria-current="true"] {
    border-color: var(--woh-primary);
    background: var(--woh-primary);
    color: #fff;
}

/* Popularité ------------------------------------------------------------- */

.woh .woh-stars {
    display: inline-flex;
    gap: 2px;
    color: #f5a623;
}

.woh .woh-stars svg {
    width: 16px;
    height: 16px;
}

/* Grille de programmes ---------------------------------------------------- */

.woh .woh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woh .woh-card {
    margin: 0;
    padding: 0;
}

.woh .woh-card__link {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--woh-line);
    border-radius: 18px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: var(--weavy-shadow-card, 0 1px 2px rgba(28, 36, 75, .04));
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.woh .woh-card__link:hover {
    border-color: var(--weavy-accent-border, #ecdcf8);
    color: inherit;
    transform: translateY(-3px);
    box-shadow: var(--weavy-shadow-pop, 0 18px 40px -22px rgba(28, 36, 75, .35));
}

.woh .woh-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--woh-tint);
}

.woh .woh-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.woh .woh-card__link:hover .woh-card__media img {
    transform: scale(1.04);
}

.woh .woh-media--empty {
    display: grid;
    place-items: center;
    color: var(--woh-primary);
}

.woh .woh-media--empty svg {
    width: 42px;
    height: 42px;
    opacity: .5;
}

.woh .woh-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
}

.woh .woh-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 18px 18px 16px;
}

.woh .woh-card__title {
    color: var(--woh-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.woh .woh-card__short {
    overflow: hidden;
    color: var(--woh-text);
    font-size: 14px;
    line-height: 1.5;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.woh .woh-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--woh-line);
}

.woh .woh-card__price {
    color: var(--woh-ink);
    font-size: 16px;
}

.woh .woh-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--woh-primary);
    font-size: 14px;
    font-weight: 600;
}

.woh .woh-card__cta svg {
    width: 16px;
    height: 16px;
    transition: transform .2s;
}

.woh .woh-card__link:hover .woh-card__cta svg {
    transform: translateX(3px);
}

/* Pastilles -------------------------------------------------------------- */

.woh .woh-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: var(--weavy-radius-pill, 999px);
    background: #fff;
    color: var(--woh-primary);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px -6px rgba(28, 36, 75, .4);
}

.woh .woh-badge svg {
    width: 14px;
    height: 14px;
}

.woh .woh-badge--owned {
    background: var(--weavy-success-bg, #e8f6f0);
    color: var(--weavy-success-strong, #0d6f4d);
}

.woh .woh-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    border-radius: var(--weavy-radius-pill, 999px);
    background: var(--woh-tint);
    color: var(--woh-ink);
    font-size: 14px;
    font-weight: 600;
}

.woh .woh-chip__avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--weavy-accent-avatar, #efe6fa);
    color: var(--woh-primary);
    font-weight: 700;
}

.woh .woh-chip__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* États vides ---------------------------------------------------------- */

.woh .woh-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 56px 24px;
    border: 1px dashed var(--weavy-border-strong, #dfe2ee);
    border-radius: 18px;
    background: var(--weavy-accent-tint, #fbf8fe);
    color: var(--woh-text);
    text-align: center;
}

.woh .woh-empty p {
    max-width: 420px;
    margin: 0;
}

.woh .woh-empty strong {
    color: var(--woh-ink);
    font-size: 18px;
}

.woh .woh-empty__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 4px;
    border-radius: 50%;
    background: var(--woh-tint);
    color: var(--woh-primary);
}

.woh .woh-empty__icon svg {
    width: 26px;
    height: 26px;
}

/* Page programme ----------------------------------------------------------- */

.woh .woh-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 20px;
    color: var(--woh-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.woh .woh-back:hover {
    color: var(--woh-primary);
}

.woh .woh-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 1fr);
    gap: 36px;
    align-items: start;
}

.woh .woh-detail__main {
    min-width: 0;
}

.woh .woh-detail__media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 20px;
    background: var(--woh-tint);
}

.woh .woh-detail__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.woh .woh-detail__summary {
    position: sticky;
    top: var(--woh-sticky-top, 24px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    max-height: calc(100vh - var(--woh-sticky-top, 24px) - 24px);
    overflow-y: auto;
}

.woh .woh-detail__badges:empty {
    display: none;
}

.woh .woh-detail__title {
    margin: 0;
    color: var(--woh-ink);
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 700;
    line-height: 1.2;
}

.woh .woh-detail__short {
    margin: 0;
    color: var(--woh-text);
    font-size: 17px;
    line-height: 1.55;
}

.woh .woh-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px;
    border-radius: var(--woh-radius);
    background: var(--woh-tint);
}

.woh .woh-content p {
    margin: 0;
    line-height: 1.45;
}

.woh .woh-content__days {
    color: var(--woh-primary-hover);
    font-size: 16px;
    font-weight: 700;
}

.woh .woh-content__count {
    color: var(--woh-ink);
    font-size: 15px;
    font-weight: 600;
}

.woh .woh-content__none {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--woh-text);
    font-size: 15px;
}

.woh .woh-content__list {
    display: grid;
    gap: 6px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.woh .woh-content__list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    color: var(--woh-text);
    font-size: 14px;
    line-height: 1.4;
}

.woh .woh-content svg {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    color: var(--woh-primary);
}

.woh .woh-buy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 6px;
    padding: 22px;
    border: 1px solid var(--woh-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--weavy-shadow-pop, 0 18px 40px -22px rgba(28, 36, 75, .35));
}

.woh .woh-buy__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.woh .woh-buy__price strong {
    font-size: 28px;
    line-height: 1;
}

.woh .woh-buy__price span {
    color: var(--woh-soft);
    font-size: 13px;
}

.woh .woh-buy__note {
    margin: 0;
    color: var(--woh-text);
    font-size: 14px;
    line-height: 1.5;
}

.woh .woh-buy__owned,
.woh .woh-buy__added {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--weavy-success-bg, #e8f6f0);
    color: var(--weavy-success-strong, #0d6f4d);
    font-size: 14px;
    line-height: 1.45;
}

.woh .woh-buy__added {
    align-items: center;
    font-weight: 600;
}

.woh .woh-buy button.woh-button[data-woh-add] {
    border: 0 !important;
    border-radius: 12px !important;
    background: #5f2799 !important;
    color: #fff !important;
}

.woh .woh-buy button.woh-button[data-woh-add]:hover,
.woh .woh-buy button.woh-button[data-woh-add]:focus-visible {
    background: #4b1f7a !important;
    color: #fff !important;
}

.woh .woh-buy__error {
    margin: 0;
    color: var(--weavy-danger-text, #b42318);
    font-size: 14px;
}

.woh .woh-buy__error:empty {
    display: none;
}

.woh .woh-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 6px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--woh-line);
    list-style: none;
}

.woh .woh-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--woh-text);
    font-size: 14px;
    line-height: 1.4;
}

.woh .woh-benefits svg {
    color: var(--woh-primary);
}

.woh .woh-section-title {
    margin: 0 0 14px;
    color: var(--woh-ink);
    font-size: 20px;
    font-weight: 700;
}

.woh .woh-about,
.woh .woh-pract {
    max-width: 760px;
    margin-top: 40px;
}

.woh .woh-prose {
    color: var(--weavy-text-strong, #3b4468);
    font-size: 16px;
    line-height: 1.7;
}

.woh .woh-prose > :first-child {
    margin-top: 0;
}

.woh .woh-prose p,
.woh .woh-prose ul,
.woh .woh-prose ol {
    margin: 0 0 1em;
}

.woh .woh-prose ul,
.woh .woh-prose ol {
    padding-left: 1.4em;
}

.woh .woh-prose li {
    margin-bottom: .35em;
}

.woh .woh-prose h2,
.woh .woh-prose h3 {
    margin: 1.4em 0 .5em;
    color: var(--woh-ink);
    font-size: 18px;
    line-height: 1.3;
}

.woh .woh-prose a {
    color: var(--woh-primary);
}

.woh .woh-pract__card {
    display: flex;
    gap: 20px;
    padding: 22px;
    border: 1px solid var(--weavy-accent-border, #ecdcf8);
    border-radius: 18px;
    background: var(--weavy-accent-tint, #fbf8fe);
}

.woh .woh-pract__photo {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    flex: none;
    border-radius: 50%;
    object-fit: cover;
    background: var(--weavy-accent-avatar, #efe6fa);
    color: var(--woh-primary);
    font-size: 34px;
    font-weight: 700;
}

.woh .woh-pract__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.woh .woh-pract__name {
    color: var(--woh-ink);
    font-size: 18px;
}

.woh .woh-pract__meta {
    color: var(--woh-primary);
    font-size: 14px;
    font-weight: 600;
}

.woh .woh-pract__text {
    margin: 8px 0 0;
    color: var(--woh-text);
    font-size: 15px;
    line-height: 1.6;
}

/* Page publique (visiteurs) --------------------------------------------------- */

.woh-page {
    padding-top: clamp(24px, 4vw, 48px);
    padding-bottom: clamp(48px, 6vw, 88px);
    --woh-sticky-top: 96px;
}

.wsh.woh-shop {
    padding-bottom: 0;
}

/* En-tête pleine largeur sur l'image, comme la page Témoignages : texte centré sur un voile clair. */
.wsh-hero.woh-intro {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(480px, 42vw, 660px);
    padding: clamp(56px, 6vw, 88px) 0;
    background: url("../../img/optimal-health-fsm.jpg") right center / cover no-repeat, #eef0e6;
    isolation: isolate;
}

.wsh-hero.woh-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(42% 62% at 50% 50%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.5) 62%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 40%, rgba(28, 36, 75, 0.12));
}

.woh-intro .wsh-hero__inner {
    width: min(100%, 680px);
}

.woh-intro .wsh-hero__intro {
    color: #3d4360;
}

.woh-intro__text {
    max-width: 640px;
    margin: 22px auto 0;
    text-align: center;
}

.woh-intro__paragraph {
    margin: 0 0 14px !important;
    color: var(--weavy-ink, #1c244b);
    font-size: clamp(16px, 1.3vw, 18px);
    font-weight: 500;
    line-height: 1.65;
    text-shadow: 0 1px 2px rgba(255, 255, 255, .6);
}

.woh-intro__paragraph:last-child {
    margin-bottom: 0 !important;
}

.woh-intro__after {
    padding-top: clamp(24px, 3vw, 36px);
    text-align: center;
}

.woh-intro__buy {
    max-width: 720px;
    margin: 0 auto !important;
    color: var(--weavy-ink, #1c244b);
    font-size: clamp(16px, 1.4vw, 19px);
    font-weight: 700;
    line-height: 1.55;
}

@media (max-width: 767px) {
    .wsh-hero.woh-intro {
        min-height: 0;
        padding: 64px 0 56px;
        background-position: 72% center;
    }

    .wsh-hero.woh-intro::before {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.75) 60%, rgba(255, 255, 255, 0.6));
    }

    .woh-intro__paragraph {
        font-size: 16px;
        text-shadow: none;
    }
}

/* Messages et abonnement requis ------------------------------------------------ */

.woh .woh-flash {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.woh .woh-flash svg {
    flex: none;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.woh .woh-flash--success {
    background: var(--weavy-success-bg, #e8f6f0);
    color: var(--weavy-success-strong, #0d6f4d);
}

.woh .woh-flash--error {
    background: var(--weavy-danger-bg, #fdecea);
    color: var(--weavy-danger-text, #b42318);
}

.woh .woh-badge--plan {
    background: var(--woh-tint);
    color: var(--woh-primary);
}

.woh .woh-badge--plan svg {
    fill: currentColor;
}

/* Fenêtre « abonnement nécessaire » ------------------------------------------- */

.woh-modal-open,
.woh-modal-open body {
    overflow: hidden;
}

.woh .woh-modal {
    position: fixed;
    inset: 0;
    z-index: var(--weavy-z-modal, 1100);
    display: grid;
    place-items: center;
    padding: 20px;
}

.woh .woh-modal[hidden] {
    display: none;
}

.woh .woh-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 22, 52, .55);
    cursor: default;
}

.woh .woh-modal__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: min(100%, 480px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 32px 28px 26px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 30px 70px -30px rgba(28, 22, 52, .6);
    animation: woh-modal-in .2s ease-out;
}

.woh .woh-modal__panel:focus {
    outline: none;
}

@keyframes woh-modal-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
}

.woh .woh-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--woh-soft);
    transition: background .2s, color .2s;
}

.woh .woh-modal__close:hover,
.woh .woh-modal__close:focus-visible {
    background: var(--woh-tint);
    color: var(--woh-ink);
}

.woh .woh-modal__close svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.woh .woh-modal__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--woh-tint);
    color: var(--woh-primary);
}

.woh .woh-modal__icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.woh .woh-modal__title {
    margin: 0;
    padding-right: 32px;
    color: var(--woh-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.woh .woh-modal__text,
.woh .woh-modal__note,
.woh .woh-modal__login {
    margin: 0;
    color: var(--woh-text);
    font-size: 15px;
    line-height: 1.55;
}

.woh .woh-modal__note,
.woh .woh-modal__login {
    color: var(--woh-soft);
    font-size: 13px;
}

.woh .woh-modal form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.woh .woh-modal__device {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--woh-tint);
    color: var(--woh-text);
    font-size: 13px;
    line-height: 1.5;
}

.woh .woh-modal__device svg {
    flex: none;
    width: 18px;
    height: 18px;
    fill: var(--woh-primary);
}

.woh .woh-plans {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.woh .woh-plans__legend {
    margin: 0 0 10px;
    padding: 0;
    color: var(--woh-ink);
    font-size: 14px;
    font-weight: 700;
}

.woh .woh-plan {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    padding: 14px 16px;
    border: 1.5px solid var(--woh-line);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.woh .woh-plan:hover,
.woh .woh-plan.is-selected,
.woh .woh-plan:has(input:checked) {
    border-color: var(--woh-primary);
}

.woh .woh-plan.is-selected,
.woh .woh-plan:has(input:checked) {
    background: var(--woh-tint);
}

.woh .woh-plan input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--woh-primary);
}

.woh .woh-plan__name {
    color: var(--woh-ink);
    font-size: 15px;
    font-weight: 700;
}

.woh .woh-plan__price {
    margin-left: auto;
    color: var(--woh-ink);
    font-size: 15px;
    font-weight: 600;
}

.woh .woh-plan__badge {
    flex-basis: 100%;
    padding-left: 30px;
    color: var(--weavy-success-strong, #0d6f4d);
    font-size: 12px;
    font-weight: 700;
}

/* Responsive ------------------------------------------------------------------ */

@media (max-width: 900px) {
    .woh .woh-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .woh .woh-hero__media::after {
        background: linear-gradient(180deg, transparent 50%, rgba(42, 26, 79, .55));
    }

    .woh .woh-hero__content {
        padding: 26px 24px 28px;
    }

    .woh .woh-detail {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .woh .woh-detail__main {
        display: contents;
    }

    .woh .woh-detail__summary {
        position: static;
        order: 1;
        max-height: none;
        overflow: visible;
    }

    .woh .woh-about,
    .woh .woh-pract {
        order: 2;
        margin-top: 16px;
    }
}

@media (max-width: 600px) {
    .woh .woh-banner {
        flex-wrap: wrap;
    }

    .woh .woh-banner .woh-button {
        width: 100%;
    }

    .woh .woh-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .woh .woh-pract__card {
        flex-direction: column;
        align-items: flex-start;
    }

    .woh .woh-modal {
        place-items: end stretch;
        padding: 0;
    }

    .woh .woh-modal__panel {
        width: 100%;
        max-height: 92vh;
        padding: 28px 20px 22px;
        border-radius: 20px 20px 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .woh *,
    .woh *::before,
    .woh *::after {
        transition: none !important;
        animation: none !important;
    }
}
