/* Formulaire de subvention : pensé d'abord pour le mobile. Sans JavaScript, toutes les étapes s'affichent. */
.seed-subvention { max-width: 760px; margin: 0 auto 60px; }
.seed-subvention [hidden] { display: none !important; }
.seed-subvention-questions { list-style: none; padding-left: 0; margin-left: 0; }
.seed-subvention-champ, .seed-subvention-info { margin: 0 0 28px; }
.seed-subvention fieldset { border: 0; padding: 0; margin: 0; }
.seed-subvention legend, .seed-subvention-champ > label { display: block; font-weight: 600; margin-bottom: 8px; font-size: inherit; font-family: inherit; line-height: inherit; color: inherit; width: auto; padding: 0; float: none; }
.seed-subvention .requis { color: #c0392b; }
.seed-subvention .aide { font-size: 0.9em; color: #555; margin: 4px 0 8px; }
.seed-subvention input[type=text], .seed-subvention input[type=email], .seed-subvention input[type=url], .seed-subvention input[type=tel],
.seed-subvention input[type=number], .seed-subvention input[type=date], .seed-subvention select, .seed-subvention textarea {
  width: 100%; max-width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #b8c4cc; border-radius: 4px; font: inherit; font-size: 16px; min-height: 44px; }
.seed-subvention .sous { display: block; margin-bottom: 10px; font-weight: 400; }
.seed-subvention .sous span { display: block; font-size: 0.9em; margin-bottom: 4px; }
.seed-subvention .choix { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-bottom: 10px; min-height: 28px; }
.seed-subvention .choix input { margin-top: 0.3em; flex: none; width: 20px; height: 20px; }
.seed-subvention input[type=file] { display: block; max-width: 100%; min-height: 44px; }
.seed-subvention input[type=file]:disabled { opacity: 0.5; }
.seed-subvention-info { background: #f1f5f8; padding: 16px 20px; list-style: none; }
.seed-subvention-erreurs { border: 2px solid #c0392b; background: #fdf0ee; padding: 12px 18px; margin-bottom: 24px; }
.seed-subvention-merci { max-width: 760px; margin: 0 auto 60px; padding: 20px; background: #eef7ee; }
.seed-subvention-piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.seed-subvention .a-erreur input:not([type=radio]):not([type=checkbox]), .seed-subvention .a-erreur select, .seed-subvention .a-erreur textarea { border-color: #c0392b; border-width: 2px; }
.seed-subvention .erreur-champ, .seed-subvention .message-fichier { color: #b03a2e; font-size: 0.95em; font-weight: 600; margin: 6px 0 0; }
.seed-subvention :focus-visible { outline: 3px solid #f39565; outline-offset: 2px; }

/* Parcours par étapes (actif seulement avec JavaScript). */
.seed-sub-progression { margin: 0 0 20px; }
.seed-sub-etape-nom { font-weight: 600; margin: 0 0 8px; }
.seed-sub-barre { height: 8px; background: #e3e9ee; border-radius: 4px; overflow: hidden; }
.seed-sub-barre span { display: block; height: 100%; width: 0; background: #f39565; transition: width .25s; }
.seed-sub-titre { margin: 0 0 18px; }
.seed-sub-titre:focus { outline: none; }
.js-etapes .seed-subvention-note { font-size: 0.9em; color: #555; }
.seed-sub-nav { display: flex; gap: 12px; justify-content: space-between; margin: 8px 0 16px; }
.seed-sub-nav .btn, .seed-sub-envoi .btn { min-height: 48px; padding-left: 22px; padding-right: 22px; }
.seed-sub-nav .seed-sub-suivant { margin-left: auto; }
.seed-sub-envoi { text-align: right; }
.seed-sub-deposes { list-style: none; padding: 0; margin: 8px 0 0; }
.seed-sub-deposes li { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 8px 12px; background: #f1f5f8; border-radius: 4px; margin-bottom: 6px; word-break: break-word; }
.seed-sub-deposes .seed-sub-en-cours { background: #fff7e6; }
.seed-sub-retirer { background: none; border: 1px solid #b8c4cc; border-radius: 4px; padding: 6px 12px; min-height: 36px; cursor: pointer; flex: none; }
.seed-sub-avis { border-left: 4px solid #f39565; background: #fff7f2; padding: 12px 16px; margin: 0 0 20px; }
.seed-sub-avis p { margin: 0 0 8px; }
.seed-sub-avis p:last-child { margin: 0; }
.seed-sub-plus-tard { border-top: 1px solid #e3e9ee; padding-top: 16px; margin-top: 8px; }
.seed-sub-plus-tard-ouvrir { background: none; border: 0; padding: 8px 0; text-decoration: underline; cursor: pointer; font: inherit; color: inherit; }
.seed-sub-plus-tard-panneau { background: #f1f5f8; padding: 16px; margin-top: 8px; }
.seed-sub-recap-etape { border: 1px solid #e3e9ee; border-radius: 6px; padding: 14px 16px; margin-bottom: 16px; }
.seed-sub-recap-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.seed-sub-recap-tete h4 { margin: 0; }
.seed-sub-recap dl { margin: 0; }
.seed-sub-recap dt { font-weight: 600; margin-top: 10px; font-size: 0.95em; }
.seed-sub-recap dd { margin: 2px 0 0; white-space: pre-wrap; word-break: break-word; color: #333; }
@media (min-width: 768px) {
  .seed-sub-recap dl { display: grid; grid-template-columns: 40% 1fr; column-gap: 16px; }
  .seed-sub-recap dt { margin-top: 8px; }
  .seed-sub-recap dd { margin-top: 8px; }
}
.seed-sub-modifier { background: #fff; border: 1px solid #b8c4cc; border-radius: 4px; padding: 6px 14px; min-height: 40px; cursor: pointer; flex: none; }
.seed-sub-recap-tete h4 { color: inherit; }
