/* Espace client Fiscality — MAQUETTE (16/11/2026). Même charte que le site vitrine : bleu nuit, orange du logo, police Onest.
   Aucune donnée réelle, aucun appel au serveur. */
@font-face { font-family: "Onest"; src: url(/fonts/onest-latin.woff2) format("woff2"); font-weight: 300 800; font-display: swap; }
:root {
  --nuit: #0b1224; --nuit-2: #121c36; --orange: #f17e01; --orange-2: #ffa63d;
  --papier: #f3f5fa; --blanc: #fff; --encre: #131a2b; --gris: #5b657a; --filet: #e3e7f0;
  --vert: #0f9d6b; --vert-fond: #e3f6ee; --bleu: #2f5bd8; --bleu-fond: #e6edff; --ambre: #b86a00; --ambre-fond: #fff1dc; --rouge: #c8362c; --rouge-fond: #fde8e6;
  --police: "Onest", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --doux: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { overflow-x: clip; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 400 16px/1.55 var(--police); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
i { font-style: normal; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2 { margin: 0; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 700; }
h2 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--orange-2); outline-offset: 2px; border-radius: 8px; }
.surtitre { display: inline-flex; align-items: center; gap: 9px; font: 700 .72rem/1 var(--police); text-transform: uppercase; letter-spacing: .18em; color: var(--orange); margin-bottom: .7rem; }
.surtitre::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.sous { color: var(--gris); margin-top: .6rem; }
.sous b { color: var(--encre); font-weight: 600; }

.maquette { position: sticky; top: 0; z-index: 90; background: repeating-linear-gradient(-45deg, #1d2a4d, #1d2a4d 14px, #223159 14px, #223159 28px); color: #ffd9a8; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-align: center; padding: 0 12px; height: 30px; line-height: 30px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Logo (mêmes images que le site) */
.logo { display: inline-flex; align-items: flex-start; height: 1em; font-size: 40px; text-decoration: none; }
.logo-e { flex: none; width: 1.0964em; height: 1.0964em; margin-top: -.0284em; animation: tourne 1.4s cubic-bezier(.2, .9, .25, 1.15) both; transition: rotate .9s var(--doux); }
.logo:hover .logo-e { rotate: 360deg; }
.logo-e img, .logo-t img { width: 100%; height: 100%; }
.logo-t { flex: none; height: 1em; aspect-ratio: 906 / 363; margin-left: -.033em; }
@keyframes tourne { from { transform: rotate(-360deg) scale(0); opacity: 0; } }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 .98rem var(--police); padding: .85rem 1.4rem; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; transition: transform .35s var(--doux), box-shadow .35s var(--doux), background .3s; }
.bouton svg { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .35s var(--doux); }
.bouton:hover { transform: translateY(-2px); } .bouton:hover svg { transform: translateX(4px); }
.bouton.plein { background: linear-gradient(135deg, var(--orange), #ff9a2a); color: #fff; box-shadow: 0 12px 28px -12px rgba(241,126,1,.8); }
.bouton.fantome { background: transparent; color: var(--gris); border: 1px solid var(--filet); padding: .5rem 1rem; font-size: .88rem; }
.bouton.fantome:hover { color: var(--encre); border-color: #c9d0de; }
.bouton.petit { padding: .55rem 1rem; font-size: .9rem; }
.lien { background: none; border: 0; padding: 0; font: inherit; color: var(--orange); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ═════ Connexion ═════ */
.connexion { position: relative; min-height: calc(100svh - 30px); display: grid; place-items: center; align-content: center; gap: 22px; padding: 40px 18px; background: var(--nuit); color: #fff; overflow: hidden; }
.halos { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.halo { position: absolute; border-radius: 50%; filter: blur(90px); }
.h1 { width: 520px; height: 520px; left: -140px; top: -160px; background: radial-gradient(circle, #2f52d6, transparent 65%); opacity: .55; animation: d1 20s ease-in-out infinite alternate; }
.h2 { width: 460px; height: 460px; right: -120px; top: 20%; background: radial-gradient(circle, var(--orange), transparent 65%); opacity: .4; animation: d2 24s ease-in-out infinite alternate; }
.h3 { width: 420px; height: 420px; left: 35%; bottom: -220px; background: radial-gradient(circle, #7a3df0, transparent 65%); opacity: .35; animation: d1 28s ease-in-out infinite alternate-reverse; }
@keyframes d1 { to { transform: translate(120px, 90px) scale(1.15); } } @keyframes d2 { to { transform: translate(-140px, 80px) scale(.9); } }
.connexion-carte { position: relative; width: min(440px, 100%); padding: 38px 34px 30px; border-radius: 30px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); animation: monte .9s var(--doux) both; }
@keyframes monte { from { opacity: 0; transform: translateY(26px); } }
.connexion-carte h1 { margin-top: 26px; font-size: 1.9rem; }
.connexion-carte .sous { color: #c3cce0; margin-bottom: 24px; }
.etape { display: none; flex-direction: column; gap: 12px; }
.etape.actif { display: flex; animation: monte .6s var(--doux) both; }
.etape label { font-size: .86rem; font-weight: 600; color: #dbe2f3; }
.etape input[type=email] { width: 100%; font: 500 1.05rem var(--police); color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: 14px; padding: .95rem 1.1rem; transition: border-color .3s, background .3s; }
.etape input::placeholder { color: #8f9ab3; }
.etape input:focus { outline: none; border-color: var(--orange-2); background: rgba(255,255,255,.14); }
.code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.code input { width: 100%; aspect-ratio: 1 / 1.15; text-align: center; font: 700 1.6rem var(--police); color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: 14px; transition: border-color .3s, transform .3s var(--doux), background .3s; }
.code input:focus { outline: none; border-color: var(--orange-2); background: rgba(255,255,255,.16); transform: translateY(-3px); }
.etape .bouton { margin-top: 8px; width: 100%; }
.aide { font-size: .84rem; color: #a9b4cc; }
.aide b { color: #fff; font-weight: 600; }
.aide.demo { color: #ffd9a8; }
.connexion-pied { position: relative; font-size: .86rem; color: #93a0bb; }
.connexion-pied a { color: #dbe2f3; }

/* ═════ Application ═════ */
.appli { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: calc(100svh - 30px); }
.cote { position: sticky; top: 30px; align-self: start; height: calc(100svh - 30px); display: flex; flex-direction: column; gap: 28px; padding: 26px 18px 22px; background: var(--nuit); color: #c9d2e6; }
.cote .logo { font-size: 38px; margin-left: 6px; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: .78rem .95rem; border-radius: 14px; text-decoration: none; font-weight: 500; color: #c9d2e6; transition: background .3s, color .3s, transform .35s var(--doux); }
.nav a svg { width: 21px; height: 21px; flex: none; }
.nav a:hover { background: rgba(255,255,255,.07); color: #fff; transform: translateX(3px); }
.nav a.ici { background: linear-gradient(135deg, rgba(241,126,1,.95), #ff9a2a); color: #fff; box-shadow: 0 14px 28px -16px rgba(241,126,1,.9); }
.pastille { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--orange); color: #fff; font-size: .74rem; font-weight: 700; }
.nav a.ici .pastille { background: #fff; color: var(--orange); }
.pastille[hidden] { display: none; }
.cote-cabinet { margin-top: auto; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: .86rem; line-height: 1.5; }
.cote-cabinet .mini { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--orange-2); font-weight: 700; }
.cote-cabinet .nom { color: #fff; font-weight: 700; font-size: 1rem; margin: 2px 0 6px; }
.cote-cabinet a { display: inline-block; margin-top: 8px; color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; }

.centre { min-width: 0; display: flex; flex-direction: column; }
.barre { position: sticky; top: 30px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 3vw, 40px); background: rgba(243,245,250,.85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--filet); }
.rond { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font: 700 .8rem var(--police); font-style: normal; color: #fff; background: linear-gradient(135deg, var(--nuit), #26397a); }
.rond.clair { border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--orange-2)); }
.dossier { position: relative; }
.dossier-btn { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 16px; background: var(--blanc); border: 1px solid var(--filet); cursor: pointer; font: inherit; text-align: left; transition: border-color .3s, box-shadow .3s; }
.dossier-btn:hover { border-color: #c9d0de; box-shadow: 0 10px 24px -18px rgba(19,26,43,.6); }
.dossier-btn small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gris); line-height: 1.2; }
.dossier-btn b { font-weight: 700; font-size: .96rem; }
.dossier-btn > svg { width: 18px; height: 18px; color: var(--gris); transition: transform .35s var(--doux); }
.dossier-btn[aria-expanded=true] > svg { transform: rotate(180deg); }
.dossier-liste { position: absolute; left: 0; top: calc(100% + 8px); min-width: 250px; margin: 0; padding: 6px; list-style: none; background: var(--blanc); border: 1px solid var(--filet); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(19,26,43,.5); animation: monte .35s var(--doux) both; }
.dossier-liste li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; cursor: pointer; font-weight: 500; }
.dossier-liste li:hover, .dossier-liste li.choisi { background: var(--papier); }
.dossier-liste li.choisi { font-weight: 700; }
.barre-droite { display: flex; align-items: center; gap: 14px; }
.qui { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: .92rem; }

main { padding: clamp(22px, 3.4vw, 46px) clamp(16px, 3vw, 40px) 60px; max-width: 1180px; width: 100%; }
main:focus { outline: none; }
.vue { animation: monte .55s var(--doux) both; }
.titre { margin-bottom: clamp(20px, 3vw, 34px); }

/* Accueil */
.grille-accueil { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.depot-rapide { grid-column: 1 / -1; position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; padding: clamp(18px, 2.4vw, 28px); border-radius: 26px; text-decoration: none; color: #fff; background: linear-gradient(120deg, var(--nuit) 0%, #1b2b5e 60%, #3a2a66 100%); box-shadow: 0 30px 60px -36px rgba(11,18,36,.9); transition: transform .45s var(--doux), box-shadow .45s var(--doux); }
.depot-rapide::before { content: ""; position: absolute; width: 340px; height: 340px; right: -80px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(241,126,1,.6), transparent 65%); filter: blur(30px); transition: transform .8s var(--doux); }
.depot-rapide:hover { transform: translateY(-4px); } .depot-rapide:hover::before { transform: translate(-60px, 40px) scale(1.2); }
.depot-rapide > * { position: relative; }
.depot-icone { flex: none; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange), var(--orange-2)); box-shadow: 0 14px 28px -12px rgba(241,126,1,.9); }
.depot-icone svg { width: 28px; height: 28px; animation: saute 2.4s var(--doux) infinite; }
@keyframes saute { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-5px); } }
.depot-rapide b { display: block; font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); font-weight: 700; letter-spacing: -.02em; }
.depot-rapide small { color: #c3cce0; font-size: .92rem; }
.depot-rapide .fleche { margin-left: auto; width: 26px; height: 26px; flex: none; transition: transform .45s var(--doux); }
.depot-rapide:hover .fleche { transform: translateX(8px); }

.chiffres { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.chiffre { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: 22px; background: var(--blanc); border: 1px solid var(--filet); text-decoration: none; transition: transform .4s var(--doux), box-shadow .4s var(--doux), border-color .3s; }
.chiffre:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -30px rgba(19,26,43,.5); border-color: #d3d9e6; }
.chiffre strong { font-size: 2.5rem; font-weight: 800; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.chiffre span { color: var(--gris); font-size: .9rem; }
.chiffre.alerte { background: linear-gradient(135deg, #fff6ea, #ffe9cf); border-color: #f8d3a3; }
.chiffre.alerte strong { color: var(--orange); }

.carte { padding: 22px; border-radius: 24px; background: var(--blanc); border: 1px solid var(--filet); }
.carte.large { grid-column: 1 / -1; }
.carte header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.carte header a { font-size: .86rem; font-weight: 600; color: var(--orange); text-decoration: none; }
.carte header a:hover { text-decoration: underline; }
.liste { list-style: none; margin: 0; padding: 0; }
.liste li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--filet); }
.liste li:first-child { border-top: 0; }
.liste .ico { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--papier); color: var(--gris); }
.liste .ico svg { width: 19px; height: 19px; }
.liste .txt { min-width: 0; flex: 1; }
.liste .txt b { display: block; font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.liste .txt small { color: var(--gris); font-size: .82rem; }
.liste.en-ligne { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.liste.en-ligne li { border: 1px solid var(--filet); border-radius: 16px; padding: 12px; }

/* États */
.etat { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: .28rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.etat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.etat.recu { color: var(--bleu); background: var(--bleu-fond); }
.etat.cours { color: var(--ambre); background: var(--ambre-fond); }
.etat.cours::before { animation: clignote 1.4s ease-in-out infinite; }
.etat.traite { color: var(--vert); background: var(--vert-fond); }
.etat.renvoyer { color: var(--rouge); background: var(--rouge-fond); }
@keyframes clignote { 50% { opacity: .25; } }

/* Déposer */
.types { border: 0; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.types legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.types label { cursor: pointer; }
.types input { position: absolute; opacity: 0; pointer-events: none; }
.types span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border-radius: 20px; background: var(--blanc); border: 2px solid var(--filet); font-weight: 700; transition: border-color .3s, transform .35s var(--doux), box-shadow .35s var(--doux), background .3s; }
.types span svg { width: 26px; height: 26px; color: var(--orange); margin-bottom: 6px; }
.types small { font-weight: 400; color: var(--gris); font-size: .82rem; line-height: 1.35; }
.types label:hover span { transform: translateY(-3px); box-shadow: 0 20px 36px -26px rgba(19,26,43,.5); }
.types input:checked + span { border-color: var(--orange); background: #fff8ee; box-shadow: 0 18px 34px -24px rgba(241,126,1,.8); }
.types input:focus-visible + span { outline: 3px solid var(--orange-2); outline-offset: 2px; }
.zone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: clamp(34px, 6vw, 64px) 20px; border-radius: 28px; border: 2px dashed #b9c3d8; background: var(--blanc); cursor: pointer; color: var(--gris); transition: border-color .3s, background .3s, transform .4s var(--doux); }
.zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.zone b { color: var(--encre); font-size: 1.2rem; letter-spacing: -.02em; }
.zone u { color: var(--orange); font-weight: 600; text-underline-offset: 3px; }
.zone-icone { width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 8px; color: #fff; background: linear-gradient(135deg, var(--nuit), #26397a); transition: transform .5s var(--doux), background .3s; }
.zone-icone svg { width: 30px; height: 30px; }
.zone:hover, .zone.dessus { border-color: var(--orange); background: #fffaf3; }
.zone:hover .zone-icone, .zone.dessus .zone-icone { transform: translateY(-6px) scale(1.06); background: linear-gradient(135deg, var(--orange), var(--orange-2)); }
.zone.dessus { transform: scale(1.01); }
.zone-photo { display: none; font-size: .86rem; }
.envois { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.envois li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--blanc); border: 1px solid var(--filet); animation: monte .45s var(--doux) both; }
.envois .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--papier); color: var(--gris); }
.envois .ico svg { width: 19px; height: 19px; }
.envois b { display: block; font-weight: 600; font-size: .94rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.envois small { color: var(--gris); font-size: .8rem; }
.jauge { height: 5px; margin-top: 7px; border-radius: 5px; background: var(--filet); overflow: hidden; }
.jauge i { display: block; height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, var(--orange), var(--orange-2)); transition: width .25s linear; }
.envois li.fini .jauge { display: none; }
.astuce { margin-top: 16px; font-size: .88rem; color: var(--gris); padding-left: 14px; border-left: 3px solid var(--orange); }

/* Filtres + tableau */
.outils { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.filtres { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--filet); }
.filtres button { font: 600 .88rem var(--police); color: var(--gris); background: none; border: 0; padding: .5rem 1rem; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s; }
.filtres button:hover { color: var(--encre); }
.filtres button.actif { background: var(--nuit); color: #fff; }
input[type=search] { font: 500 .92rem var(--police); padding: .65rem 1.1rem; border-radius: 999px; border: 1px solid var(--filet); background: var(--blanc); min-width: min(280px, 100%); }
input[type=search]:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(241,126,1,.14); }
.tableau { background: var(--blanc); border: 1px solid var(--filet); border-radius: 24px; overflow: hidden; }
.tableau-tete, .tableau li { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1fr); gap: 14px; align-items: center; padding: 13px 20px; }
.tableau-tete { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--gris); background: #f8f9fc; border-bottom: 1px solid var(--filet); }
.tableau ul { list-style: none; margin: 0; padding: 0; }
.tableau li { border-top: 1px solid var(--filet); transition: background .25s; animation: monte .45s var(--doux) both; }
.tableau li:first-child { border-top: 0; }
.tableau li:hover { background: #f8f9fc; }
.tableau .doc { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tableau .doc .ico { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--papier); color: var(--gris); }
.tableau .doc .ico svg { width: 18px; height: 18px; }
.tableau .doc b { display: block; font-weight: 600; font-size: .94rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tableau .doc small { color: var(--gris); font-size: .8rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tableau .date, .tableau .type { color: var(--gris); font-size: .9rem; font-variant-numeric: tabular-nums; }
.tableau .motif { grid-column: 1 / -1; margin: -4px 0 2px 48px; padding: 8px 12px; border-radius: 12px; background: var(--rouge-fond); color: #8e241c; font-size: .86rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.vide { padding: 34px 20px; text-align: center; color: var(--gris); }

/* Demandes */
.demandes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.demandes li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 22px; border-radius: 24px; background: var(--blanc); border: 1px solid var(--filet); border-left: 5px solid var(--orange); transition: transform .4s var(--doux), box-shadow .4s var(--doux); animation: monte .5s var(--doux) both; }
.demandes li:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -32px rgba(19,26,43,.5); }
.demandes li.fait { border-left-color: var(--vert); opacity: .75; }
.demandes .qui-dem { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .84rem; color: #fff; background: linear-gradient(135deg, var(--nuit), #26397a); }
.demandes b { display: block; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.demandes p { color: var(--gris); font-size: .92rem; margin-top: 3px; }
.demandes small { display: block; margin-top: 6px; font-size: .8rem; color: var(--gris); }
.demandes small em { font-style: normal; font-weight: 700; color: var(--ambre); }

/* Documents */
.docs { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.docs li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 22px; background: var(--blanc); border: 1px solid var(--filet); transition: transform .4s var(--doux), box-shadow .4s var(--doux), border-color .3s; animation: monte .5s var(--doux) both; }
.docs li:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -34px rgba(19,26,43,.55); border-color: #f6c592; }
.docs .rub { align-self: flex-start; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--orange); }
.docs b { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }
.docs small { color: var(--gris); font-size: .84rem; }
.docs .nouveau { position: absolute; top: 16px; right: 16px; font-size: .7rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; background: var(--orange); color: #fff; }
.docs .bouton { align-self: flex-start; margin-top: 10px; }

/* Message d'information */
.bulle-info { position: fixed; left: 50%; bottom: 28px; z-index: 95; translate: -50% 20px; opacity: 0; pointer-events: none; width: max-content; max-width: calc(100% - 32px); text-align: center; padding: .8rem 1.3rem; border-radius: 22px; background: var(--nuit); color: #fff; font-weight: 600; font-size: .92rem; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); transition: opacity .35s, translate .45s var(--doux); }
.bulle-info.montre { opacity: 1; translate: -50% 0; }

/* Navigation du bas (téléphone) */
.bas { display: none; }

@media (max-width: 980px) {
  .appli { grid-template-columns: 1fr; }
  .cote { display: none; }
  .bas { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; padding: 8px 6px; border-radius: 26px; background: rgba(11,18,36,.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 24px 50px -20px rgba(0,0,0,.7); }
  .bas a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; text-decoration: none; color: #9aa6c0; font-size: .68rem; font-weight: 600; transition: color .3s; }
  .bas a svg { width: 22px; height: 22px; }
  .bas a.ici { color: #fff; }
  .bas a.ici svg { color: var(--orange-2); }
  .bas .pastille { position: absolute; top: 0; left: 55%; min-width: 18px; height: 18px; font-size: .66rem; }
  .bas-plus { justify-self: center; width: 54px; height: 54px; border-radius: 50%; margin-top: -26px; display: grid !important; place-items: center; color: #fff !important; background: linear-gradient(135deg, var(--orange), var(--orange-2)); box-shadow: 0 14px 28px -10px rgba(241,126,1,.9); }
  .bas-plus svg { width: 26px !important; height: 26px !important; color: #fff !important; stroke-width: 2.4; }
  main { padding-bottom: 120px; }
  .bulle-info { bottom: 104px; }
  .zone-photo { display: block; }
  .liste.en-ligne { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .qui span, #deconnexion { font-size: 0; }
  #deconnexion { padding: .5rem; width: 38px; height: 38px; }
  #deconnexion::before { content: "⎋"; font-size: 1rem; }
  .grille-accueil { grid-template-columns: minmax(0, 1fr); }
  .chiffres { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .depot-rapide small { display: none; }
  .chiffre { flex-direction: row; align-items: center; gap: 14px; padding: 14px 18px; }
  .chiffre strong { font-size: 1.9rem; min-width: 1.4em; }
  .types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tableau-tete { display: none; }
  .tableau li { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px 16px; }
  .tableau .type, .tableau .date { display: none; }
  .tableau .motif { margin-left: 0; }
  .demandes li { grid-template-columns: auto minmax(0, 1fr); }
  .demandes .bouton { grid-column: 1 / -1; }
  .filtres { border-radius: 20px; }
  .connexion-carte { padding: 30px 22px 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
