/* Atoutil : codes habituels des logiciels de gestion (fond blanc, bleu profond, une couleur d'action). */
:root {
  --bleu: #12305c; --bleu-2: #1b447f; --bleu-3: #eaf1fa; --bleu-4: #d5e3f4;
  --jaune: #ffb928; --jaune-2: #ffcb5c; --jaune-3: #fff4d9;
  --texte: #33445e; --gris: #66758c; --filet: #dfe6ef; --vert: #13795b; --rouge: #b3372c;
  --rond: 12px; --large: 1200px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--texte); font: 400 17px/1.55 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
.cadre { width: 100%; max-width: calc(var(--large) + 48px); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
h1, h2, h3 { color: var(--bleu); font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; font-weight: 600; letter-spacing: -.022em; line-height: 1.14; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: 2.3rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.22rem; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
a { color: var(--bleu-2); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #7fb0f0; outline-offset: 2px; }
.discret { color: var(--gris); }
.petit { font-size: .9rem; color: var(--gris); }
.suite { margin-top: 22px; }
.chapo { font-size: 1.2rem; line-height: 1.5; max-width: 36em; }
svg.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; padding: 12px 18px; border: 1px solid var(--jaune); border-radius: 8px; background: var(--jaune); color: var(--bleu); text-decoration: none; cursor: pointer; white-space: nowrap; }
.bouton:hover { background: var(--jaune-2); border-color: var(--jaune-2); }
.bouton.grand { padding: 15px 24px; }
.bouton.clair { background: #fff; border-color: #bccadd; }
.bouton.clair:hover { border-color: var(--bleu); background: #fff; }
.bouton.court { padding: 8px 14px; font-size: .94rem; }
.bouton[disabled] { background: #eef2f7; border-color: #eef2f7; color: var(--gris); cursor: not-allowed; }
.chev { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lien { font: inherit; font-weight: 600; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin: 30px 0 0; color: var(--bleu); }

/* En-tête */
header.cadre { padding-top: 18px; }
.barre { display: flex; align-items: center; gap: 30px; background: var(--bleu); color: #fff; border-radius: var(--rond); padding: 12px 14px 12px 22px; min-height: 70px; }
.marque { display: inline-flex; align-items: center; gap: 10px; font-size: 1.42rem; font-weight: 650; letter-spacing: -.03em; text-decoration: none; color: inherit; }
.marque svg { width: 25px; height: 25px; }
.marque .l1 { fill: currentColor; } .marque .l2 { fill: var(--jaune); }
.barre nav { display: flex; gap: 28px; flex: 1; flex-wrap: wrap; }
.barre nav a { color: #fff; text-decoration: none; }
.barre nav a:hover { text-decoration: underline; }
.barre form { display: flex; gap: 18px; align-items: center; margin: 0; padding-right: 8px; }
.qui { color: #bccde4; font-size: .93rem; }

/* Une */
.une { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; padding-top: 60px; padding-bottom: 52px; }
.une h1 { font-size: clamp(2.3rem, 4.3vw, 3.55rem); line-height: 1.1; margin-bottom: .42em; }
.scene { position: relative; background: linear-gradient(150deg, var(--bleu-4), var(--bleu-3) 60%, var(--jaune-3)); border-radius: 16px; padding: 52px 0 0 52px; overflow: hidden; min-height: 430px; display: flex; }
.scene .fen { flex: 1; border-radius: 12px 0 0 0; box-shadow: 0 18px 50px rgba(18, 48, 92, .18); }
.bulle { position: absolute; display: flex; gap: 10px; align-items: center; background: #fff; color: var(--bleu); font-weight: 600; font-size: .95rem; border-radius: 10px; padding: 12px 16px; box-shadow: 0 10px 30px rgba(18, 48, 92, .2); }
.bulle .ic { background: var(--jaune); border-radius: 7px; width: 32px; height: 32px; padding: 6px; }
.scene .puce { visibility: hidden; }
.b1 { left: 22px; bottom: 74px; } .b2 { right: 24px; top: 24px; }

/* Fenêtre du programme, en aperçu */
.fen { display: grid; grid-template-columns: 148px 1fr; background: #fff; border-radius: 12px; overflow: hidden; font-size: .88rem; color: var(--gris); }
.fen b { color: var(--bleu); font-weight: 600; }
.fen-cote { background: var(--bleu); padding: 20px 16px; display: flex; flex-direction: column; gap: 14px; color: #a9bddb; }
.fen-cote b { color: #fff; background: rgba(255, 255, 255, .13); margin: 0 -8px; padding: 6px 8px; border-radius: 6px; }
.pt { width: 24px; height: 24px; border-radius: 50%; background: var(--jaune); margin-bottom: 8px; }
.fen-corps { padding: 20px 22px 26px; }
.fen-tete { display: flex; justify-content: space-between; align-items: center; font-size: .98rem; margin-bottom: 16px; }
.puce { background: #dff3ea; color: var(--vert); font-weight: 600; font-size: .8rem; border-radius: 20px; padding: 3px 11px; }
.t-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.t-app { border: 1px solid var(--filet); border-radius: 9px; padding: 14px; }
i { display: block; height: 8px; border-radius: 4px; background: #e2e9f2; }
.t-app i { width: 82%; margin-top: 14px; } .t-app i.c { width: 52%; margin-top: 8px; }
.pastille { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: #eef2f7; color: var(--bleu); font-weight: 650; }
.p1 { background: var(--bleu); color: #fff; } .p2 { background: var(--jaune); } .p3 { background: #8fb7e6; } .p4 { background: #f3cf8a; } .p5 { background: #3f6fb0; color: #fff; } .p6 { background: #cfe0f4; }

/* Repères */
.reperes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 18px; padding-bottom: 34px; }
.reperes div { display: flex; gap: 18px; align-items: center; }
.reperes b { font: 600 3rem/1 "Segoe UI Variable Display", "Segoe UI", sans-serif; color: var(--bleu-2); letter-spacing: -.03em; }
.reperes p { margin: 0; max-width: 15em; line-height: 1.35; }

/* Blocs */
.bloc { padding-top: 76px; padding-bottom: 76px; }
.bloc > h2 { margin-bottom: 1.05em; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento article { grid-column: span 2; border: 1px solid var(--filet); border-radius: var(--rond); padding: 28px 28px 0; display: flex; flex-direction: column; overflow: hidden; background: #fff; }
.bento .large { grid-column: span 4; }
.bento article p { margin-bottom: 26px; max-width: 30em; }
.vue { margin: auto -28px 0 0; }
.bento .large .fen { border: 1px solid var(--filet); border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; box-shadow: 0 10px 40px rgba(18, 48, 92, .1); }
.carton { background: #fff; border: 1px solid var(--filet); border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; padding: 20px 28px 26px 20px; box-shadow: 0 10px 36px rgba(18, 48, 92, .1); font-size: .92rem; color: var(--gris); }
.carton b { color: var(--bleu); font-weight: 600; }
.bento .teinte { background: var(--jaune-3); border-color: var(--jaune-3); }
.bento .fonce { background: var(--bleu); border-color: var(--bleu); color: #c6d6ec; }
.bento .fonce h3 { color: #fff; }
.bento .large { background: var(--bleu-3); border-color: var(--bleu-3); }
.l-cle { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--filet); }
.rond { width: 32px; height: 32px; border-radius: 50%; background: var(--bleu-4); color: var(--bleu); font-size: .76rem; font-weight: 650; display: grid; place-items: center; }
.l-cle i { flex: none; } i.s { width: 60px; } i.m { width: 92px; } i.l { width: 124px; }
.inter { margin-left: auto; width: 38px; height: 22px; border-radius: 11px; background: #d5dde8; position: relative; }
.inter::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #fff; top: 3px; left: 3px; }
.inter.on { background: var(--vert); } .inter.on::after { left: 19px; }
.l-maj { display: flex; gap: 14px; align-items: center; color: var(--bleu); }
.l-maj i { margin-top: 7px; }
.l-maj .ic { background: var(--bleu-3); border-radius: 8px; width: 38px; height: 38px; padding: 8px; }
.l-maj.fait .ic { background: #dff3ea; color: var(--vert); }
.jauge { height: 8px; border-radius: 4px; background: #e2e9f2; margin: 18px 0 20px; } .jauge span { display: block; width: 64%; height: 100%; border-radius: 4px; background: var(--jaune); }
.l-poste { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--filet); color: var(--bleu); } .l-poste .puce { margin-left: auto; }
.l-poste.vide { border: 0; color: var(--gris); padding-bottom: 0; }
.anneaux { margin: auto -28px 0; } .anneaux svg { display: block; width: 100%; }
.anneaux circle { fill: none; stroke: #3b639c; } .anneaux .plein { fill: var(--jaune); stroke: none; }
.anneaux .cad { fill: none; stroke: var(--bleu); stroke-width: 3; stroke-linejoin: round; }

.panneau { background: var(--bleu); color: #d2dff0; border-radius: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 64px 64px 0; overflow: hidden; }
.panneau h2 { color: #fff; } .panneau > div:first-child { padding-bottom: 64px; }
.panneau p { font-size: 1.1rem; } .panneau ul { list-style: none; margin: 24px 0 0; padding: 0; }
.panneau li { display: flex; gap: 12px; padding: 7px 0; color: #fff; } .panneau li .ic { color: var(--jaune); }
.panneau-vue { align-self: end; } .panneau-vue .carton { border: 0; border-radius: 12px 12px 0 0; padding: 30px 44px 34px 34px; font-size: 1.02rem; } .panneau-vue .l-cle { padding: 14px 0; }
.etapes { list-style: none; counter-reset: e; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.etapes li { counter-increment: e; border-top: 2px solid var(--bleu-4); padding-top: 22px; }
.etapes li::before { content: counter(e); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: var(--jaune); color: var(--bleu); font-weight: 650; margin-bottom: 18px; }
.etapes p { margin: 0; }
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app { border: 1px solid var(--filet); border-radius: var(--rond); padding: 26px; text-decoration: none; color: var(--texte); }
a.app:hover { border-color: var(--bleu-2); box-shadow: 0 10px 30px rgba(18, 48, 92, .1); }
.app .pastille { width: 46px; height: 46px; font-size: 1.2rem; margin-bottom: 20px; } .app p { margin: 0; }
.app.attente { border-style: dashed; color: var(--gris); }
.garanties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.garanties article { background: var(--bleu); color: #c6d6ec; border-radius: var(--rond); padding: 32px 30px 34px; }
.garanties h3 { color: #fff; margin-top: 60px; } .garanties p { margin: 0; }
.garanties .ic { width: 52px; height: 52px; padding: 13px; border-radius: 12px; background: var(--jaune); color: var(--bleu); }
.appel { background: var(--bleu-3); border-radius: 16px; text-align: center; padding: 70px 28px 74px; margin-bottom: 84px; } .appel p { font-size: 1.1rem; margin-bottom: 26px; }

/* Pages intérieures */
.page { padding-top: 56px; padding-bottom: 96px; }
.page > .apps { margin-top: 40px; }
.boite { max-width: 480px; margin: 0 auto; border: 1px solid var(--filet); border-radius: 16px; padding: 40px 42px 44px; }
.boite h1 { font-size: 1.75rem; }
.texte { max-width: 740px; } .texte h2 { font-size: 1.35rem; margin-top: 1.5em; }
.fiche { display: grid; grid-template-columns: 1fr 320px; gap: 72px; align-items: start; }
.fiche h2 { font-size: 1.45rem; margin-top: 1.6em; }
.fiche aside { background: var(--bleu-3); border-radius: var(--rond); padding: 28px; }
.sous-menu { display: inline-flex; gap: 4px; background: var(--bleu-3); border-radius: 10px; padding: 4px; margin-bottom: 34px; flex-wrap: wrap; }
.sous-menu a { text-decoration: none; color: var(--texte); padding: 8px 18px; border-radius: 7px; }
.sous-menu a[aria-current] { background: #fff; color: var(--bleu); font-weight: 600; box-shadow: 0 1px 4px rgba(18, 48, 92, .14); }
.tete { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.tete h1, .tete h2, .tete p { margin: 0; }
.encart { background: var(--bleu-3); border-radius: var(--rond); padding: 24px 28px; display: flex; gap: 28px; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; }
.encart p { margin: 0; max-width: 40em; } .encart strong { color: var(--bleu); } .encart form { margin: 0; }
.etat { font-weight: 600; } .etat.bon { color: var(--vert); } .etat.arret { color: var(--rouge); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 15px 18px 15px 0; border-bottom: 1px solid var(--filet); vertical-align: top; }
th { font-weight: 600; font-size: .9rem; color: var(--gris); }
td strong { color: var(--bleu); font-weight: 600; } td form { margin: 0; }
td.droite, th.droite { text-align: right; }
.nombre { font-variant-numeric: tabular-nums; white-space: nowrap; }
.defile { overflow-x: auto; }
.feuille { border: 1px solid var(--filet); border-radius: var(--rond); }
.feuille th { background: #f6f9fc; } .feuille th, .feuille td { padding-left: 22px; padding-right: 22px; } .feuille tr:last-child td { border-bottom: 0; }

/* Formulaires */
label { display: block; font-weight: 600; color: var(--bleu); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password] { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #bccadd; border-radius: 8px; background: #fff; color: var(--bleu); }
input:focus { outline: 3px solid #cfe0f7; border-color: var(--bleu-2); }
.champ { margin-bottom: 20px; }
.champ ul, .aide { color: var(--gris); font-size: .9rem; margin: 6px 0 0; padding-left: 18px; } .aide { padding: 0; }
.errorlist { color: var(--rouge); list-style: none; padding: 0 !important; margin: 6px 0 14px; font-size: .95rem; }
.messages { list-style: none; margin-top: 16px; margin-bottom: 0; }
.messages li { background: var(--bleu-3); color: var(--bleu); border-radius: 8px; padding: 13px 20px; margin-bottom: 8px; } .messages li.error { background: #fbeceb; color: var(--rouge); }
.codes { columns: 2; list-style: none; padding: 0; font: 1.05rem/2 Consolas, monospace; } .qr { display: block; width: 210px; height: 210px; margin: 0 0 18px; }

/* Pied */
footer { background: var(--bleu); color: #bccde4; padding: 56px 0 60px; }
footer .cadre { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
footer .marque { color: #fff; margin-bottom: 14px; } footer p { max-width: 20em; margin: 0; }
footer nav { display: flex; flex-direction: column; gap: 10px; } footer strong { color: #fff; font-weight: 600; margin-bottom: 4px; }
footer nav a { color: inherit; text-decoration: none; } footer nav a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 960px) {
  .une, .panneau, .fiche { grid-template-columns: 1fr; gap: 36px; }
  .une { padding-top: 40px; } .panneau { padding: 40px 28px 0; } .panneau > div:first-child { padding-bottom: 0; }
  .bento article, .bento .large { grid-column: 1 / -1; }
  .reperes, .etapes, .apps, .garanties { grid-template-columns: 1fr; gap: 20px; }
  .garanties h3 { margin-top: 26px; } .bloc { padding-top: 52px; padding-bottom: 52px; }
  .barre { flex-wrap: wrap; gap: 12px 20px; padding: 14px 18px; } .barre nav { order: 3; flex-basis: 100%; gap: 8px 22px; } .barre .marque { flex: 1; }
  .scene { min-height: 340px; padding: 40px 0 0 24px; }
}
@media (max-width: 560px) {
  .fen { grid-template-columns: 1fr; } .fen-cote { display: none; } .t-grille { grid-template-columns: repeat(2, 1fr); }
  .b2 { display: none; } .boite { padding: 28px 22px; } footer .cadre { grid-template-columns: 1fr; } .barre .bouton { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
