

html{-webkit-text-size-adjust:100%; text-size-adjust:100%}
body{background:var(--graphite)}


.page{
  width:794px; height:1123px; overflow:hidden; position:relative; isolation:isolate;
  background:var(--blanc-papier); color:var(--encre);
  font-family:"Archivo",sans-serif;
  padding:42px 46px 40px;
  display:flex; flex-direction:column;
}
.page *{box-sizing:border-box}


.page::before{
  content:""; position:absolute; z-index:-1; pointer-events:none;
  width:745px; height:745px; right:-253px; bottom:-110px;
  background:url("filigrane_repere.svg") center / contain no-repeat;
  opacity:.035;
}
.page > *{flex-shrink:0}


.cachet-row{display:flex; justify-content:flex-end; margin-bottom:13px}
.cachet-row .exemple-tag{font-size:8px; color:var(--laiton-print); border-color:var(--laiton-print); line-height:1}


.doc-header{display:flex; align-items:flex-start; justify-content:space-between; gap:24px}
.doc-header img.logo{height:58px; width:auto; display:block}
.doc-header .meta{text-align:right; white-space:nowrap}
.doc-type{font-family:"Unbounded",sans-serif; font-weight:300; text-transform:uppercase; letter-spacing:.13em; font-size:16px; line-height:1.1; color:var(--encre)}
.doc-sub{font-size:10px; color:var(--gris-encre); margin-top:7px}
.doc-num{font-size:9.5px; color:var(--laiton-print); margin-top:3px}
.doc-coords{font-size:8.5px; color:var(--gris-encre); margin-top:5px}


.doc-header.allege{align-items:center}
.doc-header.allege img.logo{height:42px}
.doc-header.allege .doc-type{font-size:13px}
.doc-header.allege .doc-num{margin-top:5px}

.filet{height:.75px; background:var(--laiton-print); border:0; margin:14px 0 18px; opacity:.9}


.section{margin-bottom:18px}
.section.dernier{margin-bottom:0}
.section-title{
  display:flex; align-items:center; gap:10px;
  font-family:"Archivo",sans-serif; font-weight:600; text-transform:uppercase;
  letter-spacing:.17em; color:var(--encre); font-size:9px; line-height:1; margin-bottom:9px;
}
.section-title .n{flex:none; white-space:nowrap; font-family:"Unbounded",sans-serif; font-weight:500; letter-spacing:.04em; color:var(--laiton-print); font-size:9.5px}
.section-title::after{content:""; flex:1; height:.75px; background:var(--laiton-print); opacity:.34}

.grid-2{display:grid; grid-template-columns:1fr 1fr; column-gap:28px}
.bloc-titre{font-size:8.5px; font-weight:600; color:var(--gris-encre); text-transform:uppercase; letter-spacing:.11em; margin-bottom:6px}
.bloc .ligne{font-size:10px; line-height:1.5}
.bloc .ligne.nom{font-weight:600}

p, .txt{font-size:10px; line-height:1.5}
.txt + .txt{margin-top:6px}
sup{font-size:max(.68em, 8px); line-height:0}
.nw{white-space:nowrap}


.champ{display:inline-block; width:var(--l,110px); max-width:100%; height:1em; border-bottom:.75px solid rgba(21,20,18,.55); vertical-align:-3px}


.vehicule-nom{font-family:"Unbounded",sans-serif; font-weight:500; font-size:19px; letter-spacing:.005em; line-height:1.2; margin-bottom:10px}
.fiche{display:grid; grid-template-columns:1fr 1.12fr 1.12fr 1.25fr; column-gap:16px; margin-bottom:11px}
.fiche .c{padding:6px 0 7px; border-top:.75px solid rgba(21,20,18,.16)}
.fiche .c:nth-child(n+5){border-bottom:.75px solid rgba(21,20,18,.16)}
.fiche .l{font-size:8px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--gris-encre); margin-bottom:3px; white-space:nowrap}
.fiche .v{font-size:10px; line-height:1.38}
.fiche .v .note{display:block; font-size:8px; color:var(--gris-encre); margin-top:2px; line-height:1.3}


.tbl{width:100%; border-collapse:collapse; font-size:10px}
.tbl td{padding:7px 0; border-bottom:.75px solid rgba(21,20,18,.14); vertical-align:top}
.tbl td.montant{text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; padding-left:12px}
.tbl .designation{font-weight:600}
.tbl .detail{margin-top:3px; line-height:1.45}
.tbl .sous-ligne{font-size:8.5px; color:var(--gris-encre); margin-top:3px; line-height:1.4; font-weight:400}
.tbl th{font-size:8.5px; text-transform:uppercase; letter-spacing:.1em; color:var(--gris-encre); font-weight:600; text-align:left; padding-bottom:6px; border-bottom:.75px solid rgba(21,20,18,.3)}
.tbl th.montant{text-align:right}
.tbl th.qte{text-align:center}
.tbl td.qte{text-align:center}


.reticule{
  --rc:var(--laiton-print); --re:1.5px; --rl:12px;
  background-image:
    linear-gradient(var(--rc),var(--rc)), linear-gradient(var(--rc),var(--rc)),
    linear-gradient(var(--rc),var(--rc)), linear-gradient(var(--rc),var(--rc)),
    linear-gradient(var(--rc),var(--rc)), linear-gradient(var(--rc),var(--rc)),
    linear-gradient(var(--rc),var(--rc)), linear-gradient(var(--rc),var(--rc));
  background-size:
    var(--rl) var(--re), var(--re) var(--rl), var(--rl) var(--re), var(--re) var(--rl),
    var(--rl) var(--re), var(--re) var(--rl), var(--rl) var(--re), var(--re) var(--rl);
  background-position:
    left top, left top, right top, right top,
    left bottom, left bottom, right bottom, right bottom;
  background-repeat:no-repeat;
  background-origin:border-box;
}


.total-cadre{
  display:flex; justify-content:space-between; align-items:center; gap:18px;
  margin-top:10px; padding:12px 16px; background-color:var(--papier);
}
.total-cadre .lib{font-size:10.5px; font-weight:600}
.total-cadre .montant{font-family:"Unbounded",sans-serif; font-weight:500; font-size:17px; letter-spacing:.01em; white-space:nowrap; font-variant-numeric:tabular-nums}


.totaux{font-size:10px}
.totaux .ligne{display:flex; justify-content:space-between; gap:16px; padding:6px 0; border-bottom:.75px solid rgba(21,20,18,.14)}
.totaux .ligne .montant{font-variant-numeric:tabular-nums; white-space:nowrap}
.totaux .net{
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  margin-top:10px; padding:12px 14px; background-color:var(--papier);
}
.totaux .net .lib{font-size:11px; font-weight:700}
.totaux .net .montant{text-align:right; font-family:"Unbounded",sans-serif; font-weight:500; font-size:16px; letter-spacing:.01em; white-space:nowrap}
.totaux .net .montant .plus{display:block; font-family:"Archivo",sans-serif; font-weight:500; font-size:9px; letter-spacing:0; color:var(--gris-encre); margin-top:3px}


.cases{display:flex; gap:28px; font-size:10px; margin-bottom:9px}
.cases .case{white-space:nowrap; display:inline-flex; align-items:center; gap:7px}
.cases .boite{display:inline-block; width:10px; height:10px; border:1px solid rgba(21,20,18,.8); border-radius:1px; flex:none}


.fait-a{font-size:10px; color:var(--gris-encre); margin-bottom:10px}
.signatures{display:grid; grid-template-columns:1fr 1fr; column-gap:22px}
.signatures .cadre{height:74px; padding:11px 14px; border:.75px solid rgba(21,20,18,.13)}
.signatures .cadre .qui{font-size:8.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--encre)}
.signatures .cadre .lib{font-size:9px; line-height:1.4; color:var(--gris-encre); margin-top:3px}


.pied{margin-top:auto; padding-top:11px; border-top:.75px solid rgba(140,111,56,.42)}
.pied .legal{font-size:8px; color:var(--gris-encre); line-height:1.5; white-space:nowrap}
.pied .bas-ligne{display:flex; justify-content:space-between; align-items:baseline; gap:16px; margin-top:4px}
.pied .page-num{font-size:8px; font-weight:600; letter-spacing:.1em; color:var(--encre); white-space:nowrap}
.pied .exemple-ligne{font-size:8px; color:var(--laiton-print)}


.juridique p{font-size:10px; line-height:1.52}
.juridique p + p{margin-top:7px}
.juridique strong, .detachable strong{font-weight:600}
.rappel{margin-top:13px; padding:9px 13px; border-left:1.5px solid var(--laiton-print); background:var(--papier); font-size:10px; line-height:1.5}
.annexe-sous{font-size:9px; color:var(--gris-encre); margin:-3px 0 10px}
.detachable{position:relative; border:1px dashed rgba(21,20,18,.42); border-radius:2px; padding:20px 24px 22px}
.detachable .form-titre{font-family:"Unbounded",sans-serif; font-weight:400; font-size:11px; letter-spacing:.14em; text-transform:uppercase; margin-bottom:5px}
.detachable .consigne{font-size:9px; color:var(--gris-encre); margin-bottom:11px}
.detachable p{font-size:10px; line-height:1.55}
.detachable p + p{margin-top:8px}
.detachable ul{list-style:none; margin:7px 0 0; padding:0}
.detachable li{font-size:10px; line-height:1.55; padding-left:14px; position:relative}
.detachable li + li{margin-top:6px}
.detachable li::before{content:""; position:absolute; left:1px; top:.66em; width:5px; height:.75px; background:var(--laiton-print)}
.detachable .petit{font-size:9px; color:var(--gris-encre)}
.champs{margin-top:18px}
.champs .ch{display:flex; align-items:flex-end; gap:8px; font-size:10px; line-height:1.4}
.champs .ch + .ch{margin-top:18px}
.champs .ch .champ{flex:1; width:auto}
.champs .ch.court .champ{flex:none; width:var(--l,150px)}
.champs .ch.sig{display:block}
.zone-sig{height:84px; margin-top:8px; border:.75px solid rgba(21,20,18,.13)}
.note{font-size:9px; line-height:1.5; color:var(--gris-encre); margin-top:12px}


.page.p2 .section{margin-bottom:28px}
.page.p2 .section.dernier{margin-bottom:0}
.page.facture .section{margin-bottom:44px}
.page.facture .section.dernier{margin-bottom:0}
.page.facture .tbl td{padding:14px 0}
.page.facture .tbl th{padding-bottom:9px}
.facture-bas{display:grid; grid-template-columns:1fr 340px; column-gap:44px; align-items:end; margin-top:34px}
.facture-bas .mentions .txt + .txt{margin-top:8px}


.filet-marge{position:absolute; left:18px; top:64px; bottom:64px; width:.75px; background:var(--laiton-print); opacity:.55}
.entete-coords{font-size:9px; color:var(--gris-encre); line-height:1.65; text-align:right}
.entete-coords .site{color:var(--laiton-print); font-weight:600}
.lettre-date{font-size:10.5px; text-align:right; margin-bottom:26px}
.lettre-haut{display:flex; justify-content:space-between; align-items:flex-start; gap:24px; margin-bottom:34px}
.lettre-ref{font-size:9px; line-height:1.55; color:var(--gris-encre)}
.lettre-ref .lbl{display:block; font-size:8px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--laiton-print); margin-bottom:2px}
.lettre-dest{font-size:10.5px; line-height:1.55; text-align:right}
.lettre-objet{font-size:11.5px; font-weight:600; margin-bottom:20px; line-height:1.45}
.lettre-objet .lbl{color:var(--laiton-print)}
.lettre-corps p{font-size:11px; line-height:1.62; margin-bottom:13px; max-width:610px}
.lettre-signature{margin-top:8px; font-size:11px; line-height:1.6}
.lettre-signature p{margin-bottom:2px}
.lettre-signature .equipe{font-weight:600}
.marque-signature{font-family:"Unbounded",sans-serif; font-weight:300; font-size:11px; color:var(--laiton-print); text-align:center; letter-spacing:.01em}
.pied.lettre-pied{border-top:none; padding-top:0}
.pied.lettre-pied .legal{text-align:center; margin-top:9px; padding-top:10px; border-top:.75px solid rgba(21,20,18,.14)}


@media screen and (min-width: 821px){
  body{padding:28px 0 44px}
  .page{margin:0 auto; box-shadow:0 1px 2px rgba(0,0,0,.28), 0 24px 64px rgba(0,0,0,.5)}
}


@media print{
  @page{size:A4; margin:0}
  body{background:none; padding:0}
  .page{box-shadow:none; margin:0}
}


@media screen and (max-width: 820px){
  body{background:var(--blanc-papier)}
  html, body{width:auto; min-width:0; max-width:100%}
  .page{width:100%; max-width:100%; height:auto; min-height:100vh; overflow:visible; overflow-wrap:anywhere; padding:18px 18px 28px}
  .page *{min-width:0}
  .page::before{display:none}

  .cachet-row{justify-content:flex-start; margin-bottom:16px}
  .cachet-row .exemple-tag{font-size:12px}

  .doc-header, .doc-header.allege{flex-direction:column; align-items:flex-start; gap:14px}
  .doc-header img.logo, .doc-header.allege img.logo{height:44px; max-width:100%}
  .doc-header .meta{text-align:left; white-space:normal}
  .doc-type, .doc-header.allege .doc-type{font-size:20px}
  .doc-sub{font-size:15px; margin-top:6px}
  .doc-num, .doc-coords{font-size:14px; line-height:1.45; margin-top:4px}
  .doc-header.allege .doc-num{margin-top:4px}
  .filet{margin:18px 0 22px}

  .section, .page.facture .section{margin-bottom:32px}
  .section.dernier, .page.facture .section.dernier{margin-bottom:0}
  .section-title{align-items:baseline; font-size:12px; letter-spacing:.14em; gap:4px 10px; margin-bottom:14px; line-height:1.35;
                 padding-bottom:9px; border-bottom:.75px solid rgba(140,111,56,.36)}
  .section-title::after{display:none}
  .section-title .n{font-size:13px}

  .grid-2{grid-template-columns:1fr; row-gap:20px}
  .bloc-titre{font-size:12px}
  .bloc .ligne{font-size:15px; line-height:1.5}
  p, .txt{font-size:15px; line-height:1.55}
  .txt + .txt{margin-top:9px}

  .vehicule-nom{font-size:22px; line-height:1.25; margin-bottom:12px}
  .fiche{grid-template-columns:1fr; margin-bottom:14px}
  .fiche .c{display:block; padding:10px 0 11px; border-top:.75px solid rgba(21,20,18,.16)}
  .fiche .c:nth-child(n+5){border-bottom:0}
  .fiche .c:last-child{border-bottom:.75px solid rgba(21,20,18,.16)}
  .fiche .l{font-size:12px; margin-bottom:4px; white-space:normal; letter-spacing:.08em}
  .fiche .v{font-size:15px}
  .fiche .v .note{font-size:13px}

  .tbl{font-size:15px}
  .tbl td, .page.facture .tbl td{padding:11px 0; line-height:1.45}
  .tbl td.montant{padding-left:12px}
  .tbl td.montant.mot{white-space:normal; width:38%}
  .tbl th{font-size:12px}
  .tbl .sous-ligne{font-size:13px}

  .total-cadre{flex-wrap:wrap; gap:6px; padding:14px 16px}
  .total-cadre .lib{flex:1 1 100%; font-size:15px}
  .total-cadre .montant{margin-left:auto; font-size:22px}

  
  .page.facture .tbl, .page.facture .tbl tbody{display:block}
  .page.facture .tbl tr{display:grid; grid-template-columns:1fr auto; column-gap:14px; row-gap:6px; padding:12px 0; border-bottom:.75px solid rgba(21,20,18,.14)}
  .page.facture .tbl tr.entete{display:none}
  .page.facture .tbl td{display:block; border:0; padding:0}
  .page.facture .tbl td:first-child{grid-column:1 / -1}
  .page.facture .tbl td.qte{text-align:left; font-size:13px; color:var(--gris-encre); align-self:center}
  .page.facture .tbl td.qte::before{content:"Qté "}
  .page.facture .tbl td.montant{text-align:right; padding-left:0}
  .page.facture .tbl td.montant.mot{width:auto}
  .page.facture .tbl .detail{font-size:15px}
  .facture-bas{grid-template-columns:1fr; row-gap:26px; margin-top:22px}
  .facture-bas .totaux{order:-1}
  .totaux{font-size:15px}
  .totaux .ligne{padding:9px 0}
  .totaux .net{flex-wrap:wrap; gap:6px; padding:14px 16px}
  .totaux .net .lib{font-size:16px}
  .totaux .net .montant{margin-left:auto; font-size:22px}
  .totaux .net .montant .plus{font-size:13px}

  .cases{flex-direction:column; gap:10px; font-size:15px}
  .cases .boite{width:15px; height:15px}

  .fait-a{font-size:15px; line-height:1.9}
  .signatures{grid-template-columns:1fr; row-gap:14px}
  .signatures .cadre{height:124px; padding:13px 15px}
  .signatures .cadre .qui{font-size:12px}
  .signatures .cadre .lib{font-size:14px}

  .juridique p{font-size:15px; line-height:1.58}
  .juridique p + p{margin-top:10px}
  .rappel{font-size:15px; padding:11px 14px}
  .annexe-sous{font-size:13px; margin:0 0 14px}
  .detachable{padding:18px 16px 20px}
  .detachable .form-titre{font-size:15px; letter-spacing:.1em}
  .detachable .consigne{font-size:13px}
  .detachable p, .detachable li{font-size:15px}
  .detachable .petit{font-size:13px}
  .champs .ch{display:block; font-size:15px}
  .champs .ch .champ, .champs .ch.court .champ{display:block; width:100%; height:26px; margin-top:2px}
  .champs .ch + .ch{margin-top:16px}
  .zone-sig{height:96px}
  .note{font-size:13px}

  .pied, .pied.lettre-pied{margin-top:36px}
  .pied .legal{font-size:12px; white-space:normal}
  .pied .bas-ligne{flex-wrap:wrap; gap:6px 16px; margin-top:8px}
  .pied .page-num, .pied .exemple-ligne{font-size:12px}

  .filet-marge{display:none}
  .entete-coords{text-align:left; font-size:15px}
  .lettre-date{text-align:left; font-size:15px; margin-bottom:18px}
  .lettre-haut{flex-direction:column; gap:16px; margin-bottom:26px}
  .lettre-ref{font-size:14px}
  .lettre-ref .lbl{font-size:12px}
  .lettre-dest{text-align:left; font-size:15px}
  .lettre-objet{font-size:16px}
  .lettre-corps p{font-size:16px; max-width:none}
  .lettre-signature{font-size:16px}
  .marque-signature{font-size:15px}
  .pied.lettre-pied .legal{font-size:12px}
}


.floute{filter:blur(3px); -webkit-user-select:none; user-select:none}


@media screen and (min-width: 821px){
  html.grand .page{zoom:var(--zoom,1)}
}


@media screen and (max-width: 820px){
  sup{font-size:max(.72em, 11px)}
}
