/* Ajouts circonscrits : aucun sélecteur global ne modifie les écrans existants. */
.dt-page{margin:0;background:#fff;color:#2b2a28;font:400 16px/1.55 Figtree,Arial,sans-serif}.dt-page *{box-sizing:border-box}.dt-top{background:#f7f2e9;border-bottom:1px solid #ded8cd;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px;padding:14px max(24px,calc((100% - 800px)/2));}.dt-top a{color:inherit;text-decoration:none;min-height:44px;display:flex;align-items:center}.dt-logo{font:500 26px/1.15 Fredoka,Arial,sans-serif;white-space:nowrap}.dt-page main{max-width:800px;margin:32px auto;padding:0 24px 48px}.dt-page h1,.dt-page h2,.dt-page h3{font-family:Fredoka,Arial,sans-serif;font-weight:500;line-height:1.16;margin:0 0 14px}.dt-page h1{font-size:34px}.dt-page h2{font-size:24px}.dt-page h3{font-size:20px}.dt-page p{margin:0 0 16px}.dt-page small,.dt-muted{font-size:13px;color:#625c55;line-height:1.5}.dt-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.dt-fields label{display:grid;gap:6px;font-size:15px;min-width:0}.dt-wide{grid-column:1/-1}.dt-page input:not([type=checkbox]),.dt-page select,.dt-page textarea{width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid #8b8073;border-radius:6px;background:#fff;color:#2b2a28;font:400 16px/1.45 Figtree,Arial,sans-serif}.dt-page textarea{min-height:105px;resize:vertical}.dt-page [hidden]{display:none!important}.dt-page #dt-main button,.dt-button{display:inline-flex;justify-content:center;align-items:center;min-height:46px;max-width:100%;padding:11px 16px;border:1px solid #ded8cd;border-radius:8px;background:#fff;color:#2b2a28;font:500 15px/1.4 Figtree,Arial,sans-serif;text-decoration:none;cursor:pointer;white-space:normal}.dt-primary{background:#efb27a!important;color:#3b2a1e!important;border-color:#efb27a!important}.dt-page #dt-main button:disabled{opacity:.6;cursor:wait}.dt-page :is(button,a,input,select,textarea):focus-visible{outline:2px solid #4f473c;outline-offset:3px}.dt-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.dt-steps{display:flex;gap:8px;margin:20px 0}.dt-steps span{flex:1;font-size:13px;padding:10px 2px;border-bottom:3px solid #ded8cd}.dt-steps span[aria-current=step]{border-color:#efb27a}.dt-check{display:flex!important;gap:10px;align-items:flex-start;margin:16px 0;font-size:14px}.dt-check input{width:20px;height:20px;flex:none;margin:2px 0 0}.dt-box{padding:20px;border:1px solid #ded8cd;border-radius:10px;margin:18px 0;background:#fff;overflow-wrap:anywhere}.dt-soft{background:#f7f2e9}.dt-error{color:#9d3021;margin:12px 0;white-space:pre-line}.dt-page dl{margin:16px 0}.dt-page dl>div{border-bottom:1px solid #ded8cd;padding:12px 0}.dt-page dt{font-size:13px;color:#625c55}.dt-page dd{margin:5px 0 0;white-space:pre-line;overflow-wrap:anywhere}.dt-tag{display:inline-block;padding:4px 9px;background:#efe8dc;border-radius:5px;font-size:13px;margin-bottom:10px}.dt-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.dt-photos img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.dt-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.dt-entry{background:#f7f2e9;border-radius:12px;padding:26px;margin:24px 0;max-width:100%}.dt-entry p{max-width:65ch}.dt-list-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.dt-list-tabs a{font-size:15px;min-height:44px;display:inline-flex;align-items:center;padding:8px 16px;border-radius:8px;background:#efe8dc;color:#2b2a28;text-decoration:none}.dt-list-tabs a[aria-current=page]{background:#efb27a}.dt-public-row{border-top:1px solid #ded8cd;padding:16px 0;display:flex;gap:16px;justify-content:space-between;align-items:center}.dt-public-row p{margin:4px 0;font-size:15px}
@media(max-width:600px){.dt-top{min-height:60px;padding:8px 16px}.dt-top a:last-child{font-size:13px}.dt-logo{font-size:24px}.dt-page main{margin-top:20px;padding:0 16px 28px}.dt-page h1{font-size:24px}.dt-page h2{font-size:21px}.dt-page p{font-size:14px}.dt-fields{grid-template-columns:1fr;gap:14px}.dt-fields label{font-size:13px}.dt-actions>*{width:100%}.dt-box{padding:16px}.dt-entry{padding:18px}.dt-public-row{align-items:flex-start;flex-direction:column;gap:6px}.dt-steps span{font-size:12px}.dt-page input,.dt-page textarea,.dt-page select{font-size:16px}}

.dt-page section[data-step]:focus{outline:none}

.dt-budget-choice{border:0;padding:0;margin:24px 0;min-width:0}.dt-budget-choice legend{font-weight:500;margin-bottom:6px}.dt-page input[type=radio]{width:20px;height:20px;min-height:0;flex:none;padding:0;margin:2px 0 0}.dt-budget-choice .dt-fields>div label{display:grid;gap:6px}

/* Demandes publiques : même présentation sur l'accueil et dans la liste. */
.dt-request-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:26px 0}
.dt-request-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;background:#fffdf9;border:1px solid #e5ddcf;border-radius:20px;padding:24px;box-shadow:0 6px 22px #40342206;overflow-wrap:anywhere}
.dt-request-card:nth-child(3n+2){background:#f1f4ed}.dt-request-card:nth-child(3n){background:#f2f0f7}
.dt-request-card :is(h2,h3){font:500 25px/1.2 Fredoka,sans-serif;margin:8px 0 14px;color:#343a32}.dt-request-card p{margin:0 0 8px;color:#635f56}.dt-request-card .dt-tag{background:#e9eddf;color:#4c5945;border-radius:20px;font-size:12px;padding:5px 10px}
.dt-detail-link{display:flex;justify-content:space-between;align-items:center;gap:28px;width:100%;min-height:48px;margin-top:auto;padding-top:20px;color:#3f543e;font-weight:600;text-decoration:none}.dt-detail-link:hover{text-decoration:underline}.dt-detail-link:focus-visible{outline:2px solid #3f543e;outline-offset:4px}
.dt-eyebrow{display:block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#65715c;margin:16px 0 12px}.dt-back{display:block;color:#52614a;margin:0 0 30px;min-height:44px}.dt-project-description{padding:10px 26px;background:#faf8f3;border-radius:22px}.dt-similar{border:0;border-radius:22px;background:#eaf0e4;padding:28px;margin-top:30px}.dt-similar .dt-primary{background:#42573b!important;border-color:#42573b!important;color:white!important;border-radius:30px;gap:12px}.dt-existing{border-top:1px solid #cbd4c4;padding-top:18px;margin-top:24px}.dt-existing summary{cursor:pointer;min-height:44px}.dt-existing label{display:block}
@media(max-width:600px){.dt-request-grid{grid-template-columns:1fr;gap:12px;margin:20px 0}.dt-request-card{padding:20px}.dt-request-card :is(h2,h3){font-size:22px}.dt-project-description{padding:6px 18px}.dt-similar{padding:22px 18px}.dt-similar .dt-actions .dt-button{width:100%}}

/* Identité commune du Muret, présentation légère des demandes publiques. */
body.dt-public{background:#fbfaf6}
body.dt-public #dt-main{width:calc(100% - 64px);max-width:max(1240px,min(1920px,92vw));margin:44px auto 0;padding:0 0 64px}
body.dt-public h1{font-size:clamp(27px,3.5vw,38px);max-width:34ch;color:#294c3e;line-height:1.15;letter-spacing:-.02em;margin-bottom:16px}
body.dt-public .dt-eyebrow{font-size:12px;letter-spacing:.055em;color:#64725b;margin-bottom:14px}
body.dt-public .dt-project-description{margin-top:0;background:#fffdf9;border:1px solid #e8e2d6;border-radius:22px;padding:12px 28px;box-shadow:0 6px 22px #40342204}
body.dt-public .dt-project-description dl{display:grid;grid-template-columns:1fr 1fr;column-gap:32px;margin:0}
body.dt-public .dt-project-description dl>div{padding:18px 0;border-color:#eee8dd}
body.dt-public .dt-project-description dl>div:nth-child(3),body.dt-public .dt-project-description dl>div:nth-child(4){grid-column:1/-1}
body.dt-public .dt-project-description dt{font-size:12px;color:#78806e}
body.dt-public .dt-project-description dd{margin-top:7px;font-size:16px;line-height:1.55;color:#363d32}
body.dt-public .dt-similar{background:#eaf0e4;margin:0;padding:28px 30px;border-radius:22px}
body.dt-public .dt-similar h2{color:#294c3e;font-size:26px;max-width:26ch}
body.dt-public .dt-similar p{max-width:62ch}
body.dt-public .dt-similar .dt-actions{margin-bottom:0}
@media(max-width:600px){
     body.dt-public main{margin-top:26px}
 body.dt-public .dt-project-description{padding:4px 20px;margin-top:22px}
 body.dt-public .dt-project-description dl{grid-template-columns:1fr;gap:0}
 body.dt-public .dt-project-description dl>div{padding:15px 0}
 body.dt-public .dt-similar{padding:24px 20px}
 body.dt-public .dt-similar h2{font-size:24px}
}

/* Le même cadre de navigation que les autres pages publiques. */
.dt-page #mv-header .logo{font:500 28px/1.2 Fredoka,Arial,sans-serif;color:#294c3e}
.dt-page #mv-header .logo-mark{width:30px;height:30px}
.dt-page #mv-header .logo-mot>span{color:inherit}
.dt-page #mv-header{background:transparent}
.dt-page #mv-navigation a{font-weight:500}
.dt-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:32px;margin:30px 0 20px}
.dt-detail-layout>*{min-width:0}
.dt-request-cover-link{display:block;margin-bottom:16px;overflow:hidden;border-radius:12px}.dt-request-cover{display:block;width:100%;height:180px;object-fit:cover;transition:transform .2s ease}.dt-request-cover-link:hover .dt-request-cover{transform:scale(1.025)}
.dt-public-photos{margin:26px 0}.dt-public-photos h2{font-size:21px}.dt-public-photos .dt-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.dt-public-photos .dt-photos a{display:block;min-width:0}.dt-public-photos .dt-photos img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}

/* Miniatures publiques : les portraits restent entiers, jusqu'à six photos. */
.dt-demand-thumbnails{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 14px;max-width:100%}
.dt-demand-thumbnails a{position:relative;display:block;width:120px;max-width:calc((100% - 20px)/3);height:96px;border:1px solid #e2e5da;border-radius:10px;overflow:hidden;background:#f0f1e8}
.dt-demand-thumbnails img{display:block;width:100%;height:100%;object-fit:contain}
.dt-demand-thumbnails a>span{position:absolute;bottom:4px;right:5px;background:#fffdf9;color:#294c3e;border-radius:8px;padding:0 5px;font-size:11px}
.dt-demand-share{margin:0 0 22px}
.dt-demand-share>summary{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border:1px solid #cbd4c4;border-radius:24px;color:#294c3e;cursor:pointer;font-size:15px;list-style:none}
.dt-demand-share>summary::-webkit-details-marker{display:none}
.dt-demand-share>summary:focus-visible{outline:2px solid #294c3e;outline-offset:3px}
.dt-share-fallback{margin-top:12px}
dialog.dt-share-dialog{margin:auto;width:min(510px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:28px;border:1px solid #dfdfd5}
.dt-share-dialog::backdrop{background:rgba(29,37,33,.45)}
.dt-share-dialog .lm-share-close{float:right;margin:0 0 12px 12px;min-width:44px;min-height:44px}
.dt-share-dialog h2{font-size:28px}
.dt-share-dialog .dt-native-share{width:100%;margin-top:16px;border-radius:24px}
.dt-share-dialog .dt-share-status{margin:12px 0 0;min-height:1.5em;font-size:14px}
@media(max-width:600px){
 body.dt-public .dt-project-description dl>div:nth-child(3),body.dt-public .dt-project-description dl>div:nth-child(4){grid-column:auto}
 .dt-demand-thumbnails{gap:8px;margin-top:16px}
 .dt-demand-thumbnails a{width:96px;max-width:calc((100% - 16px)/3);height:80px}
 dialog.dt-share-dialog{padding:22px 18px}
}
.dt-confirmation{padding:22px;margin:0 0 24px;background:#f7f2e9;border:1px solid #ded8cd;border-radius:12px}.dt-confirmation h2{font-size:23px}.dt-confirmation p{margin-bottom:12px}.dt-confirmation a{color:#413b32;text-underline-offset:3px;font-weight:600}
.dt-page>footer{padding:32px max(32px,calc((100% - max(1240px,min(1920px,92vw)))/2));background:#fff;border-top:1px solid #e5dfd1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:24px}
.dt-page>footer .fl{display:flex;align-items:center;gap:8px;text-decoration:none}
.dt-page>footer .fn{font:500 24px Fredoka,Arial,sans-serif;color:#294c3e}
.dt-page>footer .fl-adr{display:flex;align-items:center;gap:12px}
.dt-page>footer :is(.ft-url,.ft){font-size:13px;color:#625c55;margin:0}
.dt-page>footer .fls{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.dt-page>footer .flk{font-size:14px;color:#625c55;text-decoration:none}
.dt-page>footer a:hover{text-decoration:underline}
@media(max-width:1000px){.dt-detail-layout{grid-template-columns:1fr}.dt-page #dt-main .dt-similar h2{max-width:none}}
@media(max-width:680px){body.dt-public #dt-main{width:calc(100% - 36px);margin-top:28px;padding-bottom:40px}.dt-page #mv-header .logo{font-size:24px}.dt-page>footer{padding:28px 18px;align-items:flex-start;flex-direction:column}.dt-detail-layout{gap:20px;margin-top:24px}body.dt-public .dt-project-description{margin-top:0}.dt-page>footer .fls{gap:14px 20px}}

/* Demandes de travaux sur la page artisans : mosaïque compacte, 1 à 6 photos. */
#clients-cherchent .dt-request-grid{align-items:start;gap:14px;margin:18px 0 0}
#clients-cherchent .dt-request-card{padding:12px;border-radius:16px;display:block;min-width:0}
#clients-cherchent .dt-request-body{padding:3px 5px 2px}
#clients-cherchent .dt-request-card .dt-tag{margin:4px 0 6px;font-size:11px}
#clients-cherchent .dt-request-card h3{font-size:20px;line-height:1.22;margin:0 0 7px}
#clients-cherchent .dt-request-card p{font-size:13px;margin:0}
#clients-cherchent .dt-request-card .dt-detail-link{font-size:13px;min-height:28px;margin:9px 0 0;padding:0;gap:12px}
#clients-cherchent .dt-request-thumbnails{display:flex;gap:6px;width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;margin:10px 0 4px;text-decoration:none}
#clients-cherchent .dt-request-thumbnails img{display:block;width:calc((100% - 30px)/6);min-width:58px;max-width:92px;height:68px;object-fit:cover;flex:none;border-radius:7px}
#clients-cherchent .dt-request-card .dt-detail-link{border-top:1px solid #e8e3d9;margin-top:12px;padding-top:10px}
@media(max-width:600px){#clients-cherchent .dt-request-grid{gap:10px}#clients-cherchent .dt-request-card{padding:10px}#clients-cherchent .dt-request-card h3{font-size:19px}#clients-cherchent .dt-request-thumbnails img{width:64px;min-width:64px;height:58px}}

/* Présentation éditoriale validée : galerie sans compteurs, partage près du titre. */
body.dt-public #dt-main{max-width:1100px}
.dt-demand-heading{display:flex;justify-content:space-between;align-items:center;gap:28px}
.dt-demand-heading>div{min-width:0}
.dt-demand-heading .dt-demand-share{flex:none;margin:0;align-self:center}
.dt-demand-heading .dt-demand-share>summary{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:11px 18px;border:1px solid #758568;border-radius:28px;background:#fffdf9;color:#294c3e;font-weight:600;text-decoration:none;white-space:nowrap}
.dt-demand-heading .dt-demand-share>summary:hover{background:#eaf0e4;border-color:#42573b}
.dt-demand-heading .dt-share-icon{display:block;flex:none;width:20px;height:20px}
.dt-demand-heading .dt-demand-share[open]{flex:1;min-width:240px}
body.dt-public .dt-demand-heading h1{max-width:25ch;margin-bottom:14px}
body.dt-public .dt-demand-location{color:#6d746a;font-size:14px;margin-bottom:0}
body.dt-public .dt-demand-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:24px 0 0}
body.dt-public .dt-demand-gallery a{width:100%;max-width:none;height:auto;aspect-ratio:1.25;border:0;background:#e8e6dc}
body.dt-public .dt-demand-gallery img{object-fit:contain}
.dt-demand-facts{display:flex;gap:24px 40px;flex-wrap:wrap;padding:22px 0;border-bottom:1px solid #dfdfd3}
.dt-demand-facts>div{min-width:0;max-width:100%;overflow-wrap:anywhere}
.dt-demand-facts strong{display:block;font-weight:600;color:#293e38}
.dt-demand-facts span{display:block;font-size:12px;color:#6d746a;margin-top:4px}
body.dt-public .dt-detail-layout{grid-template-columns:minmax(0,1fr) 280px;gap:44px;margin:28px 0 22px}
body.dt-public .dt-project-description{padding:0;border:0;background:none;border-radius:0;box-shadow:none}
body.dt-public .dt-project-description h2{font-size:23px;color:#294c3e;margin-bottom:12px}
body.dt-public .dt-project-description p{margin:0 0 26px;white-space:pre-line;overflow-wrap:anywhere}
.dt-demand-practical{display:grid;grid-template-columns:1fr 1fr;gap:24px;border-top:1px solid #dfdfd3;padding-top:22px}
body.dt-public .dt-demand-practical h2{font-size:19px}
body.dt-public .dt-demand-practical p{font-size:14px}
body.dt-public .dt-similar{padding:25px;border-radius:14px;background:#edf0e5}
body.dt-public .dt-similar .dt-eyebrow{margin-top:0;font-size:11px;letter-spacing:.1em}
body.dt-public .dt-similar h2{font-size:25px}
body.dt-public .dt-similar p{font-size:14px}
body.dt-public .dt-similar .dt-button{font-size:13px;width:100%}
.dt-photo-dialog{margin:auto;border:0;border-radius:14px;padding:14px;background:#fbfaf6;color:#293e38;width:min(850px,calc(100% - 28px));max-height:calc(100dvh - 28px)}
.dt-photo-dialog::backdrop{background:#18231dcc}
.dt-photo-dialog img{display:block;width:100%;max-height:70dvh;object-fit:contain}
.dt-photo-dialog button{display:block;margin:12px 0 0 auto;min-height:44px;padding:8px 20px;border:1px solid #dfdfd3;border-radius:24px;background:#fbfaf6;color:#293e38;font:500 15px Figtree,sans-serif;cursor:pointer}
@media(max-width:700px){
 .dt-demand-heading{display:block}
 .dt-demand-heading .dt-demand-share{margin-top:8px}
 body.dt-public .dt-demand-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
 body.dt-public .dt-detail-layout{grid-template-columns:1fr;gap:20px;margin-top:25px}
 body.dt-public .dt-project-description{margin:0;padding:0}
 .dt-demand-practical{grid-template-columns:1fr;gap:0}
 .dt-demand-facts{gap:15px 25px}
}
