/* ==========================================================================
   Page Logiciel métier (/logiciel/), reprise d'odratta.com le 09/11/2026.
   Ce qui n'appartient qu'à elle. Préfixe : .plo-
   Les dessins de l'ancienne page (scènes sombres) passent au clair : chaque
   dessin se pose dans une scène bleu pâle (--calque), les traits et les
   barres prennent l'ardoise et le filet du site, le bleu reste le bleu.
   Depuis le 11/11/2026, la page entière est sur le noir du studio (§ 0).
   ========================================================================== */

/* ---------- 0. Fond noir (Joseph, 11/11/2026 : « https://odratta.com/logiciel/#mon-logiciel ici je veux le fond noir,
   et sur toutes les pages odratta studio ») ----------
   /logiciel/ et /logiciel/spx-engineering/ (seules pages qui chargent ce fichier) passent entières sur le noir du
   studio (#0a0b0e), comme /studio/, /site/, /site/mon-site-par-odratta/ et /agent/ le même jour. Mêmes valeurs que
   p-site.css et p-agent.css § 0 : les pages noires du Studio se suivent sans écart. Les rôles de site.css sont
   redéfinis sur :root, pour que les jetons qui en dérivent (--c-texte, --trait, --secondaire-pale…) suivent d'eux-mêmes.
   Les écrans dessinés (.plo-v, fenêtres blanches des .plo-d) restent clairs, comme les écrans d'exemple de /agent/ :
   ils gardent l'encre claire du reste du site. Le bloc Mon Logiciel (.st-offre) était déjà noir ; il se détache
   désormais par les bandes grises bordées de filets qui l'entourent. À l'impression, la palette claire reprend la main.
   Contrastes sur #0a0b0e : texte 18,1 ; secondaire 11,4 ; légendes 7,1 ; bleu clair 9,1 ; petit texte bleu 11,8 ;
   rouge des croix 7,6 ; vert des coches 10,5. Sur les surfaces #15151d : secondaire 10,6. */
@media screen {
  :root {
    color-scheme: dark;
    --papier: #0a0b0e;
    --encre: #f4f5f8;
    --ardoise: #c4c5cd;
    --ardoise-2: #9a9aa3;
    --filet: rgb(255 255 255 / 0.13);
    --filet-fort: rgb(255 255 255 / 0.3);
    --filet-encre: rgb(255 255 255 / 0.55);
    --gris-fond: #121319;
    --surface: #15151d;
    --surface-2: #1d1d27;
    --survol: rgb(255 255 255 / 0.07);
    --bord-controle: rgb(255 255 255 / 0.5);
    --bord-champ-sombre: #767a86;
    --bleu-clair: #8dafff;
    --calque: rgb(46 87 231 / 0.2);
    --calque-2: rgb(46 87 231 / 0.3);
    --bord-bleu: rgb(141 175 255 / 0.5);
    --bleu-texte: #b3c8ff;
    --focus: #fff;
    --ombre-1: 0 1px 2px rgb(0 0 0 / 0.5);
    --ombre-2: 0 12px 32px -12px rgb(0 0 0 / 0.7), 0 2px 6px -2px rgb(0 0 0 / 0.4);
    --ombre-3: 0 24px 64px -24px rgb(0 0 0 / 0.85);
    --ombre-douce: 0 1px 2px rgb(0 0 0 / 0.4), 0 22px 44px -26px rgb(0 0 0 / 0.8);
    /* Propres à ces pages : croix rouges et coches vertes du « avant / après ». */
    --plo-rouge: #ff7d73;
    --plo-vert: #5fd394;
    scrollbar-color: var(--filet-fort) var(--papier);
  }
  /* Les sections teintées gardent leur rythme : sur le noir, un écart de teinte aussi faible se lit par ses filets. */
  :is(.page-logiciel, .page-spx) main .section-grise { border-block: 1px solid var(--filet); }
  /* L'en-tête lit ses propres couleurs ; ses boutons du socle gardent l'encre claire du site (Contact blanc à texte noir). */
  :is(.page-logiciel, .page-spx) .entete { --encre: #121a33; }
  :is(.page-logiciel, .page-spx) .btn-blanc { --texte: #0a0b0e; --fond-survol: #e8e8ee; --fond-appui: #d6d6de; }
  /* Le soulignement des mots marqués passe au bleu ciel ; sur le héros, le bloc Mon Logiciel et l'appel, il reste blanc. */
  :is(.page-logiciel, .page-spx) main .mark { text-decoration-color: var(--bleu-clair); }
  :is(.page-logiciel, .page-spx) :is(.heros-produit, .appel, .st-offre) .mark { text-decoration-color: rgb(255 255 255 / 0.85); }
  :is(.page-logiciel, .page-spx) ::selection { background: #fff; color: #0a0b0e; }
  /* Les trois vues dessinées sont des écrans clairs : elles gardent l'encre du site clair. */
  .plo-v { --encre: #121a33; --ardoise: #4b5470; --ardoise-2: #5c6480; }
  /* Le cadre du héros SPX prend le fond sombre : sa barre d'adresse reprend la légende et le filet du noir (6,7:1). */
  :is(.page-logiciel, .page-spx) .plo-spx-une .st-navigateur { --filet: rgb(255 255 255 / 0.13); --ardoise-2: #9a9aa3; }
}

/* ---------- Héros : texte à gauche ; à droite, l'illustration du logiciel ----------
   .heros-illustration (site.css §3.5 ; Joseph, 11/11/2026 : « pas les mêmes illustrations, même style mais adapté ») :
   le plan coté Odratta posé sur le filet des faits et ses écrans dessinés, le logiciel à son adresse (le dossier de
   « Devis » à « Facture », le planning de la semaine), la vue du technicien sur téléphone, deux pastilles tirées de
   la page. Sous 900 px, l'illustration passe sous le texte. */
.plo-heros { padding-bottom: 0; }
.plo-heros-grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 4vw, 64px); align-items: end; }
.plo-heros-texte { align-self: start; min-width: 0; padding-bottom: clamp(48px, 5vw, 80px); }
.plo-heros h1 { font-size: var(--t-0); max-width: 12.5ch; }
.plo-heros .heros-texte { max-width: 31em; }
.plo-delai { margin: 22px 0 0; font-size: var(--t-6); line-height: 1.5; color: var(--ardoise); text-wrap: pretty; }
/* Le délai se lit comme une phrase, l'icône en tête (même écriture que les faits de /site/) : pas de pastille encadrée. */
.plo-delai-puce { color: var(--encre); font-weight: 600; font-variant-numeric: tabular-nums; }
.plo-delai-puce .ic { display: inline-block; width: 16px; height: 16px; margin-right: 7px; vertical-align: -3px; }

.plo-faits { display: flex; flex-wrap: wrap; gap: 10px 0; margin: 0; padding: 18px 0 22px; list-style: none; border-top: 1px solid rgba(255, 255, 255, .34); font-size: var(--t-6); font-weight: 600; line-height: 1.35; color: #fff; }
.plo-faits li + li { margin-left: 20px; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .34); }

@media (max-width: 899px) {
  .plo-heros-grille { grid-template-columns: minmax(0, 1fr); }
  .plo-heros-texte { padding-bottom: 36px; }
}
@media (max-width: 599px) {
  .plo-faits { flex-direction: column; gap: 6px; }
  .plo-faits li + li { margin-left: 0; padding-left: 0; border-left: 0; }
}

/* ---------- Les scènes et les dessins (passés au clair) ---------- */
.plo-scene { position: relative; border: 1px solid var(--filet); border-radius: var(--r-petit); background: var(--calque); }
.plo-d { display: block; width: 100%; height: auto; overflow: visible; }
.plo-d .f0 { fill: #fff; stroke: #b9c1d3; stroke-width: 1; }
.plo-d .f1 { fill: #eef1f7; }
.plo-d .f1s { fill: #eef1f7; stroke: #b9c1d3; stroke-width: 1; }
.plo-d .phone { fill: #eef1f7; }
.plo-d .fl { fill: none; stroke: #d5dae6; stroke-width: 1; }
.plo-d .ln { fill: none; stroke: #e3e7f0; stroke-width: 1; }
.plo-d .lns { stroke: #b9c1d3; stroke-width: 1; }
.plo-d .lnd { fill: none; stroke: #a9b3c9; stroke-width: 1.2; stroke-dasharray: 3 6; stroke-linecap: round; }
.plo-d .bl { fill: #5c6480; opacity: .2; }
.plo-d .bm { fill: #5c6480; opacity: .42; }
.plo-d .bh { fill: #4b5470; opacity: .85; }
.plo-d .bu { fill: var(--bleu); }
.plo-d .bt { fill: var(--bleu); }
.plo-d .ok { fill: #1f7a4a; }
.plo-d .dg { fill: #b42318; }
.plo-d .dgl { fill: #b42318; opacity: .12; }
.plo-d .wh { fill: #fff; opacity: .92; }
.plo-d .st { fill: none; stroke: #5c6480; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.plo-d .st--fin { stroke-width: 1.1; }
.plo-d .su { fill: none; stroke: var(--bleu); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plo-d .flow { fill: none; stroke: var(--bleu); stroke-width: 1.5; stroke-dasharray: 2 5; stroke-linecap: round; }
.plo-d .tick { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plo-d .scr { fill: none; stroke: #5c6480; stroke-width: 1.6; stroke-linecap: round; opacity: .6; }
.plo-d .note { fill: #fbf3d5; stroke: #d9c98f; stroke-width: 1; }
.plo-d .qm { fill: none; stroke: #4b5470; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.plo-d .qmd { fill: #4b5470; }

/* ---------- Aujourd'hui / avec votre logiciel ---------- */
.plo-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-3); }
.plo-panneau { display: flex; flex-direction: column; min-width: 0; padding: 8px 8px clamp(16px, 1.6vw, 24px); border: 1px solid var(--filet); border-radius: var(--r-bloc); background: var(--gris-fond); }
.plo-panneau .plo-scene { padding: clamp(14px, 2.4vw, 32px); }
.plo-panneau-avant .plo-scene { background: var(--surface); }
.plo-panneau-titre { margin: 20px 12px 0; font-size: var(--t-3); }
.plo-panneau-avant .plo-panneau-titre { color: var(--ardoise); }
.plo-x { margin: 8px 12px 0; padding: 0; list-style: none; }
.plo-x li { position: relative; padding: 11px 0 11px 30px; color: var(--ardoise); line-height: 1.45; text-wrap: pretty; }
.plo-x li + li { border-top: 1px solid var(--filet); }
.plo-x li::before {
  content: ''; position: absolute; left: 1px; top: 13px; width: 17px; height: 17px; background: var(--plo-rouge, #b42318);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4.5 4.5l7 7M11.5 4.5l-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4.5 4.5l7 7M11.5 4.5l-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plo-x-ok li { color: var(--encre); }
.plo-x-ok li::before {
  background: var(--plo-vert, #1f7a4a);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.2 8.4l3 3 6.6-6.8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.2 8.4l3 3 6.6-6.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* La flèche d'un panneau à l'autre, posée à cheval sur l'espace entre les deux */
.plo-duo-fleche { position: absolute; z-index: 2; left: calc(-1 * (8px + var(--e-3) / 2) - 1px); top: 50%; display: grid; place-items: center; width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid var(--filet-fort); border-radius: var(--r-petit); background: var(--surface); color: var(--bleu-clair); }
@media (max-width: 899px) {
  .plo-duo { grid-template-columns: minmax(0, 1fr); }
  .plo-duo-fleche { left: 50%; top: calc(-1 * (8px + var(--e-3) / 2) - 1px); transform: rotate(90deg); }
}
@media (forced-colors: active) { .plo-x li::before { background: CanvasText; } }

/* ---------- Ce que votre logiciel peut prendre en charge : une liste à filets ---------- */
.plo-usages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--e-4); margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--filet-fort); }
.plo-usages > li { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); align-items: center; column-gap: clamp(16px, 1.8vw, 28px); padding: 20px 0; border-top: 1px solid var(--filet-fort); }
.plo-usages .plo-scene { padding: 12px 14px; }
.plo-usage-texte h3 { font-size: var(--t-4); line-height: 1.25; }
.plo-usage-texte p { margin: 6px 0 0; font-size: var(--t-6); line-height: 1.5; color: var(--ardoise); text-wrap: pretty; }
.plo-usages-pied { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--e-3); row-gap: 14px; align-items: baseline; margin-top: clamp(22px, 2vw, 32px); }
.plo-erp { grid-column: 1 / span 7; max-width: 34em; margin: 0; font-size: var(--t-4); line-height: 1.5; color: var(--ardoise); text-wrap: pretty; }
.plo-erp strong { font-weight: 600; color: var(--encre); }
.plo-usages-suite { grid-column: 8 / -1; margin: 0; color: var(--ardoise); }
.plo-usages-suite .lien-fort { white-space: nowrap; }
@media (max-width: 1099px) { .plo-erp, .plo-usages-suite { grid-column: 1 / -1; } }
@media (max-width: 899px) { .plo-usages { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 374px) { .plo-usages > li { grid-template-columns: minmax(0, 1fr); row-gap: 12px; } }

/* ---------- Un même dossier, une vue par personne ---------- */
.plo-vues { margin: 0; }
.plo-vues-etiquette { max-width: 100%; margin-bottom: clamp(16px, 1.6vw, 24px); font-size: .875rem; font-weight: 600; line-height: 1.4; color: var(--ardoise); }
.plo-vues-liste { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--e-3); margin: 0; padding: 0; list-style: none; }
.plo-vues-liste:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.plo-vue { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; min-width: 0; padding: 8px; border: 1px solid var(--filet); border-radius: var(--r-bloc); background: var(--gris-fond); }
.plo-vue--resp { grid-column: 1 / span 5; }
.plo-vue--tech { grid-column: 6 / span 3; }
.plo-vue--cli { grid-column: 9 / span 4; }
.plo-vue-art { position: relative; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; isolation: isolate; padding: 1.6em 1.3em 1.3em; border: 1px solid var(--filet); border-radius: var(--r-petit); background: var(--calque); font-size: clamp(10px, .45rem + .5vw, 15px); }
.plo-vue-txt { padding: 16px 12px 14px; }
.plo-vue-titre { font-size: var(--t-4); }
.plo-vue-txt p { max-width: 34em; margin: 8px 0 0; font-size: var(--t-6); line-height: 1.5; color: var(--ardoise); text-wrap: pretty; }
.plo-vues-glisser { display: none; }
@media (min-width: 768px) and (max-width: 1099px) {
  .plo-vues-liste { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .plo-vue--resp { grid-column: 1 / span 3; }
  .plo-vue--tech { grid-column: 4 / span 2; }
  .plo-vue--cli { grid-column: 6 / span 3; }
}
/* Sous 768 px, les trois vues défilent de côté, chacune calée au bord */
@media (max-width: 767px) {
  .plo-vues-liste { grid-template-columns: none; grid-template-rows: auto auto; grid-auto-flow: column; grid-auto-columns: 84%; column-gap: 12px; margin-inline: calc(-1 * var(--marge)); padding: 0 var(--marge) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--marge); overscroll-behavior-x: contain; }
  .plo-vue, .plo-vue--resp, .plo-vue--tech, .plo-vue--cli { grid-column: auto; scroll-snap-align: start; }
  .plo-vue-art { font-size: 11px; }
  .plo-vue--tech .plo-v--phone { width: 15em; height: 26em; }
  .plo-vues-liste:focus-visible { outline-offset: -2px; }
  .plo-vues-glisser { display: block; margin-top: 10px; font-size: .8125rem; color: var(--ardoise-2); }
}

/* Les dessins des trois vues (tout en em : l'échelle vient de .plo-vue-art) */
.plo-v, .plo-v span, .plo-v i { display: block; }
.plo-v { -webkit-hyphens: manual; hyphens: manual; }
.plo-v { position: relative; overflow: hidden; border: 1px solid #b9c1d3; border-radius: .6em; background: #fff; font-style: normal; }
.plo-v--win { width: 100%; }
.plo-v .plo-v-tx { min-width: 0; overflow: hidden; font-size: max(.8em, 9px); line-height: 1.3; color: var(--ardoise); white-space: nowrap; text-overflow: ellipsis; }
.plo-v .plo-v-tx--lo { color: var(--ardoise-2); }
.plo-v .plo-v-tx--hi { font-size: max(.88em, 10px); font-weight: 600; color: var(--encre); }
.plo-v .plo-v-ico { flex: none; width: .95em; height: .95em; color: var(--ardoise-2); stroke-width: 2; }
.plo-v .plo-v-me { flex: none; width: .6em; height: .6em; border-radius: 50%; background: var(--bleu); }
.plo-v .plo-v-bar { display: flex; align-items: center; height: 1.9em; padding: 0 .8em; border-bottom: 1px solid #e3e7f0; background: #eef1f7; font-size: max(.72em, 9px); font-weight: 500; line-height: 1; color: var(--ardoise-2); white-space: nowrap; }
.plo-v .plo-v-in { padding: .9em 1em 1.1em; }
.plo-v .plo-v-title { display: flex; align-items: center; gap: .55em; min-width: 0; }
.plo-v .plo-v-title .plo-v-tx { flex: 0 1 auto; }
.plo-v .plo-v-st { display: flex; align-items: center; gap: .45em; min-width: 0; font-size: max(.72em, 9px); font-weight: 500; line-height: 1; color: var(--ardoise); white-space: nowrap; }
.plo-v .plo-v-st::before { content: ''; flex: none; width: .55em; height: .55em; border-radius: 50%; background: var(--ardoise-2); }
.plo-v .plo-v-st--go::before { background: var(--bleu); }
.plo-v .plo-v-st--ok::before { background: #1f7a4a; }
.plo-v .plo-v-btn { display: flex; flex: none; align-items: center; justify-content: center; height: 1.8em; padding: 0 .9em; border-radius: .3em; background: var(--bleu); font-size: max(.75em, 9px); font-weight: 600; line-height: 1; color: #fff; white-space: nowrap; }
.plo-v .plo-v-att { display: flex; align-items: center; gap: .5em; padding: .45em .55em; border: 1px solid #e3e7f0; border-radius: .45em; }
.plo-v .plo-v-att .plo-v-tx { flex: 0 1 auto; }
.plo-v .plo-v-lab { font-size: max(.75em, 9.5px); font-weight: 600; line-height: 1.2; color: var(--ardoise); white-space: nowrap; }
.plo-v--resp .plo-v-tools { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-bottom: .9em; }
.plo-v--resp .plo-v-search { display: flex; align-items: center; width: 46%; min-height: 1.8em; padding: .3em .65em; border: 1px solid #e3e7f0; border-radius: 6px; }
.plo-v--resp .plo-v-table { border-top: 1px solid #e3e7f0; }
.plo-v--resp .plo-v-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 1.15em 6.2em; align-items: center; column-gap: .9em; min-height: 2.15em; padding: .3em .55em; border-bottom: 1px solid #edf0f6; }
.plo-v--resp .plo-v-row--head { min-height: 1.7em; }
.plo-v--resp .plo-v-row.is-me .plo-v-tx { white-space: normal; hyphens: auto; }
.plo-v--resp .plo-v-row--head .plo-v-tx { font-size: max(.68em, 9px); font-weight: 500; }
.plo-v--resp .plo-v-row.is-me { border-radius: .35em; background: #eef1f7; }
.plo-v--resp .plo-v-row.is-me::before { content: ''; position: absolute; left: 0; top: .35em; bottom: .35em; width: 2px; border-radius: 2px; background: var(--bleu); }
.plo-v--resp .plo-v-av { width: 1.15em; height: 1.15em; border-radius: 50%; background: #dfe3ec; }
@media (max-width: 1099px) {
  .plo-v--resp .plo-v-row { grid-template-columns: minmax(0, 1fr) 6.2em; }
  .plo-v--resp .plo-v-row > i { display: none; }
}
.plo-v--phone { display: flex; flex-direction: column; width: 12.5em; height: 25em; padding: 0 .4em .4em; border-radius: .8em; background: #eef1f7; }
.plo-v--phone .plo-v-notch { flex: none; width: 3.2em; height: .38em; margin: .6em auto; border-radius: 1px; background: #d5dae6; }
.plo-v--phone .plo-v-in { flex: 1; display: flex; flex-direction: column; gap: .7em; padding: .8em .85em .9em; border-radius: .5em; background: #fff; }
.plo-v--phone .plo-v-top { display: flex; align-items: center; gap: .5em; padding-bottom: .65em; border-bottom: 1px solid #e3e7f0; }
.plo-v--phone .plo-v-in > .plo-v-tx, .plo-v--phone .plo-v-title .plo-v-tx, .plo-v--phone .plo-v-input .plo-v-tx,
.plo-v--cli .plo-v-title .plo-v-tx, .plo-v--cli .plo-v-field .plo-v-tx { white-space: normal; hyphens: auto; }
.plo-v--phone .plo-v-field { display: flex; flex-direction: column; gap: .45em; margin-top: .2em; }
.plo-v--phone .plo-v-input { min-height: 4.4em; padding: .65em; border: 1px solid #d5dae6; border-radius: 6px; }
.plo-v--phone .plo-v-caret { display: inline-block; vertical-align: -.15em; width: 1.5px; height: .95em; margin-left: .1em; background: var(--bleu); }
.plo-v--phone .plo-v-btn--full { margin-top: auto; }
.plo-v--cli .plo-v-in { display: flex; flex-direction: column; gap: .8em; }
.plo-v--cli .plo-v-head { display: flex; align-items: center; justify-content: space-between; gap: .8em; }
.plo-v--cli .plo-v-head .plo-v-title { flex: 1; }
.plo-v--cli .plo-v-ro { display: flex; flex: none; align-items: center; gap: .35em; padding: .3em .6em; border: 1px solid #e3e7f0; border-radius: .3em; font-size: max(.7em, 9.5px); font-weight: 600; line-height: 1; color: var(--ardoise-2); white-space: nowrap; }
.plo-v--cli .plo-v-dl { display: grid; gap: .6em; padding-block: .75em; border-block: 1px solid #edf0f6; }
.plo-v--cli .plo-v-dr { display: grid; grid-template-columns: 32% minmax(0, 1fr); align-items: center; column-gap: 1em; }
.plo-v--cli .plo-v-field { display: flex; flex-direction: column; gap: .5em; }

/* ---------- Un logiciel livré : la capture et son renvoi, tout le bloc cliquable ---------- */
.plo-livre { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--e-3); row-gap: 20px; align-items: end; color: inherit; text-decoration: none; }
.plo-livre .st-navigateur { grid-column: 1 / span 8; transition: border-color 150ms ease; }
.plo-livre:hover .st-navigateur { border-color: var(--filet-fort); }
.plo-livre-texte { grid-column: 9 / -1; padding-bottom: 6px; }
.plo-livre-texte h3 { font-size: var(--t-3); }
.plo-livre-texte p { margin: 10px 0 0; color: var(--ardoise); text-wrap: pretty; }
.plo-livre-lien { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; font-weight: 600; color: var(--bleu-clair); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color 150ms ease; }
.plo-livre-lien .ic { width: 18px; height: 18px; transition: transform 160ms var(--facile); }
.plo-livre:hover .plo-livre-lien { text-decoration-color: currentColor; }
.plo-livre:hover .plo-livre-lien .ic { transform: translateX(3px); }
@media (max-width: 1099px) {
  .plo-livre { grid-template-columns: minmax(0, 1fr); }
  .plo-livre .st-navigateur, .plo-livre-texte { grid-column: auto; }
}

/* ---------- Outils reliés : le circuit chez Odratta, puis ce qu'on relie ---------- */
.plo-outils-tete > .plo-outils-chapeau { grid-column: 7 / -1; padding-top: .3em; }
.plo-outils-lead { max-width: 60ch; margin: 0; font-size: var(--t-4); line-height: 1.55; font-weight: 500; color: var(--encre); }
.plo-outils-chapeau p + p { max-width: 60ch; margin: 12px 0 0; color: var(--ardoise); }
@media (max-width: 1023px) { .plo-outils-tete > .plo-outils-chapeau { margin-top: 16px; padding-top: 0; } }

.plo-flux { margin: 0; padding: clamp(20px, 2.6vw, 36px); border: 1px solid var(--bord-bleu); border-radius: var(--r-bloc); background: var(--calque); }
.plo-flux-liste { --fg: 30px; display: grid; row-gap: var(--fg); margin: 0; padding: 0; list-style: none; }
.plo-flux-liste > li { position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; padding: 14px 16px; border: 1px solid var(--bord-bleu); border-radius: var(--r-bouton); background: var(--surface); }
.plo-flux-liste > li > .ic { width: 26px; height: 26px; color: var(--bleu-clair); }
.plo-flux-t { font-family: var(--police-titre); font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: 620; line-height: 1.1; letter-spacing: -.02em; color: var(--encre); text-wrap: balance; }
.plo-flux-fleche { position: absolute; left: calc(16px + 13px - 8px); top: calc(100% + (var(--fg) - 16px) / 2); display: flex; width: 16px; height: 16px; color: var(--bleu-clair); transform: rotate(90deg); }
.plo-flux-fleche .ic { width: 16px; height: 16px; }
.plo-flux figcaption { margin-top: clamp(20px, 2vw, 32px); padding-top: 12px; border-top: 1px solid var(--bord-bleu); font-size: var(--t-6); color: var(--bleu-texte); }
@media (min-width: 768px) and (max-width: 899px) { .plo-flux-liste { max-width: 30rem; } }
@media (min-width: 900px) {
  .plo-flux-liste { --fg: clamp(28px, .6rem + 2vw, 48px); grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--fg); row-gap: 0; }
  .plo-flux-liste > li { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 24px; min-height: clamp(8rem, 5rem + 4vw, 10rem); padding: 16px 16px 18px; }
  .plo-flux-liste > li > .ic { width: 30px; height: 30px; }
  .plo-flux-fleche { left: calc(100% + (var(--fg) - 16px) / 2); top: 50%; margin-top: -8px; transform: none; }
}

.plo-liens { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--e-3); row-gap: 36px; margin-top: clamp(40px, 4vw, 64px); }
.plo-relie, .plo-seul { min-width: 0; padding-top: 20px; border-top: 1px solid var(--filet-fort); }
.plo-relie { grid-column: 1 / span 7; }
.plo-seul { grid-column: 8 / -1; }
.plo-relie h3, .plo-seul h3 { font-size: var(--t-3); }
.plo-relie-liste { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.plo-relie-liste > li { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 15px 8px 12px; border: 1px solid var(--filet-fort); border-radius: var(--r-bouton); font-size: var(--t-6); font-weight: 600; line-height: 1.25; color: var(--encre); }
.plo-relie-liste .ic { width: 20px; height: 20px; color: var(--bleu-clair); }
.plo-relie-note { max-width: 40em; margin: 16px 0 0; font-size: var(--t-6); color: var(--ardoise); }
.plo-seul-liste { margin: 12px 0 0; padding: 0; list-style: none; }
.plo-seul-liste > li { display: flex; align-items: flex-start; gap: 14px; padding: 15px 0; line-height: 1.5; color: var(--ardoise); text-wrap: pretty; }
.plo-seul-liste > li + li { border-top: 1px solid var(--filet); }
.plo-seul-liste .ic { width: 22px; height: 22px; margin-top: 1px; color: var(--bleu-clair); }
.plo-agent { margin: clamp(28px, 2.4vw, 40px) 0 0; color: var(--ardoise); }
@media (max-width: 1099px) { .plo-relie, .plo-seul { grid-column: 1 / -1; } }

/* ---------- La démarche (.st-etapes du studio) et les droits ---------- */
.plo-droits { display: flex; align-items: flex-start; gap: 12px; max-width: 46em; margin: clamp(36px, 3vw, 48px) 0 0; padding-top: 20px; border-top: 1px solid var(--filet); line-height: 1.5; color: var(--ardoise); text-wrap: pretty; }
.plo-droits .ic { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--bleu-clair); }

/* ---------- Budget et délai ---------- */
.plo-budget { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--e-3); margin: 0; padding: 0; list-style: none; }
.plo-budget > li { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-content: start; column-gap: 14px; padding: 18px 0 22px; border-top: 1px solid var(--filet-fort); }
.plo-budget .ic { grid-row: 1 / span 2; width: 26px; height: 26px; color: var(--bleu-clair); }
.plo-budget h3 { padding-top: 2px; font-size: var(--t-4); line-height: 1.25; }
.plo-budget p { margin: 7px 0 0; font-size: var(--t-6); line-height: 1.5; color: var(--ardoise); text-wrap: pretty; }
.plo-budget-pied { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px var(--e-3); margin-top: clamp(12px, 1.5vw, 24px); padding: clamp(20px, 2vw, 32px); border: 1px solid var(--filet); border-radius: var(--r-bloc); background: var(--gris-fond); }
.plo-budget-pied h3 { font-family: var(--police-texte); font-size: 1rem; font-weight: 700; line-height: 1.3; letter-spacing: -.005em; }
.plo-budget-pied p { max-width: 30em; margin: 6px 0 0; color: var(--ardoise); text-wrap: pretty; }
@media (max-width: 1099px) { .plo-budget { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .plo-budget, .plo-budget-pied { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Mon Logiciel par Odratta : l'offre détaillée (fond noir de .st-offre).
   Chaque rangée reprend la grille du bandeau : légende à gauche, sous le logo ; contenu à droite, sous le titre. ---------- */
.plo-ml-rangee { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(40px, 6vw, 104px); margin-top: clamp(56px, 6vw, 88px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid rgb(255 255 255 / 0.2); }
.plo-ml-legende h3 { margin: 0; font-size: var(--t-3); line-height: 1.25; color: #fff; }
.plo-ml-legende p { max-width: 34ch; margin: 12px 0 0; font-size: var(--t-6); line-height: 1.55; color: #c4c5cd; }
.plo-ml-compris { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) var(--e-3); }
.plo-ml-compris h4 { margin: 0; font-family: var(--police-titre); font-size: var(--t-4); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: #fff; }
.plo-ml-compris ul { margin: 12px 0 0; padding: 0; list-style: none; }
.plo-ml-compris li { position: relative; padding-left: 18px; font-size: var(--t-6); line-height: 1.55; color: #c4c5cd; }
.plo-ml-compris li + li { margin-top: 8px; }
.plo-ml-compris li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: rgb(255 255 255 / 0.55); }
/* Les garanties : le dl à filets du bandeau (.st-offre-compris), sans son filet du haut (la rangée a déjà le sien) */
.plo-ml-garanties { margin-top: 0; border-top: 0; }
.plo-ml-garanties > div:nth-child(-n+2) { padding-top: 0; }
.plo-ml-fin { margin-top: clamp(40px, 4vw, 56px); padding-top: 0; border-top: 0; }
.plo-ml-fin > * { grid-column: 2; }
.plo-ml-fin .st-offre-actions { margin-top: 0; }
.plo-ml-lien { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: #fff; text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.5); text-underline-offset: 4px; }
.plo-ml-lien:hover { text-decoration-color: #fff; }
.plo-ml-reserve { margin: 16px 0 0; font-size: var(--t-6); line-height: 1.5; color: #a3a5b0; }
@media (min-width: 900px) { .plo-ml-legende { position: sticky; top: calc(var(--haut-entete) + 32px); align-self: start; } }
@media (max-width: 899px) {
  .plo-ml-rangee { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .plo-ml-fin > * { grid-column: 1; }
}
@media (max-width: 599px) {
  .plo-ml-compris { grid-template-columns: minmax(0, 1fr); }
  .plo-ml-garanties > div:nth-child(2) { padding-top: 18px; }
  .plo-ml-lien { justify-content: center; width: 100%; }
}

/* ---------- Exemples par métier : une rangée à filets par métier, le logiciel livré en tête ---------- */
.plo-metiers { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--filet-fort); }
.plo-metier { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: var(--e-3); padding: 28px 0 30px; border-bottom: 1px solid var(--filet-fort); }
.plo-metier-statut { margin: 0 0 8px; font-size: 0.8125rem; font-weight: 600; line-height: 1.4; color: var(--ardoise-2); }
.plo-metier--reel .plo-metier-statut { color: var(--bleu-clair); }
.plo-metier h3 { margin: 0; font-size: var(--t-4); line-height: 1.3; }
.plo-metier-qui { margin: 6px 0 0; font-size: var(--t-6); line-height: 1.5; color: var(--ardoise); }
.plo-metier-faits { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 3fr); column-gap: var(--e-3); margin: 0; }
.plo-metier-faits dt { font-size: var(--t-6); font-weight: 600; line-height: 1.4; color: var(--encre); }
.plo-metier-faits dd { margin: 6px 0 0; font-size: var(--t-6); line-height: 1.55; color: var(--ardoise); }
.plo-metier-faits dd + dd { margin-top: 2px; }
.plo-metier-lien { display: inline-flex; align-items: center; min-height: 44px; }
.plo-metiers-pied { margin: 28px 0 0; font-size: var(--t-5); line-height: 1.55; color: var(--ardoise); }
@media (max-width: 1099px) { .plo-metier { grid-template-columns: minmax(0, 1fr); row-gap: 20px; } }
@media (max-width: 767px) { .plo-metier-faits { grid-template-columns: minmax(0, 1fr); row-gap: 16px; } }

/* ---------- Appel final ---------- */
.page-logiciel .appel h2 { max-width: 15ch; }

@media (prefers-reduced-motion: reduce) {
  .plo-livre .st-navigateur, .plo-livre-lien, .plo-livre-lien .ic { transition: none; }
  .plo-livre:hover .plo-livre-lien .ic { transform: none; }
}

/* ==========================================================================
   /logiciel/spx-engineering/ : le logiciel livré, en captures (.plo-spx-).
   Héros bleu, écran principal en vidéo (.st-boucle du studio), puis l'écran
   Fichier en rangées alternées, les autres écrans deux par rangée, les
   téléphones trois par rangée sous un titre qui reste en vue.
   ========================================================================== */

/* ---------- Héros ---------- */
.plo-spx-tete { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--e-3); align-items: end; }
.plo-spx-tete h1 { grid-column: 1 / span 6; max-width: 12ch; }
.plo-spx-tete .heros-texte { grid-column: 7 / -1; max-width: 34em; margin: 0; font-size: var(--t-5); line-height: 1.6; }
.plo-spx-une-grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 36px var(--e-3); align-items: start; margin-top: clamp(32px, 4vw, 56px); }
.plo-spx-une { grid-column: 1 / span 8; min-width: 0; margin: 0; }
.plo-spx-cote { grid-column: 9 / -1; min-width: 0; }
/* Sur le bleu, l'écran garde ses couleurs claires */
.plo-spx-une .st-navigateur { --filet: #e2e6ef; --ardoise-2: #5c6480; border-color: rgb(255 255 255 / 0.5); box-shadow: var(--ombre-2); }
.plo-spx-fiche > div { grid-template-columns: minmax(0, 7.5em) minmax(0, 1fr); }
.plo-spx-nature, .plo-spx-date { display: block; }
.plo-spx-date { font-weight: 400; color: var(--c-texte-2); font-variant-numeric: tabular-nums; }
.plo-spx-points { margin: 0; padding: 0; list-style: none; font-weight: 400; line-height: 1.5; }
.plo-spx-points li { position: relative; padding-left: 14px; }
.plo-spx-points li::before { content: ''; position: absolute; top: 0.62em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.plo-spx-points li + li { margin-top: 6px; }
.plo-spx-cote .heros-actions { margin-top: 24px; }
.plo-spx-credit { max-width: 40em; margin: 20px 0 0; font-size: 0.8125rem; line-height: 1.55; color: var(--ardoise); }
@media (min-width: 768px) and (max-width: 1099px) {
  .plo-spx-une, .plo-spx-cote { grid-column: 1 / -1; }
  .plo-spx-cote { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--e-3); align-items: start; }
  .plo-spx-fiche { grid-column: 2; grid-row: 1 / span 2; }
  .plo-spx-cote .heros-actions { grid-column: 1; grid-row: 1; margin-top: 0; }
  .plo-spx-credit { grid-column: 1; grid-row: 2; }
}
@media (max-width: 899px) {
  .plo-spx-tete h1, .plo-spx-tete .heros-texte { grid-column: 1 / -1; }
  .plo-spx-tete .heros-texte { margin-top: 20px; }
}
@media (max-width: 767px) {
  .plo-spx-une, .plo-spx-cote { grid-column: 1 / -1; }
  .plo-spx-fiche > div:last-child { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* ---------- Les légendes ---------- */
.plo-spx-legende { display: grid; gap: 4px; align-content: start; margin-top: 16px; }
.plo-spx-legende b { font-family: var(--police-titre); font-size: var(--t-4); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--encre); text-wrap: balance; }
.plo-spx-k { font-size: 0.8125rem; font-weight: 600; color: var(--ardoise-2); }
.plo-spx-txt { max-width: 34em; margin-top: 4px; font-size: var(--t-6); line-height: 1.55; color: var(--ardoise); text-wrap: pretty; }

/* ---------- L'écran Fichier, en rangées alternées ---------- */
.plo-spx-pas-liste { display: grid; row-gap: clamp(48px, 6vw, 88px); }
.plo-spx-pas { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--e-3); align-items: end; margin: 0; }
.plo-spx-pas-capture, .plo-spx-pas .plo-spx-legende { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 1100px) {
  .plo-spx-pas .plo-spx-legende { grid-row: 1; margin-top: 0; padding-bottom: 8px; }
  .plo-spx-pas-gauche .plo-spx-pas-capture { grid-column: 1 / span 8; }
  .plo-spx-pas-gauche .plo-spx-legende { grid-column: 9 / -1; }
  .plo-spx-pas-droite .plo-spx-pas-capture { grid-column: 5 / -1; }
  .plo-spx-pas-droite .plo-spx-legende { grid-column: 1 / span 4; }
}

/* ---------- Les autres écrans, deux par rangée ---------- */
.plo-spx-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 4vw, 64px) var(--e-3); align-items: start; }
.plo-spx-ecran { min-width: 0; margin: 0; }
.plo-spx-grille:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.plo-spx-glisser { display: none; }
/* Sur téléphone, chaque galerie défile de côté (comme les vues de /logiciel/) : la page ne s'étire plus sur 32 000 px. */
@media (max-width: 767px) {
  .plo-spx-grille { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; column-gap: 14px; margin-inline: calc(-1 * var(--marge)); padding: 0 var(--marge) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--marge); overscroll-behavior-x: contain; }
  .plo-spx-ecran { scroll-snap-align: start; }
  .plo-spx-grille:focus-visible { outline-offset: -2px; }
  .plo-spx-glisser { display: block; margin: 10px 0 0; font-size: .8125rem; color: var(--ardoise-2); }
}

/* ---------- Sur téléphone ---------- */
.plo-spx-tel-grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--e-3); align-items: start; }
.plo-spx-tel-tete { grid-column: 1 / -1; }
.plo-spx-tel-tete p { max-width: 34em; margin: 16px 0 0; font-size: var(--t-4); line-height: 1.55; color: var(--c-texte-2); }
.plo-spx-tels { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3vw, 44px) var(--e-3); }
.plo-spx-tel { min-width: 0; margin: 0; }
.plo-spx-tel .st-navigateur { border-radius: 18px; }
.plo-spx-tel .st-navigateur-barre { height: 28px; padding: 0 10px; font-size: 0.75rem; }
.plo-spx-tel-vue { position: relative; display: block; aspect-ratio: 390 / 844; overflow: hidden; background: var(--gris-fond); }
.plo-spx-tel-vue img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.plo-spx-tel .plo-spx-legende b { font-size: var(--t-5); }
@media (min-width: 1100px) {
  .plo-spx-tel-tete { grid-column: 1 / span 4; position: sticky; top: calc(var(--haut-entete) + 32px); }
  .plo-spx-tels { grid-column: 5 / -1; }
}
@media (max-width: 767px) { .plo-spx-tels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Pour continuer ---------- */
.plo-spx-suite { padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--filet); }
.plo-spx-suite p { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px; margin: 0; }
.plo-spx-suite .lien-fort { display: inline-flex; align-items: center; min-height: 44px; }
.plo-spx-suite .lien-fort .ic { width: 18px; height: 18px; margin-left: 6px; }
.page-spx .appel h2 { max-width: 12ch; }

/* Mot insécable de la page (repris de .nw d'odratta.com) */
.page-logiciel .nw { white-space: nowrap; }
