/* Pages d'expertise (hors /power-apps) : habillage commun, repris de coherence.html et pied-power-apps.html. Généré par video-accueil/expertises/habillage/generer.py */

/* 1. Haut de page allégé : un titre, une phrase, un bouton, la carte de rendez-vous */
html body .ydx-hero-proof,html body .ydx-trust,html body .ydx-hero .ydx-takeaway,html body .ydx-hero .ydx-rdv-foot,html body .ydx-hero-l .ydx-btn.ydx-sec2{display:none!important}
html body .ydx-hero-l .ydx-lead{font-size:1.25rem;line-height:1.5;letter-spacing:-.02em;max-width:31rem}
html body .ydx-hero-l .ydx-btn-row{margin-bottom:0}
/* 2. Titres de section à la taille de l'accueil */
html body .ydx h2:not(.ydx-h1){font-size:2.6rem!important;line-height:1.1!important;letter-spacing:-.035em!important}
html body .ydx .ydx-rdv h2,html body .ydx .ydx-band h2{font-size:1.9rem!important}
@media(max-width:767px){html body .ydx h2:not(.ydx-h1){font-size:1.9rem!important}}
/* 3. FAQ : la même carte que sur l'accueil */
html body .ydx-faq{align-items:start;gap:3rem;padding-bottom:6.5rem;counter-reset:ydq}
html body .ydx-faq-l{border:0!important}
html body .ydx-faq>[itemtype]{margin:6.5rem 2.5rem 0 0;background:#fff;border:1px solid #EFE8DF;border-radius:20px;overflow:hidden;box-shadow:0 1px 0 rgba(37,36,40,.02),0 30px 60px -44px rgba(37,36,40,.28)}
html body .ydx-faq details{position:relative;border-top:1px solid #EFE8DF!important;background:#fff;transition:background .35s ease;counter-increment:ydq}
html body .ydx-faq details:first-child{border-top:0!important}
html body .ydx-faq details::before{content:'';position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:0 3px 3px 0;background:#FA3D1D;transform:scaleY(0);transform-origin:50% 0;transition:transform .45s cubic-bezier(.2,.8,.2,1)}
html body .ydx-faq details[open]{background:linear-gradient(90deg,#FFF6F2 0,#FFFCF8 38%,#fff 100%)}
html body .ydx-faq details[open]::before{transform:scaleY(1)}
html body .ydx-faq summary{display:grid!important;grid-template-columns:2.5rem 1fr auto;align-items:center;gap:0 1rem;padding:1.5rem 1.75rem!important}
html body .ydx-faq summary::before{content:counter(ydq,decimal-leading-zero);font:600 .8125rem/1 'Stack Sans Text',Inter,sans-serif;letter-spacing:.02em;color:#BDB3A8;transition:color .3s}
html body .ydx-faq details[open] summary::before{color:#FA3D1D}
html body .ydx-faq summary h3{font:600 1.0625rem/1.35 'Stack Sans Text',Inter,sans-serif!important;letter-spacing:-.025em!important;color:#252428}
html body .ydx-faq summary::after{content:''!important;width:2.25rem;height:2.25rem;border-radius:50%;border:1px solid #EFE8DF;background:#fff linear-gradient(#FA3D1D,#FA3D1D) 50%/.75rem 1.5px no-repeat,#fff;background-image:linear-gradient(#FA3D1D,#FA3D1D),linear-gradient(#FA3D1D,#FA3D1D);background-size:.75rem 1.5px,1.5px .75rem;background-position:50%,50%;background-repeat:no-repeat;transform:none!important;transition:transform .5s cubic-bezier(.2,.8,.2,1),background-color .3s,border-color .3s}
html body .ydx-faq details[open] summary::after{background-color:#FA3D1D;border-color:#FA3D1D;background-image:linear-gradient(#fff,#fff),linear-gradient(#fff,#fff);transform:rotate(45deg)!important}
html body .ydx-faq details p{padding:0 5.5rem 1.75rem 5.25rem!important;font:400 .9688rem/1.62 Inter,sans-serif;color:#6F665E;max-width:44rem}
@media(hover:hover){html body .ydx-faq details:not([open]):hover{background:#FFFCF8}html body .ydx-faq details:not([open]):hover summary::before{color:#252428}html body .ydx-faq details:not([open]):hover summary::after{border-color:#FA3D1D;transform:rotate(90deg)!important}}
@media(max-width:991px){html body .ydx-faq{gap:0;padding-bottom:4rem}html body .ydx-faq>[itemtype]{margin:0 1.25rem}}
@media(max-width:600px){html body .ydx-faq>[itemtype]{border-radius:16px}html body .ydx-faq summary{grid-template-columns:1.75rem 1fr auto;gap:0 .75rem;padding:1.15rem 1rem!important}html body .ydx-faq summary h3{font-size:1rem!important}html body .ydx-faq summary::after{width:2rem;height:2rem}html body .ydx-faq details p{padding:0 1rem 1.25rem 3.5rem!important}}
/* 5. Chiffres et « En bref » : moins de traits, moins de texte */
html body .ydx-sec:has(.ydx-proof){border-bottom:0}
html body .ydx-proof a{border:0!important;padding:3rem 2.5rem 2.5rem}
html body .ydx-brief{grid-template-columns:5fr 7fr;align-items:start;padding:4.5rem 2.5rem 5rem;gap:4rem}
html body .ydx-brief-l{border:0!important;padding:0!important}
html body .ydx-brief-l h2{font-size:2.6rem!important;margin:.9rem 0 1rem}
html body .ydx-brief-l .ydb-p{font:400 1.125rem/1.5 Inter,sans-serif;color:#6F665E;margin:0 0 1.75rem;max-width:26rem}
html body .ydx-brief-l .ydx-small{margin-top:1.5rem}
html body .ydx-brief-r{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem 3rem;margin:0;padding:.5rem 0 0;list-style:none}
html body .ydx-brief-r li{display:block!important;border:0!important;padding:0!important}
html body .ydx-brief-r li b{display:block;font:600 1.125rem/1.3 'Stack Sans Text',Inter,sans-serif!important;letter-spacing:-.025em;color:#252428!important;margin-bottom:.4rem}
html body .ydx-brief-r li b::before{content:'';display:block;width:1.5rem;height:3px;border-radius:3px;background:#FA3D1D;margin-bottom:.9rem}
html body .ydx-brief-r li span{display:block;font:400 .9688rem/1.55 Inter,sans-serif;color:#6F665E}
html body .ydx-brief-r li a{display:inline-block;margin-top:.6rem;font:500 .9375rem/1.4 Inter,sans-serif;color:#252428;text-decoration:none!important}
html body .ydx-brief-r li a::after{content:' \2192';color:#FA3D1D}
html body .ydx-brief-r li a:hover{color:#FA3D1D}
html body .ydx-brief-r li.ydb-plus{grid-column:1/-1;padding-top:1.5rem!important;border-top:1px solid #EFE8DF!important;font:400 .9375rem/1.55 Inter,sans-serif;color:#6F665E}
html body .ydx-brief-r li.ydb-plus a{display:inline;margin:0;text-decoration:underline!important;text-decoration-color:#E9DFD5!important;text-underline-offset:3px}
html body .ydx-brief-r li.ydb-plus a::after{content:none}
@media(max-width:991px){html body .ydx-brief{grid-template-columns:1fr;gap:2.5rem;padding:3rem 1.25rem 3.5rem}html body .ydx-proof a{padding:1.75rem 1.25rem}}
@media(max-width:600px){html body .ydx-brief-r{grid-template-columns:1fr;gap:1.75rem}html body .ydx-brief-l h2{font-size:1.9rem!important}}

html body .ydh-logo{width:56px;height:56px;padding:11px;border-radius:14px;margin:0 0 1.25rem;display:block}
html body .ydx-brief{display:block;padding:4.5rem 2.5rem 5rem}
html body .ydx-brief .ydx-head-block{padding:0;margin:0 0 2.5rem}
html body .ydx-brief .yd3-svc{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#EAE2D8;border:1px solid #EAE2D8;border-radius:1.5rem;overflow:hidden}
html body .ydx-brief .yd3-svc-card{display:flex;flex-direction:column;gap:.75rem;background:#FFFCF8;padding:2.25rem 2rem 2rem;border:0;text-decoration:none;transition:background .25s}
html body .ydx-brief a.yd3-svc-card:hover{background:#fff}
html body .ydx-brief .yd3-svc-ic{display:flex;gap:8px}
html body .yd3-svc-logo{width:46px;height:46px;padding:9px;background:#fff;border:1px solid #EFE8DF;border-radius:12px;box-shadow:0 6px 14px -10px rgba(37,36,40,.45);object-fit:contain;box-sizing:border-box}
html body .ydx-brief .yd3-svc-go{font:500 .9375rem/1.5 Inter,sans-serif;color:#FA3D1D;padding-top:.5rem;margin-top:auto}
html body .ydx-brief .yd3-svc-title{font:500 1.3125rem/1.25 'Stack Sans Text',Inter,sans-serif;letter-spacing:-.03em;color:#252428;margin:.375rem 0 0}
html body .ydx-brief .yd3-svc-text{font:400 .9375rem/1.55 Inter,sans-serif;letter-spacing:-.02em;color:#857568;margin:0}
html body .ydx-brief .ydx-small{margin-top:1.5rem}
/* Carte Connectivité : logos empilés, qui se déplient au survol */
html body .ydk{gap:0!important}
html body .ydk .yd3-svc-logo{width:38px;height:38px;padding:7px;border-radius:11px;transition:margin .45s cubic-bezier(.2,.8,.2,1),transform .45s cubic-bezier(.2,.8,.2,1)}
html body .ydk .yd3-svc-logo+.yd3-svc-logo{margin-left:-21px}
html body .ydk .yd3-svc-logo:nth-child(odd){transform:rotate(-5deg)}
html body .ydk .yd3-svc-logo:nth-child(even){transform:rotate(4deg)}
html body .ydk span.yd3-svc-logo{display:grid;place-items:center;padding:0;font:600 .6875rem/1 Inter,sans-serif;letter-spacing:-.02em;color:#FA3D1D;white-space:nowrap}
html body .yd3-svc-card:hover .ydk .yd3-svc-logo{margin-left:3px;transform:none}
html body .yd3-svc-card:hover .ydk .yd3-svc-logo:first-child{margin-left:0}
@media(hover:none){html body .ydk .yd3-svc-logo+.yd3-svc-logo{margin-left:3px}html body .ydk .yd3-svc-logo{transform:none!important}}
/* Trois chiffres : le même bloc de cartes que le reste */
html body .ydx-sec:has(.ydx-proof){background:#FFFCF8}
html body .ydx-proof{gap:1px;background:#EAE2D8;border:1px solid #EAE2D8;border-radius:20px;overflow:hidden;margin:3.5rem 2.5rem 0}
html body .ydx-proof a{background:#FFFCF8;padding:2.25rem 2rem 2rem!important;gap:.75rem}
html body .ydx-proof a:hover{background:#fff}
html body .ydx-proof .ydx-who{order:-1;margin:0 0 .75rem;font-size:0;gap:0}
html body .ydx-proof .ydx-who img{height:46px;max-width:none;width:auto;padding:13px 14px;background:#fff;border:1px solid #EFE8DF;border-radius:12px;box-shadow:0 6px 14px -10px rgba(37,36,40,.45);box-sizing:border-box}
html body .ydx-proof .ydx-who svg{display:none}
html body .ydx-proof a::after{content:'Lire le cas client \2192';font:500 .9375rem/1.5 Inter,sans-serif;color:#FA3D1D;padding-top:.5rem;margin-top:auto}
html body .ydx-proof p{font:400 .9375rem/1.55 Inter,sans-serif;color:#857568;flex:none}
/* Aujourd'hui / Demain : terne d'un côté, vif de l'autre */
html body .ydx-ba{border:0;background:none;overflow:visible;gap:1rem;align-items:stretch}
html body .ydx-ba>div{border-radius:20px;border:0!important}
html body .ydx-ba>div:first-child{background:#EFEAE4;color:#A39A90}
html body .ydx-ba>div:first-child h3{color:#857568}
html body .ydx-ba>div:first-child li{color:#A39A90;border-color:#E3DCD3}
html body .ydx-ba>div:first-child li::before{background-color:#E3DCD3}
html body .ydx-ba>div:last-child{background:#252428;box-shadow:0 30px 60px -30px rgba(37,36,40,.6);transform:translateY(-.5rem)}
html body .ydx-ba>div:last-child h3{color:#fff}
html body .ydx-ba>div:last-child h3 span{background:#FA3D1D;border-color:#FA3D1D;color:#fff}
html body .ydx-ba>div:last-child li{color:#fff;border-color:rgba(255,255,255,.12)}
/* Reste de la page : deux tailles de sous-titre et un seul arrondi, comme sur l'accueil */
html body .ydx h3{font-size:1.3125rem!important;font-weight:500!important;letter-spacing:-.03em!important}
html body .ydx .ydx-ba h3,html body .ydx .ydx-guar h3,html body .ydx .ydx-deal h3{font-size:1.0625rem!important}
html body .ydx-rdv,html body .ydx-band,html body .ydx-calc,html body .ydx-dsi,html body .ydx-ba,html body .ydx-case,html body .ydx-testi,html body .ydx-deal{border-radius:20px}
html body .ydx-brief .yd3-svc{border-radius:20px}
@media(max-width:991px){html body .ydx-brief{padding:3rem 1.25rem 3.5rem}html body .ydx-brief .yd3-svc{grid-template-columns:1fr 1fr}}
@media(max-width:600px){html body .ydx-brief .yd3-svc{grid-template-columns:1fr}html body .ydx-brief .yd3-svc-card{padding:1.5rem 1.25rem}html body .ydx-proof{grid-template-columns:1fr;margin:1.5rem 1.25rem 0}html body .ydx-ba{grid-template-columns:1fr}html body .ydx-ba>div:last-child{transform:none}}
html body .ydx-teaser{border-radius:20px;overflow:hidden}
html.ydh-sans-teaser body .ydx-teaser{display:none}
