/* Layout : parcours en trois temps façon outil en ligne. Choisir → régler → télécharger, puis tarifs et FAQ en dessous. */
:root {
  --bg: #F4F4F1;
  --surface: #FFFFFF;
  --sunk: #F0F0EC;
  --ink: #111316;
  --mute: #60656D;
  --line: #E2E2DD;
  --line-strong: #CACAC3;
  --zest: #FFD21F;
  --on-zest: #111316;
  --good: #1F8A55;
  --bad: #B42318;
  --shadow: 0 1px 2px rgba(17,19,22,.05), 0 18px 50px -20px rgba(17,19,22,.25);
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0F11; --surface: #17191C; --sunk: #121417; --ink: #EEEFEA; --mute: #9EA3AA;
    --line: #26292D; --line-strong: #3A3E44; --zest: #FFD21F; --on-zest: #111316; --good: #4CC38A; --bad: #F97066;
    --shadow: 0 1px 2px rgba(0,0,0,.5), 0 18px 50px -20px rgba(0,0,0,.8); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E0F11; --surface: #17191C; --sunk: #121417; --ink: #EEEFEA; --mute: #9EA3AA;
  --line: #26292D; --line-strong: #3A3E44; --zest: #FFD21F; --on-zest: #111316; --good: #4CC38A; --bad: #F97066;
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 18px 50px -20px rgba(0,0,0,.8); color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--zest); outline-offset: 2px; }

/* Barre du haut */
.nav .wrap { display: flex; align-items: center; gap: 18px; padding-block: 16px; }
.logo { display: flex; align-items: center; gap: 9px; white-space: nowrap; flex-shrink: 0; text-decoration: none; font-family: var(--display); font-weight: 850; font-size: 22px; letter-spacing: -.03em; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--zest); color: var(--on-zest); display: grid; place-items: center; }
.logo-mark svg { width: 18px; height: 18px; }
.logo .zy { display: inline-block; font-variation-settings: "wdth" 62; transition: font-variation-settings .5s cubic-bezier(.7,0,.2,1); }
.logo:hover .zy { font-variation-settings: "wdth" 125; }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-r a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--mute); padding: 8px 10px; }
.nav-r a:hover { color: var(--ink); }

/* Boutons */
.btn { font: inherit; font-weight: 650; font-size: 15px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 10px 16px; line-height: 1.2; white-space: nowrap; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); transition: transform .1s, background .15s, border-color .15s; }
.btn:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn.ink { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.zest { background: var(--zest); color: var(--on-zest); border-color: var(--zest); }
.btn.zest:hover { background: color-mix(in srgb, var(--zest) 88%, #000); }
.btn.quiet { background: transparent; border-color: transparent; color: var(--mute); }
.btn.quiet:hover { color: var(--ink); }
.btn.sm { font-size: 13.5px; padding: 7px 12px; border-radius: 10px; }
.btn.xl { font-size: 20px; padding: 20px 34px; border-radius: 18px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.pill { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .05em; background: var(--zest); color: var(--on-zest); border-radius: 5px; padding: 2px 5px; }

/* Étape 1 : accueil */
.stage { padding-block: 40px 20px; }
.home { text-align: center; display: flex; flex-direction: column; align-items: center; }
.home h1 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(40px, 7vw, 76px); line-height: .98; letter-spacing: -.04em; font-variation-settings: "wdth" 100; }
/* Titre : le mot clé est pressé entre deux plaques, sur sa propre ligne, pour que rien d'autre ne bouge. */
.home h1 .l1 { display: block; }
.press { display: inline-flex; align-items: center; gap: .1em; white-space: nowrap; margin-top: .06em; }
.press .plate { flex: none; width: .1em; height: .9em; border-radius: .05em; background: var(--ink); position: relative; }
.press .plate::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border-block: .09em solid transparent; transform: translateY(-50%); }
.press .plate.l::after { left: 100%; border-left: .09em solid var(--ink); }
.press .plate.r::after { right: 100%; border-right: .09em solid var(--ink); }
.home h1 .sq { display: inline-block; background: var(--zest); color: var(--on-zest); padding: .02em .14em .06em; border-radius: .12em; font-variation-settings: "wdth" 66; animation: press 5.2s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes press {
  0%, 10% { font-variation-settings: "wdth" 118; }
  32%, 80% { font-variation-settings: "wdth" 66; }
  100% { font-variation-settings: "wdth" 118; }
}
.home .sub { margin: 16px 0 34px; font-size: 19px; color: var(--mute); max-width: 40ch; }
.dropzone { position: relative; width: 100%; max-width: 760px; border-radius: 28px; border: 2px dashed var(--line-strong); background: var(--surface); padding: 48px 24px 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; transition: background .15s, border-color .15s, transform .15s; }
.dropzone.over { background: var(--zest); border-color: var(--on-zest); border-style: solid; color: var(--on-zest); transform: scale(1.01); }
.dropzone .or { margin: 0; color: var(--mute); font-size: 15px; }
.dropzone.over .or, .dropzone.over .kinds span { color: var(--on-zest); }
.kinds { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 10px; }
.kinds span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--mute); }
.kinds svg { width: 16px; height: 16px; }
.trust { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mute); }
.trust svg { width: 16px; height: 16px; color: var(--good); }
input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Étape 2 et 3 : espace de travail */
.desk { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.desk-files { min-width: 0; }
.desk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.desk-head h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.thumb { aspect-ratio: 4 / 3; max-width: 100%; border-radius: 12px; background: var(--sunk); display: grid; place-items: center; overflow: hidden; position: relative; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb svg { width: 36px; height: 36px; color: var(--mute); }
.thumb .ext { position: absolute; left: 8px; bottom: 8px; font-family: var(--mono); font-size: 10px; font-weight: 600; background: var(--surface); border-radius: 5px; padding: 2px 6px; }
.card .nm { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .sz { font-family: var(--mono); font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; }
.card .sz b { color: var(--good); font-weight: 600; }
.card.err .sz { color: var(--bad); font-family: var(--body); font-size: 12.5px; }
.card .x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--mute); cursor: pointer; display: grid; place-items: center; font-size: 13px; z-index: 1; }
.card .x:hover { color: var(--ink); border-color: var(--ink); }
.prog { height: 5px; border-radius: 9px; background: var(--sunk); overflow: hidden; }
.prog i { display: block; height: 100%; width: 0; background: var(--zest); border-radius: 9px; transition: width .3s; }
.card.done .prog i { background: var(--good); }
.badge-gain { position: absolute; top: 10px; left: 10px; background: var(--zest); color: var(--on-zest); font-family: var(--mono); font-size: 12px; font-weight: 600; border-radius: 7px; padding: 2px 7px; }
.add { border: 2px dashed var(--line-strong); background: transparent; border-radius: 18px; min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--mute); font: inherit; font-weight: 600; cursor: pointer; }
.add:hover { color: var(--ink); border-color: var(--ink); }
.add span:first-child { font-size: 30px; line-height: 1; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 16px); }
.panel h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.levels { display: flex; flex-direction: column; gap: 8px; }
.level { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; }
.level:hover { border-color: var(--line-strong); }
.level input { position: absolute; opacity: 0; pointer-events: none; }
.level .rd { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; }
.level:has(input:checked) { border-color: var(--ink); background: var(--sunk); }
.level:has(input:checked) .rd { border-color: var(--ink); }
.level:has(input:checked) .rd::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.level:has(input:focus-visible) { outline: 2px solid var(--zest); outline-offset: 2px; }
.level b { display: block; font-size: 15px; }
.level small { display: block; font-size: 13px; color: var(--mute); }
.target { display: flex; flex-direction: column; gap: 6px; }
.target label { font-size: 14px; font-weight: 650; display: flex; align-items: center; gap: 8px; }
select { font: inherit; font-size: 15px; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 10px 12px; width: 100%; }
.panel .go { width: 100%; font-size: 18px; padding: 16px; border-radius: 16px; }
.quota { margin: 0; font-size: 13px; color: var(--mute); text-align: center; }
.quota button { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

.result { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.big { font-family: var(--display); font-weight: 900; font-size: 64px; line-height: 1; letter-spacing: -.04em; font-variation-settings: "wdth" 80; }
.big small { font-size: 28px; }
.result p { margin: 4px 0 8px; color: var(--mute); font-size: 15px; }
.result .sizes { font-family: var(--mono); font-size: 14px; color: var(--ink); }

/* Sections du bas */
section.block { padding-block: 90px 0; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin: 0 0 10px; text-align: center; }
.block h2 { margin: 0 auto 36px; text-align: center; font-family: var(--display); font-weight: 850; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.02; letter-spacing: -.035em; max-width: 22ch; }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.step .n { width: 34px; height: 34px; border-radius: 10px; background: var(--zest); color: var(--on-zest); display: grid; place-items: center; font-family: var(--mono); font-weight: 600; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--mute); font-size: 15px; }

.billing { display: flex; justify-content: center; margin-bottom: 22px; }
.billing div { display: inline-grid; grid-auto-flow: column; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.billing label { position: relative; padding: 8px 16px; border-radius: 10px; font-size: 14.5px; font-weight: 650; cursor: pointer; color: var(--mute); display: flex; gap: 8px; align-items: center; }
.billing input { position: absolute; opacity: 0; pointer-events: none; }
.billing label:has(input:checked) { background: var(--ink); color: var(--bg); }
.billing label:has(input:focus-visible) { outline: 2px solid var(--zest); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 820px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.plan.pro { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.plan-n { font-weight: 800; font-size: 19px; display: flex; gap: 10px; align-items: center; }
.price b { font-family: var(--display); font-size: 46px; font-weight: 850; letter-spacing: -.03em; line-height: 1; }
.price span { color: var(--mute); font-size: 14px; margin-left: 6px; }
.plan .note { margin: -8px 0 0; font-size: 13px; color: var(--mute); }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; flex: 1; }
.plan li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; }
.plan li svg { width: 18px; height: 18px; margin-top: 3px; }
.plan li.off { color: var(--mute); }
.plan .btn { width: 100%; padding: 14px; }
.fine { text-align: center; margin: 18px 0 0; font-size: 13px; color: var(--mute); }

.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 650; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 20px; color: var(--mute); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--mute); }

footer.foot { margin-top: 90px; border-top: 1px solid var(--line); padding-block: 28px 44px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; font-size: 14px; color: var(--mute); }
footer.foot .links { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
footer.foot a, footer.foot button { text-decoration: none; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
footer.foot a:hover, footer.foot button:hover { color: var(--ink); }

/* Fenêtre Pro */
dialog { border: 0; padding: 0; border-radius: 24px; background: var(--surface); color: var(--ink); width: min(440px, calc(100% - 32px)); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); }
dialog::backdrop { background: rgba(10,12,15,.55); backdrop-filter: blur(3px); }
.dlg { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.dlg-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.dlg h3 { margin: 0; font-size: 22px; font-weight: 850; letter-spacing: -.02em; }
.dlg p { margin: 0; color: var(--mute); }
.dlg ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.dlg li { display: flex; gap: 10px; }
.dlg li::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 8px; border-radius: 2px; background: var(--zest); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 12px; text-align: left; background: var(--surface); cursor: pointer; font: inherit; color: var(--ink); }
.choice:hover { border-color: var(--ink); }
.choice b { display: block; font-family: var(--mono); font-size: 18px; }
.choice span { font-size: 12.5px; color: var(--mute); }
.keyrow { display: flex; gap: 8px; }
.keyrow input { flex: 1; min-width: 0; font: inherit; font-family: var(--mono); font-size: 13.5px; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--sunk); color: var(--ink); }
.msg { font-size: 13.5px; min-height: 1.3em; }
.msg.bad { color: var(--bad); }
.linkish { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; align-self: flex-start; }
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 11px 16px; border-radius: 12px; font-size: 14px; max-width: calc(100% - 32px); z-index: 50; }

@media (max-width: 880px) {
  .desk { grid-template-columns: minmax(0, 1fr); }
  .panel { position: static; }
  .steps3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .nav-r a.navtxt { display: none; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn.xl { font-size: 18px; padding: 18px 26px; }
  .dropzone { padding: 34px 18px 30px; border-radius: 22px; }
  .choices { grid-template-columns: minmax(0, 1fr); }
  section.block { padding-top: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home h1 .sq { animation: none; font-variation-settings: "wdth" 66; }
  .btn, .dropzone, .prog i, .logo .zy { transition: none; }
}

/* Langue, outils, guide */
.lang { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-decoration: none; color: var(--mute); border: 1px solid var(--line-strong); border-radius: 8px; padding: 5px 8px; }
.lang:hover { color: var(--ink); border-color: var(--ink); }
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .tools { grid-template-columns: minmax(0, 1fr); } }
.tool { display: flex; gap: 14px; align-items: center; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; transition: border-color .15s, transform .15s; }
.tool:hover { border-color: var(--ink); transform: translateY(-1px); }
.tool[aria-current="page"] { border-color: var(--ink); background: var(--sunk); }
.tool-ico { flex: 0 0 42px; height: 42px; border-radius: 12px; background: var(--zest); color: var(--on-zest); display: grid; place-items: center; }
.tool-ico svg { width: 22px; height: 22px; }
.tool b { display: block; font-size: 15.5px; }
.tool small { display: block; font-size: 13px; color: var(--mute); }
.guide { max-width: 760px; margin: 0 auto; }
.guide ol { margin: 0; padding: 0; list-style: none; counter-reset: g; display: flex; flex-direction: column; gap: 12px; }
.guide li { counter-increment: g; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.guide li::before { content: counter(g); width: 34px; height: 34px; border-radius: 10px; background: var(--zest); color: var(--on-zest); display: grid; place-items: center; font-family: var(--mono); font-weight: 600; }
.guide li b { display: block; }
.guide li span { color: var(--mute); font-size: 15px; }
.foot-tools { display: flex; flex-wrap: wrap; gap: 8px 18px; width: 100%; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.foot-tools a { text-decoration: none; font-size: 13.5px; }
.foot-tools a:hover { color: var(--ink); }

/* Lien « Mes fichiers » dans la barre du haut */
.nav-files { display: inline-flex; align-items: center; gap: 7px; }
.nav-files svg { width: 18px; height: 18px; }
.nav-files .count { font-family: var(--mono); font-size: 11px; font-weight: 600; background: var(--sunk); border: 1px solid var(--line); border-radius: 99px; padding: 0 6px; min-width: 20px; text-align: center; }
.nav-files .count:empty { display: none; }

/* Grille d'outils avec filtres */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -14px 0 24px; }
.chips button { font: inherit; font-size: 14px; font-weight: 600; color: var(--mute); background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; cursor: pointer; }
.chips button:hover { color: var(--ink); border-color: var(--line-strong); }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tools .tool { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
.tools .tool small { margin-top: 4px; line-height: 1.45; }
.tools.compact .tool { flex-direction: row; align-items: center; padding: 16px 18px; }
.tool .new { margin-left: 6px; vertical-align: 2px; }

/* Options des outils */
.opt-in { font: inherit; font-size: 15px; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 10px 12px; width: 100%; }
.opt-in:focus { border-color: var(--ink); outline: none; }
.opt-hint { margin: -4px 0 0; font-size: 13px; color: var(--mute); }
.opt-row { display: flex; flex-direction: column; gap: 6px; }
.opt-row > label:first-child { font-size: 14px; font-weight: 650; }
.levels.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.levels.two .level { grid-template-columns: 22px minmax(0, 1fr); padding: 10px 12px; }
.check-row { display: flex; gap: 9px; align-items: center; font-size: 14px; cursor: pointer; }
.check-row input { width: 17px; height: 17px; accent-color: var(--ink); margin: 0; }

/* Ordre des fichiers (fusion, images en PDF) */
.order { position: absolute; top: 10px; left: 10px; z-index: 1; font-family: var(--mono); font-size: 12px; font-weight: 600; background: var(--ink); color: var(--bg); border-radius: 7px; padding: 2px 7px; }
.moves { display: flex; gap: 6px; }
.moves button { flex: 1; font: inherit; font-size: 13px; padding: 5px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.moves button:hover:not(:disabled) { border-color: var(--ink); }
.moves button:disabled { opacity: .35; cursor: default; }

/* Page « Mes fichiers » */
.acct { padding-block: 40px 0; display: flex; flex-direction: column; gap: 22px; }
.acct h1 { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(34px, 5vw, 52px); letter-spacing: -.035em; line-height: 1; }
.acct-lede { margin: -8px 0 0; color: var(--mute); max-width: 60ch; }
.acct-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat span { font-size: 13px; color: var(--mute); }
.stat b { font-family: var(--mono); font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat .btn { align-self: flex-start; margin-top: 4px; }
.acct-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; justify-content: space-between; }
.acct-bar h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.acct-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hrow { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.hrow .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sunk); display: grid; place-items: center; color: var(--mute); overflow: hidden; }
.hrow .ico svg { width: 22px; height: 22px; }
.hrow .ico img { width: 100%; height: 100%; object-fit: cover; }
.hrow .nm { font-weight: 650; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hrow .meta { font-size: 12.5px; color: var(--mute); font-variant-numeric: tabular-nums; }
.hrow .gain { font-family: var(--mono); font-size: 12px; font-weight: 600; background: var(--zest); color: var(--on-zest); border-radius: 7px; padding: 2px 7px; }
.hrow .gain:empty { display: none; }
.hrow .acts { display: flex; gap: 6px; }
.empty { background: var(--surface); border: 1.5px dashed var(--line-strong); border-radius: 20px; padding: 40px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty p { margin: 0; color: var(--mute); max-width: 46ch; }
.empty b { font-size: 18px; }
.privacy { display: flex; gap: 12px; align-items: flex-start; background: var(--sunk); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; font-size: 14px; color: var(--mute); }
.privacy svg { flex: none; width: 20px; height: 20px; color: var(--good); margin-top: 2px; }

@media (max-width: 760px) {
  .nav-files .lbl { display: none; }
  .acct-top { grid-template-columns: minmax(0, 1fr); }
  .hrow { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .hrow .acts { grid-column: 1 / -1; }
  .hrow .acts .btn { flex: 1; }
  .levels.two { grid-template-columns: minmax(0, 1fr); }
}
.tools .tool .tool-ico { flex: none; width: 42px; height: 42px; }
.levels:has(input[value="each"]:checked) + .opt-row { display: none; }
.stat #stPlan { font-family: var(--body); font-weight: 800; }
.popular { margin-top: 30px; text-align: center; }
.popular .kicker { margin-bottom: 12px; }
.pop-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pop-links a { text-decoration: none; font-size: 14px; font-weight: 600; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; }
.pop-links a:hover, .pop-links a[aria-current="page"] { border-color: var(--ink); }
