/*
 * Posturise — styles des pages construites dans l'éditeur (classes ps-…, pg-…, bf-…),
 * du hero de l'accueil (ps-hx) et du header transparent de l'accueil.
 * Repris tel quel du CSS additionnel de posturise.eu (18-19/11/2026) : rien ne doit rester
 * dans Apparence › Personnaliser › CSS additionnel.
 */
/* Posturise — sections de page (classes ps-), réutilisables dans l’éditeur de blocs. */
.ps-head{display:flex;flex-direction:column;gap:12px;align-items:flex-start;max-width:680px}
.ps-head>*,.ps-headrow>*{margin:0!important}
.ps-head h2,.ps-text h2{margin:0;font-size:40px;line-height:1.15;font-weight:700;letter-spacing:-.03em}
.ps-headrow{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px 40px}
.ps-side{max-width:420px;color:var(--ink-muted)}
.ps-sec-gap>.wrap{display:flex;flex-direction:column;gap:40px}
.ps-sec-gap>.wrap>*{margin:0!important}
.ps-hero{padding-top:48px}
.ps-hero__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));gap:56px;align-items:center}
.ps-hero__grid>*{margin:0!important}
.ps-hero__text{display:flex;flex-direction:column;gap:22px;align-items:flex-start}
.ps-hero__text>*{margin:0!important}
.ps-hero__text h1{font-size:clamp(40px,5vw,64px);line-height:1.04;font-weight:800;letter-spacing:-.045em}
.ps-lead{font-size:19px;line-height:30px;color:var(--ink-muted);max-width:520px}
ul.ps-badges{list-style:none;margin:0;padding:0;display:flex;gap:10px;flex-wrap:wrap}
ul.ps-badges li{display:inline-flex;align-items:center;margin:0;padding:4px 12px;border-radius:var(--radius-pill);background:var(--surface-soft);color:var(--ink);font-size:13px;line-height:18px;font-weight:600}
ul.ps-badges li:first-child{background:var(--success-soft);color:var(--success)}
ul.ps-badges li:first-child::before{content:"✓";margin-right:6px;font-weight:800}
.ps-vis{position:relative;display:flex;justify-content:center;align-items:center;height:600px;padding:28px;box-sizing:border-box;border-radius:var(--radius-xl);background:var(--surface-deep)}
.ps-vis>*{margin:0!important}
.ps-vid{margin:0!important;height:100%;display:flex;justify-content:center}
.ps-vid video{display:block;height:100%;width:auto;max-width:100%;object-fit:cover;border-radius:var(--radius-md);background:#0e110e;box-shadow:0 18px 40px -18px rgba(0,0,0,.6)}
.ps-pill{position:absolute;top:28px;right:-14px;display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:var(--radius-pill);background:var(--surface);color:var(--ink);font-size:13px;line-height:18px;font-weight:600;box-shadow:var(--shadow-md)}
.ps-pill::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--primary);box-shadow:0 0 0 4px var(--primary-soft)}
.ps-result{position:absolute;left:-28px;bottom:36px;width:min(360px,88%);box-sizing:border-box;display:grid;grid-template-columns:36px 1fr auto;column-gap:12px;row-gap:0;align-items:center;padding:16px;border-radius:var(--radius-lg);background:var(--surface);color:var(--ink);border:1px solid var(--border);box-shadow:var(--shadow-md)}
.ps-result::before{content:"×";grid-row:1/3;grid-column:1;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--danger-soft);color:var(--danger);font-size:22px;font-weight:700;line-height:1}
.ps-result>*{margin:0!important}
.ps-result__title{grid-column:2;font-size:15px;line-height:20px;font-weight:700}
.ps-result__target{grid-column:2;font-size:12px;line-height:16px;font-weight:500;color:var(--ink-muted)}
.ps-result__value{grid-column:3;grid-row:1/3;font-size:24px;line-height:1;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.ps-result__action{grid-column:1/-1;margin-top:10px!important;padding:8px 12px;border-radius:var(--radius-pill);background:var(--primary-soft);font-size:13px;line-height:18px;font-weight:600}
.ps-stats-band{padding:40px 0}
.ps-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px}
.ps-stats>*{margin:0!important;padding-left:20px;border-left:3px solid var(--primary);display:flex;flex-direction:column;gap:4px}
.ps-stats>*>*{margin:0!important}
.ps-stat__num{font-size:40px;line-height:1.05;font-weight:800;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.ps-stat__lbl{font-size:14px;line-height:20px;color:var(--ink-muted)}
.ps-split{display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.ps-split>*{margin:0!important}
.ps-split--top{align-items:flex-start;gap:40px}
.ps-photo{flex:1 1 420px;margin:0!important;aspect-ratio:4/5;max-height:640px;border-radius:var(--radius-xl);overflow:hidden;background:var(--surface-soft)}
.ps-photo img{width:100%!important;height:100%!important;object-fit:cover;object-position:center 55%}
.ps-text{flex:1 1 440px;display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.ps-text>*{margin:0!important}
.ps-text p{font-size:17px;line-height:28px;color:var(--ink-muted)}
.ps-text--narrow{flex:1 1 300px}
.ps-ba{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;max-width:540px}
.ps-ba>*{margin:0!important;display:flex;flex-direction:column;gap:2px;padding:20px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border)}
.ps-ba>*>*{margin:0!important}
.ps-ba>.ps-ba__us{background:var(--primary-soft);border-color:transparent}
.ps-text .ps-ba__lbl{font-size:13px;line-height:18px;font-weight:600;color:var(--ink-muted)}
.ps-text .ps-ba__val{font-size:28px;line-height:1.15;font-weight:800;letter-spacing:-.03em;color:var(--ink);font-variant-numeric:tabular-nums}
.ps-text .ps-ba__sub{font-size:13px;line-height:18px;color:var(--ink-muted)}
.ps-grid3{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px}
.ps-grid3>*{margin:0!important}
.ps-card{display:flex;flex-direction:column;overflow:hidden;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm)}
.ps-card>*{margin:0!important}
.ps-media{position:relative;display:flex;justify-content:center;align-items:center;aspect-ratio:4/3;padding:16px;box-sizing:border-box;background:var(--surface-deep)}
.ps-media>*{margin:0!important}
.ps-media--img{padding:0;background:var(--surface-soft)}
.ps-card .wp-block-image{margin:0!important;aspect-ratio:4/3;overflow:hidden}
.ps-card .wp-block-image.ps-wide{aspect-ratio:16/9}
.ps-card .wp-block-image img{width:100%!important;height:100%!important;object-fit:cover}
.ps-card__body{display:flex;flex-direction:column;gap:10px;align-items:flex-start;padding:22px 24px 26px;flex:1}
.ps-card__body>*{margin:0!important}
.ps-card__body h3{font-size:20px;line-height:1.3;font-weight:700;letter-spacing:-.01em}
.ps-card__body p{font-size:15px;line-height:24px;color:var(--ink-muted)}
.ps-card__body .ps-num{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--primary);color:var(--on-primary);font-size:14px;font-weight:800}
.ps-card__body .ps-more{margin-top:auto!important}
.ps-card__body .ps-range{margin-top:auto!important;align-self:stretch;display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-radius:var(--radius-md);background:var(--primary-soft);color:var(--ink);font-size:14px;font-weight:600}
.ps-card__body .ps-range strong{font-size:22px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.ps-who{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px}
.ps-who>*{margin:0!important}
.ps-who .wp-block-cover{min-height:400px;border-radius:var(--radius-lg);overflow:hidden;padding:24px;align-items:flex-end}
.ps-who .wp-block-cover__inner-container>*{margin:0 0 8px!important;color:#f1f4ec}
.ps-who .wp-block-cover h3{font-size:20px;line-height:1.3;font-weight:700}
.ps-who .wp-block-cover p{font-size:15px;line-height:24px;opacity:.92}
.ps-deep{display:flex;flex-direction:column;justify-content:flex-end;gap:10px;min-height:400px;padding:24px;box-sizing:border-box;border-radius:var(--radius-lg);background:var(--surface-deep);color:var(--on-deep)}
.ps-deep>*{margin:0!important}
.ps-deep h3{font-size:20px;line-height:1.3;font-weight:700;color:var(--on-deep)}
.ps-deep p{font-size:15px;line-height:24px;opacity:.92}
.ps-cmp-wrap{flex:2 1 560px;min-width:0}
.ps-cmp-wrap>*{margin:0!important}
.ps-cmp{overflow-x:auto;margin:0!important}
.ps-cmp table{width:100%;min-width:520px;border-collapse:separate;border-spacing:0;font-size:15px;line-height:22px}
.ps-cmp th,.ps-cmp td{padding:16px 18px;text-align:left;vertical-align:top;border:0;border-bottom:1px solid var(--border)}
.ps-cmp tbody tr:last-child td{border-bottom:0}
.ps-cmp thead th{font-size:16px;font-weight:700;border-bottom:1px solid var(--border)}
.ps-cmp tbody td:first-child{font-size:14px;font-weight:600;color:var(--ink-muted)}
.ps-cmp td:nth-child(2),.ps-cmp th:nth-child(2){background:var(--primary-soft)}
.ps-cmp thead th:nth-child(2){border-radius:var(--radius-lg) var(--radius-lg) 0 0}
.ps-cmp tbody tr:last-child td:nth-child(2){border-radius:0 0 var(--radius-lg) var(--radius-lg)}
.ps-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px!important}
.ps-tags>*{margin:0!important}
.ps-tags a{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border-radius:var(--radius-pill);background:var(--surface-soft);color:var(--ink);font-size:13px;font-weight:600;text-decoration:none}
.ps-tags a:hover{background:var(--primary-soft)}
.ps-quote{display:flex;flex-direction:column;gap:16px;padding:24px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm)}
.ps-quote>*{margin:0!important}
.ps-quote .p-badge{align-self:flex-start}
.ps-quote__text{font-size:18px;line-height:28px;font-weight:600;letter-spacing:-.01em}
.ps-quote__who{margin-top:auto!important;font-size:14px;font-weight:600;color:var(--ink-muted)}
.ps-faqs{flex:2 1 560px;min-width:0;display:flex;flex-direction:column;gap:12px}
.ps-faqs>*{margin:0!important}
.ps-faq{border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);padding:0}
.ps-faq summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 24px;font-size:17px;line-height:24px;font-weight:700;cursor:pointer;list-style:none}
.ps-faq summary::-webkit-details-marker{display:none}
.ps-faq summary::after{content:"";flex:none;width:34px;height:34px;border-radius:50%;background:var(--surface-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151a15' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/18px no-repeat;transition:transform .28s}
[data-theme="dark"] .ps-faq summary::after{filter:invert(1)}
.ps-faq[open] summary::after{transform:rotate(180deg)}
.ps-faq summary:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:var(--radius-lg)}
.ps-faq>*:not(summary){margin:0!important;padding:0 24px 20px;font-size:15px;line-height:24px}
@media (max-width:760px){
.ps-head h2,.ps-text h2{font-size:34px}
.ps-vis{height:480px}
.ps-pill{right:12px;top:12px}
.ps-result{left:12px;bottom:12px}
.ps-ba{grid-template-columns:1fr}
.ps-who .wp-block-cover,.ps-deep{min-height:320px}
.ps-stat__num{font-size:32px}
}
@media (prefers-reduced-motion: reduce){.ps-faq summary::after{transition:none}}

/* Boutons : le style p-btn va sur le lien, pas sur son conteneur (correctif du thème) */
.wp-block-button.p-btn{padding:0!important;border:0!important;background:none!important;box-shadow:none!important;min-height:0!important}
.wp-block-button.p-btn>.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;line-height:20px;border-radius:var(--radius-pill)}
.wp-block-button.p-btn--lg>.wp-block-button__link{padding:16px 30px;min-height:58px;font-size:17px}
.wp-block-button.p-btn--md>.wp-block-button__link{padding:12px 22px;min-height:46px;font-size:15px}
.wp-block-button.p-btn--sm>.wp-block-button__link{padding:8px 16px;min-height:36px;font-size:14px}
.wp-block-button.p-btn--primary>.wp-block-button__link{box-shadow:var(--shadow-glow)}
.wp-block-button.p-btn--on-dark>.wp-block-button__link{background:rgba(255,255,255,.12);color:var(--on-deep);border:1px solid rgba(255,255,255,.35)}
.wp-block-button.p-btn--on-dark>.wp-block-button__link:hover{background:rgba(255,255,255,.2)}
.ps-vis .ps-pill,.ps-vis .ps-result,.ps-vis .ps-result p{color:var(--ink)!important}
.ps-vis .ps-result__target{color:var(--ink-muted)!important}
.ps-media{overflow:hidden;min-height:0}
.ps-media>.ps-vid{position:absolute!important;inset:16px;height:auto}
.ps-media>.ps-vid video{height:100%}
ul.ps-badges li{background:var(--surface)!important;border:1px solid var(--border)}
ul.ps-badges li:first-child{background:var(--success-soft)!important;border-color:transparent}
/* Liste d'articles réduite (section .ps-guide) */
.ps-guide .pblog-count,.ps-guide .pblog-more-wrap{display:none!important}
.ps-guide .pblog-grid>.post:nth-child(n+4){display:none}
/* Grilles 2 et 4 colonnes, cartes texte */
.ps-grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:20px}
.ps-grid2>*{margin:0!important}
.ps-grid4{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:20px}
.ps-grid4>*{margin:0!important}
.ps-card--pad{padding:24px;gap:10px}
.ps-card--pad>*{margin:0!important}
.ps-card--pad h3{font-size:20px;line-height:1.3;font-weight:700}
.ps-card--pad p{font-size:15px;line-height:24px;color:var(--ink-muted)}
.ps-card--hl{background:var(--primary-soft);border-color:transparent}

/* Hero : comment ça marche en 3 points */
ul.ps-checks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;counter-reset:pschk}
ul.ps-checks li{counter-increment:pschk;position:relative;display:block;margin:0;padding:2px 0 2px 40px;min-height:28px;font-size:16px;line-height:24px;color:var(--ink)}
ul.ps-checks li::before{content:counter(pschk);position:absolute;left:0;top:0;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--primary);color:var(--on-primary);font-size:13px;font-weight:800}
ul.ps-checks li strong{font-weight:700}

/* Hero de l'accueil : titre plus compact pour garder les boutons visibles */
.hero-under h1.hero-title{font-size:clamp(38px,4.2vw,58px)!important;line-height:1.05!important}

/* Bandeau d'appel à l'action dans les sections */
.ps-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;margin-top:32px!important;padding:16px 16px 16px 28px;border-radius:var(--radius-pill);background:var(--surface-deep);color:var(--on-deep)}
.ps-cta>*{margin:0!important}
.ps-cta>p{font-size:17px;line-height:24px;font-weight:600;color:var(--on-deep)!important}
.ps-cta .wp-block-buttons{display:flex;flex-wrap:wrap;gap:10px}
.ps-cta .wp-block-buttons>*{margin:0!important}
@media (max-width:760px){.ps-cta{border-radius:var(--radius-lg);padding:20px}.ps-cta .wp-block-buttons,.ps-cta .wp-block-button,.ps-cta .wp-block-button__link{width:100%}}

.ps-cta-band{padding:40px 0}
.ps-cta-band .ps-cta{margin-top:0!important}

/* Page FAQ : navigation par thème + thèmes numérotés */
.ps-faqsec{padding-top:56px}
.ps-faqpage{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:72px;align-items:start}
.ps-faqpage>*{margin:0!important}
.ps-faqnav{position:sticky;top:32px;display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.ps-faqnav>*{margin:0!important}
.ps-faqnav h1{font-size:44px;line-height:1.05;font-weight:800;letter-spacing:-.04em}
.ps-faqnav__intro{font-size:16px;line-height:26px;color:var(--ink-muted)}
ul.ps-faqnav__list{list-style:none;margin:6px 0 0!important;padding:0;width:100%;display:flex;flex-direction:column;border-left:2px solid var(--border)}
ul.ps-faqnav__list li{margin:0}
ul.ps-faqnav__list a{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-left:-2px;padding:11px 14px;border-left:2px solid transparent;font-size:15px;font-weight:600;color:var(--ink-muted);text-decoration:none;transition:color .15s,border-color .15s,background .15s}
ul.ps-faqnav__list a:hover{color:var(--ink);border-left-color:var(--primary-strong);background:var(--surface-soft)}
ul.ps-faqnav__list a:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.ps-faqnav__n{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:var(--surface-soft);color:var(--ink);font-size:12px;font-weight:700}
.ps-faqhelp{width:100%;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;margin-top:10px!important;padding:24px;border-radius:var(--radius-lg);background:var(--surface-deep);color:var(--on-deep)}
.ps-faqhelp>*{margin:0!important}
.ps-faqhelp p{font-size:15px;line-height:23px;color:var(--on-deep)!important;opacity:.9}
.ps-faqhelp .ps-faqhelp__title{font-size:19px;font-weight:700;opacity:1}
.ps-faqcats{display:flex;flex-direction:column;gap:64px}
.ps-faqcats>*{margin:0!important}
.ps-faqcat{scroll-margin-top:32px;display:flex;flex-direction:column;gap:20px}
.ps-faqcat>*{margin:0!important}
.ps-faqcat__head{display:flex;align-items:center;gap:16px;padding-bottom:16px;border-bottom:1px solid var(--border)}
.ps-faqcat__head>*{margin:0!important}
.ps-faqcat__num{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--primary);color:var(--on-primary);font-size:15px;font-weight:800}
.ps-faqcat__titles{display:flex;flex-direction:column;gap:2px}
.ps-faqcat__titles>*{margin:0!important}
.ps-faqcat__titles h2{font-size:28px;line-height:1.2;font-weight:700;letter-spacing:-.02em}
.ps-faqcat__desc{font-size:15px;line-height:22px;color:var(--ink-muted)}
.ps-faqcat .ps-faqs{flex:none}
.ps-faq>*:not(summary){padding:0 24px 10px!important}
.ps-faq>*:last-child{padding-bottom:22px!important}
.ps-faq ul,.ps-faq ol{padding-left:48px!important}
@media (max-width:980px){
.ps-faqpage{grid-template-columns:1fr;gap:40px}
.ps-faqnav{position:static}
ul.ps-faqnav__list{flex-direction:row;flex-wrap:wrap;gap:8px;border-left:0}
ul.ps-faqnav__list a{margin:0;padding:8px 14px;border:1px solid var(--border);border-radius:999px;background:var(--surface)}
.ps-faqhelp{display:none}
.ps-faqcats{gap:48px}
.ps-faqcat__titles h2{font-size:24px}
}

/* FAQ : permet à la navigation de rester visible (le thème met overflow:hidden sur body) */
body.page-id-9{overflow-x:clip!important;overflow-y:visible!important}

/* Carte d'offre (abonnement pro) */
.ps-offer{flex:1 1 400px;max-width:460px;display:flex;flex-direction:column;gap:14px;padding:32px;border-radius:var(--radius-xl);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-md)}
.ps-offer>*{margin:0!important}
.ps-offer .p-badge{align-self:flex-start}
.ps-price{display:flex;align-items:baseline;gap:8px;font-size:56px;line-height:1;font-weight:800;letter-spacing:-.04em;color:var(--ink);font-variant-numeric:tabular-nums}
.ps-price span{font-size:17px;font-weight:600;letter-spacing:0;color:var(--ink-muted)}
.ps-offer__sub{font-size:17px;line-height:26px;font-weight:700;color:var(--ink)}
.ps-offer ul.ps-checklist{margin:6px 0!important}
ul.ps-checklist{list-style:none;padding:0;display:flex;flex-direction:column;gap:10px}
ul.ps-checklist li{position:relative;margin:0;padding-left:32px;font-size:15px;line-height:22px;color:var(--ink)}
ul.ps-checklist li::before{content:"✓";position:absolute;left:0;top:-1px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--primary-soft);color:var(--ink);font-size:12px;font-weight:800}
.ps-offer .wp-block-buttons,.ps-offer .wp-block-button,.ps-offer .wp-block-button__link{width:100%}
.ps-offer__note{font-size:13px;line-height:19px;color:var(--ink-muted);text-align:center}
.ps-compare{display:flex;gap:12px;flex-wrap:wrap}
.ps-compare>*{margin:0!important;flex:1 1 180px;display:flex;flex-direction:column;gap:2px;padding:18px 20px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border)}
.ps-compare>*>*{margin:0!important}
.ps-compare .ps-compare__us{background:var(--primary-soft);border-color:transparent}
.ps-compare__lbl{font-size:13px!important;line-height:18px!important;font-weight:600;color:var(--ink-muted)!important}
.ps-compare__val{font-size:26px!important;line-height:1.15!important;font-weight:800;letter-spacing:-.03em;color:var(--ink)!important;font-variant-numeric:tabular-nums}

/* === Passe mobile (18/11/2026) === */
h1,h2,h3{overflow-wrap:break-word;text-wrap:balance}
summary{text-wrap:pretty}
@media (max-width:760px){
.hero-visual{grid-template-columns:1fr!important}
.hero-visual > div:first-of-type{display:none!important}
.hero-visual > img{aspect-ratio:4/3!important}
}
@media (max-width:800px){
.single .article-header,.single .article-body{padding-left:16px!important;padding-right:16px!important}
}
@media (max-width:600px){
#posturise-contact-form > div{grid-template-columns:1fr!important}
}
@media (max-width:480px){
h1,h1.wp-block-post-title{font-size:clamp(30px,9vw,38px)!important;line-height:1.08!important;hyphens:auto}
}
/* Couvertures infographiques (1520x800) : ne pas rogner le texte dans les cartes */
.media img.wp-post-image[src*="/posturise-"]{object-fit:contain!important;background:var(--surface-deep,#0f3b2e)}

/* === Passe mobile 2 : GIF du hero sous le titre et carrousels à glisser (18/11/2026) === */
@media (max-width:760px){
.wp-block-columns:has(> .wp-block-column > .hero-visual){display:flex!important;flex-direction:column!important;gap:0!important}
.wp-block-columns:has(> .wp-block-column > .hero-visual) > .wp-block-column:first-child{display:contents!important}
.wp-block-columns:has(> .wp-block-column > .hero-visual) > .wp-block-column:first-child > *{order:4}
.wp-block-columns:has(> .wp-block-column > .hero-visual) > .wp-block-column:first-child > .p-eyebrow{order:1}
.wp-block-columns:has(> .wp-block-column > .hero-visual) > .wp-block-column:first-child > .hero-title{order:2}
.wp-block-columns:has(> .wp-block-column > .hero-visual) > .wp-block-column:has(.hero-visual){order:3;margin:20px 0 8px!important}
.hero-visual{display:block!important;position:relative}
.hero-visual > img{aspect-ratio:1/1!important;width:100%!important;max-width:340px!important;margin:0 auto!important;display:block!important;object-position:50% 50%!important}
.hero-visual > div:last-child{position:relative!important;width:92%!important;max-width:320px!important;margin:-64px auto 0!important;z-index:2}
.ps-grid3,
.ps-grid4,
.bf-grid3,
.ps-who,
.bf-who,
body:not(.page-id-88) .pblog-grid,
.wp-block-columns:has(> .wp-block-column.p-card),
div:has(> article.door){display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;gap:16px!important;margin-left:-24px!important;margin-right:-24px!important;padding:4px 24px 20px!important;scroll-padding-inline:24px;max-width:none!important}
.ps-grid3::-webkit-scrollbar,.ps-grid4::-webkit-scrollbar,.bf-grid3::-webkit-scrollbar,.ps-who::-webkit-scrollbar,.bf-who::-webkit-scrollbar,body:not(.page-id-88) .pblog-grid::-webkit-scrollbar,.wp-block-columns:has(> .wp-block-column.p-card)::-webkit-scrollbar,div:has(> article.door)::-webkit-scrollbar{display:none}
.ps-grid3 > *,
.ps-grid4 > *,
.bf-grid3 > *,
.ps-who > *,
.bf-who > *,
body:not(.page-id-88) .pblog-grid > *,
.wp-block-columns:has(> .wp-block-column.p-card) > *,
div:has(> article.door) > *{flex:0 0 82%!important;max-width:82%!important;width:auto!important;scroll-snap-align:start;margin:0!important}
}
@media (max-width:420px){
.ps-grid3,
.ps-grid4,
.bf-grid3,
.ps-who,
.bf-who,
body:not(.page-id-88) .pblog-grid,
.wp-block-columns:has(> .wp-block-column.p-card),
div:has(> article.door){margin-left:-16px!important;margin-right:-16px!important;padding-left:16px!important;padding-right:16px!important;scroll-padding-inline:16px}
}

/* Boutons : autoriser le retour à la ligne sur mobile */
@media (max-width:480px){.wp-block-button__link{white-space:normal!important;text-align:center}}

/* === Passe mobile 3 (18/11/2026) === */
@media (max-width:760px){
.ps-split .ps-photo img{aspect-ratio:16/10!important;height:auto!important;width:100%!important;object-fit:cover}
p + h3.wp-block-heading{margin-top:1.4em!important}
}

/* === Page Magasins : deux offres (18/11/2026) === */
.ps-checks + p{margin-top:18px!important;color:var(--ink-muted)}
.p-card__body a{color:var(--ink);font-weight:700;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
@media (max-width:760px){.shop-cards{padding:8px 0 64px!important}.shop-cards > div:last-child{width:min(70%,260px)!important;padding:14px 16px!important}.shop-cards > div:last-child p:nth-child(2){font-size:16px!important}}

/* Boutons sans espacement (groupes créés sans classe de mise en page) */
.wp-block-buttons:not([class*="wp-container"]){gap:12px}

/* Magasins : SEO, sections Pourquoi et FAQ */
#pourquoi .wrap > .p-eyebrow,#faq-magasins .wrap > .p-eyebrow{width:fit-content}
#pourquoi .wrap > p:not(.p-eyebrow),#faq-magasins .wrap > h2{max-width:720px}
#pourquoi .ps-grid4{margin-top:28px}
#faq-magasins .wrap{max-width:860px}
#faq-magasins details.p-result{margin-top:12px}
#faq-magasins .wp-block-buttons{margin-top:28px}

/* ===== Guide complet du bike fitting (article 87) — classes pg-… ===== */
body.postid-87 .entry-content>h2{margin:var(--space-9) 0 var(--space-4);font-size:34px;line-height:1.15;letter-spacing:-.02em}
body.postid-87 .entry-content h3{margin:var(--space-6) 0 var(--space-2);font-size:20px}
body.postid-87 .entry-content p{margin:0 0 var(--space-4);line-height:1.7}
body.postid-87 .entry-content li{margin-bottom:var(--space-2);line-height:1.6}
body.postid-87 .entry-content .pg-lead{font-size:20px;line-height:1.6;color:var(--ink)}
.pg-intro{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:var(--space-5);margin:var(--space-7) 0!important}
.pg-intro>*{margin:0!important}
.pg-intro .p-card{height:100%}
.pg-checklist{list-style:none;padding:0!important}
.pg-checklist li{position:relative;padding-left:36px}
.pg-checklist li::before{content:"";position:absolute;left:0;top:3px;width:22px;height:22px;border-radius:50%;background:var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121512' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat}
.pg-settings{display:grid;gap:var(--space-4);margin:var(--space-6) 0!important}
.pg-card{margin:0!important;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:var(--space-5) var(--space-6);box-shadow:var(--shadow-sm)}
.pg-settings .pg-card{border-left:4px solid var(--primary)}
body.postid-87 .entry-content .pg-card h3{margin:0 0 var(--space-2);font-size:18px}
body.postid-87 .entry-content .pg-card p{margin:0;font-size:16px}
.pg-myths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4);margin:var(--space-5) 0!important}
.pg-myths .pg-card{background:var(--surface-soft);box-shadow:none}
body.postid-87 .entry-content .pg-myths h3{font-style:italic}
.pg-cta{margin:var(--space-8) 0!important;padding:var(--space-7);border-radius:var(--radius-xl);background:var(--surface-deep);color:var(--on-deep)}
body.postid-87 .entry-content .pg-cta h3{margin:0 0 var(--space-2);font-size:24px;color:var(--on-deep)}
body.postid-87 .entry-content .pg-cta p{color:var(--on-deep);opacity:.85}
.pg-table{margin:var(--space-5) 0!important}
.pg-table table{border-collapse:separate!important;border-spacing:0;width:100%;border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;background:var(--surface);font-size:15px}
.pg-table th,.pg-table td{padding:14px 16px!important;border:0!important;text-align:left;vertical-align:top}
.pg-table thead th{background:var(--surface-soft)!important;font-weight:700;border-bottom:1px solid var(--border)!important}
.pg-table tbody tr td{background:var(--surface)!important;border-top:1px solid var(--border)!important}
.pg-table tbody tr:first-child td{border-top:0!important}
.pg-table td:first-child{font-weight:600}
.pg-table th:last-child,.pg-table tbody tr td:last-child{background:color-mix(in srgb,var(--primary) 16%,var(--surface))!important}
.pg-faq{display:grid;gap:var(--space-3);margin:var(--space-5) 0!important}
.pg-faq>*{margin:0!important}
.pg-figure img{border-radius:var(--radius-lg)}
@media (max-width:700px){.pg-intro,.pg-myths{grid-template-columns:1fr}.pg-cta{padding:var(--space-5)}body.postid-87 .entry-content>h2{font-size:26px;margin-top:var(--space-8)}.pg-table{overflow-x:auto}.pg-table table{min-width:560px}}

/* ===== Hero accueil photo animé (ps-hx) — 18/11/2026 ===== */
.ps-hx{min-height:min(86vh,820px)!important;padding:0!important;align-items:center!important;overflow:hidden;isolation:isolate}
.ps-hx .wp-block-cover__image-background{animation:hxZoom 22s cubic-bezier(.2,.7,.2,1) both;transform-origin:65% 50%}
.ps-hx .wp-block-cover__background{opacity:1!important;background:linear-gradient(100deg,color-mix(in srgb,var(--surface-deep) 86%,transparent) 0%,color-mix(in srgb,var(--surface-deep) 62%,transparent) 42%,color-mix(in srgb,var(--surface-deep) 18%,transparent) 100%),linear-gradient(0deg,color-mix(in srgb,var(--surface-deep) 55%,transparent),transparent 40%)!important}
.ps-hx::before,.ps-hx::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background-repeat:no-repeat}
.ps-hx::before{background-image:linear-gradient(90deg,transparent,color-mix(in srgb,var(--primary) 70%,transparent),transparent),linear-gradient(90deg,transparent,color-mix(in srgb,var(--on-deep) 45%,transparent),transparent);background-size:320px 2px,200px 1px;background-position:-420px 24%,-420px 71%;animation:hxStreakA 2.6s linear infinite}
.ps-hx::after{background-image:linear-gradient(90deg,transparent,color-mix(in srgb,var(--primary) 45%,transparent),transparent),linear-gradient(90deg,transparent,color-mix(in srgb,var(--on-deep) 30%,transparent),transparent);background-size:260px 1px,420px 2px;background-position:-480px 47%,-480px 86%;animation:hxStreakB 3.7s linear infinite .8s}
@keyframes hxStreakA{to{background-position:calc(100% + 420px) 24%,calc(100% + 420px) 71%}}
@keyframes hxStreakB{to{background-position:calc(100% + 480px) 47%,calc(100% + 480px) 86%}}
@keyframes hxZoom{from{transform:scale(1.16)}to{transform:scale(1)}}
.ps-hx .wp-block-cover__inner-container{position:relative;z-index:2;width:100%;max-width:none!important}
.ps-hx__grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);grid-template-areas:"eye vis" "title vis" "lead vis" "steps vis" "cta vis" "trust vis";grid-template-rows:auto auto auto auto auto 1fr;column-gap:64px;align-items:start;align-content:center;padding-top:56px!important;padding-bottom:88px!important;color:var(--on-deep)}
.ps-hx__grid>*{margin:0!important;animation:hxUp .9s cubic-bezier(.2,.8,.2,1) both}
.ps-hx__grid>script{display:none}
.ps-hx .ps-hx__eyebrow{grid-area:eye;justify-self:start;margin-bottom:24px!important;padding:8px 16px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--on-deep) 10%,transparent);border:1px solid color-mix(in srgb,var(--primary) 40%,transparent);color:var(--primary)!important;backdrop-filter:blur(8px);animation-delay:.05s}
.ps-hx .ps-hx__title{grid-area:title;margin-bottom:24px!important;font-size:clamp(44px,5vw,78px)!important;line-height:1!important;font-weight:800!important;letter-spacing:-.045em!important;color:var(--on-deep)!important;text-wrap:balance;animation-delay:.15s}
.ps-hx .ps-hx__title em{display:block;font-style:italic;color:transparent;background:linear-gradient(90deg,var(--primary) 0%,color-mix(in srgb,var(--primary) 55%,var(--on-deep)) 50%,var(--primary) 100%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;animation:hxShine 6s linear infinite;padding-right:.08em}
@keyframes hxShine{to{background-position:-200% 0}}
.ps-hx .ps-hx__lead{grid-area:lead;max-width:560px;margin-bottom:28px!important;font-size:19px;line-height:1.6;color:color-mix(in srgb,var(--on-deep) 82%,transparent)!important;animation-delay:.3s}
.ps-hx__steps{grid-area:steps;display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0!important;margin:0 0 32px!important;animation-delay:.42s}
.ps-hx__steps li{display:flex;align-items:center;gap:10px;padding:8px 16px 8px 8px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--on-deep) 8%,transparent);border:1px solid color-mix(in srgb,var(--on-deep) 16%,transparent);font-size:15px;color:var(--on-deep);backdrop-filter:blur(8px);animation:hxStep 6s infinite}
.ps-hx__steps li:nth-child(2){animation-delay:2s}.ps-hx__steps li:nth-child(3){animation-delay:4s}
.ps-hx__steps li span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--primary);color:var(--on-primary);font-weight:800;font-size:13px}
.ps-hx__steps b{color:var(--on-deep)}
@keyframes hxStep{0%,30%{background:color-mix(in srgb,var(--primary) 22%,transparent);border-color:var(--primary);transform:translateY(-2px)}36%,100%{background:color-mix(in srgb,var(--on-deep) 8%,transparent);border-color:color-mix(in srgb,var(--on-deep) 16%,transparent);transform:none}}
.ps-hx__cta{grid-area:cta;display:flex;flex-wrap:wrap;gap:12px;margin-bottom:22px!important;animation-delay:.54s}
.ps-hx__go{animation:hxPulse 2.6s ease-out infinite 1.5s}
@keyframes hxPulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--primary) 60%,transparent)}70%,100%{box-shadow:0 0 0 18px color-mix(in srgb,var(--primary) 0%,transparent)}}
.ps-hx .ps-hx__trust{grid-area:trust;font-size:14px;color:color-mix(in srgb,var(--on-deep) 70%,transparent)!important;animation-delay:.66s}
.ps-hx .ps-hx__trust strong{color:var(--primary)}
.ps-hx__vis{grid-area:vis;position:relative;align-self:center;justify-self:center;width:min(100%,400px);animation:hxIn 1.1s cubic-bezier(.2,.8,.2,1) both .35s}
@keyframes hxUp{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@keyframes hxIn{from{opacity:0;transform:translateY(40px) scale(.94)}to{opacity:1;transform:none}}
.hx-frame{position:relative;aspect-ratio:4/5;border-radius:var(--radius-xl);overflow:hidden;border:1px solid color-mix(in srgb,var(--on-deep) 22%,transparent);box-shadow:0 40px 90px -20px color-mix(in srgb,var(--surface-deep) 80%,black),var(--shadow-md);background:var(--surface-deep)}
.hx-frame img{display:block;width:100%;height:100%;object-fit:cover}
.hx-scan{position:absolute;left:0;right:0;top:8%;height:2px;background:var(--primary);box-shadow:0 0 18px 5px color-mix(in srgb,var(--primary) 55%,transparent);animation:hxScan 3.4s ease-in-out infinite alternate}
@keyframes hxScan{to{top:92%}}
.hx-live{position:absolute;top:16px;left:16px;display:flex;align-items:center;gap:8px;padding:6px 12px;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--surface-deep) 78%,transparent);color:var(--on-deep);font-size:13px;font-weight:600;backdrop-filter:blur(6px)}
.hx-live i{width:8px;height:8px;border-radius:50%;background:var(--primary);animation:hxBlink 1.2s ease-in-out infinite}
@keyframes hxBlink{50%{opacity:.25}}
.hx-chip{position:absolute;z-index:3;padding:10px 16px;border-radius:var(--radius-pill);background:var(--surface);color:var(--ink);font-size:14px;font-weight:600;white-space:nowrap;box-shadow:var(--shadow-md);animation:hxFloat 5s ease-in-out infinite}
.hx-chip--a{top:64px;right:-28px}
.hx-chip--b{top:46%;left:-44px;animation-delay:-2.5s}
.hx-chip--b::before{content:"";display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:var(--primary-strong);vertical-align:middle}
@keyframes hxFloat{50%{transform:translateY(-10px)}}
.hx-result{position:absolute;z-index:4;left:-56px;bottom:-32px;width:min(360px,92%);padding:18px 20px;border-radius:var(--radius-lg);background:var(--surface);color:var(--ink);box-shadow:var(--shadow-md);transition:box-shadow var(--duration-base)}
.hx-result *{margin:0!important}
.hx-result__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.hx-k{font-size:15px;font-weight:700;line-height:1.3;color:var(--ink)}
.hx-k small{font-size:13px;font-weight:500;color:var(--ink-muted)}
.hx-num{font-size:34px;line-height:1;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.02em;color:var(--danger);transition:color var(--duration-base)}
.hx-gauge{position:relative;height:10px;margin:14px 0 12px!important;border-radius:var(--radius-pill);background:var(--surface-soft)}
.hx-gauge__ideal{position:absolute;top:0;bottom:0;left:52%;width:20%;border-radius:var(--radius-pill);background:var(--primary)}
.hx-gauge__needle{position:absolute;top:-5px;left:36%;width:4px;height:20px;margin-left:-2px;border-radius:2px;background:var(--ink)}
.hx-verdict{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--ink)}
.hx-dot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--danger);transition:background var(--duration-base)}
.hx-result[data-state="mid"] .hx-num{color:var(--warning)}.hx-result[data-state="mid"] .hx-dot{background:var(--warning)}
.hx-result[data-state="ok"]{box-shadow:0 0 0 3px var(--primary),var(--shadow-md)}
.hx-result[data-state="ok"] .hx-num{color:var(--primary-strong)}.hx-result[data-state="ok"] .hx-dot{background:var(--primary-strong)}
@media (max-width:980px){
.ps-hx{min-height:0!important}
.ps-hx__grid{grid-template-columns:1fr;grid-template-areas:"eye" "title" "vis" "lead" "steps" "cta" "trust";grid-template-rows:none;padding-top:40px!important;padding-bottom:56px!important}
.ps-hx .ps-hx__title{font-size:clamp(36px,9.5vw,60px)!important}
.ps-hx__vis{width:min(100%,420px);margin:8px auto 56px!important}
.hx-frame{aspect-ratio:1/1}
.hx-chip--a{top:12px;right:-6px;font-size:13px}.hx-chip--b{display:none}
.hx-result{left:12px;right:12px;width:auto;bottom:-36px}
.ps-hx__steps li{font-size:14px}
.ps-hx .wp-block-cover__background{background:linear-gradient(180deg,color-mix(in srgb,var(--surface-deep) 92%,transparent),color-mix(in srgb,var(--surface-deep) 86%,transparent))!important}
}
@media (max-width:480px){.ps-hx__cta .p-btn{flex:1 1 100%;justify-content:center}}
@media (prefers-reduced-motion:reduce){.ps-hx *,.ps-hx::before,.ps-hx::after,.ps-hx .wp-block-cover__image-background{animation:none!important}.ps-hx::before,.ps-hx::after{display:none}}

/* Hero ps-hx : version sobre (demande du 18/11, 23 h 27) */
.ps-hx::before,.ps-hx::after{display:none!important}
.ps-hx .wp-block-cover__image-background{animation:hxZoomSoft 30s ease-out both}
@keyframes hxZoomSoft{from{transform:scale(1.06)}to{transform:scale(1)}}
.ps-hx .ps-hx__title em{color:var(--primary)!important;background:none!important;animation:none!important}
.ps-hx__go{animation:none!important}
.hx-chip{animation:none!important}
.hx-chip--b{display:none!important}
.hx-scan{opacity:.55;box-shadow:0 0 10px 2px color-mix(in srgb,var(--primary) 35%,transparent);animation-duration:5s}
.hx-live i{animation:none}
.ps-hx__steps li{animation:none!important}
.ps-hx__grid>*{animation-duration:1.1s}
.ps-hx .ps-hx__eyebrow{background:transparent;border-color:color-mix(in srgb,var(--on-deep) 28%,transparent);backdrop-filter:none}
.ps-hx .ps-hx__title{font-size:clamp(40px,4.3vw,66px)!important;letter-spacing:-.04em!important}
.ps-hx__steps{gap:8px 22px;margin-bottom:30px!important}
.ps-hx__steps li{padding:0;background:none!important;border:0!important;backdrop-filter:none;font-size:15px;color:color-mix(in srgb,var(--on-deep) 80%,transparent)}
.ps-hx__steps li span{width:24px;height:24px;background:transparent;border:1.5px solid var(--primary);color:var(--primary);font-size:12px}
/* Hero ps-hx : photo plus présente */
.ps-hx{min-height:min(94vh,900px)!important}
.ps-hx .wp-block-cover__background{background:linear-gradient(90deg,color-mix(in srgb,var(--hx-shade) 78%,transparent) 0%,color-mix(in srgb,var(--hx-shade) 52%,transparent) 34%,color-mix(in srgb,var(--hx-shade) 8%,transparent) 62%,transparent 100%),linear-gradient(0deg,color-mix(in srgb,var(--hx-shade) 45%,transparent) 0%,transparent 30%)!important}
.ps-hx .wp-block-cover__image-background{object-position:30% 45%!important}
.ps-hx__grid{grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr)!important}
.ps-hx__vis{width:min(100%,330px)!important;justify-self:end!important}
.hx-frame{aspect-ratio:3/4}
.hx-result{left:-96px;width:340px}
.ps-hx .ps-hx__title,.ps-hx .ps-hx__lead{text-shadow:0 2px 24px color-mix(in srgb,var(--hx-shade) 55%,transparent)}
@media (max-width:980px){.ps-hx__vis{justify-self:center!important;width:min(100%,380px)!important}.hx-result{left:12px;width:auto}.ps-hx .wp-block-cover__background{background:linear-gradient(180deg,color-mix(in srgb,var(--hx-shade) 70%,transparent),color-mix(in srgb,var(--hx-shade) 55%,transparent))!important}}
.hx-k small{white-space:nowrap}
.ps-hx .ps-hx__lead{max-width:520px}
/* Hero ps-hx : version épurée, photo plein cadre, titre « vitesse » (18/11, 23 h 30) */
header p:empty{display:none!important}
.ps-hx{min-height:min(88vh,860px)!important;align-items:flex-end!important}
.ps-hx .wp-block-cover__background{background:linear-gradient(0deg,color-mix(in srgb,var(--hx-shade) 72%,transparent) 0%,color-mix(in srgb,var(--hx-shade) 25%,transparent) 45%,transparent 70%),linear-gradient(90deg,color-mix(in srgb,var(--hx-shade) 40%,transparent) 0%,transparent 55%)!important}
.ps-hx .wp-block-cover__image-background{object-position:50% 40%!important}
.ps-hx__grid{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"title vis" "cta vis"!important;grid-template-rows:auto auto!important;align-content:end!important;align-items:end!important;column-gap:48px!important;padding-top:160px!important;padding-bottom:72px!important}
.ps-hx .ps-hx__title{font-size:clamp(48px,7vw,112px)!important;line-height:.92!important;font-style:italic;font-weight:800!important;letter-spacing:-.055em!important;margin-bottom:36px!important;animation:hxDash 1s cubic-bezier(.16,.84,.3,1) both .1s!important}
.ps-hx .ps-hx__title em{text-shadow:-.07em 0 0 color-mix(in srgb,var(--primary) 22%,transparent),-.14em 0 0 color-mix(in srgb,var(--primary) 9%,transparent)!important}
@keyframes hxDash{from{opacity:0;transform:translateX(-80px) skewX(-10deg)}to{opacity:1;transform:none}}
.ps-hx__cta{margin:0!important}
.ps-hx__vis{width:340px!important;align-self:end!important;justify-self:end!important}
.hx-result{position:static!important;left:auto!important;width:100%!important;background:color-mix(in srgb,var(--surface) 90%,transparent)!important;backdrop-filter:blur(12px)}
@media (max-width:980px){
.ps-hx{min-height:min(90vh,760px)!important}
.ps-hx__grid{grid-template-columns:1fr!important;grid-template-areas:"title" "cta" "vis"!important;padding-top:200px!important;padding-bottom:40px!important}
.ps-hx .ps-hx__title{font-size:clamp(40px,11vw,68px)!important;margin-bottom:24px!important}
.ps-hx__vis{width:100%!important;max-width:420px;justify-self:start!important;margin:28px 0 0!important}
.ps-hx .wp-block-cover__background{background:linear-gradient(0deg,color-mix(in srgb,var(--hx-shade) 80%,transparent) 0%,color-mix(in srgb,var(--hx-shade) 35%,transparent) 55%,transparent 85%)!important}
}
@media (prefers-reduced-motion:reduce){.ps-hx .ps-hx__title{animation:none!important}}
/* Hero ps-hx : zoom continu très léger */
.ps-hx .wp-block-cover__image-background{animation:hxBreath 26s ease-in-out infinite alternate!important;transform-origin:55% 45%;will-change:transform}
@keyframes hxBreath{from{transform:scale(1)}to{transform:scale(1.06)}}
@media (prefers-reduced-motion:reduce){.ps-hx .wp-block-cover__image-background{animation:none!important}}
/* Hero ps-hx : promesse + titre plus fin */
.ps-hx__grid{grid-template-areas:"title vis" "lead vis" "cta vis"!important;grid-template-rows:auto auto auto!important}
.ps-hx .ps-hx__title{font-size:clamp(40px,5vw,76px)!important;font-weight:600!important;letter-spacing:-.045em!important;line-height:.98!important;margin-bottom:22px!important}
.ps-hx .ps-hx__title em{font-weight:700}
.ps-hx .ps-hx__lead{grid-area:lead;max-width:540px!important;margin:0 0 30px!important;font-size:18px!important;line-height:1.55!important;color:color-mix(in srgb,var(--on-deep) 85%,transparent)!important}
.ps-hx .ps-hx__lead strong{color:var(--on-deep);font-weight:600}
@media (max-width:980px){.ps-hx__grid{grid-template-areas:"title" "lead" "cta" "vis"!important}.ps-hx .ps-hx__title{font-size:clamp(34px,9vw,56px)!important}.ps-hx .ps-hx__lead{font-size:16px!important;margin-bottom:22px!important}}
/* Hero ps-hx : GIF compact + carte qui le chevauche */
.ps-hx__vis{width:300px!important}
.ps-hx .hx-frame{aspect-ratio:4/5;border-radius:var(--radius-lg);border:1px solid color-mix(in srgb,var(--on-deep) 25%,transparent);box-shadow:0 30px 70px -20px color-mix(in srgb,var(--hx-shade) 85%,transparent)}
.ps-hx .hx-result{position:relative!important;z-index:2;width:calc(100% + 40px)!important;margin:-64px 0 0 -40px!important;padding:16px 18px}
.ps-hx .hx-num{font-size:30px}
@media (max-width:980px){
.ps-hx__vis{display:grid!important;grid-template-columns:120px minmax(0,1fr);align-items:end;gap:0;width:100%!important;max-width:460px}
.ps-hx .hx-frame{aspect-ratio:3/4}
.ps-hx .hx-result{width:auto!important;margin:0 0 -1px -16px!important}
}
.ps-hx__grid{grid-template-rows:1fr auto auto!important}
.ps-hx .ps-hx__title{align-self:end}
@media (max-width:980px){.ps-hx__grid{grid-template-rows:none!important}}
@media (max-width:980px){.ps-hx .hx-result{min-width:0;padding:14px 14px}.ps-hx .hx-num{font-size:24px}.ps-hx .hx-k small{white-space:normal}.ps-hx .hx-verdict{font-size:13px}}
/* Hero ps-hx : téléphone (≤ 760 px) */
@media (max-width:760px){
.ps-hx{min-height:0!important;background:var(--hx-shade)}
.ps-hx .wp-block-cover__image-background{height:440px!important;bottom:auto!important;object-position:50% 45%!important}
.ps-hx .wp-block-cover__background{background:linear-gradient(180deg,transparent 0,transparent 150px,color-mix(in srgb,var(--hx-shade) 70%,transparent) 300px,var(--hx-shade) 440px,var(--hx-shade) 100%)!important}
.ps-hx__grid{padding-top:280px!important;padding-bottom:36px!important}
.ps-hx .ps-hx__title{font-size:clamp(32px,9.4vw,44px)!important;line-height:1.02!important;margin-bottom:16px!important;text-shadow:none!important}
.ps-hx .ps-hx__lead{font-size:16px!important;line-height:1.5!important;margin-bottom:22px!important;text-shadow:none!important}
.ps-hx__cta{flex-direction:column;align-items:stretch;gap:4px}
.ps-hx__cta .p-btn{min-height:52px;justify-content:center}
.ps-hx__cta .p-btn--on-dark{min-height:44px;padding:10px 0!important;background:none!important;border:0!important;box-shadow:none!important;font-size:15px;text-decoration:underline;text-underline-offset:4px}
.ps-hx__vis{display:block!important;width:100%!important;max-width:none!important;margin:28px 0 0!important}
.ps-hx .hx-frame{aspect-ratio:16/10;width:100%}
.ps-hx .hx-frame img{object-position:50% 40%}
.ps-hx .hx-result{width:auto!important;margin:-52px 12px 0!important;padding:14px 16px}
.ps-hx .hx-k small{white-space:nowrap}
.ps-hx .hx-num{font-size:26px}
}
@media (max-width:360px){.ps-hx .hx-k small{white-space:normal}}
/* Hero ps-hx : texte allégé */
.ps-hx .ps-hx__title{font-size:clamp(36px,4.2vw,64px)!important}
.ps-hx .ps-hx__lead{font-size:18px!important;margin-bottom:28px!important}
@media (max-width:760px){.ps-hx .ps-hx__title{font-size:clamp(30px,8.4vw,40px)!important}.ps-hx .ps-hx__lead{font-size:16px!important}}
/* Hero ps-hx : courbe de l'angle du genou synchronisée avec le GIF */
.hx-curve{position:relative;z-index:2;width:calc(100% + 40px);margin:-64px 0 0 -40px;padding:16px 18px 14px;border-radius:var(--radius-lg);background:color-mix(in srgb,var(--surface) 92%,transparent);backdrop-filter:blur(12px);color:var(--ink);box-shadow:var(--shadow-md)}
.hx-curve *{margin:0!important}
.hx-curve__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.hx-curve__k{font-size:14px;font-weight:700;color:var(--ink)}
.hx-curve__k small{margin-left:6px;font-size:12px;font-weight:500;color:var(--ink-muted)}
.hx-curve__k small::before{content:"";display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:var(--danger);vertical-align:middle}
.hx-curve__val{font-size:24px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums;color:var(--danger);min-width:4.2ch;text-align:right}
.hx-curve__svg{display:block;width:100%;height:84px;margin:10px 0 8px!important;overflow:visible;color:var(--danger)}
.hx-band{fill:var(--primary-soft)}
.hx-lim{stroke:var(--primary-strong);stroke-width:1;stroke-dasharray:3 3;vector-effect:non-scaling-stroke}
.hx-line{fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.hx-area{fill:url(#hxFill)}
.hx-pen{fill:var(--surface);stroke:currentColor;stroke-width:2.5;vector-effect:non-scaling-stroke}
.hx-curve__foot{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.35;color:var(--ink-muted)}
.hx-curve__foot strong{color:var(--ink);font-weight:600}
.hx-curve .hx-dot{flex:none;width:9px;height:9px;border-radius:50%;background:var(--danger)}
@media (max-width:760px){.hx-curve{width:auto;margin:-52px 12px 0!important;padding:14px 14px 12px}.hx-curve__svg{height:70px}}
/* Hero ps-hx : carte courbe au format « résultat » du site + mobile en un écran (19/11) */
.ps-hx .hx-curve{display:flex;flex-direction:column;gap:12px;padding:18px!important;background:var(--surface)!important;border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);backdrop-filter:none}
.ps-hx .hx-curve__head{display:flex;align-items:center;gap:12px}
.ps-hx .hx-curve__ico{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--danger-soft);color:var(--danger)}
.ps-hx .hx-curve__k{flex:1;display:flex;flex-direction:column;min-width:0}
.ps-hx .hx-curve__k b{font-size:15px;font-weight:700;color:var(--ink)}
.ps-hx .hx-curve__k small{margin:0;font-size:12px;font-weight:400;color:var(--ink-muted)}
.ps-hx .hx-curve__k small::before{display:none}
.ps-hx .hx-curve__val{font-size:24px;font-weight:700;letter-spacing:-.02em;line-height:1;color:var(--ink);font-variant-numeric:tabular-nums;min-width:4.2ch;text-align:right}
.ps-hx .hx-curve__svg{height:78px;margin:0!important;padding:8px 0;box-sizing:content-box;border-radius:var(--radius-md);background:var(--surface-soft);overflow:hidden}
.ps-hx .hx-curve__act{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--ink)}
.ps-hx .hx-curve__act span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--primary);color:var(--on-primary)}
@media (max-width:760px){
.ps-hx{min-height:calc(100svh - 112px)!important;background:none}
.ps-hx .wp-block-cover__image-background{height:100%!important;bottom:0!important;object-position:50% 35%!important}
.ps-hx .wp-block-cover__background{background:linear-gradient(180deg,transparent 0%,transparent 30%,color-mix(in srgb,var(--hx-shade) 55%,transparent) 55%,color-mix(in srgb,var(--hx-shade) 88%,transparent) 100%)!important}
.ps-hx__grid{min-height:calc(100svh - 112px);box-sizing:border-box;align-content:end!important;padding-top:40px!important;padding-bottom:28px!important}
.ps-hx__vis{display:none!important}
.ps-hx .ps-hx__title{font-size:clamp(30px,8.6vw,38px)!important;margin-bottom:12px!important;text-shadow:0 2px 18px color-mix(in srgb,var(--hx-shade) 60%,transparent)!important}
.ps-hx .ps-hx__lead{font-size:15px!important;margin-bottom:20px!important}
}
/* Accueil mobile (19/11) : chiffres glissables + photo « Qu'est-ce que le bike fitting » masquée */
@media (max-width:760px){
.ps-stats{display:flex!important;grid-template-columns:none!important;gap:12px!important;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:20px;padding:4px 20px 12px!important;margin-inline:-20px!important;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ps-stats::-webkit-scrollbar{display:none}
.ps-stats>.ps-stat{flex:0 0 64%!important;max-width:none!important;scroll-snap-align:start;margin:0!important}
body.home .ps-photo:has(img[src*="une-jambes-cintre"]){display:none!important}
}

/* Hero ps-hx : voile identique en clair et en sombre (jeton constant) */
.ps-hx{--hx-shade:var(--on-primary)}
/* ===== Hero ps-hx : adaptation à tous les formats (19/11, 10 h) — prime sur les blocs précédents ===== */
/* Ordinateur : tout tient dans la hauteur de l'écran */
@media (min-width:981px){
.ps-hx{min-height:clamp(520px,calc(100svh - 150px),860px)!important}
.ps-hx__grid{padding-top:clamp(40px,9vh,150px)!important;padding-bottom:clamp(28px,6vh,72px)!important;column-gap:clamp(32px,4vw,64px)!important}
.ps-hx .ps-hx__title{font-size:clamp(34px,min(4.4vw,7.4vh),64px)!important;margin-bottom:clamp(12px,2.2vh,22px)!important}
.ps-hx .ps-hx__lead{margin-bottom:clamp(18px,3vh,28px)!important}
.ps-hx__vis{width:clamp(210px,min(24vw,32vh),300px)!important}
.ps-hx .hx-curve{width:calc(100% + 40px)!important;margin:-56px 0 0 -40px!important;padding:clamp(12px,1.8vh,18px)!important;gap:clamp(8px,1.2vh,12px)!important}
.ps-hx .hx-curve__svg{height:clamp(48px,8vh,78px)!important}
}
@media (min-width:981px) and (max-height:700px){
.ps-hx .hx-curve__act{display:none!important}
.ps-hx .hx-curve__k small{display:none!important}
}
/* Tablette et téléphone : photo plein cadre, texte en bas, sans visuel */
@media (max-width:980px){
.ps-hx{min-height:calc(100svh - 130px)!important;background:none!important}
.ps-hx .wp-block-cover__image-background{height:100%!important;bottom:0!important;object-position:50% 35%!important}
.ps-hx .wp-block-cover__background{background:linear-gradient(180deg,transparent 0%,transparent 30%,color-mix(in srgb,var(--hx-shade) 55%,transparent) 55%,color-mix(in srgb,var(--hx-shade) 88%,transparent) 100%)!important}
.ps-hx__grid{grid-template-columns:1fr!important;grid-template-areas:"title" "lead" "cta"!important;grid-template-rows:none!important;min-height:calc(100svh - 130px);box-sizing:border-box;align-content:end!important;padding-top:32px!important;padding-bottom:clamp(24px,4vh,48px)!important}
.ps-hx__vis{display:none!important}
.ps-hx .ps-hx__title{font-size:clamp(28px,min(7.4vw,6vh),56px)!important;margin-bottom:12px!important;max-width:16ch}
.ps-hx .ps-hx__lead{font-size:clamp(15px,2vw,18px)!important;max-width:520px!important;margin-bottom:20px!important}
}
@media (min-width:761px) and (max-width:980px){
.ps-hx__cta{flex-direction:row!important;align-items:center!important;gap:12px!important}
.ps-hx__cta .p-btn{min-height:52px}
}
@media (max-width:980px) and (max-height:620px){
.ps-hx,.ps-hx__grid{min-height:0!important}
.ps-hx__grid{padding-top:120px!important}
}
/* Hero ps-hx : CTA toujours visibles (barre d'admin, panoramiques, téléphones à l'horizontale) */
.ps-hx{--hx-top:calc(130px + var(--wp-admin--admin-bar--height,0px))}
@media (max-width:980px){
.ps-hx{min-height:calc(100svh - var(--hx-top))!important}
.ps-hx__grid{min-height:calc(100svh - var(--hx-top))}
}
@media (min-width:981px){
.ps-hx{min-height:clamp(480px,calc(100svh - var(--hx-top) - 20px),860px)!important}
}
/* Écrans larges et panoramiques : contenu centré, photo bien cadrée */
@media (min-width:1600px){
.ps-hx .wp-block-cover__image-background{object-position:50% 38%!important}
.ps-hx__grid{max-width:1320px!important;margin-inline:auto!important}
.ps-hx .ps-hx__title{font-size:clamp(48px,min(3.6vw,7vh),76px)!important}
.ps-hx__vis{width:clamp(240px,30vh,320px)!important}
}
@media (min-aspect-ratio:21/9) and (min-width:981px){
.ps-hx{min-height:clamp(480px,calc(100svh - var(--hx-top) - 20px),760px)!important}
}
/* Téléphones à l'horizontale et écrans très bas */
@media (max-height:520px){
.ps-hx,.ps-hx__grid{min-height:0!important}
.ps-hx__grid{padding-top:56px!important;padding-bottom:20px!important;grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"title" "lead" "cta"!important}
.ps-hx__vis{display:none!important}
.ps-hx .ps-hx__title{font-size:clamp(24px,6.5vh,34px)!important;margin-bottom:8px!important}
.ps-hx .ps-hx__lead{font-size:14px!important;margin-bottom:12px!important}
.ps-hx__cta{flex-direction:row!important;align-items:center!important;gap:10px!important}
.ps-hx__cta .p-btn{min-height:44px;padding-block:10px!important}
}
/* Hero ps-hx : marges de sécurité pour les écrans bas */
@media (min-width:981px) and (max-height:760px){
.ps-hx__vis{width:clamp(200px,min(22vw,29vh),260px)!important}
.ps-hx__grid{padding-bottom:clamp(24px,5vh,48px)!important}
}
@media (max-height:420px){
.ps-hx__grid{padding-top:28px!important;padding-bottom:16px!important}
.ps-hx .ps-hx__title{font-size:clamp(22px,6vh,30px)!important}
.ps-hx .ps-hx__lead{display:none!important}
}
@media (min-width:981px) and (max-height:760px){.ps-hx__grid{padding-top:clamp(28px,6vh,72px)!important}.ps-hx{min-height:clamp(460px,calc(100svh - var(--hx-top) - 40px),860px)!important}}
/* Hero ps-hx : retouches panoramique + ordinateurs bas */
@media (min-width:1600px){.ps-hx__grid{max-width:min(1560px,86vw)!important;grid-template-columns:minmax(0,1fr) auto!important}.ps-hx .ps-hx__title{max-width:none}}
@media (min-width:981px) and (max-height:760px){.ps-hx .hx-curve__k small{display:none!important}.ps-hx__grid{column-gap:clamp(72px,7vw,110px)!important}}
/* ===== Header transparent sur la page d'accueil uniquement (19/11) =====
Haut de page : bandeau + menu posés sur la photo du hero, logo blanc, liens blancs.
Au défilement (classes .is-fixed / .is-scrolled ajoutées par nav-scroll.js du thème) : pilule claire flottante. */
body.home{--hh-admin:var(--wp-admin--admin-bar--height,0px);--hh-offer:40px;--hh-bar:76px}
@media (max-width:980px){body.home{--hh-offer:36px}}
/* Le hero remonte sous le header */
body.home .offer-bar{position:absolute;top:var(--hh-admin);left:0;right:0;z-index:61;background:color-mix(in srgb,var(--on-primary) 35%,transparent)!important;border-bottom:1px solid color-mix(in srgb,var(--on-deep) 12%,transparent)}
body.home .main-bar-sticky:not(.is-fixed){position:absolute;top:calc(var(--hh-admin) + var(--hh-offer));left:0;right:0;z-index:60}
body.home .main-bar-sticky + div[aria-hidden="true"]:not([id]){display:none!important}
body.home .ps-hx{--hx-top:var(--hh-admin)}
body.home .ps-hx .wp-block-cover__inner-container{padding-top:calc(var(--hh-offer) + var(--hh-bar))}
body.home .ps-hx .wp-block-cover__background::after{content:"";position:absolute;left:0;right:0;top:0;height:220px;background:linear-gradient(180deg,color-mix(in srgb,var(--on-primary) 55%,transparent),transparent);pointer-events:none}
/* État transparent (haut de page) */
body.home .main-bar-sticky:not(.is-scrolled) .main-bar{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
body.home .main-bar-sticky:not(.is-scrolled) .p-logo--on-light{display:none!important}
body.home .main-bar-sticky:not(.is-scrolled) .p-logo--on-dark{display:block!important}
body.home .main-bar-sticky:not(.is-scrolled) .main-bar__link{color:color-mix(in srgb,var(--on-deep) 80%,transparent)!important;background:transparent!important}
body.home .main-bar-sticky:not(.is-scrolled) .main-bar__link:hover{color:var(--on-deep)!important;background:color-mix(in srgb,var(--on-deep) 10%,transparent)!important}
body.home .main-bar-sticky:not(.is-scrolled) .main-bar__link[aria-current="page"]{color:var(--on-deep)!important;background:color-mix(in srgb,var(--on-deep) 15%,transparent)!important}
body.home .main-bar-sticky:not(.is-scrolled) .main-bar__actions .p-btn--ghost{color:var(--on-deep)!important;border-color:transparent!important}
body.home .main-bar-sticky:not(.is-scrolled) .main-bar__actions .p-btn--ghost:hover{background:color-mix(in srgb,var(--on-deep) 10%,transparent)!important}
body.home .main-bar-sticky:not(.is-scrolled) .main-bar__burger{background:color-mix(in srgb,var(--on-deep) 14%,transparent)!important;color:var(--on-deep)!important;border:1px solid color-mix(in srgb,var(--on-deep) 22%,transparent)!important}
/* Menu mobile ouvert : on repasse en clair pour la lisibilité */
body.home .main-bar-sticky:not(.is-scrolled):has(#mnav[style*="flex"]) .main-bar{background:var(--surface)!important}
body.home .main-bar-sticky:not(.is-scrolled):has(#mnav[style*="flex"]) .p-logo--on-light{display:block!important}
body.home .main-bar-sticky:not(.is-scrolled):has(#mnav[style*="flex"]) .p-logo--on-dark{display:none!important}
body.home .main-bar-sticky:not(.is-scrolled):has(#mnav[style*="flex"]) .main-bar__burger{background:var(--surface-soft)!important;color:var(--ink)!important;border-color:transparent!important}
/* État au défilement : pilule claire flottante */
body.home .main-bar-sticky.is-scrolled{padding:10px 20px 0;background:transparent!important;box-shadow:none!important}
body.home .main-bar-sticky.is-scrolled .main-bar{border-radius:var(--radius-pill);background:color-mix(in srgb,var(--surface) 90%,transparent)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid var(--border)!important;box-shadow:var(--shadow-md)!important;max-width:1360px;margin:0 auto}
body.home .main-bar-sticky.is-scrolled .main-bar__inner{border:0!important}
body.home .main-bar,body.home .main-bar__link{transition:background-color var(--duration-base),color var(--duration-base),border-radius var(--duration-base)}
@media (max-width:980px){body.home .main-bar-sticky.is-scrolled{padding:8px 10px 0}}
@media (prefers-reduced-motion:reduce){body.home .main-bar,body.home .main-bar__link{transition:none}}
body.home .main-bar-sticky.is-fixed{top:var(--hh-admin)!important}
/* Accueil : menu mobile ouvert en haut de page, mode sombre */
html[data-theme="dark"] body.home .main-bar-sticky:not(.is-scrolled):has(#mnav[style*="flex"]) .p-logo--on-light{display:none!important}
html[data-theme="dark"] body.home .main-bar-sticky:not(.is-scrolled):has(#mnav[style*="flex"]) .p-logo--on-dark{display:block!important}
body.home .main-bar-sticky:not(.is-scrolled):has(#mnav[style*="flex"]) .main-bar{border-bottom:1px solid var(--border)!important}

/* ===== Hero accueil mobile : tient dans l'écran visible, CTA jamais sous la barre du navigateur (19/11) ===== */
@media (max-width:980px){
body.home .ps-hx.ps-hx.ps-hx{min-height:calc(100svh - var(--wp-admin--admin-bar--height,0px))!important;height:auto!important;align-items:flex-end!important}
body.home .ps-hx.ps-hx .ps-hx__grid.ps-hx__grid{min-height:0!important;padding-top:clamp(16px,4svh,40px)!important;padding-bottom:calc(clamp(20px,3.5svh,32px) + env(safe-area-inset-bottom,0px))!important}
}
@media (max-width:980px) and (max-height:600px){
body.home .ps-hx.ps-hx .ps-hx__lead.ps-hx__lead{display:none!important}
}
