:root { --vert: #1b7a43; --fonce: #123; --fond: #fafaf7; }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, sans-serif; color: var(--fonce); background: var(--fond); }
header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #fff; border-bottom: 1px solid #e5e5e0; }
.logo { font-weight: 700; text-decoration: none; color: var(--fonce); font-size: 1.1rem; }
nav a { text-decoration: none; color: var(--vert); font-weight: 600; }
main { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
footer { text-align: center; padding: 24px 16px; color: #777; }
footer a { color: #777; }
footer .signature { margin: 0 0 6px; font-size: 0.9rem; }
/* --- page d'accueil (présentation) --- */
.hero { padding: 8px 0 24px; border-bottom: 1px solid #e5e5e0; }
.hero h1 { font-size: 1.9rem; line-height: 1.2; margin-bottom: 12px; }
.accroche { font-size: 1.1rem; line-height: 1.5; }
.rassurance { color: #5a6a5f; font-size: 0.92rem; margin-top: 10px; }
.bloc { margin-top: 36px; }
.bloc h2 { font-size: 1.35rem; line-height: 1.3; }
.bloc p, .liste li { line-height: 1.55; }
.liste { padding-left: 20px; }
.liste li { margin-bottom: 8px; }
.etapes { counter-reset: etape; list-style: none; padding: 0; margin: 0; }
.etapes li { counter-increment: etape; position: relative; background: #fff; border: 1px solid #e5e5e0;
             border-radius: 10px; padding: 14px 16px 14px 58px; margin-bottom: 12px; }
.etapes li::before { content: counter(etape); position: absolute; left: 14px; top: 14px;
                     width: 30px; height: 30px; border-radius: 50%; background: var(--vert);
                     color: #fff; font-weight: 700; display: flex; align-items: center;
                     justify-content: center; }
.etapes h3 { margin: 2px 0 6px; font-size: 1.05rem; }
.etapes p { margin: 0; line-height: 1.5; }
.net { background: #fff; border: 1px solid #e5e5e0; border-radius: 10px; padding: 2px 16px 16px; }
.nono { list-style: none; padding-left: 0; }
.nono li { padding-left: 26px; position: relative; margin-bottom: 12px; }
.nono li::before { content: "✕"; position: absolute; left: 0; top: 0; color: #a32424; font-weight: 700; }
details { background: #fff; border: 1px solid #e5e5e0; border-radius: 10px; margin-bottom: 8px; }
details summary { padding: 14px 16px; font-weight: 600; cursor: pointer; list-style-position: inside; }
details[open] summary { border-bottom: 1px solid #eee; }
details p { margin: 0; padding: 12px 16px 16px; line-height: 1.55; }
.final { margin-top: 40px; background: #fff; border: 1px solid #e5e5e0; border-radius: 10px;
         padding: 4px 16px 20px; text-align: center; }
.final h2 { font-size: 1.3rem; line-height: 1.3; }
.bouton { display: inline-block; background: var(--vert); color: #fff; border: 0; border-radius: 8px; padding: 12px 20px; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.bouton.danger { background: #a32424; }
.formulaire { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid #e5e5e0; border-radius: 10px; padding: 20px 16px; }
.formulaire label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.formulaire input, .formulaire select { padding: 10px; border: 1px solid #ccc; border-radius: 6px; font-size: 1rem; }
fieldset { border: 1px solid #ddd; border-radius: 6px; }
.case { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 6px; margin-right: 14px; font-weight: 400 !important; }
.muet { color: #777; font-weight: 400; font-size: 0.9rem; }
.flashs { background: #fff4e5; border: 1px solid #f0c98a; border-radius: 8px; padding: 4px 14px; margin-bottom: 16px; }

/* --- mobile : cible tactile confortable, pas de débordement --- */
@media (max-width: 560px) {
  main { padding: 20px 14px 40px; }
  .hero h1 { font-size: 1.5rem; }
  .accroche { font-size: 1.02rem; }
  .bloc h2, .final h2 { font-size: 1.2rem; }
  .bouton { display: block; width: 100%; padding: 15px 16px; text-align: center; }
  .etapes li { padding: 12px 14px 12px 52px; }
  .case { display: flex !important; margin: 0 0 8px; }
}
