/* Inscription : visuel du panneau gauche (desktop) et bande (mobile). Portee limitee a html.c24-signup.
   Photos : voir /img/CREDITS.md. Duotone marine obtenu par melange de luminosite sur le fond marine. */
html.c24-signup{--sp-photo:url(img/artisan-generique.webp);--sp-photo-sm:url(img/artisan-generique-sm.webp);--sp-pos:50% 30%;--sp-y:22%;--sp-yt:24%}
html.c24-signup[data-trade="plomberie"]{--sp-photo:url(img/artisan-plomberie.webp);--sp-photo-sm:url(img/artisan-plomberie-sm.webp);--sp-pos:55% 40%;--sp-y:28%;--sp-yt:45%}
html.c24-signup[data-trade="electricite"]{--sp-photo:url(img/artisan-electricite.webp);--sp-photo-sm:url(img/artisan-electricite-sm.webp);--sp-pos:50% 40%;--sp-y:40%;--sp-yt:38%}
html.c24-signup[data-trade="chauffage"]{--sp-photo:url(img/artisan-chauffage.webp);--sp-photo-sm:url(img/artisan-chauffage-sm.webp);--sp-pos:62% 50%;--sp-y:30%;--sp-yt:55%}
html.c24-signup[data-trade="peinture"]{--sp-photo:url(img/artisan-peinture.webp);--sp-photo-sm:url(img/artisan-peinture-sm.webp);--sp-pos:50% 30%;--sp-y:25%;--sp-yt:25%}
html.c24-signup[data-trade="maconnerie"]{--sp-photo:url(img/artisan-maconnerie.webp);--sp-photo-sm:url(img/artisan-maconnerie-sm.webp);--sp-pos:72% 30%;--sp-y:25%;--sp-yt:28%}
html.c24-signup[data-trade="menuiserie"]{--sp-photo:url(img/artisan-menuiserie.webp);--sp-photo-sm:url(img/artisan-menuiserie-sm.webp);--sp-pos:38% 40%;--sp-y:35%;--sp-yt:35%}
html.c24-signup[data-trade="couverture"]{--sp-photo:url(img/artisan-couverture.webp);--sp-photo-sm:url(img/artisan-couverture-sm.webp);--sp-pos:40% 45%;--sp-y:50%;--sp-yt:50%}
html.c24-signup[data-trade="carrelage"]{--sp-photo:url(img/artisan-carrelage.webp);--sp-photo-sm:url(img/artisan-carrelage-sm.webp);--sp-pos:55% 40%;--sp-y:45%;--sp-yt:45%}
html.c24-signup[data-trade="paysagisme"]{--sp-photo:url(img/artisan-paysagisme.webp);--sp-photo-sm:url(img/artisan-paysagisme-sm.webp);--sp-pos:40% 45%;--sp-y:40%;--sp-yt:40%}
html.c24-signup[data-trade="nettoyage"]{--sp-photo:url(img/artisan-nettoyage.webp);--sp-photo-sm:url(img/artisan-nettoyage-sm.webp);--sp-pos:50% 45%;--sp-y:45%;--sp-yt:45%}

/* Mobile et tablette : bandeau photo en haut (cadre sur le visage), phrase d'accroche lisible, carte qui le chevauche */
html.c24-signup{--sp-h:128px;--sp-lap:24px}
html.c24-signup::before{content:"";position:absolute;z-index:-2;left:0;right:0;top:0;height:var(--sp-h);background-color:var(--c24-ink);background-image:var(--sp-photo-sm);background-size:cover;background-position:50% var(--sp-y);background-blend-mode:luminosity;filter:brightness(1.2) contrast(1.05);border-radius:0 0 22px 22px}
html.c24-signup::after{content:"";position:absolute;z-index:-1;left:0;right:0;top:0;height:var(--sp-h);box-sizing:border-box;display:flex;align-items:flex-end;padding:0 20px calc(var(--sp-lap) + 6px);border-radius:0 0 22px 22px;background:linear-gradient(180deg,rgba(16,37,75,.3) 0,rgba(16,37,75,.12) 34%,rgba(16,37,75,.88) 56%,rgba(16,37,75,.94) 100%);color:#fff;font:600 14px/1.25 'DM Sans',system-ui,sans-serif;text-shadow:0 1px 8px rgba(16,37,75,.7)}
html.c24-auth.c24-signup main{margin-top:calc(var(--sp-h) - var(--sp-lap))}
@media screen and (min-width:600px) and (max-width:959px){html.c24-signup{--sp-h:168px;--sp-lap:36px}html.c24-signup::before{background-image:var(--sp-photo);background-repeat:no-repeat;background-size:cover;background-position:50% var(--sp-yt)}html.c24-signup::after{font-size:17px;padding:0 max(24px,calc((100% - 520px)/2)) calc(var(--sp-lap) + 8px)}}

@media screen and (min-width:960px){
html.c24-signup::before{position:fixed;left:0;top:0;right:auto;bottom:0;width:40%;height:auto;z-index:-2;border-radius:0;background-position:var(--sp-pos);background-image:var(--sp-photo);filter:contrast(1.08) brightness(1.25)}
html.c24-signup::after{content:"";position:fixed;z-index:-1;left:0;top:0;bottom:0;width:40%;height:auto;padding:0;border-radius:0;display:block;text-shadow:none;font-size:inherit;background:linear-gradient(180deg,rgba(16,37,75,.55) 0,rgba(16,37,75,.1) 22%,rgba(16,37,75,.72) 42%,rgba(16,37,75,.95) 70%,rgba(16,37,75,.97) 100%)}
html.c24-signup body::before{content:none}
}
@media screen and (min-width:960px) and (prefers-reduced-motion:no-preference){
html.c24-signup body::before{transition:opacity .2s}
}

/* Bloc de benefices : un titre et trois puces par etape (alternes via html[data-step]), reassurance constante. */
html.c24-signup .w-ben{display:none}
html.c24-signup:not([data-step]) .w-ben[data-for="1"],html.c24-signup[data-step="1"] .w-ben[data-for="1"],html.c24-signup[data-step="2"] .w-ben[data-for="2"],html.c24-signup[data-step="3"] .w-ben[data-for="3"],html.c24-signup[data-step="4"] .w-ben[data-for="4"],html.c24-signup[data-step="5"] .w-ben[data-for="5"],html.c24-signup[data-step="done"] .w-ben[data-for="done"]{display:block}
html.c24-signup .w-ben-title{margin:0;color:#fff;font-family:'Bricolage Grotesque','Segoe UI',sans-serif;font-weight:700;letter-spacing:-.02em;text-shadow:0 1px 14px rgba(16,37,75,.55)}
html.c24-signup .w-ben-list{list-style:none;margin:0;padding:0}
html.c24-signup .w-ben-list li{display:flex;align-items:flex-start;gap:10px;color:#fff;font:500 16px/1.35 'DM Sans',system-ui,sans-serif;text-shadow:0 1px 8px rgba(16,37,75,.6)}
html.c24-signup .w-ben-ck{flex:0 0 auto;width:22px;height:22px;margin-top:-1px;padding:3px;box-sizing:border-box;border-radius:50%;background:var(--c24-cta);fill:none;stroke:var(--c24-ink);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
html.c24-signup .w-ben-assure{margin:0;color:#fff;font:600 13px/1.4 'DM Sans',system-ui,sans-serif}
@media screen and (max-width:959px){
html.c24-signup .w-benefits{position:absolute;z-index:0;left:0;right:0;top:0;height:var(--sp-h);box-sizing:border-box;display:flex;align-items:flex-end;padding:0 20px calc(var(--sp-lap) + 6px);pointer-events:none;overflow:hidden}
html.c24-signup .w-ben-title{font:600 14px/1.25 'DM Sans',system-ui,sans-serif;letter-spacing:0}
html.c24-signup .w-ben-list,html.c24-signup .w-ben-assure{display:none}
}
@media screen and (min-width:600px) and (max-width:959px){html.c24-signup .w-benefits{padding:0 max(24px,calc((100% - 520px)/2)) calc(var(--sp-lap) + 8px)}html.c24-signup .w-ben-title{font-size:17px}}
@media screen and (min-width:960px){
html.c24-signup .w-benefits{position:fixed;z-index:0;left:4vw;bottom:clamp(24px,7vh,80px);width:32vw;max-height:calc(100vh - 48px);box-sizing:border-box;padding-top:22px;overflow:hidden;background:linear-gradient(var(--c24-cta),var(--c24-cta)) 0 0/56px 5px no-repeat}
html.c24-signup .w-ben-title{font-size:clamp(26px,2.5vw,42px);line-height:1.12}
html.c24-signup .w-ben-list{display:grid;gap:clamp(8px,1.6vh,16px);margin-top:clamp(14px,2.4vh,26px)}
html.c24-signup .w-ben-list li{font-size:clamp(15px,1.15vw,19px)}
html.c24-signup .w-ben-assure{margin-top:clamp(16px,3vh,32px);padding-top:14px;border-top:1px solid rgba(255,255,255,.35);font-size:clamp(13px,.95vw,15px)}
}
