/* Polices hébergées avec le site (aucun appel à un serveur tiers). Roboto est une police variable :
   un seul fichier couvre les graisses 400, 500 et 700. */
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url("polices/bebas-neue-latin.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("polices/roboto-latin.woff2") format("woff2"); }

/* Base */
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* Mise en page : bandeaux pleine largeur alternés (blanc cassé / glacier / navy), contenu sur une
   colonne de 1120 px ; l'outil se montre par ses propres écrans, reconstitués avec des données de démonstration. */
:root {
  --fond: #f7f8f4;
  --surface: #ffffff;
  --encre: #272b49;
  --encre-douce: #555a78;
  --lime: #c4d21c;
  --lime-texte: #5e6600;
  --petrole: #39747a;
  --glacier: #dce8ea;
  --sable: #e5dfcf;
  --corail: #d88770;
  --trait: #d9dde3;
  --bandeau-navy: #272b49;
  --sur-navy: #f7f8f4;
  --ok: #2f7a3a;
  --ok-fond: #e6f1d8;
  --alerte: #a33a2b;
  --alerte-fond: #fbe6e1;
  --font-titre: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-texte: "Roboto", "Segoe UI", Helvetica, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fond: #15161c; --surface: #1f2028; --encre: #ecedf2; --encre-douce: #a4a8bd; --lime: #c4d21c; --lime-texte: #d4e04a;
    --petrole: #5fa3aa; --glacier: #1c2a30; --sable: #2b2820; --corail: #dc9c89; --trait: #2e303a;
    --bandeau-navy: #0f1016; --sur-navy: #ecedf2; --ok: #7ccf8b; --ok-fond: #17321f; --alerte: #ef9a8a; --alerte-fond: #3a1c18;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fond: #15161c; --surface: #1f2028; --encre: #ecedf2; --encre-douce: #a4a8bd; --lime: #c4d21c; --lime-texte: #d4e04a;
  --petrole: #5fa3aa; --glacier: #1c2a30; --sable: #2b2820; --corail: #dc9c89; --trait: #2e303a;
  --bandeau-navy: #0f1016; --sur-navy: #ecedf2; --ok: #7ccf8b; --ok-fond: #17321f; --alerte: #ef9a8a; --alerte-fond: #3a1c18;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 16px/1.6 var(--font-texte); }
.bandeau { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.cadre { max-width: 1120px; margin: 0 auto; }
h1, h2, h3 { font-family: var(--font-titre); font-weight: 400; letter-spacing: .02em; line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 64px); }
h2 { font-size: clamp(34px, 4.5vw, 48px); }
h3 { font-size: 26px; }
p { margin: 0; }
a { color: inherit; }
.surtitre { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--petrole); }
.chapeau { font-size: 19px; color: var(--encre-douce); max-width: 62ch; }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 8px; padding: 12px 20px; font: 500 16px var(--font-texte); text-decoration: none; cursor: pointer; border: 2px solid var(--encre); background: transparent; color: var(--encre); }
.btn:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.btn-plein { background: var(--lime); border-color: var(--lime); color: #272b49; }
.btn-plein:hover { filter: brightness(1.05); }
.btn:hover { background: color-mix(in srgb, var(--encre) 8%, transparent); }
.btn-plein:hover { background: var(--lime); }


/* En-tête */
html { scroll-padding-top: var(--hauteur-entete, 76px); }
.entete { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--fond) 92%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--trait); padding-block: 12px; }
.entete .cadre { display: flex; align-items: center; gap: 24px; }
.logo { width: 96px; height: auto; display: block; }
.logo .encre-trait { stroke: var(--encre); }
.logo .encre { fill: var(--encre); }
.logo .lime { fill: var(--lime); }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; font-size: 15px; }
.nav a { text-decoration: none; color: var(--encre-douce); }
.nav a:hover { color: var(--encre); }
.nav .btn { padding: 8px 14px; font-size: 15px; }
.nav .btn-espace { color: var(--encre); font-weight: 700; gap: 6px; }
.nav .btn { white-space: nowrap; }
@media (max-width: 480px) {
  .nav { gap: 8px; } .nav .btn { padding: 7px 10px; font-size: 14px; }
  .nav .btn-espace { padding: 7px 9px; }
  .espace-libelle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 860px) { .nav .lien-section { display: none; } }


/* Écrans de l'outil reconstitués, avec des données de démonstration. */
.ecran { background: var(--surface); border: 1px solid var(--trait); border-radius: 12px; box-shadow: 0 18px 40px -24px rgba(39, 43, 73, .45); overflow: hidden; font-size: 12px; }
.ecran-barre { display: flex; align-items: center; gap: 10px; background: #272b49; color: #f7f8f4; padding: 8px 12px; font-family: var(--font-titre); font-size: 16px; letter-spacing: .04em; }
.ecran-barre .puce { width: 18px; height: 18px; flex: none; background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'><rect x='1' y='1' width='118' height='118' rx='28' fill='%23f7f8f4' stroke='%23dfe2e8' stroke-width='2'/><circle cx='66' cy='68' r='28' fill='none' stroke='%23272b49' stroke-width='15'/><circle cx='30' cy='32' r='11' fill='%23c4d21c'/></svg>") center / contain no-repeat; }
.ecran-corps { padding: 12px; display: grid; gap: 10px; }
.demo { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--encre-douce); padding: 0 12px 10px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpi { border: 1px solid var(--trait); border-top: 3px solid #c4d21c; border-radius: 6px; padding: 6px 8px; }
.kpi b { display: block; font-family: var(--font-titre); font-size: 24px; font-weight: 400; line-height: 1.1; }
.kpi span { color: var(--encre-douce); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.ecart-plus { color: var(--ok); font-weight: 500; }
.ecart-moins { color: var(--alerte); font-weight: 500; }
table.sig { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.sig td { padding: 4px 6px; border-bottom: 1px solid var(--trait); }
table.sig td.n { text-align: right; }
table.sig tr.tot td { background: color-mix(in srgb, #c4d21c 40%, transparent); font-weight: 700; }
table.sig tr.tot td:first-child { border-left: 3px solid #c4d21c; }
table.sig tr.sous td { font-size: 11px; color: var(--encre-douce); }
table.sig tr.sous td:first-child { padding-left: 16px; }

/* Bénéfices */
.benefices { background: var(--glacier); padding-block: 64px; }
.benefices .grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.benefice h3 { margin-bottom: 8px; }
.benefice p { color: var(--encre-douce); }
.benefice .trait { width: 56px; height: 8px; background: var(--lime); margin-bottom: 14px; }
@media (max-width: 800px) { .benefices .grille { grid-template-columns: minmax(0, 1fr); } }

/* Modules */
.modules { padding-block: 72px; }
.modules > .cadre > .intro { display: grid; gap: 12px; margin-bottom: 40px; }
.famille { margin-top: 48px; }
.famille-titre { display: flex; align-items: baseline; gap: 14px; border-bottom: 2px solid var(--encre); padding-bottom: 8px; margin-bottom: 24px; }
.famille-titre h3 { font-size: 30px; }
.famille-titre span { color: var(--encre-douce); font-size: 15px; }
.module { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 24px; }
.module + .module { border-top: 1px solid var(--trait); }
.module:nth-of-type(even) .module-visuel { order: -1; }
.module h4 { font: 500 22px/1.25 var(--font-texte); margin: 0 0 10px; }
.module p { color: var(--encre-douce); }
.module ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.module li { padding-left: 22px; position: relative; }
.module li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 6px; background: var(--lime); }
@media (max-width: 860px) { .module { grid-template-columns: minmax(0, 1fr); gap: 20px; } .module:nth-of-type(even) .module-visuel { order: 0; } }

/* Planning (écran) */
.tl { display: grid; grid-template-columns: 70px repeat(12, minmax(0, 1fr)); gap: 2px; align-items: center; font-size: 10px; }
.tl .h { color: var(--encre-douce); text-align: center; }
.tl .nom { font-size: 11px; display: flex; align-items: center; gap: 4px; }
.tl .pt { width: 7px; height: 7px; border-radius: 50%; }
.tl .b { height: 16px; border-radius: 4px; color: #fff; font-size: 9px; display: flex; align-items: center; padding-left: 4px; overflow: hidden; white-space: nowrap; }
.tl .cv { height: 14px; border-radius: 3px; font-size: 9px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.cv.ok { background: var(--ok-fond); color: var(--ok); border: 1px solid var(--ok); }
.cv.ko { background: var(--alerte-fond); color: var(--alerte); border: 1px solid var(--alerte); }
.ligne-ctrl { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)) auto; gap: 8px; align-items: center; padding: 6px 4px; border-bottom: 1px solid var(--trait); font-variant-numeric: tabular-nums; }
.pastille { font-size: 10px; border-radius: 999px; padding: 2px 8px; font-weight: 500; white-space: nowrap; }
.pastille.ok { background: var(--ok-fond); color: var(--ok); }
.pastille.ko { background: var(--alerte-fond); color: var(--alerte); }
.doc { border: 1px solid var(--trait); border-radius: 6px; padding: 10px; display: grid; gap: 6px; }
.doc .l { height: 6px; border-radius: 3px; background: var(--trait); }

/* Fonctionnement */
.etapes-bandeau { background: var(--bandeau-navy); color: var(--sur-navy); padding-block: 72px; }
.etapes-bandeau .surtitre { color: #c4d21c; }
.etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 36px; counter-reset: etape; }
.etape { border-top: 3px solid #c4d21c; padding-top: 16px; }
.etape .num { font-family: var(--font-titre); font-size: 54px; color: #c4d21c; line-height: 1; }
.etape h3 { margin: 6px 0 8px; }
.etape p { color: color-mix(in srgb, var(--sur-navy) 78%, transparent); }
@media (max-width: 800px) { .etapes { grid-template-columns: minmax(0, 1fr); } }

/* Équipe et confiance */
.equipe { padding-block: 72px; background: var(--sable); }
.equipe .cadre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.confiance { display: grid; gap: 14px; }
.confiance div { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
.confiance svg { width: 24px; height: 24px; }
.confiance b { font-weight: 500; }
.confiance p { color: var(--encre-douce); font-size: 15px; }
@media (max-width: 860px) { .equipe .cadre { grid-template-columns: minmax(0, 1fr); } }
.telephone { max-width: 260px; margin: 24px auto 0; border: 8px solid var(--encre); border-radius: 30px; background: var(--surface); padding: 14px 12px; display: grid; gap: 8px; font-size: 12px; }
.telephone .jour { display: flex; justify-content: space-between; border-bottom: 1px solid var(--trait); padding-bottom: 6px; }
.telephone .notif { background: var(--glacier); border-radius: 10px; padding: 8px 10px; }

/* Tarifs */
.tarifs { background: var(--glacier); padding-block: 72px; }
.formules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.formule { background: var(--surface); border: 1px solid var(--trait); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.formule.mise-en-avant { border: 2px solid var(--encre); }
.formule .prix { font-family: var(--font-titre); font-size: 44px; line-height: 1; }
.formule .prix small { font-family: var(--font-texte); font-size: 14px; color: var(--encre-douce); }
.prix-annuel { font-size: 14px; color: var(--encre-douce); margin-top: -6px; }
.prix-annuel b { color: var(--petrole); font-weight: 700; }
.conditions-tarifs { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; gap: 8px 24px; margin-top: 18px; font-size: 14px; color: var(--encre-douce); }
.conditions-tarifs b { color: var(--encre); }
.formule ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; flex: 1; }
.formule li::before { content: "✓ "; color: var(--petrole); font-weight: 700; }
@media (max-width: 900px) { .formules { grid-template-columns: minmax(0, 1fr); } }

/* Souscription */
.souscription { margin-top: 40px; background: var(--surface); border: 1px solid var(--trait); border-radius: 12px; padding: 24px; }
.pas { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.pas span { font-size: 13px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--trait); color: var(--encre-douce); }
.pas span.actif { background: var(--encre); color: var(--fond); border-color: var(--encre); }

/* Démo et FAQ */
.contact { padding-block: 72px; }
.contact .cadre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
form.demo-form { display: grid; gap: 12px; background: var(--surface); border: 1px solid var(--trait); border-radius: 12px; padding: 24px; }
.champ { display: grid; gap: 4px; font-size: 14px; }
.champ input, .champ select { font: 16px var(--font-texte); padding: 10px 12px; border: 1px solid var(--trait); border-radius: 8px; background: var(--fond); color: var(--encre); }
.deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.message-envoi { font-size: 14px; color: var(--petrole); }
details { border-bottom: 1px solid var(--trait); padding-block: 14px; }
summary { cursor: pointer; font-weight: 500; }
details p { margin-top: 8px; color: var(--encre-douce); }
@media (max-width: 860px) { .contact .cadre, .deux { grid-template-columns: minmax(0, 1fr); } }

.pied-page { background: var(--bandeau-navy); color: var(--sur-navy); padding-block: 32px; font-size: 14px; }
.pied-page .cadre { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.pied-page .logo .encre { fill: var(--sur-navy); }
.pied-page .logo .encre-trait { stroke: var(--sur-navy); }
.pied-page .cadre + .cadre { margin-top: 24px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--sur-navy) 20%, transparent); }
.pied-colonnes { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.pied-page .pied-colonnes { display: grid; }
.pied-marque { display: grid; gap: 12px; }
.pied-marque p { color: color-mix(in srgb, var(--sur-navy) 75%, transparent); max-width: 32ch; }
.pied-liens { display: grid; gap: 6px; font-style: normal; align-content: start; }
.pied-liens a, .pied-liens span { color: color-mix(in srgb, var(--sur-navy) 82%, transparent); text-decoration: none; line-height: 1.5; }
.pied-liens a:hover { color: #c4d21c; }
.pied-titre { font: 700 12px var(--font-texte); letter-spacing: .1em; text-transform: uppercase; color: #c4d21c; margin-bottom: 2px; }
.pied-bas { align-items: flex-start; font-size: 13px; color: color-mix(in srgb, var(--sur-navy) 70%, transparent); }
@media (max-width: 800px) { .pied-colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pied-marque { grid-column: 1 / -1; } }
@media (max-width: 420px) { .pied-colonnes { grid-template-columns: minmax(0, 1fr); } }
.mentions { flex: 1; min-width: 0; border-bottom: 0; padding-block: 0; }
.pied-page .pied-titre { margin: 0 0 2px; }
.mentions summary { cursor: pointer; font-weight: 500; }
.mentions-corps { display: grid; gap: 8px; margin-top: 12px; max-width: 80ch; font-size: 13.5px; color: color-mix(in srgb, var(--sur-navy) 82%, transparent); }
.mentions-corps h4 { font: 700 12px var(--font-texte); letter-spacing: .1em; text-transform: uppercase; color: #c4d21c; margin: 8px 0 0; }
@media (max-width: 600px) { .coordonnees { text-align: left; } }

@media (prefers-reduced-motion: no-preference) { .btn, .nav a { transition: background .15s, color .15s; } }

/* Ouverture : les cinq outils d'un coup d'œil — une liste cliquable à gauche, une mosaïque de leurs
   écrans à droite, légèrement décalée en quinconce pour évoquer un bureau garni. */
.modules-liste { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.modules-liste a { display: grid; gap: 1px; padding: 8px 10px 8px 14px; border-left: 4px solid var(--lime); text-decoration: none; border-radius: 0; }
.modules-liste a:hover { background: color-mix(in srgb, var(--lime) 14%, transparent); }
.modules-liste b { font-weight: 500; font-size: 15px; }
.modules-liste span { font-size: 13px; color: var(--encre-douce); }
@media (max-width: 520px) { .modules-liste { grid-template-columns: minmax(0, 1fr); } }
.mosaique { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
.tuile { background: var(--surface); border: 1px solid var(--trait); border-radius: 10px; overflow: hidden; box-shadow: 0 14px 30px -22px rgba(39, 43, 73, .5); font-size: 12px; }
.tuile .ecran-barre { font-size: 15px; padding: 6px 10px; }
.tuile-corps { padding: 10px; display: grid; gap: 4px; min-height: 92px; align-content: start; }
.tuile-label { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--encre-douce); }
.tuile-chiffre { font-family: var(--font-titre); font-size: 28px; font-weight: 400; line-height: 1; }
.tuile-corps svg { width: 100%; height: auto; margin-top: 4px; }
.tuile-planning span { display: block; height: 12px; border-radius: 3px; }
.tuile-planning .cv { height: 14px; font-size: 9px; }
.jauge { height: 10px; border-radius: 5px; background: var(--trait); overflow: hidden; margin: 6px 0 2px; }
.jauge span { display: block; height: 100%; background: var(--lime); }
.mosaique-note { grid-column: 1 / -1; padding: 0; }
.mosaique .tuile:first-child { grid-column: 1 / -1; }
@media (min-width: 901px) { .mosaique-note { margin-top: 18px; } }

/* Fiche détaillée d'un outil (§ essai du 19/10/2026, « à voir ») : panneau latéral ouvert par un clic
   sur un outil. Tout ce qui la concerne tient dans ce bloc et le script « fiche-detail » : les retirer
   suffit à revenir à la page sans fiches. */
.voile { position: fixed; inset: 0; background: rgba(15, 16, 22, .55); z-index: 40; }
.fiche { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100%); z-index: 41; background: var(--fond); color: var(--encre); overflow-y: auto; box-shadow: -20px 0 50px -20px rgba(15, 16, 22, .6);
  padding: calc(20px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) 24px; display: grid; grid-auto-rows: max-content; gap: 18px; align-content: start; }
.fiche-entete { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.fiche-entete .surtitre { margin-bottom: 4px; }
.fiche-fermer { border: 1px solid var(--trait); background: var(--surface); color: var(--encre); border-radius: 8px; width: 40px; height: 40px; font-size: 20px; cursor: pointer; flex: none; }
.fiche h3 { font-size: 36px; }
.fiche h4 { font: 700 13px var(--font-texte); letter-spacing: .1em; text-transform: uppercase; color: var(--petrole); margin: 6px 0 8px; }
.fiche ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.fiche li { padding-left: 22px; position: relative; }
.fiche li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 6px; background: var(--lime); }
.fiche .liens { display: flex; flex-wrap: wrap; gap: 8px; }
.fiche .liens button { border: 1px solid var(--trait); background: var(--surface); color: var(--encre); border-radius: 999px; padding: 6px 12px; font: 14px var(--font-texte); cursor: pointer; }
.fiche-pied { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; border-top: 1px solid var(--trait); padding-top: 16px; }
.btn-detail { margin-top: 18px; }
.mosaique .tuile { cursor: pointer; }
.mosaique .tuile:hover { border-color: var(--encre-douce); }
.mosaique .tuile:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .fiche { animation: entree-fiche .22s ease-out; } @keyframes entree-fiche { from { transform: translateX(24px); opacity: .6; } to { transform: none; opacity: 1; } } }

/* Écrans reconstitués de l'application (§ demande : plus représentatifs et explicites) : même
   bandeau, mêmes onglets, mêmes cartes que l'outil, avec des données inventées, et des repères
   numérotés expliqués sous chaque écran. */
.app { background: var(--surface); border: 1px solid var(--trait); border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(39, 43, 73, .45); font-size: 11.5px; line-height: 1.4; color: #272b49; }
.app-entete { display: flex; align-items: center; gap: 8px; background: #272b49; border-bottom: 3px solid #c4d21c; padding: 7px 10px; }
.app-menu { background: #c4d21c; color: #272b49; border-radius: 5px; font: 700 9px var(--font-texte); letter-spacing: .06em; padding: 4px 7px; }
.app-logo { background: #fff; border-radius: 5px; padding: 3px 6px; display: flex; }
.app-logo svg { width: 40px; height: auto; }
.app-nom { font-family: var(--font-titre); font-size: 17px; letter-spacing: .04em; color: #fff; margin-left: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-profil { margin-left: auto; background: #c4d21c; color: #272b49; border-radius: 5px; font: 500 10px var(--font-texte); padding: 4px 8px; white-space: nowrap; }
.app-corps { background: #f3f4f7; padding: 10px; display: grid; gap: 8px; overflow-x: auto; }
.app-carte { background: #fff; border: 1px solid #e3e6ec; border-radius: 8px; padding: 9px 10px; display: grid; gap: 6px; min-width: 0; }
.app-titre { font-family: var(--font-titre); font-size: 15px; letter-spacing: .04em; color: #272b49; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.app-muted { color: #6b6375; font-size: 10.5px; }
.onglets { display: inline-flex; flex-wrap: wrap; gap: 2px; background: #fff; border: 1px solid #e3e6ec; border-radius: 7px; padding: 2px; justify-self: start; }
.onglets span { padding: 3px 8px; border-radius: 5px; font-weight: 500; font-size: 10.5px; color: #555a78; }
.onglets span.actif { background: #c4d21c; color: #272b49; }
.onglets b { background: #faeeda; color: #854f0b; border-radius: 999px; padding: 0 5px; margin-left: 3px; font-size: 9.5px; }
.app-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 6px; }
.app-kpi { background: #fff; border: 1px solid #e3e6ec; border-top: 3px solid #c4d21c; border-radius: 7px; padding: 6px 8px; display: grid; gap: 1px; }
.app-kpi.sombre { background: #272b49; border-color: #272b49; color: #fff; }
.app-kpi.sombre .k-lib { color: #c4d21c; }
.app-kpi.sombre .k-sous { color: #dce0ea; }
.k-lib { font-size: 9px; text-transform: uppercase; letter-spacing: .05em; color: #6b6375; font-weight: 500; }
.k-val { font-family: var(--font-titre); font-size: 22px; line-height: 1.05; }
.k-sous { font-size: 9.5px; color: #6b6375; }
.vert { color: #2f7a3a; } .rouge { color: #a33a2b; }
.badge { display: inline-block; border-radius: 999px; padding: 1px 6px; font-size: 9.5px; font-weight: 700; white-space: nowrap; }
.badge.p { background: #e6f1d8; color: #2f6b1f; } .badge.n { background: #fbe3e3; color: #8a2a2a; } .badge.a { background: #faeeda; color: #854f0b; } .badge.al { background: #a33a2b; color: #fff; }
table.app-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.app-table th { text-align: left; font-size: 9px; text-transform: uppercase; letter-spacing: .05em; color: #6b6375; font-weight: 500; padding: 3px 5px; border-bottom: 1px solid #e3e6ec; }
.app-table td { padding: 4px 5px; border-bottom: 1px solid #eef0f4; vertical-align: middle; }
.app-table .n { text-align: right; white-space: nowrap; }
.app-table tr.tot td { background: color-mix(in srgb, #c4d21c 45%, #fff); font-weight: 700; }
.app-table tr.tot td:first-child { border-left: 3px solid #c4d21c; }
.app-table tr.det td { background: color-mix(in srgb, #c4d21c 45%, #fff); font-size: 10px; color: #4a4e66; }
.app-table tr.det td:first-child { padding-left: 16px; border-left: 3px solid #c4d21c; }
.app-table .lien { text-decoration: underline dotted; color: #39747a; }
.sel { display: inline-flex; flex-direction: column; gap: 1px; font-size: 9px; color: #6b6375; text-transform: uppercase; letter-spacing: .04em; }
.sel span { border: 1px solid #d3d1c7; border-radius: 5px; padding: 2px 6px; font-size: 10.5px; color: #272b49; text-transform: none; letter-spacing: 0; background: #fff; }
.barre-outils { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; justify-content: space-between; }
.app-btn { display: inline-block; border: 1px solid #272b49; border-radius: 5px; padding: 2px 7px; font-size: 10px; font-weight: 500; background: #fff; }
.app-btn.plein { background: #272b49; color: #fff; }
.alerte-jours { background: #fdf3df; border-color: #f2dfb5; }
.alerte-jours .app-titre { color: #854f0b; font-family: var(--font-texte); font-size: 11.5px; font-weight: 700; letter-spacing: 0; }
.ligne-jour { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 5px; padding: 4px 6px; }
.ligne-jour span:first-child { margin-right: auto; }
.depot { border: 1.5px dashed #39747a; border-radius: 7px; padding: 8px; text-align: center; color: #39747a; font-size: 10.5px; }
.champs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.champs div { display: grid; gap: 1px; font-size: 9px; color: #6b6375; }
.champs b { border: 1px solid #d3d1c7; border-radius: 4px; padding: 2px 4px; font-size: 10.5px; color: #272b49; font-weight: 500; background: #f6fbe0; font-variant-numeric: tabular-nums; }
.semaines { display: flex; gap: 4px; flex-wrap: wrap; }
.semaines span { position: relative; border: 1px solid #e3e6ec; border-radius: 6px; padding: 3px 8px; font-size: 10px; text-align: center; background: #fff; line-height: 1.2; }
.semaines span.actif { border: 2px solid #272b49; font-weight: 700; }
.semaines i { position: absolute; top: -5px; right: -5px; width: 12px; height: 12px; border-radius: 50%; background: #a33a2b; color: #fff; font: 700 8px/12px var(--font-texte); font-style: normal; text-align: center; }
.frise { display: grid; grid-template-columns: 74px repeat(12, minmax(0, 1fr)); gap: 2px 1px; align-items: center; font-size: 9.5px; }
.frise .h { color: #6b6375; text-align: center; font-size: 8.5px; }
.frise .nom { font-size: 10px; display: flex; align-items: center; gap: 3px; white-space: nowrap; overflow: hidden; }
.frise .nom small { color: #6b6375; font-size: 8.5px; }
.frise .pt { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.frise .b { height: 17px; border-radius: 4px; color: #fff; font-size: 8.5px; display: flex; align-items: center; padding-left: 3px; overflow: hidden; white-space: nowrap; }
.frise .cv { height: 13px; border-radius: 3px; font-size: 8.5px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.frise .cv.ok { background: #e6f1d8; color: #2f6b1f; border: 1px solid #8fbf6a; }
.frise .cv.ko { background: #fbe3e3; color: #8a2a2a; border: 1px solid #e0a1a1; }
.frise .poste { grid-column: 1 / -1; background: #dce8ea; border-left: 3px solid #d88770; padding: 2px 6px; font-size: 8.5px; font-weight: 700; letter-spacing: .06em; }
.dossier { display: flex; align-items: center; gap: 8px; border: 1px solid #c9ccd6; border-radius: 6px; padding: 5px 8px; }
.dossier div:first-child { margin-right: auto; display: grid; }
.dossier small { color: #6b6375; font-size: 9.5px; }
.dossier .etat { text-align: right; color: #854f0b; font-size: 10px; line-height: 1.25; }
.dossier .etat.rouge { color: #a33a2b; }
.niveaux { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.niveau { border: 1px solid #e3e6ec; border-radius: 7px; padding: 6px 8px; display: grid; gap: 1px; border-top-width: 3px; }
.niveau.n1 { border-top-color: #2a61d6; } .niveau.n2 { border-top-color: #1baf95; } .niveau.n3 { border-top-color: #eda100; }
.vigilance { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 8px; align-items: baseline; }
.vigilance b { font-family: var(--font-titre); font-size: 17px; font-weight: 400; color: #854f0b; }
.rep { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: #c4d21c; color: #272b49; font: 700 10px/1 var(--font-texte); flex: none; vertical-align: middle; box-shadow: 0 0 0 2px #fff; }
.legende { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; font-size: 14px; color: var(--encre-douce); }
.legende li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; }
.legende .rep { width: 20px; height: 20px; font-size: 11px; box-shadow: none; margin-top: 1px; }
.mention-demo { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--encre-douce); margin-top: 8px; }

.fiche .legende li { padding-left: 0; }
.fiche .legende li::before { content: none; }
.alerte-jours .app-titre { font-size: 12.5px; }
.fiche { width: min(680px, 100%); }
.diaporama { display: grid; gap: 10px; border: 1px solid var(--trait); border-radius: 12px; padding: 12px; background: var(--surface); }
.diaporama:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.diaporama-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.diaporama-titre { font: 500 16px var(--font-texte); }
.diaporama-nav { display: flex; align-items: center; gap: 8px; }
.diaporama-nav button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--trait); background: var(--fond); color: var(--encre); font-size: 20px; line-height: 1; cursor: pointer; }
.diaporama-nav button:hover { border-color: var(--encre-douce); }
.diaporama-compte { font-size: 13px; color: var(--encre-douce); font-variant-numeric: tabular-nums; min-width: 40px; text-align: center; }
.diaporama-points { display: flex; justify-content: center; gap: 6px; }
.diaporama-points button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: var(--trait); cursor: pointer; }
.diaporama-points button[aria-current="true"] { background: var(--lime); width: 22px; border-radius: 5px; }
.diaporama .legende { font-size: 13.5px; }

/* Ouverture : grand bandeau navy, fil d'alertes qui montre ce que Hilo signale, mosaïque des outils, chiffres clés. */
.ouverture-b { position: relative; overflow: hidden; background: #272b49; color: #f7f8f4; padding-block: 64px 0; }
.ouverture-b-fond { position: absolute; right: -6%; top: 0; height: 100%; width: 70%; fill: #c4d21c; opacity: .06; pointer-events: none; }
.ouverture-b > .cadre:first-of-type { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ouverture-b .surtitre { color: #c4d21c; }
.ouverture-b h1 { margin-top: 12px; font-size: clamp(48px, 7.4vw, 92px); line-height: .95; color: #f7f8f4; }
.ouverture-b h1 em { display: block; font-style: normal; color: #c4d21c; }
.ouverture-b-chapeau { margin-top: 22px; font-size: 19px; color: #dce0ea; max-width: 54ch; }
.fil-alertes { margin-top: 26px; border-left: 4px solid #c4d21c; padding-left: 16px; }
.fil-titre { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #aab0c8; }
.fil-liste { list-style: none; margin: 8px 0 0; padding: 0; position: relative; min-height: 34px; }
.alerte-item { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; color: #fff; min-height: 34px; }
.alerte-puce { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 3px 9px; flex: none; }
.alerte-puce.rouge { background: #e34948; color: #fff; }
.alerte-puce.ambre { background: #eda100; color: #272b49; }
.alerte-puce.petrole { background: #1baf95; color: #0d2b28; }
.fil-anime .alerte-item { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.fil-anime .alerte-item.visible { opacity: 1; transform: none; pointer-events: auto; }
.fil-anime .alerte-item:not(.visible) { visibility: hidden; }
.fil-anime .alerte-item.visible { visibility: visible; }
.ouverture-b .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-clair { border-color: #f7f8f4; color: #f7f8f4; }
.btn-clair:hover { background: rgba(247, 248, 244, .1); }
.mosaique-b .tuile { color: var(--encre); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6); border-color: transparent; }
.chiffres-cles { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; padding-block: 22px; border-top: 1px solid rgba(247, 248, 244, .15); }
.chiffres-cles div { display: grid; gap: 2px; justify-items: center; text-align: center; }
.chiffres-cles b { font-family: var(--font-titre); font-weight: 400; font-size: 46px; line-height: 1; color: #c4d21c; }
.chiffres-cles span { font-size: 14px; color: #dce0ea; }
@media (max-width: 900px) { .ouverture-b > .cadre:first-of-type { grid-template-columns: minmax(0, 1fr); } .chiffres-cles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .alerte-item { font-size: 16px; } .fil-liste { min-height: 52px; } .fil-anime .alerte-item { align-items: flex-start; } }
/* Ouverture B à la hauteur de l'écran : grande sur un grand écran, resserrée sur un portable, la ligne « 5 outils réunis » toujours visible. */
.ouverture-b { padding-block: clamp(30px, 8vh - 10px, 84px) clamp(6px, 2vh, 22px); }
.ouverture-b h1 { margin-top: 12px; font-size: clamp(42px, min(6.4vw, 13vh - 26px), 96px); line-height: .96; }
.ouverture-b-chapeau { margin-top: clamp(14px, 2.2vh, 22px); font-size: clamp(17px, 2vh, 19px); }
.fil-alertes { margin-top: clamp(16px, 2.6vh, 26px); }
.ouverture-b .actions { margin-top: clamp(20px, 3vh, 30px); }
.mosaique-b { gap: clamp(10px, 1.4vh, 14px); }
.mosaique-b .tuile-corps { min-height: clamp(50px, 16vh - 46px, 104px); padding: clamp(8px, 1.1vh, 10px) 10px; }
.mosaique-b .tuile-corps svg { height: clamp(34px, 8vh - 18px, 56px); }
.mosaique-b .tuile .ecran-barre { padding-block: clamp(5px, .7vh, 6px); }
.chiffres-cles { margin-top: clamp(14px, 5vh - 4px, 52px); padding-block: clamp(8px, 1.8vh, 20px); }
.chiffres-cles b { font-size: clamp(34px, 5vh, 46px); }

/* ---------- Ajouts du site de production ---------- */
/* Champ piège des formulaires : invisible pour un visiteur, rempli par les robots. */
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.mention-rgpd { font-size: 12.5px; color: var(--encre-douce); }
.mention-rgpd a, .lien-texte { color: var(--petrole); }
.message-envoi.erreur { color: var(--alerte); }
.message-envoi.ok { color: var(--ok); }

/* Souscription : ouverte depuis une carte de tarif, en deux étapes */
.formule-choisie { margin-top: 4px; color: var(--encre-douce); }
.formule .btn { justify-content: center; }
.souscription .champ small { color: var(--encre-douce); font-size: 12.5px; }
.souscription input.chiffres { font-family: ui-monospace, Consolas, "Courier New", monospace; letter-spacing: .03em; }
@media (max-width: 480px) { .souscription input.chiffres { font-size: 14px; letter-spacing: 0; } }
.mention-prelevement { background: var(--glacier); border-radius: 8px; padding: 10px 14px; font-size: 15px; }
.mandat-texte { display: grid; gap: 6px; border: 1px solid var(--trait); border-radius: 8px; padding: 12px 14px; font-size: 13px; color: var(--encre-douce); }
.mandat-texte b { color: var(--encre); font-weight: 500; }
.souscription .etape-souscription { display: grid; gap: 14px; }
.souscription .etape-souscription[hidden] { display: none; }
.souscription .champ input[type="checkbox"] { width: auto; }
.souscription .grille-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.souscription .grille-champs .large { grid-column: 1 / -1; }
.souscription .choix { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.souscription .choix input { margin-top: 4px; flex: none; }
.souscription .actions-etape { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.souscription .recap { border: 1px solid var(--trait); border-radius: 8px; padding: 12px 14px; display: grid; gap: 4px; font-size: 15px; }
.souscription .recap div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px; }
.souscription .recap dt { color: var(--encre-douce); }
.souscription .recap dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.souscription .confirmation { display: grid; gap: 8px; }
@media (max-width: 640px) { .souscription .grille-champs { grid-template-columns: minmax(0, 1fr); } .souscription .recap div { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* Pages de texte : mentions légales, conditions générales */
.page-texte { padding-block: 48px 72px; }
.page-texte .cadre { max-width: 760px; display: grid; gap: 14px; }
.page-texte h1 { font-size: clamp(36px, 5vw, 52px); }
.page-texte h2 { font-size: 28px; margin-top: 22px; }
.page-texte p, .page-texte li { color: var(--encre-douce); }
.page-texte ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.page-texte .mise-a-jour { font-size: 14px; }
.a-completer { background: #c4d21c; color: #272b49; border-radius: 4px; padding: 0 6px; font-weight: 700; }
.pied-bas .liens-legaux { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.pied-bas a { color: inherit; }
