/* Original ACE4RSE palette; restored scroll narratives and refined media. */
.home-rhythm #expertises .story3{margin-top:32px;gap:55px}
.home-rhythm #expertises .story3__in{top:130px;min-height:320px}
.home-rhythm #expertises .st3__h{font-size:var(--type-h1);line-height:1.04;letter-spacing:-.048em}
.home-rhythm #expertises .sp3{min-height:min(62vh,510px);padding-block:45px}
.home-rhythm #expertises .sp3 p{font-size:17px;line-height:1.65}
.home-rhythm #expertises .story2__bar{top:285px}
.home-rhythm #expertises .sp3 ul{margin-bottom:20px}
.hosted-hos{position:relative;aspect-ratio:16/10;background:var(--k);border-radius:var(--r);overflow:hidden;min-width:0}
.hosted-hos-player{display:block;width:100%;height:100%;object-fit:contain;background:var(--k)}
.hosted-hos-player[hidden],.hosted-hos-cover[hidden]{display:none}
.hosted-hos-cover{display:block;position:absolute;inset:0;width:100%;height:100%;text-align:left;overflow:hidden}
.hosted-hos-cover>img{width:100%;height:100%;object-fit:cover;object-position:center 42%;transition:transform .9s var(--ease)}
.hosted-hos-cover:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.7))}
.hosted-hos-cover:hover>img{transform:scale(1.035)}
.hosted-hos-caption{position:absolute;z-index:2;left:25px;right:90px;bottom:24px;color:#fff}
.hosted-hos-caption>small{font-size:9px;letter-spacing:.13em;display:block;margin-bottom:9px;color:#e0e9d7}
.hosted-hos-caption>b{font-family:'Inter Tight','Inter',sans-serif;font-size:25px;line-height:1.12;letter-spacing:-.035em;display:block;font-weight:600}
.hosted-hos-play{position:absolute;z-index:2;right:23px;bottom:26px;display:grid;place-items:center;width:55px;height:55px;border-radius:50%;background:#fff;color:var(--k);box-shadow:0 0 0 8px #ffffff1a}
.hosted-hos-play svg{width:24px;height:24px}
.home-rhythm #hosmony .hos-overview{align-items:center}
.home-rhythm #lvs{height:290vh;margin-top:38px;margin-bottom:20px}
.home-rhythm #lvs .lv{position:sticky;top:96px;padding:26px;background:var(--w);border:1px solid var(--g2);border-radius:var(--r);box-shadow:0 18px 50px -38px #0004}
.home-rhythm #lvs .lv__h{margin-bottom:20px;gap:12px}
.home-rhythm #lvs .lv__h>b{font-size:22px}.home-rhythm #lvs .lv__h>span{font-size:12px}
.home-rhythm #lvs .lv__b{grid-template-columns:1.1fr .9fr;gap:28px;align-items:center}
.home-rhythm #lvs .tree{width:100%;aspect-ratio:1140/830;min-width:0}
.home-rhythm #lvs .lv__g{display:flex;flex-direction:column-reverse;gap:6px;padding-left:20px}
.home-rhythm #lvs .lvl{padding:11px 15px;min-height:0}
.home-rhythm #lvs .lvl b{font-size:17px;margin:0}
.home-rhythm #lvs .lvl em{font-size:11px}.home-rhythm #lvs .lvl .tx{font-size:12px;line-height:1.55}
.home-rhythm #lvs .lvl.on .tx{margin-top:8px;max-height:120px}
.home-rhythm #lvs .tree .trunk{clip-path:inset(calc((1 - var(--g,0)) * 100%) 0 0 0);transition:clip-path .18s linear}
.home-rhythm #lvs .tree .leaf{opacity:0;transform:scale(.4) rotate(-15deg);transition:opacity .6s,transform .6s var(--ease)}
.home-rhythm #lvs .tree .leaf.done{opacity:1;transform:scale(1)}
.home-rhythm #lvs .tree .leaf.on{opacity:1;transform:scale(1.1)}
/* A balanced product mockup, built around the three established functions. */
.premium-demo{background:#fff;border:1px solid #e0e4da;border-radius:17px;overflow:hidden;box-shadow:0 25px 65px -32px rgba(6,6,6,.25);color:#1b2118;font-family:'Inter',sans-serif;min-width:0;width:100%}
.pd-top{height:58px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e7eae2;background:#fff}
.pd-brand{display:flex;align-items:center;gap:8px;font-size:13px;letter-spacing:-.025em}.pd-brand img{width:28px;height:28px}.pd-brand b{font-weight:600}
.pd-demo-badge{font-size:7px;letter-spacing:.1em;border:1px solid #dbe2d2;border-radius:5px;padding:5px 7px;color:#627153;background:#f7f9f3}
.pd-body{display:grid;grid-template-columns:125px minmax(0,1fr);min-height:365px}
.pd-sidebar{background:#141a12;color:#a9b59f;padding:25px 13px;display:flex;flex-direction:column;gap:5px;font-size:9px}
.pd-sidebar>span{display:block;padding:11px 10px;border-radius:6px}
.pd-sidebar>.pd-nav-active{background:#283323;color:#d3e6b6}
.pd-side-label{margin-top:auto;border-top:1px solid #35402f;padding:22px 7px 0;font-size:7px;letter-spacing:.07em}
.pd-side-label strong{display:block;color:#e5f0d9;font-size:14px;letter-spacing:-.025em;margin-top:9px;font-weight:500}
.pd-side-label i{display:block;height:3px;border-radius:3px;background:linear-gradient(90deg,#bfdc8c 58%,#3c4b34 58%);margin-top:13px}
.pd-main{padding:24px;min-width:0;background:#f7f8f5}
.pd-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px}
.pd-heading small{font-size:7px;color:#7e8974;letter-spacing:.1em;display:block;margin-bottom:7px}
.pd-heading b{display:block;font-family:'Inter Tight','Inter',sans-serif;font-size:18px;line-height:1.15;font-weight:600;letter-spacing:-.035em}
.pd-period{font-size:8px;color:#65735a;padding:6px 8px;border:1px solid #dde3d6;border-radius:5px;white-space:nowrap;background:#fff}
.pd-tabs{display:flex;gap:22px;border-bottom:1px solid #dfe4d8;margin-bottom:18px}
.pd-tabs>button{font-size:10px;font-weight:500;color:#7b8571;padding:0 0 11px;position:relative}
.pd-tabs>button[aria-selected=true]{color:#1b2714}
.pd-tabs>button[aria-selected=true]:after{content:'';height:2px;background:var(--olive);position:absolute;bottom:-1px;left:0;right:0}
.pd-panel[hidden]{display:none}.pd-panel{min-height:238px}
.pd-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:14px}
.pd-metrics>div{padding:14px 12px;background:#fff;border:1px solid #e2e7dc;border-radius:8px;min-width:0}
.pd-metrics span{display:block;font-size:8px;color:#76816b;margin-bottom:11px;line-height:1.4}
.pd-metrics strong{font-family:'Inter Tight','Inter',sans-serif;font-size:19px;line-height:1.1;letter-spacing:-.03em;font-weight:600;display:block}
.pd-metrics strong small{font-size:12px;font-weight:400;color:#929b89}
.pd-metrics em{font-size:7px;color:#8c9681;font-style:normal;display:block;margin-top:8px}
.pd-graph-card{padding:14px 15px 9px;background:#fff;border:1px solid #e2e7dc;border-radius:8px}
.pd-graph-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px;font-size:9px}
.pd-graph-title>b{font-size:10px;font-weight:500}.pd-graph-title>span{font-size:7px;color:#849076;display:flex;gap:5px;align-items:center}
.pd-graph-title i{width:5px;height:5px;border-radius:50%;background:var(--olive)}
.pd-chart{width:100%;height:auto;display:block;max-height:150px}
.pd-months{display:flex;justify-content:space-between;font-size:7px;color:#929b89;margin-top:5px}
.pd-footer{padding:11px 20px;border-top:1px solid #e5e9df;display:flex;justify-content:space-between;gap:14px;font-size:7px;color:#8c9780;background:#fff}
.pd-footer>span:first-child{display:flex;align-items:center;gap:6px}.pd-footer i{width:4px;height:4px;border-radius:50%;background:var(--olive)}
.pd-rse-intro{display:grid;grid-template-columns:1fr 72px;gap:18px;align-items:center;margin-bottom:15px;padding:18px;background:#fff;border:1px solid #e2e7dc;border-radius:8px}
.pd-rse-intro small{font-size:7px;color:#849076;letter-spacing:.07em}.pd-rse-intro strong{font-family:'Inter Tight','Inter',sans-serif;font-size:22px;display:block;letter-spacing:-.035em;font-weight:500;margin-top:6px}
.type-unified .pd-rse-intro p{font-size:9px!important;line-height:1.6;margin:8px 0 0;color:#7d8871}
.pd-ring{width:65px;height:65px;display:grid;place-items:center;background:conic-gradient(#74974a 0 240deg,#e9eee3 240deg);border-radius:50%;position:relative}
.pd-ring:before{content:'';position:absolute;inset:7px;background:#fff;border-radius:50%}.pd-ring>span{position:relative;z-index:1;font-size:18px;letter-spacing:-.05em}.pd-ring small{font-size:9px}
.pd-indicator{display:grid;grid-template-columns:1fr auto;gap:12px;padding:12px 0;border-bottom:1px solid #e1e6db;font-size:9px}
.pd-indicator b{font-weight:400;color:#819073;font-size:8px}.pd-indicator i{display:block;grid-column:1/-1;height:3px;border-radius:3px;background:linear-gradient(90deg,#92ac6c var(--fill),#e1e7d9 var(--fill))}
.pd-action-heading{display:flex;flex-direction:column;gap:6px;margin-bottom:19px}.pd-action-heading b{font-family:'Inter Tight','Inter',sans-serif;font-size:18px;letter-spacing:-.03em}.pd-action-heading span{font-size:8px;color:#8d9881}
.pd-task{display:flex;align-items:center;gap:11px;border:1px solid #e1e6db;border-radius:8px;padding:15px 12px;margin-bottom:10px;background:#fff}
.pd-check{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#edf3e4;color:#6c8b43;font-size:11px}
.pd-task b{font-size:10px;font-weight:500;display:block}.pd-task small{font-size:8px;color:#8c9782;display:block;margin-top:5px}
.pd-task em{margin-left:auto;font-size:7px;border-radius:4px;padding:5px 7px;background:#edf3e4;color:#6c8b43;font-style:normal;white-space:nowrap}
.pd-task em.pending{background:#f1f1eb;color:#8b8f7c}.pd-check.pending{background:#f1f1eb;color:#8b8f7c}
.home-rhythm #mydad .md{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:40px}
.home-rhythm #mydad .md__f li{grid-template-columns:1fr;gap:4px}
.home-rhythm #mydad .md__f span{font-size:14px}
.premium-press-wall{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:27px}
.premium-press-wall .pw__i{width:100%;min-height:90px;border:1px solid var(--g2);border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;padding:20px}
.premium-press-wall img{max-width:135px;width:100%;height:36px;object-fit:contain;filter:grayscale(1);opacity:.85;transition:filter .3s,opacity .3s}
.premium-press-wall a:hover img{filter:none;opacity:1}
/* Faces stay within the image frame, on the home and cabinet pages. */
.mb .p{aspect-ratio:4/5!important;background:#f2f3ef}
.mb .p img{object-fit:contain!important;object-position:center center!important;filter:none}
.home-rhythm #equipe .mb .p{aspect-ratio:4/5}
@media(max-width:1100px){.home-rhythm #mydad .md{grid-template-columns:minmax(0,1fr)}.home-rhythm #mydad .md__t{max-width:680px}.home-rhythm #mydad .md__f{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:none}.home-rhythm #mydad .md__f li{gap:8px;align-content:start}.home-rhythm #mydad .md__v{max-width:none}.pd-body{grid-template-columns:145px minmax(0,1fr)}.pd-main{padding:28px}.pd-heading b{font-size:22px}.pd-chart{max-height:190px}.pd-metrics strong{font-size:23px}.pd-panel{min-height:295px}.premium-press-wall{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:780px){.home-rhythm #expertises .story3{grid-template-columns:1fr;gap:0}.home-rhythm #expertises .story3__l{display:none}.home-rhythm #expertises .sp3{min-height:0;opacity:1;padding-block:30px}.home-rhythm #expertises .sp3__m{display:block;font-size:28px}.home-rhythm #expertises .sp3__n{display:block}.home-rhythm #lvs{height:285vh}.home-rhythm #lvs .lv{top:88px;padding:18px}.home-rhythm #lvs .lv__h{margin-bottom:15px}.home-rhythm #lvs .lv__h>b{font-size:18px}.home-rhythm #lvs .lv__h>span{font-size:11px}.home-rhythm #lvs .lv__b{grid-template-columns:1fr;gap:15px}.home-rhythm #lvs .tree{width:280px;max-width:100%;margin:0 auto}.home-rhythm #lvs .lv__g{flex-direction:row;padding:0 0 8px;overflow-x:auto;align-items:stretch;gap:7px}.home-rhythm #lvs .lv__g:before,.home-rhythm #lvs .lv__g:after{display:none}.home-rhythm #lvs .lvl{min-width:160px;max-width:160px;display:flex;flex-direction:column;align-items:flex-start;padding:13px}.home-rhythm #lvs .lvl .st{display:none}.home-rhythm #lvs .lvl .tx{display:none}.home-rhythm #lvs .lvl.on .tx{display:block;margin-top:6px;max-height:130px;font-size:10px}.home-rhythm #lvs .lvl em{font-size:10px}.home-rhythm #lvs .lvl b{font-size:15px}.hosted-hos{aspect-ratio:16/10}.hosted-hos-caption{left:19px;bottom:20px;right:75px}.hosted-hos-caption>b{font-size:22px}.hosted-hos-play{width:45px;height:45px;right:17px;bottom:22px}.premium-press-wall{grid-template-columns:repeat(3,minmax(0,1fr))}.premium-press-wall .pw__i{min-height:75px;padding:15px}.premium-press-wall img{height:29px}}
@media(max-width:640px){.pd-top{height:49px;padding-inline:13px}.pd-brand{font-size:11px}.pd-demo-badge{font-size:6px;padding:4px}.pd-body{grid-template-columns:minmax(0,1fr)}.pd-sidebar{display:none}.pd-main{padding:17px}.pd-heading b{font-size:18px}.pd-period{font-size:7px}.pd-heading{margin-bottom:17px}.pd-tabs{gap:24px}.pd-tabs>button{font-size:10px}.pd-metrics{gap:7px}.pd-metrics>div{padding:13px 9px}.pd-metrics strong{font-size:17px}.pd-metrics span{font-size:8px}.pd-metrics em{font-size:6px}.pd-panel{min-height:260px}.pd-graph-title>span{font-size:6px}.pd-footer{font-size:6px;padding:10px 13px;gap:10px}.pd-task{padding:15px 9px;gap:9px}.pd-task b{font-size:9px}.pd-task small{font-size:7px}.home-rhythm #mydad .md__f{grid-template-columns:1fr;gap:0}.home-rhythm #mydad .md__f li{gap:3px}.premium-press-wall{grid-template-columns:repeat(2,minmax(0,1fr))}.premium-press-wall .pw__i{min-height:76px;padding:18px}.home-rhythm #equipe .mb .p{aspect-ratio:4/5!important}}
@media(prefers-reduced-motion:reduce){.home-rhythm #lvs{height:auto}.home-rhythm #lvs .lv{position:static}.home-rhythm #lvs .tree .trunk{clip-path:none}.home-rhythm #lvs .tree .leaf{opacity:1;transform:none}.home-rhythm #expertises .sp3{opacity:1}.pd-line{stroke-dashoffset:0}.hosted-hos-cover>img{transition:none}}
.md__logo img[src*="logo-mydad-officiel"]{width:180px;height:auto;max-height:none;object-fit:contain}
.pd-brand img[src*="logo-mydad-officiel"]{width:105px;height:auto;max-height:49px;object-fit:contain}
.cgp-impact{background:var(--g1);border-top:1px solid var(--g2);scroll-margin-top:95px}
.cgp-layout{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}
.cgp-layout>div:first-child>p{max-width:480px;margin:23px 0 26px}
.cgp-layout .btn{font-size:13px}
.cgp-capabilities{display:grid;gap:0}
.cgp-capabilities>div{display:grid;grid-template-columns:28px 1fr;gap:15px;padding:20px 0;border-top:1px solid var(--g2)}
.cgp-capabilities>div>span{font-size:11px;color:var(--olive);padding-top:4px;font-weight:600}
.type-unified .cgp-capabilities h3{font-size:21px;line-height:1.2;letter-spacing:-.025em;margin-bottom:9px}
.type-unified .cgp-capabilities p{font-size:14px;line-height:1.65;color:var(--g4)}
.pd-tabs{gap:18px}.pd-tabs>button{font-size:9px;white-space:nowrap}
.home-rhythm .sig{font-size:12px;letter-spacing:.035em}
@media(max-width:780px){.cgp-layout{grid-template-columns:1fr;gap:30px}.cgp-layout>div:first-child>p{max-width:100%}.pd-tabs{gap:16px}.pd-tabs>button{font-size:8px}.home-rhythm .sig{font-size:10px;gap:8px}}
/* Product controls stay legible at their displayed size. */
.pd-tabs>button{font-size:11px}.pd-sidebar{font-size:11px}.pd-demo-badge,.pd-heading small,.pd-period,.pd-metrics em,.pd-months,.pd-footer{font-size:9px}.pd-metrics span,.pd-graph-title>b,.pd-task b,.pd-indicator{font-size:11px}.pd-graph-title>span,.pd-task small,.pd-indicator b,.pd-action-heading span,.pd-rse-intro small{font-size:10px}.type-unified .pd-rse-intro p{font-size:11px!important}
@media(max-width:640px){.pd-tabs{gap:12px}.pd-tabs>button{font-size:9px}.pd-main{padding:15px}.pd-metrics span,.pd-task b,.pd-indicator{font-size:10px}.pd-heading small,.pd-period,.pd-metrics em,.pd-footer,.pd-months{font-size:8px}.pd-task small,.pd-indicator b,.pd-action-heading span{font-size:9px}.pd-heading{gap:7px}}
