/* Mobile category navigation and a more spacious reading rhythm. */
.mobile-nav-only{display:none}
@media(max-width:850px){
  [hidden]{display:none!important}
  html.mobile-categories{scroll-behavior:auto}
  .header-inner.container{width:calc(100% - 40px);min-height:0;padding-block:14px 12px;display:flex;flex-wrap:wrap;gap:12px}
  .site-header .brand{width:100%;gap:12px}
  .site-header .brand img{width:44px;height:44px}
  .site-header .brand strong{font-size:21px}
  .site-header .brand small{font-size:10px;line-height:1.4}
  .site-header .menu-toggle{display:flex;flex-direction:row;justify-content:space-between;gap:12px;width:100%;height:auto;min-height:48px;padding:11px 14px;border:1px solid #ffffff45;border-radius:10px;color:var(--cream);background:#ffffff0c;text-align:left}
  .site-header .menu-toggle span{display:flex;align-items:center;gap:7px;transform:none!important;background:none;width:auto;height:auto;line-height:1.4}
  .site-header .menu-toggle .menu-current{font-size:15px;font-weight:600}
  .site-header .menu-toggle .menu-hint{font-size:12px;font-weight:400;flex-shrink:0;color:var(--cream)}
  .menu-hint svg{stroke:currentColor;stroke-width:1.5;transition:transform .2s}
  .menu-toggle[aria-expanded=true] .menu-hint svg{transform:rotate(180deg)}
  .site-header .header-inner nav{top:100%;left:0;right:0;margin:0;padding:10px 20px 18px;gap:2px;background:var(--forest);color:var(--cream);border:0;border-radius:0 0 18px 18px;box-shadow:0 15px 25px #102d2626;max-height:calc(100dvh - var(--header-height,140px));overflow-y:auto;overscroll-behavior:contain}
  .site-header .header-inner nav a{display:block;padding:12px 14px;border-radius:8px;min-height:48px;line-height:1.5;font-size:15px;font-weight:500;color:var(--cream)}
  .site-header .header-inner nav a[aria-current=page]{background:#ffffff16;text-decoration:none;box-shadow:inset 3px 0 var(--sand)}
  .site-header .header-inner nav .nav-contact{margin-top:5px;width:100%;border-color:#ffffff40;box-shadow:none}
  .site-header :is(a,button):focus-visible{outline:2px solid var(--cream);outline-offset:2px}
  .mobile-categories #contenu>section[id]{scroll-margin-top:24px}
  .mobile-categories #contenu>section:not(#accueil)::before{display:none}
  .mobile-categories #contenu{min-height:calc(100svh - var(--header-height,140px))}
  .mobile-categories .container,.tarifs-page main.container{width:min(620px,calc(100% - 48px))}
  .mobile-categories .section-space,.mobile-categories .theme-ecru .local-compact{padding-block:44px 56px}
  .mobile-categories .hero-banner{padding-block:40px 48px;gap:32px}
  .mobile-categories .hero-banner .hero-copy{text-align:left}
  .mobile-categories .hero .eyebrow{font-size:10px;line-height:1.8;letter-spacing:.08em;margin-bottom:24px;align-items:flex-start}
  .mobile-categories .hero-banner h1{font-size:clamp(36px,8vw,52px);line-height:1.16;letter-spacing:-.045em}
  .mobile-categories .hero-banner .hero-title-follow{display:block;font-size:22px;line-height:1.5;white-space:normal;margin-top:18px;max-width:28ch}
  .mobile-categories .hero-qualification{font-size:13px;line-height:1.75;margin-top:26px;justify-content:flex-start}
  .mobile-categories .hero-banner .hero-visual{display:flex;flex-direction:column;gap:36px;padding:0}
  .mobile-categories .hero-banner .hero-session{display:flex;flex-direction:column;gap:28px}
  .mobile-categories .hero-banner .hero-summary{padding:0}
  .mobile-categories .hero-banner .hero-session .hero-description{font-size:16px;line-height:1.85;text-align:left;margin:0 0 26px;max-width:none}
  .mobile-categories .hero-action{text-align:left}
  .mobile-categories .hero-action .button{width:100%;padding:16px;gap:16px;font-size:14px}
  .mobile-categories .hero-action .cta-note{font-size:12px;line-height:1.6;margin-top:14px;text-align:center}
  .mobile-categories .theme-ecru .hero-audience{padding:28px 24px;width:100%;max-width:none}
  .mobile-categories .hero-audience h2{font-size:30px;margin-bottom:18px}
  .mobile-categories .hero-audience-intro{font-size:15px;line-height:1.85}
  .mobile-categories .hero-audience-list{margin-top:22px}
  .mobile-categories .hero-audience-list li{font-size:15px;line-height:1.8;margin-top:15px}
  .mobile-categories .theme-ecru .reassurance{grid-template-columns:1fr;width:calc(100% - 48px);padding:28px 24px;gap:20px;margin-bottom:44px}
  .mobile-categories .theme-ecru .reassurance p{font-size:13px;line-height:1.6}
  .mobile-categories #contenu .section-title{font-size:clamp(26px,8vw,34px);line-height:1.25;overflow-wrap:break-word}
  .mobile-categories #contenu .section-tagline{font-size:19px;line-height:1.65;margin:18px 0 28px}
  .mobile-categories .journey-heading{gap:12px}
  .mobile-categories .journey-intro p{font-size:16px;line-height:1.85}
  .mobile-categories .journey-scroll{margin-top:32px}
  .mobile-categories .journey-light .journey-timeline .step h3{font-size:21px;line-height:1.45;white-space:normal}
  .mobile-categories .journey-light .journey-timeline .step :is(li,p){font-size:15px;line-height:1.8}
  .mobile-categories .duo-banner{margin-top:40px;padding:28px 24px;gap:22px}
  .mobile-categories .duo-banner p,.mobile-categories .journey-continuity p,.mobile-categories .journey-other-offers .partner-panel>p:not(.eyebrow){font-size:15px;line-height:1.85}
  .mobile-categories .journey-continuity{margin-top:36px;padding-block:28px}
  .mobile-categories .journey-other-offers{gap:28px;margin-top:36px}
  .mobile-categories .apa-section .apa-definitions{gap:32px}
  .mobile-categories .apa-section .definition-row{padding:28px 24px;gap:24px}
  .mobile-categories .apa-section .apa-definitions p{font-size:16px;line-height:1.85}
  .mobile-categories .apa-section .goals-panel{margin-top:12px;padding:28px 24px}
  .mobile-categories .apa-section .goals-panel .goals-list li{padding-block:14px;font-size:15px;line-height:1.7}
  .mobile-categories .therapy-prescription{margin-block:40px}
  .mobile-categories .benefits-map{padding-top:40px}
  .mobile-categories .about-section-heading{margin-bottom:32px}
  .mobile-categories .about-layout{gap:32px}
  .mobile-categories .about-copy>p:not(.eyebrow){font-size:16px;line-height:1.9;margin-top:24px}
  .mobile-categories .about-qualifications{margin-top:36px;gap:24px}
  .mobile-categories .local-compact .local-grid{gap:36px}
  .mobile-categories .local p:not(.eyebrow){font-size:16px;line-height:1.85}
  .mobile-categories .towns{gap:12px;margin-top:28px}
  .mobile-categories .towns span{font-size:12px;padding:8px 12px}
  .mobile-categories .theme-ecru .contact-section{padding-bottom:52px}
  .mobile-categories .theme-ecru .contact-section .contact-grid{margin-top:36px}
  .mobile-categories .contact-copy>p:not(.eyebrow){font-size:16px;line-height:1.85}
  .mobile-categories .contact-section .button-light{font-size:14px;padding:16px;gap:14px}
  .mobile-categories .contact-next-steps{margin-top:32px;padding-top:24px}
  .mobile-categories .contact-next-steps p{font-size:15px;line-height:1.85}
  .tarifs-page .tarifs-section{padding-block:44px 56px}
  .tarifs-page .tarifs-heading{margin-bottom:36px}
  .tarifs-page .pricing-grid{gap:32px}
  .tarifs-page .pricing-card{padding:32px 26px}
  .tarifs-page .pricing-card :is(p,li){font-size:15px;line-height:1.85}
  .tarifs-page .pricing-card li{padding-block:10px}
  .tarifs-page .tarifs-contact{margin-top:40px;padding-block:32px}
  .mobile-categories .theme-ecru .site-footer,.tarifs-page.theme-ecru .site-footer{width:100%;max-width:none;margin:0;row-gap:24px;padding-top:30px;padding-bottom:env(safe-area-inset-bottom,0px)}
  .theme-ecru .footer-bottom{gap:20px;padding-block:20px;font-size:12px}
  .theme-ecru .footer-bottom a{display:inline-block;padding-block:8px}
}

@media(max-width:850px){
  /* A vertical illustrated path: all three steps fit the phone's width. */
  .mobile-categories .journey-scroll{overflow:visible;margin:36px 0 0;padding:0}
  .mobile-categories .journey .journey-timeline{display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;max-width:100%;gap:28px;margin:0;padding:0 0 0 25px;position:relative}
  .mobile-categories .journey .journey-timeline::before{top:22px;bottom:22px;left:0;width:2px;height:auto;background:var(--sand);opacity:1}
  .mobile-categories .theme-forest .journey-light .journey-timeline .step{padding:22px 22px 18px;border-radius:22px;min-width:0;overflow:visible;container-type:normal}
  .mobile-categories .journey-light .journey-timeline .step::before{top:20px;left:-39px;width:30px;height:30px;border:4px solid var(--cream);box-shadow:none;font-size:12px;line-height:1;display:grid;place-items:center}
  .mobile-categories .journey-light .journey-timeline .step::after{border-radius:22px}
  .mobile-categories .journey-timeline .step-top{margin:0 0 8px}
  .mobile-categories .journey-timeline .step-label{font-size:12px;letter-spacing:.09em}
  .mobile-categories .journey-timeline .step-illustration{width:100%;height:185px;max-width:none;margin:8px 0 16px;object-fit:contain}
  .mobile-categories .journey-light .journey-timeline .step h3{font-family:var(--serif);font-size:24px;font-weight:500;line-height:1.3;margin:0 0 16px;white-space:normal}
  .mobile-categories .journey-timeline .step-points{margin-top:22px;gap:12px}
  .mobile-categories .journey-timeline .step .session-finish{margin-top:22px}
  .mobile-categories .journey-motion-controls{margin-top:18px}
  .mobile-detail-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;border:0;background:transparent;color:inherit;padding:0;text-align:left;font:inherit;cursor:pointer}
  .mobile-detail-label{display:block;min-width:0}
  .mobile-detail-label>span{display:block}
  .mobile-detail-label small{display:block;font:500 12px/1.5 var(--sans);letter-spacing:0;margin-top:12px;opacity:.85}
  .mobile-detail-arrow{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border:1px solid currentColor;border-radius:50%}
  .mobile-detail-arrow svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s}
  [aria-expanded=true]>.mobile-detail-arrow svg{transform:rotate(180deg)}
  .mobile-categories .journey-timeline .mobile-detail-toggle{min-height:46px;border-top:1px solid #ffffff35;padding-top:12px;font:500 13px/1.5 var(--sans);color:var(--cream)}
  .mobile-categories .journey-timeline .mobile-detail-arrow{width:30px;height:30px}
  .mobile-categories .journey-light .journey-timeline .mobile-detail-toggle:focus-visible{outline-color:var(--cream)}
  /* The two other formats open only when the visitor asks for details. */
  .mobile-categories .journey-other-offers{grid-template-columns:1fr;gap:16px}
  .mobile-categories .journey-other-offers .partner-panel{padding:24px;border-radius:20px;min-height:0}
  .mobile-categories .journey-other-offers .offer-top{margin-bottom:12px;gap:10px}
  .mobile-categories .journey-other-offers .offer-top .eyebrow{font-size:10px;margin:0}
  .mobile-categories .journey-other-offers .offer-illustration{width:30px;height:30px}
  .mobile-categories .journey-other-offers .partner-panel h3{font-size:24px;line-height:1.3;margin:0}
  .mobile-categories .journey-other-offers .partner-panel>p{margin-top:24px}
  .mobile-categories .journey-other-offers .partner-panel .text-link{margin-top:24px;font-size:13px;padding-top:0}
  /* A tap reveals the benefits with a gentle zoom-out from the illustration. */
  .mobile-categories .benefits-map.has-mobile-details{padding:28px 0;border:0;border-radius:0;overflow:clip}
  .mobile-categories .benefits-map.has-mobile-details .benefits-map-heading{margin-bottom:0}
  .mobile-categories .benefits-map.has-mobile-details #benefits-title{font-size:26px;line-height:1.3}
  .mobile-benefits-toggle{display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:center;gap:20px;width:100%;padding:24px;border:1px solid var(--line);border-radius:24px;background:var(--cream-soft);color:var(--forest);font:inherit;letter-spacing:inherit;text-align:left;cursor:pointer}
  .mobile-benefits-image{grid-column:1/-1;justify-self:center;width:110px;height:140px;object-fit:contain;transition:height .5s,width .5s}
  .mobile-benefits-toggle .mobile-detail-label small{font-size:13px}
  .mobile-benefits-toggle[aria-expanded=true] .mobile-benefits-image{width:70px;height:88px}
  .mobile-categories .benefits-map.mobile-details-open .section-tagline{margin-top:28px}
  .mobile-categories .benefits-map .benefits-orbit{transform-origin:50% 0;margin-top:28px}
  .mobile-categories .benefits-map.mobile-details-open .benefits-hub{display:none}
  .mobile-categories .benefits-map.mobile-details-open .benefits-orbit{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;gap:14px}
  .mobile-categories .benefits-map.mobile-details-open .benefit-node{grid-column:auto;grid-row:auto;min-width:0;padding:20px 12px;height:auto;min-height:130px}
  .mobile-categories .benefits-map.mobile-details-open .benefit-node.node-6{grid-column:1/-1}
  .mobile-categories .benefits-map.mobile-details-open .benefit-metric .metric-statement{display:block;white-space:normal;width:auto;max-width:100%;line-height:1.6}
  .mobile-categories .benefits-map.mobile-details-open .benefit-metric .metric-statement strong{display:block;margin-bottom:4px}
  .mobile-categories .benefits-map.mobile-details-open .benefits-arrows{display:none}
}
@media(max-width:380px){
  .mobile-categories .theme-forest .journey-light .journey-timeline .step{padding-inline:18px}
  .mobile-categories .journey-timeline .step-illustration{height:165px}
}
@media(prefers-reduced-motion:reduce){
  .mobile-detail-arrow svg,.mobile-benefits-image{transition:none}
}
