/* ============================================================================
   hero-scene.css — Scène animée "cycle de vie d'un devis" (Relance-Devis)
   Pur CSS + SVG inline, 0 dépendance, 0 <script>.
   ----------------------------------------------------------------------------
   INTÉGRATION
   1. Lier ce fichier dans le <head> :
        <link rel="stylesheet" href="/css/hero-scene.css" />
   2. Coller le markup `.hs-scene` (voir bloc HTML documenté en bas de ce fichier)
      dans le conteneur cible du hero :
        <div id="hero-anim" class="hero-anim"> ...markup hs-scene... </div>
   3. Aucune JS requise : tout est en animations CSS. Le mode reduced-motion
      est géré ici (état statique "Signé").

   Toutes les classes sont préfixées `hs-` pour éviter les collisions avec
   landing.html / landing-proof.css / static-tailwind.css.
   ============================================================================ */

.hs-scene {
  /* palette encre & papier */
  --hs-ink:      #0F172A;
  --hs-ink-2:    #1E293B;
  --hs-slate:    #475569;
  --hs-paper:    #FBF8F1;
  --hs-paper-sh: #ECE6D8;
  --hs-blue:     #2563EB;
  --hs-blue-lt:  #DBEAFE;
  --hs-amber:    #F59E0B;
  --hs-green:    #22C55E;

  /* durée maîtresse de la boucle — change ici pour tout retimer */
  --hs-loop: 10s;

  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  /* la perspective donne la profondeur à l'apparition du document */
  perspective: 1600px;
  perspective-origin: 50% 42%;
  /* halo doux derrière le document, dans le ton ardoise/bleu */
  background:
    radial-gradient(60% 55% at 50% 44%, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0) 62%),
    radial-gradient(120% 120% at 50% 120%, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, 0.4) 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

/* Mobile : la scène épouse la hauteur du document (sinon il est coupé en bas
   par le carré aspect-ratio:1/1) + léger downscale pour laisser de la marge
   horizontale aux tampons. */
@media (max-width: 640px) {
  .hs-scene {
    aspect-ratio: auto;
    transform: scale(0.9);
    transform-origin: center;
  }
}

/* ----------------------------------------------------------------------------
   LE DOCUMENT (pseudo-3D)
   ---------------------------------------------------------------------------- */
.hs-doc {
  position: relative;
  width: 340px;
  height: 468px;
  transform-style: preserve-3d;
  transform-origin: 50% 60%;
  will-change: transform, opacity;
  animation: hs-doc-life var(--hs-loop) cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
  /* double ombre portée : contact serré + ombre projetée diffuse */
  filter:
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35))
    drop-shadow(18px 30px 44px rgba(0, 0, 0, 0.55));
}

@keyframes hs-doc-life {
  /* entrée : le document se déploie depuis la tranche, puis flotte légèrement */
  0%   { transform: rotateY(82deg) rotateX(6deg) rotateZ(-7deg) translateY(38px) scale(0.96); opacity: 0; }
  6%   { opacity: 1; }
  12%  { transform: rotateY(9deg)  rotateX(3deg) rotateZ(-1.5deg) translateY(0)   scale(1);    opacity: 1; }
  40%  { transform: rotateY(-5deg) rotateX(2deg) rotateZ(1deg)   translateY(-7px) scale(1);    opacity: 1; }
  68%  { transform: rotateY(4deg)  rotateX(2deg) rotateZ(0deg)   translateY(-2px) scale(1);    opacity: 1; }
  90%  { transform: rotateY(1deg)  rotateX(2deg) rotateZ(-0.5deg) translateY(0)   scale(1);    opacity: 1; }
  /* sortie : repart vers la tranche pour un rebouclage sans saut */
  100% { transform: rotateY(82deg) rotateX(6deg) rotateZ(-7deg) translateY(38px) scale(0.96); opacity: 0; }
}

/* feuille papier */
.hs-sheet {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #FFFDF8 0%, var(--hs-paper) 22%, var(--hs-paper) 100%);
  border-radius: 8px;
  overflow: hidden;
  backface-visibility: hidden;
  /* fine bordure papier + reflet de lumière côté haut-gauche */
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.06),
    inset 60px 60px 90px rgba(255, 255, 255, 0.5);
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: var(--hs-ink);
}

/* === EN-TÊTE : cadre société (gauche bleu) + titre DEVIS (droite) === */
.hs-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.hs-company {
  flex: 0 0 56%;
  background: var(--hs-blue-lt);
  border: 1px solid var(--hs-blue);
  border-radius: 5px;
  padding: 8px 9px;
  line-height: 1.32;
}
.hs-company .hs-co-name {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: -0.01em;
  color: var(--hs-ink);
}
.hs-company .hs-co-line {
  font-size: 7px;
  color: var(--hs-slate);
  letter-spacing: 0.01em;
}
.hs-title-block { text-align: right; padding-top: 2px; }
.hs-title {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--hs-blue);
}
.hs-meta {
  margin-top: 5px;
  font-size: 7.5px;
  color: var(--hs-slate);
  line-height: 1.5;
}
.hs-meta b { color: var(--hs-ink); font-weight: 600; }

/* === OBJET + DESTINATAIRE === */
.hs-objet { font-size: 8px; color: var(--hs-ink); }
.hs-objet b { font-weight: 700; }
.hs-client {
  align-self: flex-end;
  width: 58%;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  padding: 6px 8px;
  line-height: 1.4;
}
.hs-client .hs-cl-label {
  font-size: 6.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--hs-slate);
}
.hs-client .hs-cl-line { font-size: 7.5px; color: var(--hs-ink); }
.hs-client .hs-cl-line.hs-strong { font-weight: 700; }

/* === TABLEAU DES LIGNES === */
.hs-table {
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  overflow: hidden;
  font-size: 7px;
}
.hs-tr {
  display: grid;
  grid-template-columns: 1fr 26px 38px 30px;
  align-items: center;
  padding: 4px 7px;
  gap: 4px;
}
.hs-thead {
  background: var(--hs-blue);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.hs-trow { color: var(--hs-ink-2); }
.hs-trow:nth-child(even) { background: #F3F4F6; }
.hs-cell-r { text-align: right; }
.hs-cell-c { text-align: center; }
.hs-desg { font-weight: 600; }
.hs-desg span { display: block; font-weight: 400; color: var(--hs-slate); font-size: 6px; }

/* === TOTAUX === */
.hs-totals {
  align-self: flex-end;
  width: 52%;
  font-size: 7.5px;
}
.hs-trow-total {
  display: flex;
  justify-content: space-between;
  padding: 2px 2px;
  color: var(--hs-ink-2);
}
.hs-ttc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3px;
  padding: 5px 8px;
  background: var(--hs-blue);
  color: #fff;
  border-radius: 4px;
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 0.02em;
}

/* === MENTIONS LÉGALES (fines lignes) === */
.hs-legal {
  font-size: 6px;
  color: var(--hs-slate);
  line-height: 1.5;
  border-top: 1px solid #E5E7EB;
  padding-top: 6px;
}

/* === ZONES SIGNATURE (émetteur gauche / bon pour accord droite) === */
.hs-sign-row {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.hs-sign-box {
  flex: 1;
  min-width: 0;
}
.hs-sign-box .hs-sb-title {
  font-size: 7px;
  font-weight: 700;
  color: var(--hs-ink);
  margin-bottom: 3px;
}
.hs-sign-box .hs-sb-sub {
  font-size: 6px;
  color: var(--hs-slate);
  margin-bottom: 2px;
}
.hs-sign-frame {
  position: relative;
  height: 46px;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.5);
}
/* l'encart "Bon pour accord" est mis en valeur (cible de la signature) */
.hs-sign-accord .hs-sb-title { color: var(--hs-green); }
.hs-sign-accord .hs-sign-frame { border-color: rgba(34, 197, 94, 0.45); }

/* paraphe pré-imprimé côté émetteur (statique, discret) */
.hs-emitter-mark {
  position: absolute;
  left: 10px;
  top: 12px;
  width: 60%;
  opacity: 0.32;
}
.hs-emitter-mark path { fill: none; stroke: var(--hs-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ----------------------------------------------------------------------------
   SIGNATURE MANUSCRITE animée (tracé qui "s'écrit")
   posée DANS l'encart "Bon pour accord — date et signature"
   ---------------------------------------------------------------------------- */
.hs-signature {
  position: absolute;
  left: 6px;
  top: 4px;
  width: calc(100% - 12px);
  height: calc(100% - 8px);
  overflow: visible;
}
.hs-sig-path {
  fill: none;
  stroke: #1D4ED8;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  /* la longueur du tracé est ~640u ; on cache puis on dévoile */
  stroke-dasharray: 660;
  stroke-dashoffset: 660;
  filter: drop-shadow(0 0.5px 0 rgba(29, 78, 216, 0.25));
  animation: hs-write var(--hs-loop) cubic-bezier(0.45, 0, 0.2, 1) infinite;
}
@keyframes hs-write {
  0%,  72% { stroke-dashoffset: 660; opacity: 0; }
  73%      { opacity: 1; }
  /* tracé fluide entre 73% et 86% de la boucle */
  86%      { stroke-dashoffset: 0; opacity: 1; }
  98%      { stroke-dashoffset: 0; opacity: 1; }
  100%     { stroke-dashoffset: 0; opacity: 0; }
}
/* date manuscrite qui apparaît juste avant la signature */
.hs-sig-date {
  position: absolute;
  left: 8px;
  bottom: 4px;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 8px;
  color: #1D4ED8;
  opacity: 0;
  animation: hs-date-in var(--hs-loop) ease-out infinite;
}
@keyframes hs-date-in {
  0%, 70% { opacity: 0; }
  72%     { opacity: 0.9; }
  98%     { opacity: 0.9; }
  100%    { opacity: 0; }
}

/* ----------------------------------------------------------------------------
   SIGNATURES en POLICE script (auto-hébergée) — remplacent les tracés SVG.
   Police par défaut via --hs-sig-font (changer en 1 ligne pour basculer).
   ---------------------------------------------------------------------------- */
@font-face { font-family: 'Alex Brush';  src: url('/vendor/fonts/alex-brush-latin-400-normal.woff2') format('woff2');  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Allura';      src: url('/vendor/fonts/allura-latin-400-normal.woff2') format('woff2');      font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Great Vibes'; src: url('/vendor/fonts/great-vibes-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Yellowtail';  src: url('/vendor/fonts/yellowtail-latin-400-normal.woff2') format('woff2');  font-weight: 400; font-style: normal; font-display: swap; }

/* l'encart clippe : la signature reste dans la boîte (height: 46px) */
.hs-sign-frame { overflow: hidden; }
.hs-sig-text {
  position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%);
  max-width: 96%; white-space: nowrap; line-height: 1; pointer-events: none;
  font-family: var(--hs-sig-font, 'Alex Brush'), 'Segoe Script', cursive;
}
.hs-sig-emitter { font-size: 18px; color: #334155; opacity: .6; }
.hs-sig-client {
  font-size: 23px; color: #1E3A8A;
  clip-path: inset(-30% 100% -30% -10%);
  animation: hs-sign-write var(--hs-loop) cubic-bezier(0.45, 0, 0.2, 1) infinite;
}
@keyframes hs-sign-write {
  0%, 72% { clip-path: inset(-30% 100% -30% -10%); opacity: 0; }
  73%     { opacity: 1; }
  86%     { clip-path: inset(-30% 0 -30% -10%);    opacity: 1; }
  98%     { clip-path: inset(-30% 0 -30% -10%);    opacity: 1; }
  100%    { clip-path: inset(-30% 100% -30% -10%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-sig-client { animation: none; clip-path: none; opacity: 1; }
}

/* ----------------------------------------------------------------------------
   TAMPONS ENCREURS (Envoyé bleu → Relancé ambre → Signé vert)
   Rendu "tampon" : double filet, encre irrégulière (mask), rotation, punch.
   ---------------------------------------------------------------------------- */
.hs-stamp {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 3px solid currentColor;
  opacity: 0;
  /* texture d'encre irrégulière : on grignote l'aplat avec des taches transparentes */
  -webkit-mask-image:
    radial-gradient(circle at 12% 26%, transparent 0 1.6px, #000 2px),
    radial-gradient(circle at 78% 14%, transparent 0 1.3px, #000 1.8px),
    radial-gradient(circle at 42% 82%, transparent 0 1.9px, #000 2.4px),
    radial-gradient(circle at 88% 70%, transparent 0 1.2px, #000 1.6px),
    radial-gradient(circle at 28% 58%, transparent 0 1px, #000 1.4px),
    linear-gradient(#000, #000);
          mask-image:
    radial-gradient(circle at 12% 26%, transparent 0 1.6px, #000 2px),
    radial-gradient(circle at 78% 14%, transparent 0 1.3px, #000 1.8px),
    radial-gradient(circle at 42% 82%, transparent 0 1.9px, #000 2.4px),
    radial-gradient(circle at 88% 70%, transparent 0 1.2px, #000 1.6px),
    radial-gradient(circle at 28% 58%, transparent 0 1px, #000 1.4px),
    linear-gradient(#000, #000);
  -webkit-mask-size: 90px 70px, 70px 60px, 100px 50px, 60px 80px, 50px 40px, 100% 100%;
          mask-size: 90px 70px, 70px 60px, 100px 50px, 60px 80px, 50px 40px, 100% 100%;
  will-change: transform, opacity;
}
/* double filet intérieur typique d'un tampon */
.hs-stamp::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  opacity: 0.6;
}
/* léger grain d'encre supplémentaire */
.hs-stamp::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.18) 0 30%, transparent 55%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hs-stamp-envoye  { top: 96px;  right: -22px; color: var(--hs-blue);  transform: rotate(-9deg); }
.hs-stamp-relance { top: 222px; left: -30px;  color: var(--hs-amber); transform: rotate(-6deg); }
.hs-stamp-signe   { bottom: 70px; right: -18px; color: var(--hs-green); transform: rotate(-7deg); }

.hs-stamp-envoye  { animation: hs-stamp-1 var(--hs-loop) ease-out infinite; }
.hs-stamp-relance { animation: hs-stamp-2 var(--hs-loop) ease-out infinite; }
.hs-stamp-signe   { animation: hs-stamp-3 var(--hs-loop) ease-out infinite; }

/* punch à l'apposition : descend brutalement, écrase, puis se stabilise */
@keyframes hs-stamp-1 {
  0%, 13%   { opacity: 0; transform: scale(1.5) rotate(-9deg); }
  15%       { opacity: 0.92; transform: scale(0.86) rotate(-9deg); }
  17%       { opacity: 0.92; transform: scale(1.04) rotate(-9deg); }
  19%, 30%  { opacity: 0.92; transform: scale(1) rotate(-9deg); }
  34%, 100% { opacity: 0; transform: scale(1) rotate(-9deg); }
}
@keyframes hs-stamp-2 {
  0%, 40%   { opacity: 0; transform: scale(1.5) rotate(-6deg); }
  42%       { opacity: 0.9;  transform: scale(0.86) rotate(-6deg); }
  44%       { opacity: 0.9;  transform: scale(1.04) rotate(-6deg); }
  46%, 56%  { opacity: 0.9;  transform: scale(1) rotate(-6deg); }
  60%, 100% { opacity: 0; transform: scale(1) rotate(-6deg); }
}
@keyframes hs-stamp-3 {
  0%, 70%   { opacity: 0; transform: scale(1.5) rotate(-7deg); }
  72%       { opacity: 0.95; transform: scale(0.86) rotate(-7deg); }
  74%       { opacity: 0.95; transform: scale(1.05) rotate(-7deg); }
  76%, 98%  { opacity: 0.95; transform: scale(1) rotate(-7deg); }
  100%      { opacity: 0; transform: scale(1) rotate(-7deg); }
}

/* ----------------------------------------------------------------------------
   ENVELOPPE volante (au moment de l'envoi) — discrète
   ---------------------------------------------------------------------------- */
.hs-mail {
  position: absolute;
  top: 150px;
  left: 56%;
  width: 46px;
  height: 32px;
  opacity: 0;
  will-change: transform, opacity;
  animation: hs-mail-fly var(--hs-loop) ease-in-out infinite;
}
.hs-mail svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4)); }
@keyframes hs-mail-fly {
  0%, 14%   { opacity: 0; transform: translate(0, 0) scale(0.5) rotate(-6deg); }
  17%       { opacity: 1; transform: translate(8px, -14px) scale(1) rotate(0deg); }
  24%       { opacity: 1; transform: translate(60px, -70px) scale(0.9) rotate(8deg); }
  32%       { opacity: 0; transform: translate(150px, -150px) scale(0.6) rotate(16deg); }
  100%      { opacity: 0; }
}

/* ----------------------------------------------------------------------------
   BEAT "OUVERT" — tracking d'ouverture, TRÈS discret (entre Relancé et Signé)
   petite onde + pastille "Vu ✓" — ce n'est PAS un tampon.
   ---------------------------------------------------------------------------- */
.hs-open-ping,
.hs-open-ping2 {
  position: absolute;
  top: 104px;
  right: 26px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--hs-blue);
  opacity: 0;
}
.hs-open-ping  { animation: hs-ping var(--hs-loop) ease-out infinite; }
.hs-open-ping2 { animation: hs-ping var(--hs-loop) ease-out infinite; animation-delay: 0.35s; }
@keyframes hs-ping {
  0%, 60%  { opacity: 0; transform: scale(0.3); }
  62%      { opacity: 0.6; transform: scale(0.3); }
  70%      { opacity: 0; transform: scale(2.6); }
  100%     { opacity: 0; }
}
.hs-open-tag {
  position: absolute;
  top: 96px;
  right: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  background: var(--hs-ink);
  color: #fff;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  will-change: transform, opacity;
  animation: hs-open-tag var(--hs-loop) ease-out infinite;
}
.hs-open-tag svg { width: 9px; height: 9px; }
@keyframes hs-open-tag {
  0%, 60%   { opacity: 0; transform: translateY(4px) scale(0.9); }
  63%       { opacity: 1; transform: translateY(0) scale(1); }
  70%       { opacity: 1; transform: translateY(0) scale(1); }
  74%, 100% { opacity: 0; transform: translateY(-3px) scale(0.95); }
}

/* ----------------------------------------------------------------------------
   RESPONSIVE : aplatit la 3D et réduit le doc en petit écran
   ---------------------------------------------------------------------------- */
@media (max-width: 600px) {
  .hs-scene { max-width: 380px; perspective: 1100px; }
  .hs-doc { width: 280px; height: 386px; }
  .hs-title { font-size: 24px; }
  .hs-stamp { font-size: 13px; padding: 6px 12px; }
  .hs-stamp-envoye  { right: -10px; }
  .hs-stamp-relance { left: -16px; }
  .hs-stamp-signe   { right: -10px; }
}
@media (max-width: 400px) {
  .hs-doc { width: 240px; height: 330px; }
}

/* ----------------------------------------------------------------------------
   ACCESSIBILITÉ : mouvement réduit → état statique "Signé" propre
   document posé, signature complète, tampon SIGNÉ visible.
   ---------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hs-doc {
    animation: none;
    transform: rotateY(-3deg) rotateX(1deg) rotateZ(-1deg);
    opacity: 1;
  }
  .hs-sig-path { animation: none; stroke-dashoffset: 0; opacity: 1; }
  .hs-sig-date { animation: none; opacity: 0.9; }
  .hs-stamp-signe { animation: none; opacity: 0.95; transform: scale(1) rotate(-7deg); }
  .hs-stamp-envoye,
  .hs-stamp-relance,
  .hs-mail,
  .hs-open-ping,
  .hs-open-ping2,
  .hs-open-tag { animation: none; opacity: 0; }
}

/* ============================================================================
   MARKUP HTML DE RÉFÉRENCE (à coller dans <div id="hero-anim" class="hero-anim">)
   ----------------------------------------------------------------------------
   <div class="hs-scene" role="img"
        aria-label="Cycle de vie d'un devis : envoyé, relancé, ouvert, puis signé">
     <div class="hs-doc">
       <div class="hs-sheet">

         <!-- EN-TÊTE -->
         <div class="hs-head">
           <div class="hs-company">
             <div class="hs-co-name">Plomberie Martin</div>
             <div class="hs-co-line">EURL au capital de 5 000 €</div>
             <div class="hs-co-line">12 rue des Lilas, 69003 Lyon</div>
             <div class="hs-co-line">SIRET 812 345 678 00019</div>
             <div class="hs-co-line">TVA FR42 812345678</div>
           </div>
           <div class="hs-title-block">
             <div class="hs-title">DEVIS</div>
             <div class="hs-meta">
               <b>N° DEV-2026-0142</b><br>
               Date : 26 mai 2026<br>
               Validité : 25 juin 2026
             </div>
           </div>
         </div>

         <!-- OBJET -->
         <div class="hs-objet"><b>Objet :</b> Rénovation salle de bain</div>

         <!-- DESTINATAIRE -->
         <div class="hs-client">
           <div class="hs-cl-label">DESTINATAIRE</div>
           <div class="hs-cl-line hs-strong">Dupont SARL</div>
           <div class="hs-cl-line">8 avenue Foch, 69006 Lyon</div>
         </div>

         <!-- TABLEAU -->
         <div class="hs-table">
           <div class="hs-tr hs-thead">
             <div>Désignation</div>
             <div class="hs-cell-c">Qté</div>
             <div class="hs-cell-r">P.U. HT</div>
             <div class="hs-cell-r">Total</div>
           </div>
           <div class="hs-tr hs-trow">
             <div class="hs-desg">Dépose ancien sanitaire <span>main-d'œuvre</span></div>
             <div class="hs-cell-c">1</div>
             <div class="hs-cell-r">320,00</div>
             <div class="hs-cell-r">320,00</div>
           </div>
           <div class="hs-tr hs-trow">
             <div class="hs-desg">Fourniture &amp; pose douche <span>receveur + paroi</span></div>
             <div class="hs-cell-c">1</div>
             <div class="hs-cell-r">980,00</div>
             <div class="hs-cell-r">980,00</div>
           </div>
           <div class="hs-tr hs-trow">
             <div class="hs-desg">Robinetterie mitigeur <span>thermostatique</span></div>
             <div class="hs-cell-c">2</div>
             <div class="hs-cell-r">145,00</div>
             <div class="hs-cell-r">290,00</div>
           </div>
           <div class="hs-tr hs-trow">
             <div class="hs-desg">Carrelage faïence <span>pose comprise — m²</span></div>
             <div class="hs-cell-c">14</div>
             <div class="hs-cell-r">26,00</div>
             <div class="hs-cell-r">364,00</div>
           </div>
         </div>

         <!-- TOTAUX -->
         <div class="hs-totals">
           <div class="hs-trow-total"><span>Total HT</span><span>1 954,00 €</span></div>
           <div class="hs-trow-total"><span>TVA 20 %</span><span>390,80 €</span></div>
           <div class="hs-ttc"><span>TOTAL TTC</span><span>2 344,80 €</span></div>
         </div>

         <!-- MENTIONS LÉGALES -->
         <div class="hs-legal">
           Paiement à 30 jours. Pénalités de retard au taux légal — Art. L441-10 C. com.
           Indemnité forfaitaire de recouvrement : 40 €.
         </div>

         <!-- ZONES SIGNATURE -->
         <div class="hs-sign-row">
           <div class="hs-sign-box">
             <div class="hs-sb-title">L'émetteur</div>
             <div class="hs-sign-frame">
               <svg class="hs-emitter-mark" viewBox="0 0 90 30">
                 <path d="M4,22 C14,4 22,30 32,12 C40,-2 50,26 60,14 C70,4 80,22 86,16" />
               </svg>
             </div>
           </div>
           <div class="hs-sign-box hs-sign-accord">
             <div class="hs-sb-title">Bon pour accord</div>
             <div class="hs-sb-sub">Date et signature du client</div>
             <div class="hs-sign-frame">
               <span class="hs-sig-date">Lyon, le 02/06/2026</span>
               <svg class="hs-signature" viewBox="0 0 150 46" preserveAspectRatio="xMidYMid meet">
                 <path class="hs-sig-path"
                   d="M6,34
                      C10,18 16,10 20,16
                      C24,22 18,34 14,32
                      C10,30 16,20 26,18
                      C38,16 36,30 44,30
                      C52,30 50,12 56,12
                      C62,12 58,32 66,32
                      C74,32 72,8 80,10
                      C88,12 82,34 92,32
                      C100,30 98,18 104,18
                      C112,18 110,30 118,28
                      C126,26 122,14 132,18
                      C142,22 138,30 146,22" />
               </svg>
             </div>
           </div>
         </div>

       </div><!-- /.hs-sheet -->

       <!-- TAMPONS -->
       <div class="hs-stamp hs-stamp-envoye">Envoyé</div>
       <div class="hs-stamp hs-stamp-relance">Relancé</div>
       <div class="hs-stamp hs-stamp-signe">Signé ✓</div>

       <!-- ENVELOPPE volante -->
       <div class="hs-mail">
         <svg viewBox="0 0 46 32">
           <rect x="1" y="1" width="44" height="30" rx="3" fill="#FBF8F1" stroke="#2563EB" stroke-width="2"/>
           <path d="M2,3 L23,18 L44,3" fill="none" stroke="#2563EB" stroke-width="2" stroke-linecap="round"/>
         </svg>
       </div>

       <!-- BEAT "OUVERT" (tracking) — discret -->
       <div class="hs-open-ping"></div>
       <div class="hs-open-ping2"></div>
       <div class="hs-open-tag">
         <svg viewBox="0 0 12 12"><path d="M2,6.5 L5,9.5 L10,3" fill="none" stroke="#22C55E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
         Devis ouvert
       </div>

     </div><!-- /.hs-doc -->
   </div><!-- /.hs-scene -->
   ============================================================================ */
