
:root { --fond: #F6F7F9; --carte: #FFFFFF; --texte: #19212D; --doux: #555D78; --ligne: #DFE3EA; --accent: #007461; --accent-fond: #F4F9F3; --marque-fonce: #004652; --marque-moyen: #308276; --marque-pale: #D8EAD7; --vert: #007461; --vert-fond: #DBF8EB; --orange: #8A4F00; --orange-fond: #FCEFD9; --rouge: #A12A1F; --rouge-fond: #FBE8E5; --bleu: #004652; --bleu-fond: #E1EEF0; --gris: #454D5A; --gris-fond: #EDEEF1; --sur-accent: #FFFFFF; --titre-marque: #004652; --police-titre: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  --police-texte: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
@media (prefers-color-scheme: dark) { :root { --fond: #0E181C; --carte: #162328; --texte: #E8EEF0; --doux: #A8B4BA; --ligne: #2A3B41; --accent: #5CC4AE; --accent-fond: #17302B; --marque-fonce: #0A3A42; --marque-moyen: #5CC4AE; --marque-pale: #1D3B34; --vert: #74D6BE; --vert-fond: #123A30; --orange: #F2B867; --orange-fond: #3A2A12; --rouge: #F29A8F; --rouge-fond: #3D1C18; --bleu: #8FD3E0; --bleu-fond: #11323A; --gris: #C9CDD3; --gris-fond: #25333A; --sur-accent: #0E181C; --titre-marque: #CFE9E3; } }
body { font-family: var(--police-texte); }
h1, h2, h3, .marque, .role, .pastille, button, nav a, .chiffre, .garantie { font-family: var(--police-titre); }
h1 { font-weight: 700; letter-spacing: -.01em; } h2, h3 { font-weight: 700; }
.bandeau-marque { background: var(--carte); border-bottom: 4px solid var(--accent); }
.bandeau-marque .dedans { max-width: 1120px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; gap: 16px; }
.logo-banque { flex: none; width: 132px; height: 44px; border: 1.5px dashed var(--ligne); border-radius: 10px; display: grid;
  place-items: center; font-size: .72rem; color: var(--doux); text-align: center; line-height: 1.2; }
.bandeau-titre { display: flex; flex-direction: column; line-height: 1.2; text-decoration: none; }
.bandeau-nav { margin-left: auto; display: flex; gap: 4px 16px; align-items: center; flex-wrap: wrap; justify-content: flex-end;
  position: static; background: none; padding: 0; margin-bottom: 0; white-space: normal; overflow: visible; }
.bandeau-nav a, .bandeau-nav button { font: inherit; font-family: var(--police-titre); font-weight: 600; font-size: .88rem; color: var(--titre-marque);
  text-decoration: none; background: none; border: 0; padding: 4px 0; margin: 0; cursor: pointer; border-radius: 0; display: inline; }
.bandeau-nav a:hover, .bandeau-nav button:hover { text-decoration: underline; }
.bandeau-nav .qui { color: var(--doux); font-size: .85rem; }
.bandeau-nav form { display: inline; margin: 0; }
.bandeau-titre strong { font-family: var(--police-titre); font-size: 1.05rem; color: var(--titre-marque); }
.bandeau-titre span { font-size: .85rem; color: var(--doux); }

* { box-sizing: border-box; }
body { margin: 0; background: var(--fond); color: var(--texte); font-size: 16px; line-height: 1.55; }
.page { max-width: 900px; margin: 0 auto; padding: 28px 16px 64px; }
h1 { font-size: 1.75rem; line-height: 1.25; margin: 0 0 12px; color: var(--titre-marque); text-wrap: balance; }
h2 { font-size: 1.2rem; margin: 0 0 10px; } p { margin: 0 0 10px; } a { color: var(--accent); }
.chapeau { font-size: 1.08rem; max-width: 62ch; }
section, .carte { background: var(--carte); border: 1px solid var(--ligne); border-radius: 16px; padding: 22px; margin-top: 16px; box-shadow: 0 1px 2px rgba(25,33,45,.05); }
.cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.carte { display: flex; flex-direction: column; gap: 6px; margin-top: 0; }
.bouton { display: inline-block; align-self: flex-start; font-family: var(--police-titre); font-weight: 700; padding: 11px 24px; border-radius: 999px;
  background: var(--accent); color: var(--sur-accent); text-decoration: none; margin-top: 10px; border: 0; font-size: 1rem; cursor: pointer; }
.bouton.second { background: var(--carte); color: var(--accent); border: 1.5px solid var(--accent); padding: 8px 18px; font-size: .9rem; }
.discret { color: var(--doux); font-size: .9rem; }
.info { background: var(--accent-fond); border-left: 4px solid var(--accent); border-radius: 10px; padding: 12px 14px; margin: 16px 0; }
ul.points { padding-left: 20px; margin: 0; } ul.points li { margin-bottom: 6px; }
ol.etapes { list-style: none; padding: 0; margin: 0; }
ol.etapes li { display: grid; grid-template-columns: 28px 1fr; gap: 2px 10px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
ol.etapes li:last-child { border-bottom: 0; }
ol.etapes li::before { content: "○"; color: var(--doux); font-size: 1.2rem; line-height: 1.3; grid-row: span 2; }
ol.etapes li[data-etat=cours]::before { content: "…"; }
ol.etapes li[data-etat=ok]::before { content: "✓"; color: var(--vert); font-weight: 700; }
ol.etapes li[data-etat=echec]::before { content: "✗"; color: var(--rouge); font-weight: 700; }
ol.etapes strong { font-family: var(--police-titre); } ol.etapes .detail { color: var(--doux); font-size: .92rem; grid-column: 2; }
ol.etapes li[data-etat=echec] .detail { color: var(--rouge); }
#verdict { border-left: 4px solid var(--ligne); } #verdict[data-etat=ok] { border-left-color: var(--vert); } #verdict[data-etat=echec] { border-left-color: var(--rouge); }
#verdict strong { font-family: var(--police-titre); font-size: 1.15rem; }
textarea { font: inherit; font-size: .85rem; width: 100%; min-height: 84px; padding: 10px; border: 1px solid var(--ligne); border-radius: 8px; background: var(--fond); color: var(--texte); }
input[type=file] { max-width: 100%; margin: 8px 0; }
footer.pied { color: var(--doux); font-size: .85rem; margin-top: 28px; text-align: center; }
