/* Pages d'expertise, v21 : même DA et mêmes types de blocs que l'accueil. Chargé dans l'en-tête des six pages (fichier hébergé refonte-expertises-vN.css),
   pour éviter tout saut à l'affichage. Les blocs « Ce qui est compris » et la citation sont remis en forme par demo/refonte.js.
   Source : video-accueil/expertises/demo/refonte.css */

/* 1. Plus de quadrillage, comme sur l'accueil (la home masque aussi .page_bg-strokes) */
html body .page_bg-strokes{display:none!important}
html body .ydx-sec{border-bottom:0!important}
html body .ydx-wrap{border-left:0!important;border-right:0!important}

/* 2. « Nos autres expertises » retiré (le menu mène déjà aux autres outils) */
html body section.section:has(a.maillage_card){display:none!important}

/* 3. Avant, après : seulement les deux colonnes. La grande animation ancienne est retirée ; sur /power-apps la démo cliquable (.ydw) reste. */
html body .ydx-teaser{display:none!important}
html body .ydx-sec:has(.ydx-ba):not(:has(.ydw)) .ydx-head-block .ydx-lead{display:none}
html body .ydx-sec:has(.ydx-ba):not(:has(.ydw)) .ydx-ba{margin-top:2.5rem}

/* 4. Cas clients : le témoignage en carte sombre, comme sur l'accueil */
html body .ydx-sec:has(.ydx-cases) .ydx-pad{padding-bottom:3.5rem}
html body .ydx-testi{background:#252428!important;border:0!important;border-radius:20px!important}
html body .ydx-testi blockquote{color:#fff!important;padding-left:0!important;border:0!important;box-shadow:none!important}
html body .ydx-testi blockquote::before{content:none!important}
html body .ydx-testi .ydx-q{color:#fff;opacity:.85}
html body .ydx-testi .ydx-person{border-top:0;padding-top:.25rem}
html body .ydx-testi .ydx-person b{color:#fff}
html body .ydx-testi .ydx-person span{color:rgba(255,255,255,.6)}
html body .ydx-testi .ydx-link{color:#fff}

/* 5. Notre parti pris : une phrase forte, le reste en petit, dans une carte claire */
html body .ydx-sec.ydx-quote{background:#FFFCF8!important;text-align:left}
html body .ydx-quote .ydx-pad{padding-top:0;padding-bottom:5.5rem}
.ydq{display:grid;grid-template-columns:13rem 1fr;gap:3rem;align-items:center;background:#fff;border:1px solid #EFE8DF;border-radius:20px;padding:2.5rem 3rem;box-shadow:0 1px 0 rgba(37,36,40,.02),0 30px 60px -44px rgba(37,36,40,.28)}
.ydq-who{display:flex;flex-direction:column;align-items:flex-start;gap:.15rem;padding-right:3rem;border-right:1px solid #EFE8DF;align-self:stretch;justify-content:center}
html body .ydx-quote .ydq-who img{width:4.5rem;height:4.5rem;margin:0 0 .9rem;border:0;box-shadow:0 10px 22px -12px rgba(37,36,40,.5)}
html body .ydx-quote .ydq-who b{font:600 1.0625rem/1.3 'Stack Sans Text',Inter,sans-serif;letter-spacing:-.02em;color:#252428}
html body .ydx-quote .ydq-who .ydx-small{font:400 .875rem/1.4 Inter,sans-serif;color:#857568}
html body .ydx-quote .ydq-tx .ydx-tag{margin-bottom:.9rem}
html body .ydx-quote blockquote{max-width:none;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;font:inherit;letter-spacing:0;text-wrap:pretty}
html body .ydx-quote blockquote::before,html body .ydx-quote blockquote::after{content:none!important}
.ydq-1{display:block;font:500 1.75rem/1.22 'Stack Sans Text',Inter,sans-serif;letter-spacing:-.035em;color:#252428}
.ydq-2{display:block;margin-top:.9rem;font:400 1.0625rem/1.55 Inter,sans-serif;color:#857568;max-width:40rem}

/* 6. « Ce qui est compris » à la place de « Prix et périmètre » : titre et bouton en tête, liste à icônes sombres (comme les « 250 cas d'usage » de l'accueil) */
html body .ydx-deal.ydc-src{display:none!important}
.ydc-head{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem}
.ydc-head .ydx-btn{flex:none}
.ydc-o{font-style:normal;color:#FA3D1D}
.ydc-list{display:grid!important;grid-template-columns:1fr 1fr;gap:0 4rem;margin:2.75rem 0 0!important;padding:0!important;list-style:none!important}
.ydc-list li{display:flex!important;align-items:center;gap:1.1rem;padding:1.15rem 0!important;border-top:1px solid #EFE8DF}
.ydc-list li>i{flex:none;width:2.75rem;height:2.75rem;border-radius:.75rem;background:#252428;color:#fff;display:grid;place-items:center}
.ydc-list li>i svg{width:1.25rem;height:1.25rem;display:block}
.ydc-list li b{display:block;font:500 1.0625rem/1.35 'Stack Sans Text',Inter,sans-serif;letter-spacing:-.02em;color:#252428}
.ydc-list li small{display:block;margin-top:.2rem;font:400 .875rem/1.5 Inter,sans-serif;color:#857568}
.ydc-list li.ydc-lic>i{background:#fff;color:#252428;border:1px solid #EFE8DF;box-shadow:0 6px 14px -10px rgba(37,36,40,.45)}
.ydc-list li.ydc-lic b em{display:inline-block;vertical-align:.12em;margin-left:.5rem;padding:.2em .6em;border-radius:99px;background:#F4EEE6;color:#857568;font:500 .6875rem/1.2 Inter,sans-serif;font-style:normal;letter-spacing:0}
/* la carte DSI : carte sombre de l'accueil */
html body .ydx-dsi{background:#252428 radial-gradient(55% 130% at 0 100%,rgba(250,61,29,.22),rgba(250,61,29,0) 70%)!important;border-radius:20px!important;margin-top:2.75rem}
html body .ydx-dsi a{color:#fff}

/* 7. Ressources : trois lectures sur une ligne, sans la carte calculateur (doublon) ni la liste des secteurs */
html body .ydx-res{grid-template-columns:repeat(3,1fr)!important}
html body .ydx-art.ydx-tool,html body .ydx-sectors{display:none!important}
html body .ydx-art{border-radius:20px}
html body .ydx-sec:has(.ydx-res) .ydx-pad{padding-top:4.5rem;padding-bottom:4.5rem}

/* 8. Rendez-vous final : carte sombre arrondie sur fond clair, comme sur l'accueil */
html body #rdv.ydx-sec.ydx-dark{background:#FFFCF8!important}
html body #rdv .ydx-wrap{padding:1.5rem 2.5rem 6rem}
html body #rdv .ydx-final{background:#252428 radial-gradient(60% 95% at 100% 0,rgba(250,61,29,.26),rgba(250,61,29,0) 68%);border-radius:24px;overflow:hidden}
html body #rdv .ydx-final-l{padding:4.5rem 3.5rem}
html body #rdv .ydx-final-r{padding:3.5rem 3rem;border-left:0!important;background:none!important}

@media(max-width:991px){
.ydq{grid-template-columns:1fr;gap:1.5rem;padding:1.75rem 1.5rem}
.ydq-who{order:2;display:grid;grid-template-columns:auto 1fr;gap:0 .75rem;align-items:center;justify-content:start;padding:1.25rem 0 0;border-right:0;border-top:1px solid #EFE8DF}
html body .ydx-quote .ydq-who img{width:3rem;height:3rem;margin:0;grid-row:1/3}
html body .ydx-quote .ydq-who b{align-self:end}html body .ydx-quote .ydq-who .ydx-small{align-self:start}
.ydq-1{font-size:1.4rem}
.ydc-head{flex-direction:column;align-items:flex-start;gap:1.25rem}
.ydc-list{grid-template-columns:1fr;gap:0}
html body .ydx-quote .ydx-pad{padding-bottom:3.5rem}
html body #rdv .ydx-wrap{padding:1rem 1.25rem 3.5rem}
html body #rdv .ydx-final-l{padding:2.5rem 1.5rem 1rem}
html body #rdv .ydx-final-r{padding:1rem 1.25rem 2rem}
}
@media(max-width:767px){html body .ydx-res{grid-template-columns:1fr!important}}
