/* Stockdepro — accueil plus compact + fond bleu Castres Olympique atténué (version marquée, 15 octobre 2026). Mode sombre inchangé. */
#stocks,#artisans,#fonctionnement,#vendre{padding-top:56px!important;padding-bottom:56px!important}#location{padding-top:48px!important;padding-bottom:48px!important}.es-section{padding-top:40px!important;padding-bottom:44px!important}#sdp-faq{padding-top:44px!important;padding-bottom:40px!important}.section-head{margin-bottom:20px!important}.art2{padding-top:0!important;padding-bottom:0!important}.es-card{padding:24px 26px!important}.es-card li{margin-bottom:4px!important}.es-sub{margin-bottom:18px!important}.cta{min-height:0!important}.cta__copy{padding:40px 48px!important}.cta__img{max-height:300px!important;object-fit:cover!important}.step{padding:22px 24px!important}#sdp-faq .container{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;align-items:start}#sdp-faq h2{grid-column:1/-1}
@media(max-width:760px){#stocks,#artisans,#fonctionnement,#vendre{padding-top:40px!important;padding-bottom:40px!important}#sdp-faq .container{grid-template-columns:1fr}.cta__copy{padding:28px 24px!important}}
:root:not([data-theme=dark]){background:#d3e0f2!important}
:root:not([data-theme=dark]) body,:root:not([data-theme=dark]) main,:root:not([data-theme=dark]) .hero{background:#e3ebf6!important}
:root:not([data-theme=dark]) #stocks,:root:not([data-theme=dark]) #location,:root:not([data-theme=dark]) #vendre{background:#e3ebf6!important}
:root:not([data-theme=dark]) #artisans,:root:not([data-theme=dark]) #fonctionnement,:root:not([data-theme=dark]) #sdp-faq,:root:not([data-theme=dark]) #sdp-temoignages{background:#e3ebf6!important}:root:not([data-theme=dark]) footer{background:#d3e0f2!important}
:root:not([data-theme=dark]) .trades{background:#14407e!important}
:root:not([data-theme=dark]) .trades__track span{color:#e6eefb!important}
:root:not([data-theme=dark]) .step,:root:not([data-theme=dark]) .empty,:root:not([data-theme=dark]) #sdp-faq details{background:#fff!important}
:root:not([data-theme=dark]) .audience-note{background:rgba(255,255,255,.6)!important}
/* bandeau des métiers : cadre resserré, lettres de même taille */
.trades__track{padding-top:9px!important;padding-bottom:9px!important}.trades__track span{line-height:1.15!important}
/* visiteur non connecté : nouvel ordre (classe posée par accueil-ordre.js) */
body.sdp-visiteur main{display:flex;flex-direction:column}
body.sdp-visiteur main>*{order:20}
body.sdp-visiteur main>.hero{order:1}body.sdp-visiteur main>.trades{order:2}body.sdp-visiteur main>#stocks{order:3}
body.sdp-visiteur main>#artisans{order:4}body.sdp-visiteur main>#outils{order:5}body.sdp-visiteur main>#location{order:6}
body.sdp-visiteur main>#vendre{order:7}body.sdp-visiteur main>#es-section{order:8}body.sdp-visiteur main>#fonctionnement{order:9}body.sdp-visiteur main>#sdp-temoignages{order:10}body.sdp-visiteur main>#sdp-faq{order:11}
body.sdp-visiteur #location .container>:not(.section-head){display:none!important}
body.sdp-visiteur #location{padding-top:40px!important;padding-bottom:40px!important}
body.sdp-visiteur #location .section-head{margin-bottom:0!important;align-items:center}
#sdp-loc-voir{display:none}body.sdp-visiteur #sdp-loc-voir{display:inline-flex}
:root:not([data-theme=dark]) body.sdp-visiteur #fonctionnement{background:#e3ebf6!important}
:root:not([data-theme=dark]) body.sdp-visiteur #artisans{background:#e3ebf6!important}
:root:not([data-theme=dark]) body.sdp-visiteur #stocks{background:#e3ebf6!important}
:root:not([data-theme=dark]) body.sdp-visiteur #location{background:#e3ebf6!important}
:root:not([data-theme=dark]) body.sdp-visiteur #vendre{background:#e3ebf6!important}
:root:not([data-theme=dark]) body.sdp-visiteur #sdp-faq{background:#e3ebf6!important}
/* pied de page aligné */
footer .foot{display:flex!important;justify-content:space-between;align-items:flex-start;gap:14px 40px;flex-wrap:wrap}
footer .sdp-pied-legal{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px 18px;line-height:1.5}
footer .sdp-pied-legal a,footer .foot-seo a{display:inline-flex!important;align-items:center;padding:3px 0!important;margin:0!important}
footer .sdp-pied-legal svg{margin-right:5px!important}
footer .sdp-pied-copy{color:var(--muted)}
footer .foot-seo{line-height:1.5!important}
footer .sdp-pied-titre{font-weight:700;color:var(--ink);margin:0 0 6px}footer .sdp-pied-titre a{color:inherit!important;text-decoration:none}
footer .sdp-pied-metiers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px 20px}
footer .sdp-pied-metiers a{color:var(--muted)!important;text-decoration:none}footer .sdp-pied-metiers a:hover{color:var(--accent)!important}
@media(max-width:760px){footer .foot{display:block!important}footer .sdp-pied-legal{margin-top:12px}footer .sdp-pied-metiers{grid-template-columns:1fr 1fr;gap:2px 16px}footer .sdp-pied-metiers a{padding:6px 0!important}}
footer .foot-seo{margin-top:22px!important}
/* encore plus resserré */
#stocks,#artisans,#fonctionnement,#vendre{padding-top:40px!important;padding-bottom:40px!important}body.sdp-visiteur #location{padding-top:30px!important;padding-bottom:30px!important}.es-section{padding-top:32px!important;padding-bottom:34px!important}#sdp-faq{padding-top:34px!important;padding-bottom:30px!important}.section-head{margin-bottom:14px!important}.section-head h2,.es-title{margin-bottom:6px!important}.kicker,.es-kicker{margin-bottom:6px!important}
.hero h1{margin-top:18px!important;margin-bottom:16px!important}.hero .trust{margin-top:14px!important}.hero__copy>div:last-child{margin-top:14px!important}
.step{padding:18px 20px!important}.steps{gap:14px!important}.es-card{padding:20px 22px!important}.es-spaces{gap:16px!important}.es-sub{margin-bottom:14px!important}
.art2-hero .art2-ban{height:96px!important}.art2-rowh{margin-top:16px!important}
.cta__copy{padding:30px 40px!important}.cta__img{max-height:240px!important}
#sdp-faq h2{margin-bottom:12px!important}#sdp-faq details{margin-bottom:8px!important}#sdp-faq summary{padding:12px 0!important}
footer{padding-top:30px!important;padding-bottom:18px!important}footer .foot-seo{margin-top:16px!important}
@media(max-width:760px){#stocks,#artisans,#fonctionnement,#vendre{padding-top:32px!important;padding-bottom:32px!important}.cta__copy{padding:24px 22px!important}}
/* moins de vide au-dessus de chaque rubrique */
#stocks,#artisans,#fonctionnement{padding-top:22px!important;padding-bottom:34px!important}#vendre{padding-top:22px!important;padding-bottom:30px!important}.es-section{padding-top:22px!important;padding-bottom:30px!important}.es-section .container>:first-child{margin-top:0!important}body.sdp-visiteur #location{padding-top:22px!important;padding-bottom:26px!important}#sdp-faq{padding-top:22px!important;padding-bottom:28px!important}
@media(max-width:760px){#stocks,#artisans,#fonctionnement{padding-top:20px!important;padding-bottom:28px!important}}
/* bandeau des métiers cliquable : pause au survol, métier en blanc (sans soulignement) */
.trades__track span{cursor:pointer;transition:color .15s}
.trades:hover .trades__track,.trades:focus-within .trades__track{animation-play-state:paused!important}
.trades__track span:hover,.trades__track span:focus-visible{color:#fff!important;text-decoration:none!important;outline:none}
[data-theme=dark] .trades__track span:hover{color:var(--ink)!important}
