/* Point Mort · application d'atelier (étude de création).
   Quatre écrans : le planning sur tablette (1194 × 834), la fiche d'intervention sur tablette
   (834 × 1194), et deux écrans du suivi client sur téléphone (390 × 844).
   Barlow Condensed pour l'interface, IBM Plex Mono pour tout ce qui se relève : plaques,
   heures, kilomètres, mesures. Polices SIL OFL servies localement.

   Le code de la boîte : l'état d'une voiture se lit comme la position du levier.
   1 Reçue · 2 Diagnostic · 3 Réparation · 4 Contrôle · 5 Prête · R Rendue · N Au point mort
   (en attente d'un accord ou d'une pièce : rien ne bouge tant que personne ne décide). */
@font-face { font-family: "Barlow Condensed"; src: url("../../fonts/BarlowCondensed-Medium.woff2") format("woff2"); font-weight: 500; font-display: block; }
@font-face { font-family: "Barlow Condensed"; src: url("../../fonts/BarlowCondensed-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: block; }
@font-face { font-family: "Barlow Condensed"; src: url("../../fonts/BarlowCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-display: block; }
@font-face { font-family: "Barlow Condensed"; src: url("../../fonts/BarlowCondensed-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: block; }
@font-face { font-family: "IBM Plex Mono"; src: url("../../fonts/IBMPlexMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: block; }
@font-face { font-family: "IBM Plex Mono"; src: url("../../fonts/IBMPlexMono-Medium.woff2") format("woff2"); font-weight: 500; font-display: block; }
@font-face { font-family: "IBM Plex Mono"; src: url("../../fonts/IBMPlexMono-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: block; }

:root {
  --bitume: #17191C;
  --bitume-2: #24272B;
  --signal: #FF5B14;
  --acier: #9AA1A8;
  --craie: #EEECE6;
  --carte: #FBFAF7;
  --gris: #555B61;
  --filet: rgba(23, 25, 28, .12);
  --filet-fort: rgba(23, 25, 28, .22);
  --plaque: #A3142A;
  --ue: #1F3F94;
  --barlow: "Barlow Condensed", "Arial Narrow", sans-serif;
  --plex: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #8E9196; font-family: var(--barlow); font-weight: 500; color: var(--bitume); }
.planche { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; padding: 40px; width: 2200px; }
.ecran { position: relative; overflow: hidden; background: var(--craie); display: flex; flex-direction: column; }
.ecran--tablette { width: 1194px; height: 834px; }
.ecran--portrait { width: 834px; height: 1194px; }
.ecran--telephone { width: 390px; height: 844px; }
.mono { font-family: var(--plex); }
a.bouton { text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Barre d'état de l'appareil */
.statut { flex: none; height: 26px; padding: 0 22px; display: flex; justify-content: space-between; align-items: center; font-family: var(--plex); font-size: 12px; font-weight: 500; background: var(--bitume); color: var(--craie); }
.statut--telephone { height: 50px; padding: 14px 30px 0 34px; font-size: 15px; font-weight: 600; }
.statut--clair { background: var(--craie); color: var(--bitume); }
.statut__icones { display: flex; gap: 7px; align-items: center; }
.reseau { width: 17px; height: 10px; background: linear-gradient(to right, currentColor 0 3px, transparent 3px 5px, currentColor 5px 8px, transparent 8px 10px, currentColor 10px 13px, transparent 13px 14px, currentColor 14px 17px); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.batterie { width: 24px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; }
.batterie::after { content: ""; position: absolute; inset: 1.5px 6px 1.5px 1.5px; background: currentColor; border-radius: 1px; }

/* Le levier : la grille en H et son pommeau, composant d'état. */
.boite { display: block; flex: none; }
.boite .h { fill: none; stroke: var(--acier); stroke-width: 8; stroke-linecap: round; }
.boite .pommeau { fill: var(--bitume); }
.boite--n .pommeau { fill: var(--signal); }
.boite--clair .h { stroke: #6B7178; }
.boite--clair .pommeau { fill: var(--craie); }
.boite--clair.boite--n .pommeau { fill: var(--signal); }

/* ── 1 · Le planning (tablette, paysage) ───────────────────────────────────────────────── */
.barre { flex: none; height: 64px; padding: 0 22px; display: flex; align-items: center; gap: 18px; background: var(--bitume); color: var(--craie); }
.barre__marque { display: flex; align-items: center; gap: 10px; }
.barre__marque img { height: 30px; width: auto; }
.barre__marque b { font-weight: 800; font-size: 23px; letter-spacing: .01em; text-transform: uppercase; }
.barre__lieu { font-family: var(--plex); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--acier); padding-left: 12px; border-left: 1px solid rgba(238, 236, 230, .22); }
.jour { margin-left: 28px; display: flex; align-items: center; gap: 14px; }
.jour__fleche { width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(238, 236, 230, .26); display: flex; align-items: center; justify-content: center; font-size: 19px; color: var(--craie); }
.jour__date { font-weight: 700; font-size: 21px; min-width: 196px; text-align: center; }
.vues { display: flex; border: 1px solid rgba(238, 236, 230, .26); border-radius: 8px; overflow: hidden; }
.vues span { padding: 6px 14px; font-weight: 600; font-size: 16px; color: var(--acier); }
.vues .actif { background: var(--craie); color: var(--bitume); }
.barre__droite { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.qui { width: 36px; height: 36px; border-radius: 50%; background: var(--bitume-2); border: 1px solid rgba(238, 236, 230, .3); display: flex; align-items: center; justify-content: center; font-family: var(--plex); font-size: 12px; font-weight: 600; color: var(--craie); }
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; font-weight: 700; font-size: 17px; letter-spacing: .01em; }
.bouton--signal { background: var(--signal); color: var(--bitume); }
.bouton--bitume { background: var(--bitume); color: var(--craie); }
.bouton--trait { border: 1.5px solid var(--bitume); color: var(--bitume); }
.bouton b { font-size: 22px; line-height: 1; font-weight: 700; }

.atelier { flex: 1; display: grid; grid-template-columns: 1fr 318px; min-height: 0; }
.planning { position: relative; padding: 0 14px 0 0; display: flex; flex-direction: column; }
.ponts { flex: none; height: 46px; display: grid; grid-template-columns: 58px repeat(4, 1fr); column-gap: 8px; align-items: end; padding-bottom: 8px; border-bottom: 1px solid var(--filet-fort); }
.ponts span { font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: .04em; display: flex; justify-content: space-between; align-items: baseline; padding-right: 2px; }
.ponts span small { font-family: var(--plex); font-weight: 500; font-size: 11px; letter-spacing: 0; color: var(--gris); text-transform: none; }
.grille-h { position: relative; flex: 1; display: grid; grid-template-columns: 58px repeat(4, 1fr); column-gap: 8px; }
.heures { position: relative; }
.heures span { position: absolute; right: 10px; transform: translateY(-50%); font-family: var(--plex); font-size: 11px; font-weight: 500; color: var(--gris); }
.heures span:first-child { transform: none; top: 4px !important; }
.colonne { position: relative; background: repeating-linear-gradient(to bottom, transparent 0 75px, var(--filet) 75px 76px); }
.colonne--diag { background-color: rgba(154, 161, 168, .12); }
.carte { position: absolute; left: 0; right: 0; background: var(--carte); border: 1px solid var(--filet-fort); border-left: 4px solid var(--bitume); border-radius: 6px; padding: 7px 9px 7px 10px; display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
.carte--faite { border-left-color: var(--acier); background: #F3F2EE; }
.carte--n { border-left-color: var(--signal); box-shadow: inset 0 0 0 1.5px var(--signal); border-color: var(--signal); }
.carte--encours { border-left-color: var(--bitume); background: #FFFFFF; box-shadow: 0 1px 0 var(--filet-fort); }
.carte__haut { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.carte__plaque { font-family: var(--plex); font-weight: 600; font-size: 12px; letter-spacing: .02em; }
.carte__heure { font-family: var(--plex); font-size: 11px; color: var(--gris); white-space: nowrap; }
.carte__modele { font-weight: 700; font-size: 17px; line-height: 1.1; }
.carte__travail { font-size: 15px; line-height: 1.2; color: var(--gris); }
.carte__etat { margin-top: auto; display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; line-height: 1.1; }
.carte__etat .boite { width: 22px; height: 22px; }
.carte--courte .carte__modele { font-size: 16px; }
.maintenant { position: absolute; left: 0; right: 0; height: 0; border-top: 2px solid var(--signal); z-index: 0; }
.colonne .carte { z-index: 1; }
.maintenant span { position: absolute; left: 4px; top: -11px; background: var(--signal); color: var(--bitume); font-family: var(--plex); font-weight: 600; font-size: 11px; line-height: 20px; padding: 0 6px; border-radius: 4px; }

.cote { background: var(--carte); border-left: 1px solid var(--filet-fort); padding: 16px 18px; display: flex; flex-direction: column; gap: 16px; }
.compteurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.compteurs div { border-top: 3px solid var(--bitume); padding-top: 6px; }
.compteurs div.n { border-top-color: var(--signal); }
.compteurs b { display: block; font-weight: 800; font-size: 38px; line-height: 1; }
.compteurs span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.15; color: var(--gris); font-weight: 600; }
.cote h2 { font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: .03em; display: flex; align-items: center; gap: 8px; }
.cote h2 i { width: 12px; height: 12px; border-radius: 50%; background: var(--signal); }
.attente { border: 1.5px solid var(--signal); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 5px; }
.attente--piece { border-color: var(--filet-fort); }
.attente__haut { display: flex; justify-content: space-between; align-items: baseline; }
.attente__haut b { font-weight: 700; font-size: 17px; }
.attente p { font-size: 15px; line-height: 1.25; }
.attente .mono { font-size: 11px; color: var(--gris); }
.attente .bouton { height: 34px; font-size: 15px; align-self: flex-start; margin-top: 3px; }
.rendre { border-top: 1px solid var(--filet); padding-top: 9px; display: flex; flex-direction: column; gap: 3px; }
.rendre b { font-weight: 700; font-size: 16px; }
.rendre p { font-size: 14px; color: var(--gris); }

/* ── 2 · La fiche d'intervention (tablette, portrait) ──────────────────────────────────── */
.barre--fiche { gap: 14px; }
.retour { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 18px; color: var(--craie); }
.retour span { font-size: 22px; line-height: 1; }
.barre__titre { font-family: var(--plex); font-weight: 600; font-size: 16px; letter-spacing: .04em; margin-left: 10px; }
.fiche { flex: 1; padding: 26px 34px 0; display: flex; flex-direction: column; gap: 22px; }
.identite { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; }
.plaque { display: flex; align-items: stretch; height: 58px; border: 2px solid var(--plaque); border-radius: 6px; background: #FFFFFF; overflow: hidden; }
.plaque__ue { width: 30px; background: var(--ue); color: #FFFFFF; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; font-family: var(--barlow); font-weight: 700; font-size: 16px; }
.plaque__no { padding: 0 16px; display: flex; align-items: center; font-family: var(--plex); font-weight: 600; font-size: 32px; letter-spacing: .04em; color: var(--plaque); }
.identite h1 { font-weight: 800; font-size: 34px; line-height: 1; text-transform: uppercase; letter-spacing: .005em; }
.identite p { margin-top: 6px; font-size: 18px; color: var(--gris); }
.identite p .mono { font-size: 15px; color: var(--bitume); }
.bloc { background: var(--carte); border: 1px solid var(--filet-fort); border-radius: 10px; }
.position { display: grid; grid-template-columns: 216px 1fr; gap: 26px; padding: 20px 24px; align-items: center; }
.position svg text { font-family: var(--plex); font-weight: 600; font-size: 13px; fill: var(--gris); }
.position svg text.ici { fill: var(--bitume); }
.position .boite { width: 216px; height: 176px; }
.position h2 { font-weight: 800; font-size: 32px; line-height: 1; text-transform: uppercase; }
.position h2 em { font-style: normal; color: var(--bitume); background: linear-gradient(transparent 62%, rgba(255, 91, 20, .55) 62%); }
.position p { margin-top: 8px; font-size: 18px; line-height: 1.3; }
.position .mono { display: block; margin-top: 10px; font-size: 12px; color: var(--gris); letter-spacing: .02em; }
.titre-bloc { font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: .05em; display: flex; justify-content: space-between; align-items: baseline; }
.titre-bloc small { font-family: var(--plex); font-weight: 500; font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--gris); }
.deux { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.travaux { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.travaux ul { list-style: none; }
.travaux li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; padding: 9px 0; border-top: 1px solid var(--filet); font-size: 17px; line-height: 1.2; }
.travaux li small { display: block; margin-top: 2px; font-family: var(--plex); font-size: 11.5px; color: var(--gris); }
.case { width: 24px; height: 24px; border-radius: 5px; border: 2px solid var(--bitume); display: flex; align-items: center; justify-content: center; }
.case--faite { background: var(--bitume); }
.case--faite::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid var(--craie); border-bottom: 2.5px solid var(--craie); transform: translate(0, -2px) rotate(-45deg); }
.case--n { border-color: var(--signal); background: var(--signal); }
.case--n::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bitume); }
.travaux li.n { font-weight: 700; }
.travaux li.n small { color: var(--bitume); }
.releves { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.releves svg { width: 100%; height: auto; margin-top: 4px; }
.seuil { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.seuil i { width: 14px; height: 8px; border-radius: 2px; background: var(--signal); }
.releves svg text { font-family: var(--plex); font-size: 12px; font-weight: 500; fill: var(--bitume); }
.releves svg text.titre { font-weight: 600; font-size: 11px; fill: var(--gris); letter-spacing: .06em; }
.releves svg text.alerte { font-weight: 600; fill: var(--bitume); }
.pied-fiche { margin-top: auto; padding: 18px 34px 26px; display: flex; align-items: center; gap: 24px; border-top: 1px solid var(--filet-fort); background: var(--carte); }
.temps { flex: 1; }
.temps p { display: flex; justify-content: space-between; font-size: 16px; font-weight: 600; }
.temps p .mono { font-size: 13px; color: var(--gris); font-weight: 500; }
.jauge { margin-top: 8px; height: 8px; background: rgba(23, 25, 28, .1); border-radius: 4px; overflow: hidden; }
.jauge i { display: block; height: 100%; width: 72%; background: var(--bitume); }
.pied-fiche .bouton { height: 52px; padding: 0 22px; font-size: 19px; }

/* ── 3 · Le suivi client (téléphone) ───────────────────────────────────────────────────── */
.client { flex: 1; padding: 6px 24px 0; display: flex; flex-direction: column; }
.client__tete { display: flex; justify-content: space-between; align-items: center; height: 52px; border-bottom: 1px solid var(--filet); }
.client__marque { display: flex; align-items: center; gap: 8px; }
.client__marque img { height: 26px; width: auto; }
.client__marque b { font-weight: 800; font-size: 21px; text-transform: uppercase; color: var(--bitume); letter-spacing: .01em; }
.client__tete span { font-family: var(--plex); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.voiture { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; }
.voiture b { font-weight: 700; font-size: 20px; }
.plaque--petite { height: 30px; border-width: 1.5px; border-radius: 4px; }
.plaque--petite .plaque__ue { width: 16px; font-size: 10px; padding-bottom: 3px; }
.plaque--petite .plaque__no { padding: 0 8px; font-size: 15px; }
.levier { margin-top: 16px; background: var(--bitume); color: var(--craie); border-radius: 14px; padding: 22px 18px 22px; display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; }
.levier .boite { width: 132px; height: 140px; }
.levier svg text { font-family: var(--plex); font-size: 13px; font-weight: 600; fill: var(--acier); }
.levier h1 { font-weight: 800; font-size: 34px; line-height: .95; text-transform: uppercase; }
.levier p { margin-top: 8px; font-size: 16px; line-height: 1.25; color: var(--craie); }
.client .bouton { margin-top: 14px; height: 52px; font-size: 19px; width: 100%; }
.etapes { margin-top: 20px; list-style: none; }
.etapes li { display: grid; grid-template-columns: 44px 18px 1fr; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--filet); font-size: 17px; line-height: 1.2; }
.etapes li .mono { font-size: 12px; color: var(--gris); }
.etapes li i { width: 14px; height: 14px; border-radius: 50%; background: var(--bitume); justify-self: center; }
.etapes li.n i { background: var(--signal); box-shadow: 0 0 0 3px rgba(255, 91, 20, .3); }
.etapes li.a-venir { color: var(--gris); }
.etapes li.a-venir i { background: transparent; border: 2px solid var(--acier); }
.etapes li.n { font-weight: 700; }
.client__pied { margin-top: auto; padding: 14px 0 26px; font-size: 15px; line-height: 1.3; color: var(--gris); border-top: 1px solid var(--filet); }
.client__pied b { color: var(--bitume); font-weight: 700; }

/* L'accord */
.accord h1 { margin-top: 20px; font-weight: 800; font-size: 34px; line-height: .98; text-transform: uppercase; }
.accord .intro { margin-top: 8px; font-size: 17px; line-height: 1.3; }
.mesure { margin-top: 16px; background: var(--carte); border: 1px solid var(--filet-fort); border-radius: 12px; padding: 14px 16px 12px; }
.mesure svg { width: 100%; height: auto; }
.mesure svg text { font-family: var(--plex); font-size: 11px; font-weight: 500; fill: var(--gris); }
.mesure svg text.fort { font-weight: 600; font-size: 12px; fill: var(--bitume); }
.mesure p { margin-top: 6px; font-size: 15px; line-height: 1.3; }
.devis { margin-top: 14px; list-style: none; }
.devis li { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--filet); font-size: 17px; }
.devis li .mono { font-size: 14px; }
.devis li.total { border-top: 2px solid var(--bitume); font-weight: 800; font-size: 20px; text-transform: uppercase; }
.devis li.total .mono { font-size: 17px; font-weight: 600; }
.accord .bouton--signal { margin-top: 16px; }
.accord .bouton--trait { margin-top: 10px; }
.appel { margin-top: 14px; text-align: center; font-size: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.historique li { grid-template-columns: 58px 1fr; }
.historique .date { font-size: 12px; color: var(--gris); padding-top: 3px; }
.info { margin-top: 18px; background: var(--carte); border: 1px solid var(--filet-fort); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.info p { display: grid; grid-template-columns: 70px 1fr; gap: 8px; font-size: 16px; line-height: 1.3; }
.info b { font-weight: 700; }
.reassure { margin-top: 14px; font-size: 15px; line-height: 1.3; color: var(--gris); }
