/* Menu principal de therapilot.fr, posé sur toutes les pages par scripts/poser-menu.mjs.
   Une barre flottante en verre, comme la barre d'onglets de l'application, qui se resserre
   au défilement. Toutes les classes commencent par « tpm- » (menu) ou « tpv- » (vignettes) :
   rien ne déborde sur la page qui l'accueille, et les règles génériques de l'ancienne page
   (a, ul, button) sont neutralisées ici. Couleurs et coins repris de l'app (src/index.css). */
.tpm,.tuiles-page,.cartes-page{--tpm-encre:#1f2a37;--tpm-gris:#5b6b7b;--tpm-gris-2:#8a96a3;--tpm-filet:#dce4e8;--tpm-bleu:#355d7c;--tpm-bleu-fonce:#284a63;--tpm-pale:#f1f4f6;--tpm-pale-2:#e8eef2;--tpm-vert:#2f7a5f;
  --tpm-verre:rgba(255,255,255,.64);--tpm-verre-fort:rgba(255,255,255,.9)}
.tpm{position:sticky;top:0;z-index:100;padding:10px 16px 0;pointer-events:none;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:14px;line-height:1.4;color:var(--tpm-encre);-webkit-font-smoothing:antialiased}
.tpm.tpm-fixe{position:fixed;left:0;right:0;top:0}
.tpm *,.tpm *::before,.tpm *::after{box-sizing:border-box}
.tpm ul{list-style:none;margin:0;padding:0}
.tpm li{margin:0;padding:0;border:0;background:none}
.tpm li::before,.tpm li::marker{content:none}
.tpm a{color:inherit;text-decoration:none}
.tpm a:hover{text-decoration:none}
:where(.tpm) button{font:inherit;color:inherit;background:none;border:0;margin:0;padding:0;cursor:pointer}
.tpm a:focus-visible,.tpm button:focus-visible{outline:2px solid var(--tpm-bleu);outline-offset:2px;border-radius:10px}

/* La barre en verre */
.tpm-barre{pointer-events:auto;position:relative;max-width:1180px;margin:0 auto;height:56px;padding:0 8px 0 14px;display:flex;align-items:center;gap:24px;border-radius:18px;
  background:var(--tpm-verre-fort);border:1px solid rgba(255,255,255,.75);
  box-shadow:0 0 0 1px rgba(31,42,55,.06),0 1px 0 rgba(255,255,255,.9) inset,0 10px 30px -14px rgba(31,42,55,.28);
  transition:max-width .45s cubic-bezier(.2,.7,.2,1),height .35s,box-shadow .35s,background-color .35s}
@supports ((backdrop-filter:blur(2px)) or (-webkit-backdrop-filter:blur(2px))){
  .tpm-barre{background:var(--tpm-verre);-webkit-backdrop-filter:blur(22px) saturate(1.8);backdrop-filter:blur(22px) saturate(1.8)}
}
.tpm.tpm-resserre .tpm-barre{max-width:1040px;height:52px;box-shadow:0 0 0 1px rgba(31,42,55,.07),0 1px 0 rgba(255,255,255,.9) inset,0 14px 36px -14px rgba(31,42,55,.34)}
.tpm-logo{display:flex;align-items:center;gap:9px;font-weight:600;font-size:16px;letter-spacing:-.015em;white-space:nowrap}
.tpm-logo img{width:26px;height:26px;border-radius:7px;display:block}
.tpm-nav{display:flex;align-items:center;flex:1;gap:16px}
.tpm-liste{display:flex;align-items:center;gap:6px}
.tpm-item{position:static}
.tpm-lien{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 14px;border-radius:11px;color:var(--tpm-encre);font-size:15px;font-weight:500;white-space:nowrap;transition:color .15s,background-color .15s}
.tpm-lien:hover,.tpm-item.tpm-ouvert>.tpm-lien{color:var(--tpm-encre);background:rgba(31,42,55,.06)}
.tpm-chevron{transition:transform .2s}
.tpm-item.tpm-ouvert .tpm-chevron{transform:rotate(180deg)}
.tpm-actions{display:flex;gap:6px;margin-left:auto}
.tpm-btn{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 15px;border-radius:12px;font-weight:500;white-space:nowrap;border:1px solid transparent;transition:background-color .15s,border-color .15s,transform .15s}
.tpm-btn-plein{background:var(--tpm-bleu);color:#fff!important;box-shadow:0 1px 0 rgba(255,255,255,.18) inset,0 4px 12px -4px rgba(53,93,124,.55)}
.tpm-btn-plein:hover{background:var(--tpm-bleu-fonce)}
.tpm-btn-second{color:var(--tpm-encre)}
.tpm-btn-second:hover{background:rgba(31,42,55,.06)}
.tpm-essai-mobile,.tpm-burger{display:none}

/* Les panneaux : une seconde plaque de verre sous la barre */
.tpm-panneau{position:absolute;left:0;right:0;top:calc(100% + 8px);padding:18px;border-radius:20px;
  background:rgba(255,255,255,.985);border:1px solid rgba(255,255,255,.8);
  box-shadow:0 0 0 1px rgba(31,42,55,.06),0 30px 60px -24px rgba(31,42,55,.35);
  opacity:0;visibility:hidden;transform:translateY(-6px) scale(.99);transform-origin:top center;transition:opacity .18s,transform .22s cubic-bezier(.2,.7,.2,1),visibility 0s .22s}
/* Pas de backdrop-filter ici : le panneau est enfant de la barre, déjà en verre, et un
   flou imbriqué ne voit que la barre. Il serait transparent. Il reste donc presque opaque. */
.tpm-panneau.tpm-etroit{left:auto;right:120px;width:560px}
.tpm-item.tpm-ouvert>.tpm-panneau{opacity:1;visibility:visible;transform:none;transition:opacity .18s,transform .22s cubic-bezier(.2,.7,.2,1)}
@media (min-width:1025px){
  html:not(.tpm-js) .tpm-item:hover>.tpm-panneau,html:not(.tpm-js) .tpm-item:focus-within>.tpm-panneau{opacity:1;visibility:visible;transform:none}
}
.tpm-tuiles{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.tpm-tuile{display:block;padding:6px;border-radius:16px;transition:background-color .15s}
.tpm-tuile:hover,.tpm-tuile:focus-visible{background:rgba(31,42,55,.045)}
.tpm-tuile>b{display:block;padding:9px 4px 3px;font-weight:500;font-size:14px;color:var(--tpm-encre);letter-spacing:-.005em}
.tpm-bas{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin-top:12px;padding:14px 6px 2px;border-top:1px solid rgba(31,42,55,.07)}
.tpm-groupes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 14px;flex:1;align-self:stretch}
.tpm-suite{flex:none;align-self:flex-end;padding:2px 6px;font-weight:500;color:var(--tpm-bleu)!important;font-size:13.5px}
.tpm-metiers{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}
.tpm-metiers a{display:flex;align-items:center;gap:11px;padding:8px;border-radius:12px;font-weight:500;transition:background-color .15s}
.tpm-metiers a:hover{background:rgba(31,42,55,.045)}
.tpm-picto{flex:none;width:36px;height:36px;padding:8px;border-radius:10px;background:var(--tpm-pale);color:var(--tpm-bleu);transition:background-color .2s,transform .3s cubic-bezier(.2,.7,.2,1)}
.tpm-metiers a:hover .tpm-picto{background:var(--tpm-pale-2);transform:rotate(-8deg) scale(1.06)}

/* Les vignettes. Au repos : l'état final. Au survol : le geste se rejoue. */
.tpv{position:relative;display:flex;align-items:center;justify-content:center;height:88px;border-radius:12px;background:var(--tpm-pale);overflow:hidden;color:var(--tpm-bleu);transition:background-color .2s}
.tpm-tuile:hover .tpv,.tpm-tuile:focus-visible .tpv{background:var(--tpm-pale-2)}
.tpv i,.tpv b,.tpv em{display:block;font-style:normal}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv *{animation-duration:.55s;animation-fill-mode:both;animation-timing-function:cubic-bezier(.2,.7,.2,1)}

.tpv-agenda .cal{display:grid;grid-template-columns:repeat(5,20px);grid-template-rows:9px repeat(3,13px);gap:4px;padding:8px 10px 10px;background:#fff;border-radius:8px;box-shadow:0 1px 3px rgba(31,42,55,.1)}
.tpv-agenda .cal>i{font-size:7.5px;line-height:9px;text-align:center;color:var(--tpm-gris-2);font-weight:600}
.tpv-agenda .cal>b{border-radius:3px;background:#e3ebf1;border-left:2.5px solid var(--tpm-bleu)}
.tpv-agenda .cal>b.g{background:repeating-linear-gradient(-45deg,#eef1f4 0 3px,#dde3e8 3px 6px);border-left-color:var(--tpm-gris-2)}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-agenda .cal>b{animation-name:tpv-pop}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-agenda .cal>b:nth-of-type(2){animation-delay:.08s}:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-agenda .cal>b:nth-of-type(3){animation-delay:.16s}:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-agenda .cal>b:nth-of-type(5){animation-delay:.24s}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-agenda .cal>b.g{animation-name:tpv-entree;animation-delay:.36s}

.tpv-resa{display:grid;align-items:stretch;grid-template-columns:repeat(4,24px);gap:4px;align-content:center;justify-content:center}
.tpv-resa i{height:28px;border-radius:6px;background:#fff;border:1px solid #d3dce2;font-size:10.5px;font-weight:600;color:var(--tpm-encre);display:flex;align-items:center;justify-content:center}
.tpv-resa i.ok{background:var(--tpm-vert);border-color:var(--tpm-vert);color:#fff}
.tpv-resa em{grid-column:2/4;margin-top:4px;height:20px;border-radius:5px;background:var(--tpm-vert);color:#fff;font-size:10px;font-weight:600;display:flex;align-items:center;justify-content:center}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-resa i.ok{animation-name:tpv-choix}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-resa em{animation-name:tpv-monte;animation-delay:.3s}

.tpv-sms i{max-width:150px;padding:7px 10px;border-radius:13px 13px 13px 4px;background:#fff;color:var(--tpm-encre);font-size:10.5px;line-height:1.3;box-shadow:0 1px 2px rgba(31,42,55,.08)}
.tpv-sms::after{content:"";position:absolute;top:12px;right:14px;width:8px;height:8px;border-radius:50%;background:#34c759}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-sms i{animation-name:tpv-arrive}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-sms::after{animation:tpv-pop .4s .35s both}

.tpv-micro{gap:3px}
.tpv-micro b{width:30px;height:30px;border-radius:50%;margin-right:8px;background:var(--tpm-bleu) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2'%3E%3Crect x='9' y='3' width='6' height='11' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3'/%3E%3C/svg%3E") center no-repeat}
.tpv-micro i{width:3px;height:24px;border-radius:2px;background:var(--tpm-bleu);transform:scaleY(.45)}
.tpv-micro i:nth-of-type(2),.tpv-micro i:nth-of-type(6){transform:scaleY(.75)}
.tpv-micro i:nth-of-type(4){transform:scaleY(1)}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-micro i{animation:tpv-onde .32s ease-in-out 4 alternate both}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-micro i:nth-of-type(2n){animation-delay:.12s}:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-micro i:nth-of-type(3n){animation-delay:.2s}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-micro b{animation:tpv-halo .9s ease-out 2}

.tpv-coches{display:grid;align-items:stretch;grid-template-columns:repeat(5,15px);gap:5px;align-content:center;justify-content:center}
.tpv-coches i{height:15px;border-radius:4px;border:1px solid #cbd5dc;background:#fff}
.tpv-coches i.ok{background:#3f7d5c;border-color:#3f7d5c}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-coches i.ok{animation-name:tpv-pop}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-coches i.ok:nth-child(2){animation-delay:.1s}:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-coches i.ok:nth-child(3){animation-delay:.2s}:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-coches i.ok:nth-child(7){animation-delay:.3s}

.tpv-carte{gap:12px}
.tpv-carte b{width:52px;height:34px;border-radius:6px;background:var(--tpm-bleu);position:relative;box-shadow:0 3px 8px -3px rgba(31,42,55,.4)}
.tpv-carte b i{position:absolute;left:7px;top:9px;width:11px;height:8px;border-radius:2px;background:#e9c46a}
.tpv-carte em{display:grid;gap:5px;width:54px}
.tpv-carte em i{height:6px;border-radius:3px;background:var(--tpm-bleu);opacity:.75;width:var(--l);transform-origin:left}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-carte b{animation-name:tpv-glisse}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-carte em i{animation-name:tpv-volet;animation-delay:.2s}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-carte em i:nth-child(2){animation-delay:.3s}:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-carte em i:nth-child(3){animation-delay:.4s}

.tpv-cadenas{flex-direction:column;gap:4px;color:var(--tpm-vert)}
.tpv-cadenas .anse{transform-box:fill-box;transform-origin:center bottom}
.tpv-cadenas i{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9.5px;color:var(--tpm-gris-2);letter-spacing:.04em}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-cadenas .anse{animation:tpv-ferme .35s .1s both}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-cadenas i{animation-name:tpv-fondu;animation-delay:.3s}

.tpv-appareils b{width:70px;height:44px;border-radius:5px;border:2px solid var(--tpm-encre);background:#fff;position:relative}
.tpv-appareils b::after{content:"";position:absolute;left:-8px;right:-8px;bottom:-6px;height:4px;border-radius:0 0 4px 4px;background:var(--tpm-encre)}
.tpv-appareils i{width:20px;height:36px;border-radius:5px;border:2px solid var(--tpm-encre);background:#fff;margin:14px 0 0 -12px;position:relative;z-index:1}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-appareils i{animation-name:tpv-entree-d}

.tpv-guides b{position:absolute;width:46px;height:56px;border-radius:5px;background:#fff;box-shadow:0 1px 3px rgba(31,42,55,.12);
  background-image:linear-gradient(#cfd8de,#cfd8de),linear-gradient(#e1e7eb,#e1e7eb),linear-gradient(#e1e7eb,#e1e7eb);background-size:26px 3px,32px 2px,24px 2px;background-position:8px 10px,8px 20px,8px 27px;background-repeat:no-repeat}
.tpv-guides b:first-child{transform:translate(-8px,4px) rotate(-6deg)}
.tpv-guides b:last-child{transform:translate(8px,-2px) rotate(4deg)}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-guides b:last-child{animation-name:tpv-souleve}

.tpv-glossaire b{width:52px;height:52px;border-radius:10px;background:#fff;box-shadow:0 1px 3px rgba(31,42,55,.12);font-family:Georgia,"Times New Roman",serif;font-size:24px;color:var(--tpm-encre);display:flex;align-items:center;justify-content:center}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-glossaire b{animation-name:tpv-pop}

.tpv-comparatif{flex-direction:column;align-items:flex-start;padding:0 30%;gap:6px}
.tpv-comparatif i{height:8px;border-radius:4px;background:#c5d0d8;width:var(--l);transform-origin:left}
.tpv-comparatif i.ok{background:var(--tpm-vert)}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-comparatif i{animation-name:tpv-volet}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-comparatif i:nth-child(2){animation-delay:.1s}:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-comparatif i:nth-child(3){animation-delay:.2s}

.tpv-nouveautes{flex-direction:column;align-items:flex-start;padding:0 32%;gap:6px}
.tpv-nouveautes b{width:10px;height:10px;border-radius:50%;background:var(--tpm-bleu)}
.tpv-nouveautes i{height:5px;border-radius:3px;background:#c5d0d8;width:100%}
.tpv-nouveautes i:last-child{width:70%}
:is(.tpm-tuile:hover,.tpm-tuile:focus-visible,.tpm-joue .tpm-tuile) .tpv-nouveautes b{animation:tpv-halo .9s ease-out 2}

@keyframes tpv-pop{from{opacity:0;transform:scale(.5)}}
@keyframes tpv-entree{from{opacity:0;transform:translateX(-10px)}}
@keyframes tpv-entree-d{from{opacity:0;transform:translateX(14px)}}
@keyframes tpv-monte{from{opacity:0;transform:translateY(8px)}}
@keyframes tpv-arrive{from{opacity:0;transform:translateX(24px)}}
@keyframes tpv-glisse{from{opacity:0;transform:translateY(-10px) rotate(-6deg)}}
@keyframes tpv-volet{from{transform:scaleX(0)}}
@keyframes tpv-fondu{from{opacity:0}}
@keyframes tpv-choix{0%{background:#fff;border-color:#d3dce2;color:var(--tpm-encre);transform:scale(1)}60%{transform:scale(1.12)}}
@keyframes tpv-onde{from{transform:scaleY(.2)}to{transform:scaleY(1)}}
@keyframes tpv-halo{0%{box-shadow:0 0 0 0 rgba(53,93,124,.4)}100%{box-shadow:0 0 0 10px rgba(53,93,124,0)}}
@keyframes tpv-ferme{from{transform:translateY(-4px)}}
@keyframes tpv-souleve{50%{transform:translate(10px,-8px) rotate(6deg)}}

/* Les cartes : toutes les fonctions, chacune avec son mini-dessin (classes tpv-m-). Elles se
   rejouent au survol, au focus, et une fois à l'ouverture du panneau (classe tpm-joue posée
   par site.js pendant deux secondes, en cascade selon --i). */
.tpm-groupe-t{margin:0 0 6px 6px;font-size:11.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--tpm-gris)}
.tpm-cartes{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.tpm-carte{display:flex;align-items:center;gap:10px;padding:5px;border-radius:12px;font-size:13.5px;line-height:1.25;font-weight:500;color:var(--tpm-encre);transition:background-color .15s}
.tpm-carte:hover,.tpm-carte:focus-visible{background:rgba(31,42,55,.045)}
.tpm-carte:focus-visible{outline:2px solid var(--tpm-bleu);outline-offset:1px}
.tpv-m{flex:none;position:relative;display:flex;align-items:center;justify-content:center;gap:3px;width:56px;height:40px;border-radius:10px;background:var(--tpm-pale);color:var(--tpm-bleu);overflow:hidden;transition:background-color .2s}
.tpm-carte:hover .tpv-m,.tpm-carte:focus-visible .tpv-m{background:var(--tpm-pale-2)}
.tpv-m i,.tpv-m b,.tpv-m em,.tpv-m s{display:block;font-style:normal;text-decoration:none}
.tpv-m svg{display:block}
.tpm-joue .tpm-carte{--o:calc(var(--i,0) * 45ms)}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m :is(i,b,em,s){animation-duration:.55s;animation-fill-mode:both;animation-timing-function:cubic-bezier(.2,.7,.2,1);animation-delay:calc(var(--o,0s) + var(--d,0s))}
.tpm-joue .tpm-carte:is(:hover,:focus-visible){--o:0s}

.tpv-m-sync em{display:grid;gap:3px}
.tpv-m-sync em i{width:7px;height:7px;border-radius:50%;background:var(--tpm-bleu)}
.tpv-m-sync em i:nth-child(2){background:var(--tpm-vert);--d:.08s}.tpv-m-sync em i:nth-child(3){background:var(--tpm-gris-2);--d:.16s}
.tpv-m-sync b{width:20px;height:22px;margin-left:6px;border-radius:4px;background:#fff;box-shadow:0 1px 2px rgba(31,42,55,.12);border-top:5px solid var(--tpm-bleu)}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-sync em i{animation-name:tpv-entree-d}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-sync b{animation-name:tpv-pop;--d:.22s}

.tpv-m-bloque{flex-direction:column}
.tpv-m-bloque i{width:32px;height:7px;border-radius:2px;background:#dfe8ee;border-left:2.5px solid var(--tpm-bleu)}
.tpv-m-bloque i.g{background:repeating-linear-gradient(-45deg,#eef1f4 0 2px,#d5dce2 2px 4px);border-left-color:var(--tpm-gris-2)}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-bloque i.g{animation-name:tpv-entree;--d:.1s}

.tpv-m-confirme{gap:6px}
.tpv-m-confirme b{width:17px;height:17px;border-radius:50%;background:var(--tpm-vert);color:#fff;display:flex!important;align-items:center;justify-content:center}
.tpv-m-confirme em{display:grid;gap:4px}
.tpv-m-confirme em i{width:20px;height:4px;border-radius:2px;background:#c5d0d8;transform-origin:left}
.tpv-m-confirme em i:last-child{width:14px;--d:.08s}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-confirme b{animation-name:tpv-pop;--d:.18s}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-confirme em i{animation-name:tpv-volet}

.tpv-m-deplace{display:grid;grid-template-columns:16px 16px;gap:5px;align-content:center;justify-content:center}
.tpv-m-deplace i{grid-row:1;height:22px;border-radius:4px;border:1.5px dashed #b9c5ce}
.tpv-m-deplace b{grid-area:1/2;height:22px;border-radius:4px;background:var(--tpm-bleu)}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-deplace b{animation-name:tpv-m-saute}

.tpv-m-attente{gap:5px}
.tpv-m-attente i{width:10px;height:10px;border-radius:50%;background:#c5d0d8}
.tpv-m-attente i.ok{background:var(--tpm-vert);width:12px;height:12px}
.tpv-m-attente i:nth-child(2){--d:.08s}.tpv-m-attente i:nth-child(3){--d:.16s}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-attente i{animation-name:tpv-entree-d}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-attente i.ok{animation-name:tpv-pop;--d:.24s}

.tpv-m-dictee{gap:2.5px}
.tpv-m-dictee b{width:18px;height:18px;margin-right:4px;border-radius:50%;background:var(--tpm-bleu) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6'%3E%3Crect x='9' y='3' width='6' height='11' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3'/%3E%3C/svg%3E") center no-repeat}
.tpv-m-dictee i{width:2.5px;height:16px;border-radius:2px;background:var(--tpm-bleu);transform:scaleY(.5)}
.tpv-m-dictee i:nth-of-type(2){transform:scaleY(1)}.tpv-m-dictee i:nth-of-type(3){transform:scaleY(.75)}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-dictee i{animation:tpv-onde .28s ease-in-out 4 alternate both;animation-delay:calc(var(--o,0s) + var(--d,0s))}
.tpv-m-dictee i:nth-of-type(2n){--d:.1s}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-dictee b{animation:tpv-halo .8s ease-out 1;animation-delay:var(--o,0s)}

.tpv-m-dossiers b{position:absolute;width:28px;height:19px;border-radius:2px 4px 4px 4px;background:#c9d5de}
.tpv-m-dossiers b::before{content:"";position:absolute;left:0;top:-4px;width:11px;height:5px;border-radius:2px 2px 0 0;background:inherit}
.tpv-m-dossiers b:first-child{transform:translate(-4px,-3px)}
.tpv-m-dossiers b:last-child{transform:translate(4px,4px);background:var(--tpm-bleu)}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-dossiers b:last-child{animation-name:tpv-m-tire}

.tpv-m-partage{gap:7px}
.tpv-m-partage b{width:17px;height:22px;border-radius:3px;background:#fff;box-shadow:0 1px 2px rgba(31,42,55,.14);
  background-image:linear-gradient(#c5d0d8,#c5d0d8),linear-gradient(#dde4e9,#dde4e9),linear-gradient(#dde4e9,#dde4e9);background-size:10px 2px,11px 1.5px,8px 1.5px;background-position:3px 5px,3px 10px,3px 14px;background-repeat:no-repeat}
.tpv-m-partage i{width:14px;height:14px;border-radius:50%;background:var(--tpm-vert);box-shadow:0 0 0 3px #fff inset}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-partage b{animation-name:tpv-m-envoi}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-partage i{animation-name:tpv-pop;--d:.3s}

.tpv-m-exos{flex-direction:column;align-items:flex-start;padding-left:13px;justify-content:center}
.tpv-m-exos em{position:relative;width:30px;height:7px;padding-left:10px}
.tpv-m-exos em::before{content:"";position:absolute;left:0;top:0;width:7px;height:7px;border-radius:2px;border:1px solid #b9c5ce;background:#fff;box-sizing:border-box}
.tpv-m-exos em.ok::before{background:var(--tpm-vert);border-color:var(--tpm-vert)}
.tpv-m-exos em::after{content:"";display:block;height:3px;margin-top:2px;border-radius:2px;background:#c5d0d8}
.tpv-m-exos em:nth-child(2){--d:.12s}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-exos em.ok::before{animation:tpv-pop .45s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--o,0s) + var(--d,0s))}

.tpv-m-assiduite{gap:3px}
.tpv-m-assiduite i{width:5px;height:18px;border-radius:3px;background:#d5dde3}
.tpv-m-assiduite i.ok{background:var(--tpm-vert)}
.tpv-m-assiduite i:nth-child(2){--d:.05s}.tpv-m-assiduite i:nth-child(4){--d:.15s}.tpv-m-assiduite i:nth-child(5){--d:.2s}.tpv-m-assiduite i:nth-child(7){--d:.3s}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-assiduite i.ok{animation-name:tpv-m-pousse;transform-origin:bottom}

.tpv-m-sms i{padding:4px 6px;border-radius:8px 8px 8px 3px;background:#fff;color:var(--tpm-encre);font-size:8px;font-weight:600;white-space:nowrap;box-shadow:0 1px 2px rgba(31,42,55,.1)}
.tpv-m-sms::after{content:"";position:absolute;top:5px;right:5px;width:6px;height:6px;border-radius:50%;background:#34c759}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-sms i{animation-name:tpv-arrive}

.tpv-m-emails b{position:relative;width:32px;height:22px;border-radius:3px;background:#fff;box-shadow:0 1px 2px rgba(31,42,55,.14);overflow:hidden;padding:9px 5px 0}
.tpv-m-emails b::before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,var(--tpm-bleu) 0 50%,var(--tpm-vert) 50% 75%,#e9c46a 75%);transform-origin:left}
.tpv-m-emails b i{height:2.5px;border-radius:2px;background:#c5d0d8;margin-bottom:3px}
.tpv-m-emails b i:last-child{width:60%}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-emails b::before{animation:tpv-volet .55s cubic-bezier(.2,.7,.2,1) both;animation-delay:var(--o,0s)}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-emails b i{animation-name:tpv-volet;--d:.2s;transform-origin:left}

.tpv-m-cloche b{transform-origin:50% 10%}
.tpv-m-cloche i{position:absolute;top:9px;left:31px;width:7px;height:7px;border-radius:50%;background:#e5534b;box-shadow:0 0 0 1.5px var(--tpm-pale)}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-cloche b{animation-name:tpv-m-sonne;animation-duration:.7s}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-cloche i{animation-name:tpv-pop;--d:.35s}

.tpv-m-ecrire i{padding:4px 6px;border-radius:8px 8px 3px 8px;background:var(--tpm-bleu);color:#fff;font-size:8px;font-weight:600;white-space:nowrap}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-ecrire i{animation-name:tpv-m-envoi}

.tpv-m-paiements{gap:0}
.tpv-m-paiements b{padding:4px 6px;border-radius:6px;background:#fff;box-shadow:0 1px 2px rgba(31,42,55,.12);font-size:9px;font-weight:700;color:var(--tpm-encre);white-space:nowrap}
.tpv-m-paiements i{position:relative;width:13px;height:13px;margin:-14px 0 0 -5px;border-radius:50%;background:var(--tpm-vert);color:#fff;display:flex!important;align-items:center;justify-content:center;box-shadow:0 0 0 2px var(--tpm-pale)}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-paiements b{animation-name:tpv-monte}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-paiements i{animation-name:tpv-pop;--d:.3s}

.tpv-m-export{gap:5px}
.tpv-m-export b{width:20px;height:25px;border-radius:3px;background:#fff;box-shadow:0 1px 2px rgba(31,42,55,.14);font-size:6.5px;font-weight:700;color:#fff;padding-top:14px;text-align:center;line-height:8px;
  background-image:linear-gradient(var(--tpm-vert),var(--tpm-vert));background-size:100% 9px;background-position:0 100%;background-repeat:no-repeat;overflow:hidden}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-export i{animation-name:tpv-m-descend;--d:.1s}

.tpv-m-chiffre{gap:5px;color:var(--tpm-vert)}
.tpv-m-chiffre em{display:grid;gap:2px}
.tpv-m-chiffre em i{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:8px;line-height:9px;color:var(--tpm-gris);letter-spacing:.02em}
.tpv-m-chiffre em i:last-child{--d:.12s}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-chiffre em i{animation-name:tpv-fondu;animation-timing-function:steps(4)}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-chiffre b{animation-name:tpv-ferme;--d:.3s}

.tpv-m-france{flex-direction:column;gap:1px}
.tpv-m-france i{font-size:8px;font-weight:600;color:var(--tpm-encre);letter-spacing:.01em}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-france b{animation-name:tpv-m-tombe}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-france i{animation-name:tpv-fondu;--d:.3s}

.tpv-m-noms{flex-direction:column;gap:3px}
.tpv-m-noms s{position:relative;font-size:8px;font-weight:600;color:var(--tpm-gris-2)}
.tpv-m-noms s::after{content:"";position:absolute;left:-2px;right:-2px;top:50%;height:1.2px;background:var(--tpm-gris-2);transform-origin:left}
.tpv-m-noms b{padding:2px 5px;border-radius:5px;background:var(--tpm-bleu);color:#fff;font-size:7.5px;font-weight:600}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-noms s::after{animation:tpv-volet .4s cubic-bezier(.2,.7,.2,1) both;animation-delay:var(--o,0s)}
:is(.tpm-carte:hover,.tpm-carte:focus-visible,.tpm-joue .tpm-carte) .tpv-m-noms b{animation-name:tpv-monte;--d:.3s}

@keyframes tpv-m-saute{from{transform:translateX(-21px)}60%{transform:translateX(2px)}}
@keyframes tpv-m-tire{from{transform:translate(-4px,-3px);opacity:.4}}
@keyframes tpv-m-envoi{from{opacity:0;transform:translateX(-12px)}}
@keyframes tpv-m-pousse{from{transform:scaleY(.1)}}
@keyframes tpv-m-sonne{0%,100%{transform:rotate(0)}20%{transform:rotate(16deg)}40%{transform:rotate(-12deg)}60%{transform:rotate(8deg)}80%{transform:rotate(-4deg)}}
@keyframes tpv-m-descend{from{opacity:0;transform:translateY(-8px)}}
@keyframes tpv-m-tombe{from{opacity:0;transform:translateY(-10px)}70%{transform:translateY(1px)}}
@media (prefers-reduced-motion:reduce){.tuiles-page *,.cartes-page *,.cartes-page *::before,.cartes-page *::after,.tpm *::before,.tpm *::after{animation:none!important}}

/* Téléphone et tablette : une feuille de verre plein écran, sous-menus dépliables */
@media (min-width:1025px) and (max-width:1240px){.tpm-nav{gap:8px;margin-left:10px}.tpm-liste{gap:0}.tpm-lien{padding:0 10px;font-size:14px}.tpm-btn{padding:0 12px}}
@media (max-width:1024px){
  .tpm{padding:8px 10px 0}
  .tpm-barre{gap:10px;height:52px;padding:0 6px 0 12px;border-radius:16px}
  .tpm.tpm-resserre .tpm-barre{height:50px}
  .tpm-essai-mobile{display:inline-flex;margin-left:auto;height:36px}
  .tpm-burger{display:inline-flex;flex-direction:column;justify-content:center;gap:5px;width:40px;height:40px;align-items:center;border-radius:10px}
  .tpm-burger span{display:block;width:18px;height:1.5px;background:var(--tpm-encre);transition:transform .2s}
  .tpm.tpm-mobile-ouvert .tpm-burger span:first-child{transform:translateY(3.25px) rotate(45deg)}
  .tpm.tpm-mobile-ouvert .tpm-burger span:last-child{transform:translateY(-3.25px) rotate(-45deg)}
  .tpm-nav{display:none;position:fixed;left:10px;right:10px;top:68px;bottom:10px;border-radius:20px;background:#fff;box-shadow:0 0 0 1px rgba(31,42,55,.06),0 30px 60px -24px rgba(31,42,55,.35);
    flex-direction:column;align-items:stretch;gap:0;padding:6px 14px 18px;overflow-y:auto;overscroll-behavior:contain}
  .tpm.tpm-mobile-ouvert .tpm-nav{display:flex}
  /* Un parent en verre (backdrop-filter) deviendrait le repère du menu fixe : on l'ôte à l'ouverture. */
  .tpm.tpm-mobile-ouvert .tpm-barre{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff}
  .tpm-liste{flex-direction:column;align-items:stretch;gap:0}
  .tpm-item{border-bottom:1px solid rgba(31,42,55,.07)}
  .tpm-lien{width:100%;height:54px;padding:0 4px;justify-content:space-between;font-size:17px;color:var(--tpm-encre);border-radius:0;background:none!important}
  .tpm-panneau,.tpm-panneau.tpm-etroit{position:static;width:auto;box-shadow:none;border:0;border-radius:0;padding:0 0 14px;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;opacity:1;visibility:visible;transform:none;display:none;transition:none}
  .tpm-item.tpm-ouvert>.tpm-panneau{display:block}
  .tpm-tuiles,.tpm-tuiles.tpm-quatre{grid-template-columns:1fr 1fr;gap:4px}
  .tpv{height:66px}
  .tpm-tuile>b{font-size:13.5px;padding-top:7px}
  .tpm-bas{padding:12px 0 0}
  .tpm-suite{align-self:flex-start;padding:8px 4px 0}
  .tpm-groupes{grid-template-columns:1fr;gap:14px;width:100%}
  .tpm-cartes{grid-template-columns:1fr 1fr;gap:2px 4px}
  .tpm-carte{gap:8px;padding:4px;font-size:13px}
  .tpv-m{zoom:.86}
  .tpm-groupe-t{margin-left:4px}
  .tpm-metiers{grid-template-columns:1fr 1fr}
  .tpm-metiers a{padding:6px 4px;font-size:13.5px;gap:9px}
  .tpm-picto{width:32px;height:32px;padding:7px}
  .tpm-actions{margin:20px 0 0;flex-direction:column}
  .tpm-actions .tpm-btn{height:48px;font-size:16px}
  .tpm-actions .tpm-btn-second{border-color:var(--tpm-filet)}
  html.tpm-verrou,html.tpm-verrou body{overflow:hidden}
}
@media (prefers-reduced-motion:reduce){.tpm *,.tpm-barre{transition:none!important;animation:none!important}}
