/* DYCAST Transfert — charte de dycast.fr : encre sur papier, Instrument Sans + Geist. */

@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-sans-variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-variable.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono-variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --papier: #fafaf8;
  --surface: #ffffff;
  --encre: #0c0c0b;
  --gris: #55554e;
  --trait: color-mix(in oklab, var(--encre) 13%, transparent);
  --trait-fort: color-mix(in oklab, var(--encre) 28%, transparent);
  --voile: color-mix(in oklab, var(--encre) 4%, transparent);
  --succes: #1f7a4d;
  --danger: #b4231a;
  --rayon: 1.25rem;
  --rayon-panneau: 1.6rem;
  --ombre: 0 1px 0 rgb(0 0 0 / .02), 0 24px 60px -28px rgb(12 12 11 / .28);
  --courbe: cubic-bezier(.22, 1, .36, 1);
  --police: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --police-titre: "Instrument Sans", "Geist", ui-sans-serif, system-ui, sans-serif;
  --police-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --papier: #0c0c0b; --surface: #151513; --encre: #f2f2ee; --gris: #a3a39a;
    --ombre: 0 1px 0 rgb(255 255 255 / .03), 0 30px 70px -30px rgb(0 0 0 / .8);
    --succes: #4fc48a; --danger: #ff6b5e; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --papier: #0c0c0b; --surface: #151513; --encre: #f2f2ee; --gris: #a3a39a;
  --ombre: 0 1px 0 rgb(255 255 255 / .03), 0 30px 70px -30px rgb(0 0 0 / .8);
  --succes: #4fc48a; --danger: #ff6b5e; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--papier); color: var(--encre);
  font: 400 1rem/1.55 var(--police); font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, .h1, .h3 { font-family: var(--police-titre); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; margin: 0 0 .6em; }
h1, .h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); }
.h3 { font-size: 1.2rem; margin-top: 1.6em; }
p { margin: 0 0 1em; }
code { font-family: var(--police-mono); font-size: .9em; background: var(--voile); padding: .1em .35em; border-radius: .35em; }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; border-radius: .4rem; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 1rem; top: -4rem; background: var(--encre); color: var(--papier); padding: .6rem 1rem; border-radius: 999px; z-index: 50; }
.evitement:focus { top: 1rem; }

/* ── En-tête ──────────────────────────────────────────────────────────── */
.entete {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1.5rem;
  padding: .9rem clamp(1rem, 4vw, 2.5rem); padding-top: max(.9rem, env(safe-area-inset-top));
  background: color-mix(in oklab, var(--papier) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--trait);
}
.marque { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.logo-dycast { height: 1.05rem; width: auto; fill: currentColor; display: block; }
.marque-produit { font-family: var(--police-titre); font-weight: 500; font-size: 1.02rem; letter-spacing: -.01em; padding-left: .65rem; border-left: 1px solid var(--trait-fort); line-height: 1; }
.nav { display: flex; gap: .3rem; margin-left: auto; }
.nav a { text-decoration: none; padding: .45rem .8rem; border-radius: 999px; font-size: .94rem; color: var(--gris); transition: background .2s, color .2s; }
.nav a:hover { color: var(--encre); background: var(--voile); }
.nav a[aria-current="page"] { color: var(--encre); background: var(--voile); font-weight: 500; }
.compte { margin-left: .5rem; }
.puce-compte { font-size: .82rem; text-decoration: none; padding: .35rem .7rem; border: 1px solid var(--trait); border-radius: 999px; color: var(--gris); max-width: 16rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: middle; }
.puce-compte::before { content: ""; display: inline-block; width: .45rem; height: .45rem; border-radius: 50%; background: var(--succes); margin-right: .45rem; vertical-align: .08em; }

/* ── Mise en page ─────────────────────────────────────────────────────── */
.principal { flex: 1; width: 100%; max-width: 76rem; margin: 0 auto; padding: clamp(1.5rem, 4vw, 4rem) clamp(1rem, 4vw, 2.5rem) 3rem; }
.scene { display: grid; grid-template-columns: minmax(0, 27rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.scene.etroite { grid-template-columns: minmax(0, 40rem); justify-content: center; }
.carte {
  background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon-panneau);
  box-shadow: var(--ombre); padding: clamp(1.25rem, 3vw, 2rem);
}
.carte-envoi, .carte-reception { position: relative; }
.large-carte { width: 100%; }
.accroche { padding-top: clamp(0rem, 3vw, 2.5rem); }
.accroche h1, .accroche .h1 { font-size: clamp(2.3rem, 1.2rem + 3.8vw, 4.4rem); line-height: 1; letter-spacing: -.035em; }
.surtitre { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); font-weight: 500; margin-bottom: .9rem; }
.chapo { font-size: clamp(1.06rem, .98rem + .4vw, 1.28rem); color: var(--gris); max-width: 36rem; }
.garanties { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; max-width: 38rem; }
.garanties li { padding-left: 1.9rem; position: relative; color: var(--gris); }
.garanties li b { color: var(--encre); font-weight: 600; }
.garanties li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--encre); -webkit-mask: url("/assets/img/coche.svg") center / 70% no-repeat; mask: url("/assets/img/coche.svg") center / 70% no-repeat; }
.garanties li::after { content: ""; position: absolute; left: 0; top: .32em; width: 1.05rem; height: 1.05rem; border-radius: 50%; border: 1px solid var(--trait-fort); }
.lien-fleche { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--trait-fort); padding-bottom: .1em; }
.lien-fleche::after { content: " →"; transition: margin .3s var(--courbe); }
.lien-fleche:hover::after { margin-left: .25em; }
.titre-carte { font-size: 1.7rem; }
.tete-section { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }

/* ── Onglets ──────────────────────────────────────────────────────────── */
.onglets { display: grid; grid-template-columns: 1fr 1fr; background: var(--voile); border-radius: 999px; padding: .25rem; margin-bottom: 1.1rem; }
.onglets button { border: 0; background: transparent; color: var(--gris); font: 500 .92rem var(--police); padding: .6rem .8rem; border-radius: 999px; cursor: pointer; transition: background .25s var(--courbe), color .25s; }
.onglets button[aria-selected="true"] { background: var(--surface); color: var(--encre); box-shadow: 0 1px 3px rgb(0 0 0 / .12); }

/* ── Zone de dépôt ────────────────────────────────────────────────────── */
.zone-depot {
  border: 1.5px dashed var(--trait-fort); border-radius: var(--rayon); padding: 2rem 1rem; text-align: center;
  cursor: pointer; transition: border-color .25s, background .25s, padding .35s var(--courbe);
}
.zone-depot:hover, .zone-depot.survol { border-color: var(--encre); background: var(--voile); }
.zone-depot.survol { border-style: solid; }
.zone-depot.compacte { padding: .9rem 1rem; }
.zone-depot.compacte .zone-icone { width: 2.2rem; height: 2.2rem; margin-bottom: .3rem; }
.zone-depot.compacte .zone-titre { font-size: .95rem; }
.zone-icone { width: 3.2rem; height: 3.2rem; margin: 0 auto .8rem; border-radius: 50%; background: var(--encre); display: grid; place-items: center; transition: transform .35s var(--courbe), width .35s, height .35s; }
.zone-icone span { width: 42%; height: 42%; background: var(--papier); -webkit-mask: url("/assets/img/plus.svg") center / contain no-repeat; mask: url("/assets/img/plus.svg") center / contain no-repeat; }
.zone-depot:hover .zone-icone, .zone-depot.survol .zone-icone { transform: scale(1.08) rotate(90deg); }
.zone-titre { font-family: var(--police-titre); font-weight: 600; font-size: 1.12rem; margin: 0 0 .2rem; }
.zone-aide { margin: 0; color: var(--gris); font-size: .9rem; }
.lien-bouton { border: 0; background: none; padding: 0; font: inherit; color: var(--encre); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.lien-bouton.danger { color: var(--danger); }

/* ── Listes de fichiers ───────────────────────────────────────────────── */
.liste-fichiers { list-style: none; padding: 0; margin: .9rem 0 0; max-height: 15rem; overflow: auto; overscroll-behavior: contain; }
.liste-fichiers.reception { max-height: none; margin: 1.2rem 0; }
.liste-fichiers li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: .7rem; align-items: center; padding: .55rem .2rem; border-bottom: 1px solid var(--trait); font-size: .92rem; animation: entree .35s var(--courbe); }
.liste-fichiers li:last-child { border-bottom: 0; }
.liste-fichiers li.plus { display: block; color: var(--gris); }
.liste-fichiers .nom { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liste-fichiers .taille { color: var(--gris); font-variant-numeric: tabular-nums; font-size: .85rem; }
.icone-fichier { width: 1.9rem; height: 2.3rem; border-radius: .35rem; background: var(--voile); border: 1px solid var(--trait); position: relative; display: grid; place-items: end center; }
.icone-fichier::after { content: attr(data-ext); font: 600 .52rem/1 var(--police-mono); text-transform: uppercase; letter-spacing: .02em; padding-bottom: .35rem; color: var(--gris); max-width: 100%; overflow: hidden; }
.retirer { border: 0; background: none; color: var(--gris); font-size: 1.25rem; line-height: 1; width: 1.8rem; height: 1.8rem; border-radius: 50%; cursor: pointer; }
.retirer:hover { background: var(--voile); color: var(--encre); }
.resume { margin: .7rem 0 0; font-size: .88rem; color: var(--gris); font-variant-numeric: tabular-nums; }
.resume.alerte { color: var(--danger); }
@keyframes entree { from { opacity: 0; transform: translateY(4px); } }

/* ── Champs ───────────────────────────────────────────────────────────── */
.champ { margin-top: 1.05rem; }
.champ > label, .options-grille label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: .35rem; }
.discret { color: var(--gris); font-weight: 400; }
input[type="text"], input[type="email"], input[type="password"], textarea, select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--encre); background: var(--surface);
  border: 1px solid var(--trait-fort); border-radius: .85rem; padding: .7rem .85rem; transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 3rem; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gris) 50%), linear-gradient(135deg, var(--gris) 50%, transparent 50%); background-position: calc(100% - 1.1rem) 55%, calc(100% - .8rem) 55%; background-size: .3rem .3rem; background-repeat: no-repeat; padding-right: 2rem; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 3px var(--voile); }
.case { display: flex; gap: .6rem; align-items: center; font-size: .92rem; margin-top: 1rem; cursor: pointer; }
.case input { width: 1.1rem; height: 1.1rem; accent-color: var(--encre); margin: 0; }
.aide { font-size: .84rem; color: var(--gris); margin: .5rem 0 0; }
.centre { text-align: center; }
.erreur { color: var(--danger); font-size: .9rem; min-height: 1.2em; margin: .6rem 0 0; }
.puces { display: flex; flex-wrap: wrap; gap: .35rem; border: 1px solid var(--trait-fort); border-radius: .85rem; padding: .4rem; cursor: text; }
.puces:focus-within { border-color: var(--encre); box-shadow: 0 0 0 3px var(--voile); }
.puces input { border: 0; box-shadow: none !important; flex: 1 1 10rem; padding: .35rem .45rem; min-width: 8rem; }
.puce { display: inline-flex; align-items: center; gap: .25rem; background: var(--voile); border: 1px solid var(--trait); border-radius: 999px; padding: .2rem .25rem .2rem .7rem; font-size: .86rem; }
.puce button { border: 0; background: none; color: var(--gris); cursor: pointer; width: 1.4rem; height: 1.4rem; border-radius: 50%; font-size: 1rem; line-height: 1; }
.puce button:hover { background: var(--trait); color: var(--encre); }
.mdp { display: flex; gap: .4rem; margin-top: .6rem; }
.mdp input { font-family: var(--police-mono); letter-spacing: .02em; }
.options { margin-top: 1.1rem; border-top: 1px solid var(--trait); padding-top: .9rem; }
.options summary { cursor: pointer; font-weight: 500; font-size: .95rem; list-style: none; display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.options summary::-webkit-details-marker { display: none; }
.options summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.3rem; height: 1.3rem; border: 1px solid var(--trait-fort); border-radius: 50%; font-size: .9rem; transition: transform .3s var(--courbe); }
.options[open] summary::before { transform: rotate(45deg); }
.options summary .discret { font-size: .85rem; }
.options-grille { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.options-grille .champ { margin-top: 1rem; }

/* ── Boutons ──────────────────────────────────────────────────────────── */
.bouton {
  --fond: var(--encre); --texte: var(--papier);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1rem/1 var(--police); padding: .95rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--fond); color: var(--texte); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--courbe), background .2s, opacity .2s, box-shadow .2s;
}
.bouton:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -12px rgb(12 12 11 / .55); text-decoration: none; }
.bouton:active { transform: translateY(0); }
.bouton:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }
.bouton.secondaire { --fond: transparent; --texte: var(--encre); border-color: var(--trait-fort); }
.bouton.secondaire:hover { background: var(--voile); box-shadow: none; }
.bouton.petit { font-size: .86rem; padding: .55rem .95rem; }
.bouton.large { width: 100%; margin-top: 1.3rem; padding: 1.1rem; font-size: 1.04rem; }
.bouton.fait::before { content: "✓"; }
.actions-ligne { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: 1rem; }

/* ── Progression ──────────────────────────────────────────────────────── */
.etape { animation: apparition .45s var(--courbe); }
@keyframes apparition { from { opacity: 0; transform: translateY(8px); } }
#etape-progression, #etape-fin, #dp-fin, #dm-fin { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .2rem; padding: 1rem 0; }
#dm-fin { align-items: stretch; text-align: left; }
#dm-fin h2, #dm-fin .coche { align-self: center; }
.anneau { position: relative; width: 11rem; height: 11rem; margin: .5rem auto 1.4rem; }
.anneau svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anneau circle { fill: none; stroke-width: 6; }
.anneau-fond { stroke: var(--trait); }
.anneau-plein { stroke: var(--encre); stroke-linecap: round; stroke-dasharray: 339.292; stroke-dashoffset: 339.292; transition: stroke-dashoffset .4s var(--courbe); }
.anneau-pourcent { position: absolute; inset: 0; display: grid; place-items: center; font: 600 2.1rem var(--police-titre); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
#progression-detail { font-variant-numeric: tabular-nums; min-height: 1.5em; }
.coche, .cadenas, .sablier { width: 4.2rem; height: 4.2rem; border-radius: 50%; background: var(--encre); margin: .4rem auto 1rem; position: relative; animation: pop .6s var(--courbe); }
.coche::after, .cadenas::after, .sablier::after { content: ""; position: absolute; inset: 28%; background: var(--papier); -webkit-mask: var(--icone) center / contain no-repeat; mask: var(--icone) center / contain no-repeat; }
.coche { --icone: url("/assets/img/coche.svg"); }
.cadenas { --icone: url("/assets/img/cadenas.svg"); }
.sablier { --icone: url("/assets/img/sablier.svg"); background: var(--trait-fort); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } }
.lien-final { display: flex; gap: .5rem; width: 100%; margin: .9rem 0 .2rem; }
.lien-final input { font-family: var(--police-mono); font-size: .82rem; }
.mdp-final { width: 100%; background: var(--voile); border-radius: var(--rayon); padding: 1rem; margin-top: .8rem; }
.mdp-affiche { font: 600 1.25rem/1.3 var(--police-mono); letter-spacing: .04em; margin: .5rem 0 .7rem; word-break: break-all; user-select: all; }
.barre { height: .4rem; background: var(--trait); border-radius: 999px; overflow: hidden; margin-top: 1rem; }
.barre-plein { height: 100%; width: 0; background: var(--encre); border-radius: 999px; transition: width .3s var(--courbe); }
.chargement { width: 2.4rem; height: 2.4rem; margin: 2rem auto 1rem; border: 3px solid var(--trait); border-top-color: var(--encre); border-radius: 50%; animation: tourne .8s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.message { margin: 1rem 0; padding: .9rem 1.1rem; border-left: 3px solid var(--encre); background: var(--voile); border-radius: 0 var(--rayon) var(--rayon) 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.carte-reception h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); overflow-wrap: anywhere; }

/* ── Boîte, gestion ───────────────────────────────────────────────────── */
.depot, .ligne-transfert { border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1rem 1.1rem; margin-top: 1rem; }
.depot header { font-size: .95rem; }
.depot.alerte { color: var(--danger); }
.ligne-tete { display: flex; justify-content: space-between; gap: .8rem; align-items: baseline; }
.ligne-transfert p { margin: .3rem 0 0; font-size: .88rem; }
.ligne-transfert .actions-ligne { margin-top: .7rem; }
.etiquette { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--trait-fort); border-radius: 999px; padding: .15rem .55rem; color: var(--gris); white-space: nowrap; }
.vide { color: var(--gris); padding: 1rem 0; }
.alerte { color: var(--danger); }
.carte.alerte { border-color: var(--danger); margin-bottom: 1rem; }

/* ── Pages de texte ───────────────────────────────────────────────────── */
.texte .carte { padding: clamp(1.5rem, 4vw, 3rem); }
.texte h2 { margin-top: 1.8em; font-size: 1.35rem; }
.texte li { margin-bottom: .55rem; }
.texte ul, .texte ol { padding-left: 1.25rem; }
.texte li::marker { color: var(--gris); }

/* ── Dialogues, notifications ─────────────────────────────────────────── */
.dialogue { border: 1px solid var(--trait); border-radius: var(--rayon-panneau); padding: 0; background: var(--surface); color: var(--encre); width: min(28rem, calc(100vw - 2rem)); box-shadow: 0 40px 90px -30px rgb(0 0 0 / .5); }
.dialogue::backdrop { background: rgb(12 12 11 / .45); backdrop-filter: blur(3px); }
.dialogue[open] { animation: apparition .35s var(--courbe); }
.dialogue-corps { padding: 1.6rem; margin: 0; }
.dialogue-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1.2rem; }
.code { font: 600 1.6rem var(--police-mono) !important; letter-spacing: .3em; text-align: center; }
.notifications { position: fixed; left: 50%; bottom: max(1.2rem, env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; gap: .5rem; z-index: 60; width: min(30rem, calc(100vw - 2rem)); pointer-events: none; }
.notification { background: var(--encre); color: var(--papier); padding: .8rem 1.1rem; border-radius: 1rem; font-size: .92rem; box-shadow: 0 18px 40px -18px rgb(0 0 0 / .6); animation: apparition .35s var(--courbe); transition: opacity .4s, transform .4s; }
.notification.erreur { background: var(--danger); color: #fff; }
.notification.succes::before { content: "✓  "; }
.notification.sortie { opacity: 0; transform: translateY(6px); }

/* ── Pied ─────────────────────────────────────────────────────────────── */
.pied { border-top: 1px solid var(--trait); padding: 2rem clamp(1rem, 4vw, 2.5rem) max(2rem, env(safe-area-inset-bottom)); font-size: .84rem; color: var(--gris); display: grid; gap: 1rem; justify-items: center; text-align: center; }
.pied-garanties { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.6rem; }
.pied-garanties b { color: var(--encre); font-weight: 500; }
.pied-liens { display: flex; gap: 1.2rem; }
.pied-liens a { text-decoration: none; }
.pied-liens a:hover { text-decoration: underline; }
.credit { margin: 0; display: inline-flex; align-items: center; gap: .45rem; }
.credit a { display: inline-flex; color: var(--encre); }
.credit .logo-dycast { height: .7rem; }

/* ── Petits écrans ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .scene { grid-template-columns: minmax(0, 1fr); }
  .accroche { order: -1; padding-top: 0; }
  .accroche h1, .accroche .h1 { font-size: clamp(2rem, 1.4rem + 4vw, 2.8rem); }
  .accroche .garanties, .accroche .lien-fleche { display: none; }
  .accroche .chapo { margin-bottom: 0; }
}
@media (max-width: 640px) {
  .sans-mobile { display: none; }
  .onglets button::first-letter { text-transform: uppercase; }
  .nav { gap: 0; }
  .entete { flex-wrap: wrap; gap: .6rem 1rem; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; }
  .nav a { font-size: .84rem; padding: .4rem .55rem; white-space: nowrap; }
  .compte { margin-left: auto; }
  .puce-compte { max-width: 11rem; }
  .options-grille { grid-template-columns: 1fr; }
  .lien-final { flex-direction: column; }
  .liste-fichiers li { grid-template-columns: auto minmax(0, 1fr) auto; }
  .liste-fichiers.reception li { grid-template-columns: auto minmax(0, 1fr) auto; }
  .liste-fichiers.reception li .taille { display: none; }
  .mdp { flex-wrap: wrap; }
  .mdp input { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
