/* Formulaire de démarrage : habillé par le thème du site (lot 3, pas 1) — couleurs, polices, rayons et boutons viennent des variables
   WordPress du thème actif (palette base / surface / contrast / muted / primary / on-primary / accent / border, polices heading et body),
   avec des valeurs de repli : sur un autre thème, il reste lisible ; sur celui de wizm, il en reprend la signature. */
.wpsw-demarrage {
	--wd-accent: var(--wp--preset--color--primary, #7a2cf5);
	--wd-sur-accent: var(--wp--preset--color--on-primary, #fff);
	--wd-vif: var(--wp--preset--color--accent, #e8680c);
	--wd-fond: var(--wp--preset--color--base, #fff);
	--wd-surface: var(--wp--preset--color--surface, #f3f1fa);
	--wd-encre: var(--wp--preset--color--contrast, #1b1530);
	--wd-sourdine: var(--wp--preset--color--muted, #4a4560);
	--wd-doux: color-mix(in srgb, var(--wd-encre) 6%, var(--wd-fond));
	--wd-teinte: color-mix(in srgb, var(--wd-accent) 9%, var(--wd-fond));
	--wd-trait: var(--wp--preset--color--border, color-mix(in srgb, var(--wd-encre) 22%, var(--wd-fond)));
	--wd-trait-fort: color-mix(in srgb, var(--wd-encre) 38%, var(--wd-fond));
	--wd-titre: var(--wp--preset--font-family--heading, inherit);
	--wd-rayon: 14px;
	--wd-rayon-carte: 26px;
	--wd-erreur: #b3261e;
	max-width: 44rem; margin-inline: auto; color: var(--wd-encre); font: inherit; line-height: 1.6;
}
.wpsw-demarrage *, .wpsw-demarrage *::before, .wpsw-demarrage *::after { box-sizing: border-box; }
.wpsw-demarrage h2, .wpsw-demarrage h3 { font-family: var(--wd-titre); font-weight: 700; }
.wpsw-demarrage h2 { margin: 0 0 .3em; font-size: clamp(1.6rem, 4.5vw, 2.1rem); line-height: 1.15; }
.wpsw-demarrage h2:focus { outline: none; }
.wpsw-demarrage .wd-intro { margin: 0 0 1.75em; color: var(--wd-sourdine); font-size: 1.05em; }
/* Progression : une pastille par étape, reliées par un trait ; l'étape en cours est pleine, les faites sont cochées */
.wpsw-demarrage .wd-progres { display: flex; gap: .5rem; margin: 0 0 1.75rem; padding: 0; list-style: none; counter-reset: wd-e; }
.wpsw-demarrage .wd-progres li { position: relative; flex: 1; height: .5rem; border-radius: 99px; background: var(--wd-doux); overflow: hidden; }
.wpsw-demarrage .wd-progres li.fait { background: var(--wd-accent); }
.wpsw-demarrage .wd-progres li.actif { background: linear-gradient(90deg, var(--wd-accent) 45%, var(--wd-doux) 45%); }
.wpsw-demarrage .wd-etape { margin: 0 0 .5rem; color: var(--wd-accent); font-family: var(--wd-titre); font-size: .85em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
/* Le panneau de l'étape est une carte : surface du thème, grand rayon, sans ombre portée */
.wpsw-demarrage .wd-panneau { padding: clamp(1.1rem, 4vw, 2rem); background: var(--wd-surface); border-radius: var(--wd-rayon-carte); }
.wpsw-demarrage .wd-champ { margin: 0 0 1.75rem; padding: 0; border: 0; min-width: 0; }
.wpsw-demarrage legend, .wpsw-demarrage label.wd-q { display: block; padding: 0; margin: 0 0 .35rem; font-weight: 700; font-size: 1.04em; }
.wpsw-demarrage .wd-aide { display: block; margin: 0 0 .55rem; color: var(--wd-sourdine); font-size: .93em; }
.wpsw-demarrage input[type=text], .wpsw-demarrage input[type=email], .wpsw-demarrage input[type=tel], .wpsw-demarrage textarea {
	width: 100%; min-height: 3rem; padding: .65rem .85rem; font: inherit; color: inherit; background: var(--wd-fond);
	border: 2px solid var(--wd-trait); border-radius: var(--wd-rayon); transition: border-color .15s;
}
.wpsw-demarrage input[type=text]:hover, .wpsw-demarrage input[type=email]:hover, .wpsw-demarrage input[type=tel]:hover, .wpsw-demarrage textarea:hover { border-color: var(--wd-trait-fort); }
.wpsw-demarrage textarea { min-height: 7.5rem; resize: vertical; }
.wpsw-demarrage input:focus-visible, .wpsw-demarrage textarea:focus-visible, .wpsw-demarrage button:focus-visible, .wpsw-demarrage a:focus-visible { outline: 3px solid var(--wd-vif); outline-offset: 3px; }
.wpsw-demarrage input:focus-visible, .wpsw-demarrage textarea:focus-visible { border-color: var(--wd-accent); }
.wpsw-demarrage [aria-invalid=true] { border-color: var(--wd-erreur); }
.wpsw-demarrage .wd-choix { display: flex; align-items: flex-start; gap: .7rem; min-height: 3rem; padding: .6rem .85rem; margin: 0 0 .45rem; background: var(--wd-fond); border: 2px solid var(--wd-trait); border-radius: var(--wd-rayon); cursor: pointer; transition: border-color .15s, background-color .15s; }
.wpsw-demarrage .wd-choix:hover { border-color: var(--wd-trait-fort); }
.wpsw-demarrage .wd-choix:has(input:checked) { border-color: var(--wd-accent); background: var(--wd-teinte); }
.wpsw-demarrage .wd-choix input { flex: none; width: 1.3rem; height: 1.3rem; margin: .1rem 0 0; accent-color: var(--wd-accent); }
.wpsw-demarrage .wd-nsp { margin-top: .6rem; font-size: .95em; color: var(--wd-sourdine); }
.wpsw-demarrage .wd-erreur { margin: .4rem 0 0; color: var(--wd-erreur); font-size: .95em; font-weight: 700; }
.wpsw-demarrage .wd-resume-erreurs { margin: 0 0 1.5rem; padding: 1rem 1.25rem; background: var(--wd-fond); border: 2px solid var(--wd-erreur); border-radius: var(--wd-rayon); }
.wpsw-demarrage .wd-resume-erreurs:focus { outline: none; }
.wpsw-demarrage .wd-note { padding: .8rem 1rem; background: var(--wd-teinte); border-radius: var(--wd-rayon); font-size: .95em; }
.wpsw-demarrage .wd-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 2rem; }
/* Boutons : ceux du thème (pilule, titre en police de titre, hover qui fonce le violet) */
.wpsw-demarrage button { min-height: 3rem; padding: .7rem 1.5rem; font: inherit; font-family: var(--wd-titre); font-weight: 700; font-size: 1.05rem; line-height: 1.25; border-radius: 999px; cursor: pointer; border: 2px solid var(--wd-accent); transition: background-color .15s, color .15s; }
.wpsw-demarrage .wd-primaire { color: var(--wd-sur-accent); background: var(--wd-accent); }
.wpsw-demarrage .wd-primaire:hover:not([disabled]) { background: color-mix(in srgb, var(--wd-accent) 84%, var(--wd-encre)); border-color: color-mix(in srgb, var(--wd-accent) 84%, var(--wd-encre)); }
.wpsw-demarrage .wd-secondaire { color: var(--wd-accent); background: var(--wd-fond); }
.wpsw-demarrage .wd-secondaire:hover:not([disabled]) { background: var(--wd-teinte); }
.wpsw-demarrage button[disabled] { opacity: .55; cursor: wait; }
.wpsw-demarrage .wd-lien { min-height: 0; padding: 0; border: 0; border-radius: 0; color: var(--wd-accent); background: none; text-decoration: underline; font-family: inherit; font-weight: 700; font-size: inherit; }
.wpsw-demarrage .wd-statut { margin-left: auto; color: var(--wd-sourdine); font-size: .88em; }
.wpsw-demarrage dl.wd-recap { margin: 0 0 1.5rem; }
.wpsw-demarrage .wd-recap dt { margin-top: 1rem; font-weight: 700; }
.wpsw-demarrage .wd-recap dd { margin: .2rem 0 0; white-space: pre-line; }
.wpsw-demarrage .wd-recap .wd-vide { color: var(--wd-sourdine); font-style: italic; }
.wpsw-demarrage .wd-piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { .wpsw-demarrage .wd-panneau { animation: wd-entree .25s ease-out; } }
@keyframes wd-entree { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 30rem) { .wpsw-demarrage .wd-actions > button { flex: 1 1 100%; } .wpsw-demarrage .wd-statut { margin-left: 0; flex-basis: 100%; } }

/* Accusé de réception (vue « reçue ») */
.wpsw-demarrage .wd-coche { display: inline-grid; place-items: center; width: 3.2rem; height: 3.2rem; margin: 0 0 .75rem; border-radius: 50%; background: var(--wd-accent); color: var(--wd-sur-accent); font-family: var(--wd-titre); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.wpsw-demarrage .wd-suite { display: grid; gap: .6rem; margin: .75rem 0 2rem; padding: 0; list-style: none; counter-reset: wd-s; }
.wpsw-demarrage .wd-suite li { position: relative; display: grid; gap: .1rem; padding: .75rem 1rem .75rem 3.4rem; background: var(--wd-fond); border-radius: var(--wd-rayon); counter-increment: wd-s; }
.wpsw-demarrage .wd-suite li::before { content: counter(wd-s); position: absolute; left: .85rem; top: .75rem; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 2px solid var(--wd-accent); color: var(--wd-accent); font-family: var(--wd-titre); font-weight: 700; font-size: .95em; }
.wpsw-demarrage .wd-suite span { color: var(--wd-sourdine); font-size: .95em; }
.wpsw-demarrage .wd-reponses { margin-top: 1.5rem; padding: .25rem 1rem; background: var(--wd-fond); border-radius: var(--wd-rayon); }
.wpsw-demarrage .wd-reponses summary { min-height: 3rem; padding: .75rem 0; font-weight: 700; cursor: pointer; }
.wpsw-demarrage .wd-reponses h3 { margin: 1.25rem 0 .25rem; font-size: 1.05em; }
.wpsw-demarrage input[readonly] { background: var(--wd-doux); text-overflow: ellipsis; }

/* Maquettes en ligne (maquettes.js) */
.wpsw-demarrage .wm-onglets { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 .5rem; }
.wpsw-demarrage .wm-onglet { min-height: 2.75rem; padding: .5rem 1rem; color: var(--wd-encre); background: transparent; border: 2px solid var(--wd-trait); border-radius: .5rem; font-weight: 600; }
.wpsw-demarrage .wm-onglet[aria-selected=true] { color: var(--wd-sur-accent); background: var(--wd-accent); border-color: var(--wd-accent); }
.wpsw-demarrage .wm-choix { font-size: .85em; font-weight: 700; }
.wpsw-demarrage .wm-barre { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; margin: .5rem 0; }
.wpsw-demarrage .wm-ecran { display: flex; gap: .75rem; margin-left: auto; }
.wpsw-demarrage .wm-ecran button[aria-pressed=true] { font-weight: 800; text-decoration: none; }
.wpsw-demarrage .wm-zone { display: flex; justify-content: center; background: var(--wd-doux); border-radius: .5rem; padding: .5rem; }
.wpsw-demarrage .wm-cadre { width: 100%; height: 70vh; min-height: 28rem; border: 0; border-radius: .35rem; background: #fff; }
.wpsw-demarrage .wm-zone[data-ecran=mobile] .wm-cadre { width: 390px; max-width: 100%; }
.wpsw-demarrage .wm-version { min-height: 2.75rem; font: inherit; padding: .4rem .6rem; border: 2px solid var(--wd-trait); border-radius: .5rem; background: var(--wd-fond); color: inherit; }
.wpsw-demarrage .wm-liste { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.wpsw-demarrage .wm-liste li { display: flex; gap: .75rem; align-items: flex-start; padding: .6rem .75rem; border: 2px solid var(--wd-trait); border-radius: .5rem; }
.wpsw-demarrage .wm-liste li:focus { outline: 3px solid var(--wd-accent); }
.wpsw-demarrage .wm-n { flex: none; display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #e0137a; color: #fff; font-weight: 700; font-size: .85em; }
.wpsw-demarrage .wm-corps { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.wpsw-demarrage .wm h3 { margin: 1.5rem 0 .5rem; font-size: 1.15em; }
.wpsw-demarrage .wm .wd-statut { margin: .5rem 0; min-height: 1.4em; }

/* Suite du projet (suivi.js) */
.wpsw-demarrage .ws-etapes { display: grid; gap: .5rem; margin: 1rem 0 1.5rem; padding: 0; list-style: none; }
.wpsw-demarrage .ws-etapes li { display: flex; align-items: center; gap: .75rem; color: color-mix(in srgb, var(--wd-encre) 60%, var(--wd-fond)); }
.wpsw-demarrage .ws-etapes li.fait { color: var(--wd-encre); }
.wpsw-demarrage .ws-etapes li.actif { color: var(--wd-encre); font-weight: 700; }
.wpsw-demarrage .ws-pastille { display: inline-grid; place-items: center; flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 2px solid var(--wd-trait); font-size: .85em; font-weight: 700; }
.wpsw-demarrage .ws-etapes li.fait .ws-pastille { background: var(--wd-accent); border-color: var(--wd-accent); color: #fff; }
.wpsw-demarrage .ws-etapes li.actif .ws-pastille { border-color: var(--wd-accent); color: var(--wd-accent); }
.wpsw-demarrage .ws-lien { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .6rem 1.25rem; border-radius: 99px; text-decoration: none; color: #fff; background: var(--wd-accent); font-weight: 700; }
.wpsw-demarrage .ws-guide { margin: 2rem 0; padding-top: 1rem; border-top: 2px solid var(--wd-doux); }
.wpsw-demarrage .ws-etat ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.wpsw-demarrage .ws-ok { border: 2px solid #17794a; }
.wpsw-demarrage .ws-attente { border: 2px solid #a25400; }
.wpsw-demarrage .ws-ko { border: 2px solid var(--wd-erreur); }
.wpsw-demarrage .ws-corps h1 { display: none; }
.wpsw-demarrage .ws-corps h2 { margin: 1.5rem 0 .5rem; font-size: 1.2em; }
.wpsw-demarrage .ws-corps table { border-collapse: collapse; width: 100%; margin: .5rem 0 1rem; font-size: .95em; }
.wpsw-demarrage .ws-corps th, .wpsw-demarrage .ws-corps td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--wd-trait); vertical-align: top; }
.wpsw-demarrage .ws-corps code { padding: 1px 6px; border-radius: 4px; background: var(--wd-doux); overflow-wrap: anywhere; }
.wpsw-demarrage .ws-corps details { margin: .4rem 0; border: 2px solid var(--wd-trait); border-radius: .5rem; padding: .25rem .75rem; }
.wpsw-demarrage .ws-corps summary { min-height: 2.75rem; padding: .6rem 0; font-weight: 700; cursor: pointer; }
.wpsw-demarrage .ws-corps details[open] { border-color: var(--wd-accent); }
.wpsw-demarrage .ws-corps li { margin-bottom: .4rem; }
.wpsw-demarrage .ws-corps a { color: var(--wd-accent); font-weight: 600; }

/* Pièces déposées (demarrage.js) */
.wpsw-demarrage .wd-fichier { display: block; width: 100%; padding: .6rem; font: inherit; color: inherit; border: 2px dashed var(--wd-trait); border-radius: .5rem; background: var(--wd-fond); }
.wpsw-demarrage .wd-pieces { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .35rem; }
.wpsw-demarrage .wd-pieces li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem; padding: .4rem .6rem; background: var(--wd-doux); border-radius: .4rem; }
.wpsw-demarrage .wd-piece-nom { font-weight: 600; overflow-wrap: anywhere; }

/* ═══ Refonte du formulaire : aéré, chaleureux, ludique (lot 3, pas 4, 06/10/2026) ═══════════════════════════════════
   Pastilles d'étapes à pictogramme, jauge d'avancement, bulle d'encouragement, questions en cartes numérotées, choix en tuiles,
   zone de dépôt, fête à la fin. Tout reste en variables du thème ; le mouvement est coupé sous prefers-reduced-motion. */
.wpsw-demarrage { max-width: 47rem; --wd-rayon: 16px; --wd-rayon-carte: 32px; --wd-halo: color-mix(in srgb, var(--wd-accent) 22%, transparent); }
.wpsw-demarrage .wd-ico { display: block; flex: none; width: 1.4rem; height: 1.4rem; }
.wpsw-demarrage .wd-panneau { padding: clamp(1.25rem, 5vw, 2.75rem); }

/* Étapes : pastilles reliées par un trait */
.wpsw-demarrage .wd-avancement { margin: 0 0 2.25rem; }
.wpsw-demarrage .wd-etapes { display: flex; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.wpsw-demarrage .wd-etapes li { position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: .5rem; min-width: 0; text-align: center; color: var(--wd-sourdine); }
.wpsw-demarrage .wd-etapes li + li::before { content: ''; position: absolute; top: 1.4rem; right: 50%; width: 100%; height: 3px; border-radius: 3px; background: var(--wd-trait); z-index: 0; }
.wpsw-demarrage .wd-etapes li.fait + li::before, .wpsw-demarrage .wd-etapes li.actif::before { background: var(--wd-accent); }
.wpsw-demarrage .wd-etapes li.actif::before { background: linear-gradient(90deg, var(--wd-accent), var(--wd-trait)); }
.wpsw-demarrage .wd-pastille { position: relative; z-index: 1; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--wd-fond); border: 3px solid var(--wd-trait); color: var(--wd-sourdine); transition: background-color .25s, border-color .25s, color .25s, transform .25s; }
.wpsw-demarrage .wd-etapes li.fait .wd-pastille { background: var(--wd-accent); border-color: var(--wd-accent); color: var(--wd-sur-accent); }
.wpsw-demarrage .wd-etapes li.actif .wd-pastille { border-color: var(--wd-accent); color: var(--wd-accent); box-shadow: 0 0 0 6px var(--wd-halo); transform: scale(1.08); }
.wpsw-demarrage .wd-etiquette { font-size: .8em; font-weight: 600; line-height: 1.25; }
.wpsw-demarrage .wd-etapes li.actif .wd-etiquette { color: var(--wd-encre); font-weight: 800; }
.wpsw-demarrage .wd-etape-lien { all: unset; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: .5rem; cursor: pointer; border-radius: var(--wd-rayon); }
.wpsw-demarrage .wd-etape-lien:hover .wd-pastille { transform: scale(1.08); }
.wpsw-demarrage .wd-etape-lien:focus-visible { outline: 3px solid var(--wd-vif); outline-offset: 4px; }

/* Jauge : barre pleine de couleur, qui se remplit */
.wpsw-demarrage .wd-jauge-barre { height: .9rem; border-radius: 99px; background: var(--wd-fond); border: 2px solid var(--wd-trait); overflow: hidden; }
.wpsw-demarrage .wd-jauge-plein { display: block; height: 100%; min-width: .4rem; border-radius: 99px; background: linear-gradient(90deg, var(--wd-accent), color-mix(in srgb, var(--wd-accent) 55%, var(--wd-vif))); transition: width .6s cubic-bezier(.22, 1, .36, 1); }
.wpsw-demarrage .wd-jauge-texte { margin: .6rem 0 0; font-size: .95em; color: var(--wd-sourdine); }
.wpsw-demarrage .wd-jauge-texte strong { color: var(--wd-accent); font-family: var(--wd-titre); }

/* Un mot gentil à chaque étape, et un bravo quand on avance */
.wpsw-demarrage .wd-bulle { display: flex; align-items: center; gap: .9rem; margin: 0 0 2rem; padding: 1rem 1.25rem; background: var(--wd-fond); border-radius: 22px 22px 22px 6px; }
.wpsw-demarrage .wd-bulle p { margin: 0; color: var(--wd-encre); }
.wpsw-demarrage .wd-bulle-ico { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--wd-accent); color: var(--wd-sur-accent); }
.wpsw-demarrage .wd-bravo { display: flex; align-items: center; gap: .5rem; width: fit-content; max-width: 100%; margin: 0 0 1.5rem; padding: .45rem 1rem .45rem .75rem; border-radius: 999px; background: var(--wd-teinte); color: var(--wd-accent); font-weight: 700; font-size: .95em; }
.wpsw-demarrage .wd-bravo .wd-ico { width: 1.2rem; height: 1.2rem; }
.wpsw-demarrage .wd-etape { margin-bottom: .35rem; }
.wpsw-demarrage h2 { margin-bottom: .45rem; }
.wpsw-demarrage .wd-panneau > .wd-intro, .wpsw-demarrage .wd-panneau > h2 + .wd-intro { margin-bottom: 1.25rem; }

/* Questions : chacune dans sa carte, numérotée */
.wpsw-demarrage .wd-carte { position: relative; margin: 0 0 1.25rem; padding: 1.5rem 1.4rem 1.5rem; background: var(--wd-fond); border: 2px solid transparent; border-radius: 22px; transition: border-color .2s, box-shadow .2s; }
.wpsw-demarrage .wd-carte:focus-within { border-color: var(--wd-accent); box-shadow: 0 6px 24px -12px var(--wd-halo); }
.wpsw-demarrage .wd-carte[data-n]::before { content: attr(data-n); display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; margin: 0 0 .65rem; border-radius: 50%; background: var(--wd-teinte); color: var(--wd-accent); font-family: var(--wd-titre); font-weight: 800; font-size: .95em; }
.wpsw-demarrage .wd-carte-simple { background: transparent; padding-inline: .25rem; }
.wpsw-demarrage .wd-carte-simple:focus-within { border-color: transparent; box-shadow: none; }
.wpsw-demarrage .wd-carte legend { float: left; width: 100%; margin-bottom: .35rem; }
.wpsw-demarrage .wd-carte legend + * { clear: both; }
.wpsw-demarrage legend, .wpsw-demarrage label.wd-q, .wpsw-demarrage .wd-q { font-size: 1.12em; line-height: 1.35; }
.wpsw-demarrage span.wd-q { display: block; font-weight: 700; margin: 0 0 .35rem; }
.wpsw-demarrage .wd-aide { margin-bottom: .75rem; }
.wpsw-demarrage input[type=text], .wpsw-demarrage input[type=email], .wpsw-demarrage input[type=tel], .wpsw-demarrage textarea { min-height: 3.4rem; padding: .8rem 1rem; font-size: 1.05em; border-radius: var(--wd-rayon); background: var(--wd-surface); }
.wpsw-demarrage input:focus-visible, .wpsw-demarrage textarea:focus-visible { background: var(--wd-fond); box-shadow: 0 0 0 4px var(--wd-halo); }

/* Choix : des tuiles qu'on touche */
.wpsw-demarrage .wd-tuiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); gap: .65rem; }
.wpsw-demarrage .wd-tuiles > legend, .wpsw-demarrage .wd-tuiles > .wd-aide, .wpsw-demarrage .wd-tuiles > .wd-erreur, .wpsw-demarrage .wd-tuiles > .wd-nsp { grid-column: 1 / -1; }
.wpsw-demarrage .wd-tuiles .wd-choix { align-items: center; min-height: 3.6rem; margin: 0; padding: .7rem 1rem; border-radius: 18px; background: var(--wd-surface); border-color: transparent; transition: border-color .2s, background-color .2s, transform .15s; }
.wpsw-demarrage .wd-tuiles .wd-choix:hover { border-color: var(--wd-trait-fort); transform: translateY(-1px); }
.wpsw-demarrage .wd-tuiles .wd-choix:has(input:checked) { background: var(--wd-teinte); border-color: var(--wd-accent); font-weight: 700; }
.wpsw-demarrage .wd-tuiles .wd-choix:active { transform: scale(.98); }
.wpsw-demarrage .wd-choix .wd-ico-nsp { width: 1.2rem; height: 1.2rem; color: var(--wd-vif); }
.wpsw-demarrage .wd-nsp { align-items: center; width: fit-content; max-width: 100%; margin-top: .5rem; padding: .55rem 1rem; border: 2px dashed var(--wd-trait-fort); border-radius: 999px; background: transparent; font-size: .95em; }
.wpsw-demarrage .wd-nsp:has(input:checked) { border-style: solid; border-color: var(--wd-vif); background: color-mix(in srgb, var(--wd-vif) 10%, var(--wd-fond)); }
.wpsw-demarrage .wd-confidentialite-lien { margin: .5rem 0 0; }
.wpsw-demarrage .wd-confidentialite-lien a { color: var(--wd-accent); font-weight: 600; }

/* Boutons : un peu de vie */
.wpsw-demarrage .wd-actions { gap: .85rem; margin-top: 2.25rem; }
.wpsw-demarrage button { min-height: 3.2rem; padding: .75rem 1.75rem; transition: background-color .15s, color .15s, transform .15s, box-shadow .15s; }
.wpsw-demarrage .wd-primaire { box-shadow: 0 8px 20px -10px var(--wd-accent); }
.wpsw-demarrage .wd-primaire:hover:not([disabled]) { transform: translateY(-2px); box-shadow: 0 12px 24px -10px var(--wd-accent); }
.wpsw-demarrage .wd-primaire:active:not([disabled]), .wpsw-demarrage .wd-secondaire:active:not([disabled]) { transform: scale(.97); }
.wpsw-demarrage .wd-statut { font-size: .9em; }

/* Zone de dépôt des fichiers */
.wpsw-demarrage .wd-depot { display: grid; justify-items: center; gap: .3rem; padding: 1.75rem 1rem; text-align: center; background: var(--wd-surface); border: 3px dashed var(--wd-trait-fort); border-radius: 22px; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s; }
.wpsw-demarrage .wd-depot:hover, .wpsw-demarrage .wd-depot.survol { background: var(--wd-teinte); border-color: var(--wd-accent); }
.wpsw-demarrage .wd-depot.survol { transform: scale(1.02); }
.wpsw-demarrage .wd-depot:focus-within { outline: 3px solid var(--wd-vif); outline-offset: 3px; }
.wpsw-demarrage .wd-depot .wd-ico { width: 2.4rem; height: 2.4rem; color: var(--wd-accent); }
.wpsw-demarrage .wd-depot-titre { font-family: var(--wd-titre); font-weight: 700; font-size: 1.1em; }
.wpsw-demarrage .wd-depot-aide { color: var(--wd-sourdine); font-size: .92em; }
.wpsw-demarrage .wd-depot .wd-fichier { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); border: 0; }
.wpsw-demarrage .wd-pieces li { background: var(--wd-teinte); border-radius: 14px; padding: .55rem .85rem; }

/* La fête : accusé de réception et suppression */
.wpsw-demarrage .wd-fete { position: relative; display: grid; place-items: center; width: 7rem; height: 5.2rem; margin: 0 0 .5rem; }
.wpsw-demarrage .wd-fete .wd-coche { position: relative; z-index: 1; width: 3.8rem; height: 3.8rem; margin: 0; }
.wpsw-demarrage .wd-coche .wd-ico { width: 2rem; height: 2rem; stroke-width: 3; }
.wpsw-demarrage .wd-coche-doux { background: var(--wd-teinte); color: var(--wd-accent); }
.wpsw-demarrage .wd-confetti { position: absolute; top: 50%; left: 50%; width: .6rem; height: .6rem; margin: -.3rem 0 0 -.3rem; border-radius: 50%; background: var(--wd-accent); opacity: 0; }
.wpsw-demarrage .wd-c2, .wpsw-demarrage .wd-c5, .wpsw-demarrage .wd-c8 { background: var(--wd-vif); }
.wpsw-demarrage .wd-c3, .wpsw-demarrage .wd-c6, .wpsw-demarrage .wd-c9 { background: color-mix(in srgb, var(--wd-accent) 45%, var(--wd-fond)); border-radius: 2px; }
.wpsw-demarrage .wd-c1 { --x: -3.4rem; --y: -1.6rem; } .wpsw-demarrage .wd-c2 { --x: -2.2rem; --y: -2.6rem; } .wpsw-demarrage .wd-c3 { --x: -.6rem; --y: -3rem; }
.wpsw-demarrage .wd-c4 { --x: 1.4rem; --y: -2.8rem; } .wpsw-demarrage .wd-c5 { --x: 3rem; --y: -1.9rem; } .wpsw-demarrage .wd-c6 { --x: 3.5rem; --y: .2rem; }
.wpsw-demarrage .wd-c7 { --x: 2.6rem; --y: 2.2rem; } .wpsw-demarrage .wd-c8 { --x: .4rem; --y: 2.8rem; } .wpsw-demarrage .wd-c9 { --x: -2rem; --y: 2.4rem; } .wpsw-demarrage .wd-c10 { --x: -3.5rem; --y: .6rem; }
.wpsw-demarrage .wd-supprimer { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 2px solid var(--wd-trait); }
.wpsw-demarrage .wd-supprimer h3 { margin: 0 0 .25rem; font-size: 1.05em; }
.wpsw-demarrage .wd-lien-danger { color: var(--wd-erreur); }
.wpsw-demarrage .wd-confirmer { margin-top: .75rem; padding: 1rem 1.25rem; background: var(--wd-fond); border: 2px solid var(--wd-erreur); border-radius: var(--wd-rayon); }
.wpsw-demarrage .wd-confirmer[hidden] { display: none; }
.wpsw-demarrage .wd-confirmer p { margin: 0; }
.wpsw-demarrage .wd-confirmer .wd-actions { margin-top: 1rem; }
.wpsw-demarrage .wd-danger { color: #fff; background: var(--wd-erreur); border-color: var(--wd-erreur); }
.wpsw-demarrage .wd-danger:hover:not([disabled]) { background: color-mix(in srgb, var(--wd-erreur) 84%, #000); }
.wpsw-demarrage .wpsw-confidentialite h2 { margin-bottom: .5rem; }
.wpsw-demarrage .wpsw-confidentialite h3 { margin: 1.75rem 0 .35rem; font-size: 1.1em; }
.wpsw-demarrage .wpsw-confidentialite ul { padding-left: 1.2rem; }

@media (prefers-reduced-motion: no-preference) {
	.wpsw-demarrage .wd-etapes li.actif .wd-pastille { animation: wd-pouls 2.4s ease-in-out infinite; }
	.wpsw-demarrage .wd-bravo { animation: wd-pop .45s cubic-bezier(.34, 1.56, .64, 1); }
	.wpsw-demarrage .wd-carte { animation: wd-monte .4s ease-out backwards; }
	.wpsw-demarrage .wd-carte:nth-of-type(2) { animation-delay: .05s; } .wpsw-demarrage .wd-carte:nth-of-type(3) { animation-delay: .1s; } .wpsw-demarrage .wd-carte:nth-of-type(4) { animation-delay: .15s; } .wpsw-demarrage .wd-carte:nth-of-type(5) { animation-delay: .2s; }
	.wpsw-demarrage .wd-fete .wd-coche { animation: wd-pop .6s cubic-bezier(.34, 1.56, .64, 1); }
	.wpsw-demarrage .wd-confetti { animation: wd-confetti 1.1s .15s ease-out forwards; }
}
@keyframes wd-pouls { 0%, 100% { box-shadow: 0 0 0 4px var(--wd-halo); } 50% { box-shadow: 0 0 0 10px transparent; } }
@keyframes wd-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes wd-monte { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes wd-confetti { 0% { opacity: 1; transform: translate(0, 0) scale(.4); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(200deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .wpsw-demarrage .wd-jauge-plein, .wpsw-demarrage .wd-pastille { transition: none; } .wpsw-demarrage .wd-confetti { display: none; } }

/* Petits écrans : seules l'étape en cours garde son nom, les cartes se resserrent */
@media (max-width: 36rem) {
	.wpsw-demarrage .wd-etiquette { display: none; }
	.wpsw-demarrage .wd-etapes li.actif .wd-etiquette { display: block; position: absolute; top: 3.3rem; left: 50%; transform: translateX(-50%); white-space: nowrap; }
	.wpsw-demarrage .wd-etapes { margin-bottom: 2.4rem; }
	.wpsw-demarrage .wd-pastille { width: 2.5rem; height: 2.5rem; }
	.wpsw-demarrage .wd-etapes li + li::before { top: 1.25rem; }
	.wpsw-demarrage .wd-carte { padding: 1.25rem 1rem; }
	.wpsw-demarrage .wd-bulle { padding: .85rem 1rem; }
}
