/* Documentation utilisateur AviBande — feuille de style.
   Base : la maquette Codex (pieces/documentation_utilisateur_v1/style.css), reprise telle quelle
   pour la palette, les polices, la hiérarchie et la grille. Ajouts marqués « + » : polices non
   bloquantes (Google Fonts, comme les guides), bascule FR/EN, recherche, sommaire mobile,
   pastilles de droits, captures réelles, accessibilité (focus, lien d'évitement, 200 %). */
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;background:#f8f5ec;color:#1b4332;font-family:Nunito,'Segoe UI',system-ui,Arial,sans-serif;line-height:1.5}
header{min-height:78px;background:#fffdf7;border-bottom:1px solid #e3e7dc;display:flex;align-items:center;padding:0 6vw;gap:25px;position:sticky;top:0;z-index:9;flex-wrap:wrap}
.brand{display:flex;gap:10px;align-items:center;color:#1b4332;text-decoration:none;font:800 27px/1 'Baloo 2','Segoe UI',system-ui,sans-serif;margin-right:auto}
.brand img{width:42px;height:42px;border-radius:9px}
.brand span{color:#f59e0b} /* + « Bande » en ambre, comme sur le site et les guides */
nav{display:flex;gap:22px}
nav a,.text-link{color:#45604f;font-weight:800;text-decoration:none;font-size:14px;display:inline-flex;align-items:center;min-height:44px}
.langs{display:flex;border:1px solid #d9e2d7;border-radius:8px;padding:3px}
.langs button{border:0;background:transparent;padding:6px 9px;font-weight:800;color:#5c6e60;font-family:inherit;font-size:14px;cursor:pointer;border-radius:6px;min-height:36px}
.langs .active{background:#1b4332;color:#fff}
.btn{display:inline-flex;align-items:center;justify-content:center;background:#f59e0b;color:#1b4332;text-decoration:none;border-radius:10px;padding:12px 18px;font-weight:900;border:0;font-family:inherit;font-size:16px;cursor:pointer;min-height:44px}
.hero{max-width:1180px;margin:auto;padding:90px 28px 80px;display:grid;grid-template-columns:1.2fr .8fr;gap:70px;align-items:center}
.eyebrow{color:#7a4b00;font-size:12px;letter-spacing:1.5px;font-weight:900;text-transform:uppercase}
.hero h1{font:800 72px/1.02 'Baloo 2','Segoe UI',system-ui,sans-serif;margin:18px 0}
.hero>div>p:not(.eyebrow){font-size:23px;line-height:1.5;color:#5c6e60}
.actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin:30px 0}
.hero-note{background:#1b4332;color:#fff;border-radius:22px;padding:33px;box-shadow:0 20px 50px #1b433233}
.hero-note strong{font:800 32px 'Baloo 2','Segoe UI',system-ui,sans-serif}
.hero-note p{font-size:20px;line-height:1.45;color:#d8e8dc}
.hero-note span{color:#f7dfa4;font-weight:800;font-size:13px}
.section{max-width:1180px;margin:auto;padding:80px 28px}
.section h2,.module-detail h2,.help h2{font:800 45px/1.08 'Baloo 2','Segoe UI',system-ui,sans-serif;margin:12px 0 32px}
.steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.steps.trois{grid-template-columns:repeat(3,minmax(0,1fr))}
.steps article,.modules a{background:#fffdf7;border:1px solid #e1e6dc;border-radius:15px;padding:22px}
.steps b,.modules a>span:first-child{color:#7a4b00;font:800 24px 'Baloo 2','Segoe UI',system-ui,sans-serif}
.steps h3{font:800 23px 'Baloo 2','Segoe UI',system-ui,sans-serif;margin:12px 0 6px}
.steps p,.modules small{color:#5c6e60;line-height:1.5;font-size:15px}
.modules{background:#e4efe4;max-width:none;padding-left:8vw;padding-right:8vw}
.module-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.modules a{color:#1b4332;text-decoration:none;display:grid;gap:5px;align-content:start;min-width:0}
.modules a,.steps article{overflow-wrap:break-word}
@media(max-width:1200px){.steps,.module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.modules strong{font:800 21px 'Baloo 2','Segoe UI',system-ui,sans-serif}
.module-detail{max-width:1180px;margin:auto;padding:90px 28px;display:grid;grid-template-columns:1fr .7fr;gap:65px;align-items:center}
.module-detail.alt{max-width:none;padding-left:calc((100% - 1120px)/2);padding-right:calc((100% - 1120px)/2);background:#e4efe4}
.module-detail p:not(.eyebrow){font-size:19px;line-height:1.5;color:#5c6e60}
.module-detail ul{padding-left:20px;color:#5c6e60;line-height:2}
.mock{min-height:230px;border-radius:22px;background:#f3e5ba;color:#1b4332;display:flex;flex-direction:column;justify-content:end;padding:27px;font-weight:900;box-shadow:0 18px 42px #1b433222}
.mock strong{font:800 34px 'Baloo 2','Segoe UI',system-ui,sans-serif}
.mock small{font-size:13px;color:#5c6e60}
.mock.green{background:#dcebdd}.mock.blue{background:#dcebf2}.mock.amber,.mock.orange{background:#fff0ca}.mock.purple{background:#e8e0ef}.mock.teal{background:#d8edeb}.mock.dark{background:#1b4332;color:#fff}.mock.slate{background:#dfe6e9}
.help{background:#1b4332;color:#fff;text-align:center;padding:85px 28px}
.help h2{margin:0}.help p{color:#d7e7da;font-size:18px}.help .text-link{color:#f8dfa4}
footer{text-align:center;padding:24px;color:#5c6e60;font-size:13px}
@media(max-width:900px){nav{display:none}.hero{grid-template-columns:1fr;padding-top:55px}.hero h1{font-size:55px}.steps,.steps.trois,.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-detail{grid-template-columns:1fr}.module-detail.alt{padding-left:28px;padding-right:28px}}
@media(max-width:500px){header{padding:10px 16px;gap:12px}.hero,.section,.module-detail{padding-left:18px;padding-right:18px}.steps,.steps.trois,.module-grid{grid-template-columns:1fr}.hero h1{font-size:40px}.section h2,.module-detail h2,.help h2{font-size:32px}.hero>div>p:not(.eyebrow){font-size:19px}}

/* + accessibilité : lien d'évitement, focus visible, texte à 200 % */
.skip{position:absolute;left:-999px;top:8px;background:#1b4332;color:#fff;padding:10px 14px;border-radius:8px;z-index:20;font-weight:800}
.skip:focus{left:12px}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #1b4332;outline-offset:3px;box-shadow:0 0 0 6px #fffdf7}
.modules a:focus-visible,.steps article:focus-visible{outline-offset:0}
/* + bascule FR/EN : chaque bloc traduit porte lang="fr" ou lang="en" ; la page n'en montre qu'un */
html[data-lang="fr"] [lang="en"],html[data-lang="en"] [lang="fr"]{display:none!important}
/* + pastilles de droits : qui peut ouvrir ce module */
.droit{display:inline-block;border-radius:12px;padding:4px 11px;line-height:1.35;font-size:12.5px;font-weight:900;letter-spacing:.2px;background:#e4efe4;color:#1b4332;margin:0 6px 8px 0;vertical-align:middle}
.droit.pro{background:#fff0ca;color:#7a4b00}.droit.premium{background:#f7dfa4;color:#5a3600}.droit.invite{background:#dcebf2;color:#0f3f57}.droit.admin{background:#dfe6e9;color:#2b3a42}.droit.avenir{background:#f2f0e6;color:#5c6e60;border:1px dashed #b8b4a8}
.droits{margin:0 0 14px}
.legende-droits{display:flex;flex-wrap:wrap;gap:8px 4px;margin:0 0 26px;font-size:14px;color:#5c6e60;align-items:center}
/* + captures réelles dans le cadre de la maquette */
.mock.capture{padding:0;overflow:hidden;background:#fffdf7;justify-content:start;border:1px solid #e1e6dc}
.mock.capture img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover;object-position:top}
.mock.capture figcaption{padding:14px 18px;font-size:13px;color:#5c6e60;font-weight:700;border-top:1px solid #e1e6dc}
.mock.capture figcaption strong{display:block;font:800 22px 'Baloo 2','Segoe UI',system-ui,sans-serif;color:#1b4332}
figure.mock{margin:0}
/* + recherche et sommaire mobile */
.recherche{max-width:1180px;margin:-30px auto 0;padding:0 28px 40px}
.recherche label{display:block;font-weight:800;font-size:14px;color:#45604f;margin-bottom:6px}
.recherche .champ{display:flex;gap:10px;align-items:center;background:#fffdf7;border:1.5px solid #d9e2d7;border-radius:12px;padding:6px 6px 6px 16px}
.recherche input{flex:1;border:0;background:transparent;font:inherit;font-size:17px;padding:10px 0;min-width:0;color:#1b4332}
.recherche button{border:0;background:#e4efe4;color:#1b4332;border-radius:8px;padding:10px 12px;font-weight:800;font-family:inherit;cursor:pointer;min-height:44px}
.recherche .resultat{font-size:14px;color:#5c6e60;margin-top:8px;min-height:1.4em}
.section.modules .module-grid a.masque,.module-detail.masque,.steps article.masque{display:none}
mark{background:#f7dfa4;color:#1b4332;border-radius:3px;padding:0 2px}
.sommaire{display:none}
@media(max-width:900px){
  .sommaire{display:block;width:100%;order:9}
  .sommaire summary{cursor:pointer;font-weight:800;color:#45604f;padding:8px 0;list-style:none;display:flex;align-items:center;gap:8px;min-height:44px}
  .sommaire summary::before{content:'☰';font-size:18px}
  .sommaire ul{list-style:none;margin:0;padding:0 0 10px;display:grid;gap:2px}
  .sommaire a{display:block;padding:10px 8px;border-radius:8px;color:#1b4332;text-decoration:none;font-weight:700}
  .sommaire a:hover{background:#e4efe4}
  header .btn.demo{display:none}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
