/* L'atelier (créer mon site, mon site, ma fiche) : complète le style du site de vente. */
.atelier { background: var(--fond-2); }
.atelier main { min-height: 70vh; }
.compte { margin-left: auto; font-size: .96rem; }
.compte a { color: var(--sur-nuit); }
.lien { background: none; border: 0; padding: 0; font: inherit; color: var(--bleu); cursor: pointer; text-decoration: underline; }
.compte .lien { color: var(--sur-nuit); }
.lien.rouge { color: #b3261e; }
.entete nav.compte { display: block; }

.fiche { background: transparent; }
.fiche fieldset { background: var(--fond); }
.fiche.etroit { max-width: 520px; }
.fiche .aide { color: var(--doux); font-size: .95rem; margin-bottom: 16px; }
.alerte { background: #fdecea; border: 1px solid #f3b8b3; color: #8a1c14; border-radius: 12px; padding: 14px 18px; margin-bottom: 22px; }
.alerte.verte { background: #e6f6f1; border-color: #a5dccd; color: #0b5a4a; }

.prestations-saisie { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prestation { display: grid; gap: 8px; }
.prestation input { font-weight: 650; }
.prestation textarea { min-height: 84px; }

.tete-page .actions { margin-top: 26px; }
.tableau { padding-top: 40px; padding-bottom: 80px; display: grid; gap: 24px; max-width: 900px; }
.bloc { background: var(--fond); border: 1px solid var(--trait); border-radius: 18px; padding: 30px; }
.bloc h2 { font-size: 1.4rem; margin-bottom: 8px; }
.bloc > p { color: var(--doux); }
.publier { display: grid; gap: 10px; margin: 22px 0 6px; max-width: 520px; }
.publier label:not(.bouton) { font-weight: 650; font-size: .95rem; }
.publier label small { font-weight: 400; color: var(--doux); }
.publier input:not(.cache) { font: inherit; padding: 11px 13px; border: 1px solid #c4cedb; border-radius: 10px; }
.publier .bouton { justify-self: start; margin-top: 6px; }
.cache { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cache:focus-visible + p, label.bouton:focus-within { outline: 3px solid rgba(47,111,181,.4); }
#avancement { color: var(--doux); min-height: 1.6em; }
#avancement.erreur { color: #b3261e; }
.vide { color: var(--doux); margin-top: 18px; }

.mes-photos { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.mes-photos li { display: grid; gap: 6px; align-content: start; font-size: .93rem; }
.mes-photos img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--fond-2); }
.mes-photos p { font-weight: 650; }
.pastille { display: inline-block; background: #e6f6f1; color: #0b5a4a; border-radius: 999px; padding: 1px 10px; font-size: .78rem; font-weight: 700; }

@media (max-width: 900px) { .prestations-saisie { grid-template-columns: 1fr; } .bloc { padding: 22px; } }

/* Choix du style du site */
.aide-styles { color: var(--doux); margin: 0 0 18px; }
.styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.style { display: block; cursor: pointer; border: 2px solid var(--trait); border-radius: 14px; overflow: hidden;
         background: var(--fond); transition: border-color .12s ease, box-shadow .12s ease; position: relative; }
.style input { position: absolute; opacity: 0; }
.style img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--trait); }
.style span { display: block; font-weight: 400; padding: 12px 14px 14px; font-size: .9rem; color: var(--doux); line-height: 1.45; }
.style b { display: block; color: var(--encre); font-size: 1.04rem; margin-bottom: 2px; }
.style:hover { border-color: var(--bleu); }
.style:has(input:checked) { border-color: var(--bleu); box-shadow: 0 0 0 3px rgba(47,111,181,.22); }
.style:has(input:checked) b::after { content: " ✓ choisi"; color: var(--bleu); font-size: .82rem; }
.style:has(input:focus-visible) { outline: 3px solid var(--chantier); outline-offset: 2px; }
@media (max-width: 900px) { .styles { grid-template-columns: 1fr 1fr; } }
