/* fileisgood — même habillage que pixisgood.com (repris de stockisgood) : filets fins, cases sans arrondi
   ni ombre, Geist 300 / 500 / 600 (Cabinet Grotesk jusqu’au 2026-11-14), logo en Bitcount, étiquettes en Geist Mono,
   bleu #3366ff seulement sur la navigation et au survol des boutons. Tout est calé à gauche. */

/* Geist et Geist Mono (Vercel, SIL Open Font License 1.1, texte dans fonts/Geist-OFL.txt) depuis le 2026-11-14 : remplacent Cabinet Grotesk et JetBrains Mono, comme sur pixisgood. */
@font-face { font-family: 'Geist'; src: url('fonts/Geist-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/GeistMono-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Bitcount'; src: url('fonts/bitcount-latin.woff2') format('woff2'); font-weight: 300 500; font-display: swap; }

html[data-theme=clair] {
  --bg: #eeeeee; --line: #d0d0d0; --ink: #141414; --mute: #6b6b66;
  --soft: #e8e8e8; --soft2: #e2e2dc; --hov2: #e4e4df; --text2: #3a3a3a; --text3: #555555; --off: #a0a09b;
  --on-ink: #ffffff; --accent: #3366ff; --accent-txt: #3366ff; --track: #cfcfc9;
  --champ: #ffffff; --err: #c0392b; --bon: #1b7a4b;
  color-scheme: light;
}
html[data-theme=sombre] {
  --bg: #161616; --line: #343434; --ink: #ffffff; --mute: #8c8c8c;
  --soft: #202020; --soft2: #282828; --hov2: #2a2a2a; --text2: #d0d0d0; --text3: #a8a8a8; --off: #777777;
  --on-ink: #000000; --accent: #3366ff; --accent-txt: #3366ff; --track: #3a3a3a;
  --champ: #161616; --err: #ff6b5e; --bon: #5fd39a;
  color-scheme: dark;
}
:root {
  --cond: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --haut: 60px; --fil: 34px; --panneau: 360px;
  --marge: max(clamp(20px, 4.5vw, 76px), calc((100vw - 1600px) / 2));
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 300 15px/1.45 var(--cond); }
button, input, textarea, select { font: inherit; color: inherit; }
b, strong, button, label, summary, .btn { font-weight: 600; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }
a { color: var(--accent-txt); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; flex: none; }

/* ---------- En-tête en cases ---------- */
.haut { position: sticky; top: 0; z-index: 30; height: var(--haut); display: flex; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; padding: 0 24px; border-right: 1px solid var(--line); text-decoration: none; }
.logo-txt { font-family: 'Bitcount', ui-monospace, monospace; font-size: 22px; line-height: 1; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.logo-txt .l { font-weight: 300; }
.logo-txt .m { font-weight: 600; }
.onglets { display: flex; }
.onglets a { display: flex; align-items: center; padding: 0 clamp(10px, 1vw, 22px); border-right: 1px solid var(--line); color: var(--text2); text-decoration: none; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; transition: box-shadow .15s, color .15s; }
.onglets a:hover:not(.on) { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent-txt); }
.onglets a.on { background: var(--ink); color: var(--on-ink); }
.prive { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; margin: 0; padding: 0 16px; border-right: 1px solid var(--line); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.prive span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.credit { display: inline-flex; align-items: center; padding: 0 18px; border-right: 1px solid var(--line); font-family: var(--cond); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); white-space: nowrap; }
.credit a { color: var(--ink); text-decoration: none; font-weight: 600; }
.credit a:hover { text-decoration: underline; }
.theme-sw { align-self: center; width: 28px; height: 26px; margin: 0 16px; padding: 0; border: 1px solid var(--line); background: none; color: var(--mute); cursor: pointer; }
.theme-sw:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Fil sous l'en-tête ---------- */
.fil { position: sticky; top: var(--haut); z-index: 20; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; min-height: var(--fil); padding: 4px 16px; background: var(--bg); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.fil h1 { margin: 0; font: inherit; font-weight: 600; letter-spacing: inherit; color: var(--ink); }
.fil-d { margin-left: auto; }

/* ---------- Panneau à gauche, scène à droite ---------- */
.outil { display: flex; align-items: flex-start; min-height: calc(100vh - var(--haut) - var(--fil)); }
.panneau { position: sticky; top: calc(var(--haut) + var(--fil)); flex: 0 0 var(--panneau); width: var(--panneau); max-height: calc(100vh - var(--haut) - var(--fil)); overflow-y: auto; border-right: 1px solid var(--line); background: var(--bg); }
.scene { flex: 1; min-width: 0; }
.scene-barre { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; padding: 4px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.scene-barre em { font-style: normal; margin-left: 6px; padding: 1px 6px; background: var(--ink); color: var(--on-ink); }

details.sec { border-bottom: 1px solid var(--line); }
details.sec > summary { display: flex; align-items: center; gap: 8px; min-height: 49px; padding: 0 22px; /* mêmes marges et hauteur que pixisgood */ cursor: pointer; list-style: none; font-size: 15px; }
details.sec > summary { background: linear-gradient(180deg, var(--bg) 0%, var(--soft2) 100%); } /* section fermée : léger dégradé, comme pixisgood */
details.sec > summary::-webkit-details-marker { display: none; }
details.sec > summary::before { content: ''; flex: 0 0 auto; width: 4px; height: 20px; background: var(--accent-txt); }
details.sec > summary::after { content: '+'; margin-left: auto; color: var(--mute); font-weight: 300; font-size: 17px; }
details.sec[open] > summary::after { content: '–'; }
details.sec > summary:hover { background: var(--soft); }
details.sec[open] > summary { background: linear-gradient(180deg, var(--soft) 0%, var(--hov2) 100%); border-bottom: 1px solid var(--line); }
details.sec > summary > span { flex: 1; min-width: 0; }
.sec-c { padding: 14px 22px 16px; }
.et { display: block; margin: 14px 0 6px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.sec-c > .et:first-child { margin-top: 0; }
.panneau-pied { display: grid; gap: 8px; padding: 16px 22px 24px; }
.panneau-pied .btn { width: 100%; height: 44px; }

/* ---------- Boutons, choix, champs (comme pixisgood) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 0; background: var(--bg); color: var(--ink); font-size: 14px; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn.plein { background: var(--ink); color: var(--on-ink); }
.btn:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.petit { width: 34px; height: 34px; padding: 0; border-color: var(--line); }
.lien { border: 0; background: none; padding: 0; color: var(--accent-txt); cursor: pointer; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.lien:hover { text-decoration: underline; }
.seg { display: flex; flex-wrap: wrap; gap: 1px; margin: 6px 0; padding: 1px; background: var(--line); }
.seg button { flex: 1 1 auto; min-height: 34px; padding: 0 8px; border: 0; border-radius: 0; background: var(--bg); color: var(--ink); cursor: pointer; font-size: 13px; white-space: nowrap; }
.seg-3 button { flex: 1 0 30%; }
.seg button:not(.on):hover { background: var(--soft2); }
.seg button.on { background: var(--ink); color: var(--on-ink); }
.ligne { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.ligne label { flex: 0 0 82px; font-size: 13px; color: var(--text2); }
.ligne output { font-family: var(--mono); font-size: 11px; padding: 3px 6px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); min-width: 42px; text-align: center; }
.ligne > span { font-family: var(--mono); font-size: 11px; color: var(--mute); white-space: nowrap; }
input[type=text], input[type=number], textarea { width: 100%; min-width: 0; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 0; background: var(--champ); }
input[type=text]:focus, input[type=number]:focus, textarea:focus { outline: none; border-color: var(--ink); }
input::placeholder { color: var(--off); }
textarea { display: block; height: auto; padding: 10px; resize: vertical; font-family: var(--mono); font-size: 12px; line-height: 1.5; }
.aide { margin: 6px 0 0; font-size: 13px; color: var(--text3); }
input[type=range] { -webkit-appearance: none; appearance: none; height: 18px; background: none; flex: 1; min-width: 60px; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--ink) 0 var(--v, 50%), var(--track) var(--v, 50%) 100%); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: var(--ink); border: 1px solid var(--on-ink); }
input[type=range]::-moz-range-track { height: 4px; background: var(--track); }
input[type=range]::-moz-range-progress { height: 4px; background: var(--ink); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 1px solid var(--on-ink); }
input[type=range]:disabled { opacity: .35; }
.apercu { margin: 12px 0 0; padding: 8px 10px; border: 1px solid var(--line); background: var(--champ); font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }
.apercu .et { margin: 0 0 2px; }

.depot { position: relative; display: flex; align-items: center; min-height: 110px; padding: 14px; border: 1px dashed var(--off); background: var(--champ); cursor: pointer; font-size: 14px; }
.depot small { font-family: var(--mono); font-size: 10px; line-height: 1.7; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.depot input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.depot:hover, body.glisse .depot { border-color: var(--accent); border-style: solid; }

/* ---------- Chiffres ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.kpi { min-width: 0; padding: 14px 16px 12px; border-right: 1px solid var(--line); }
.kpi:last-child { border-right: 0; }
.kpi-l, .kpi-f { display: block; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-n { margin: 6px 0 4px; font-size: 40px; line-height: 1; font-weight: 300; letter-spacing: -.01em; white-space: nowrap; }
.kpi-n small { font-size: .45em; margin-left: .25em; color: var(--mute); }
.kpi.hot .kpi-n { font-weight: 600; color: var(--accent-txt); }

/* ---------- Liste des images ---------- */
.vide { margin: 0; padding: 40px 16px; color: var(--text3); }
.liste { list-style: none; margin: 0; padding: 0; }
.scene-pied { padding: 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.scene-pied .btn { width: 100%; height: 44px; font-size: 15px; }
.img { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: 10px 16px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.img:hover { background: var(--soft); }
.vig { position: relative; width: 64px; height: 64px; padding: 0; border: 1px solid var(--line); border-radius: 0; overflow: hidden; background: repeating-conic-gradient(rgba(128, 128, 128, .2) 0% 25%, transparent 0% 50%) 50% / 12px 12px; }
.vig img, .vig canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.vig .vig-ph { position: absolute; inset: 0; }
.vig .ligne-avant, .vig .ligne-apres { position: absolute; inset: 0; }
.vig .ligne-apres { clip-path: inset(0 0 0 50%); }
.img-o { min-width: 0; }
.img-o b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.img-o span { font-family: var(--mono); font-size: 11px; color: var(--mute); }
.img-n { display: grid; gap: 6px; min-width: 0; }
.champ-nom { display: flex; align-items: center; border: 1px solid var(--line); background: var(--champ); }
.champ-nom:focus-within { border-color: var(--ink); }
.champ-nom input { border: 0; background: none; flex: 1; height: 32px; font-family: var(--mono); font-size: 12px; }
.champ-nom .ext { padding-right: 10px; color: var(--mute); font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.img-n > input { font-size: 14px; }
.img-r { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; min-width: 150px; }
.img-p { margin-right: 4px; font-family: var(--mono); font-size: 11px; color: var(--mute); line-height: 1.4; }
.img-p b { display: block; font-family: var(--cond); font-size: 17px; color: var(--ink); }
.badge { display: inline-block; padding: 2px 6px; border: 1px solid var(--line); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; color: var(--mute); }
.b-cours { background: var(--accent); border-color: var(--accent); color: #fff; }
.b-gain { border-color: var(--bon); color: var(--bon); }
.b-perte, .b-erreur { border-color: var(--err); color: var(--err); }
.b-erreur { white-space: normal; text-transform: none; letter-spacing: 0; font-size: 11px; }

.avance { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--mute); }
.pbar { flex: 1; height: 4px; background: var(--track); }
.pbar i { display: block; width: 0; height: 100%; background: var(--accent); transition: width .25s ease; }

.code .aide { margin: 0; padding: 12px 16px 0; }
.code textarea { width: calc(100% - 32px); margin: 10px 16px 16px; }
.pied { padding: 20px 16px 40px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.pied a { color: inherit; }

/* ---------- Onglet PDF : grille de pages, résultat ---------- */
.seg-2 button { flex: 1 0 40%; }
.pages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); border-bottom: 1px solid var(--line); }
.pg { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: -1px; }
.pg-v { display: grid; place-items: center; aspect-ratio: 1; padding: 14px; background: var(--soft); overflow: hidden; }
.pg-v canvas { max-width: 100%; max-height: 100%; background: #fff; border: 1px solid var(--line); transition: transform .2s; }
.pg-l { display: flex; align-items: baseline; gap: 8px; padding: 8px 10px 6px; min-width: 0; font-family: var(--mono); font-size: 11px; color: var(--mute); }
.pg-l b { color: var(--ink); }
.pg-l span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-b { display: flex; border-top: 1px solid var(--line); }
.pg-b button { flex: 1; display: grid; place-items: center; height: 34px; padding: 0; border: 0; border-right: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; }
.pg-b button:last-child { border-right: 0; }
.pg-b button:hover:not(:disabled) { background: var(--accent); color: #fff; }
.pg-b button:disabled { color: var(--off); cursor: default; }
.res-note { margin: 0; padding: 12px 16px 0; }
.res-l { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
#resultat { border-bottom: 1px solid var(--ink); background: var(--champ); }

/* ---------- Onglet Polices ---------- */
.essai { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.essai .et { margin: 0; flex: none; }
.pol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pol:hover { background: var(--soft); }
.pol-e { grid-column: 1 / -1; font-size: 30px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 38px; }
.pol-n { min-width: 0; font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }
.pol-n .et { margin: 0 0 2px; }
.pol .img-r { justify-content: flex-end; }

/* ---------- Fenêtre avant / après, message ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .7); }
.vm-box { width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--ink); overflow: hidden; }
.vm-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--line); }
.vm-h div { min-width: 0; font-family: var(--mono); font-size: 11px; }
.vm-h b { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vm-h span { color: var(--mute); }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cmp { --p: 50%; position: relative; align-self: flex-start; width: fit-content; max-width: 100%; line-height: 0; background: repeating-conic-gradient(rgba(128, 128, 128, .2) 0% 25%, transparent 0% 50%) 50% / 16px 16px; overflow: hidden; }
.cmp canvas, .cmp img { display: block; max-width: 100%; max-height: calc(100vh - 110px); width: auto; height: auto; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: inset(0 0 0 var(--p)); }
.cmp-trait { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none; }
.cmp-trait::after { content: ''; position: absolute; top: 50%; left: 50%; width: 14px; height: 34px; margin: -17px -7px; background: var(--accent); }
.cmp-e { position: absolute; top: 10px; padding: 3px 7px; background: #141414; color: #fff; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; line-height: 1.5; pointer-events: none; }
.cmp-e.av { left: 10px; } .cmp-e.ap { right: 10px; }
.cmp input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.toast { position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: calc(100vw - 32px); padding: 10px 14px; background: var(--ink); color: var(--on-ink); font-family: var(--mono); font-size: 12px; }

/* ---------- Écrans moyens et téléphone ---------- */
@media (max-width: 1250px) {
  .img { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .img-n { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 860px) {
  .logo { padding: 0 14px; flex: 0 0 auto; }
  .onglets { flex: 1; }
  .prive { display: none; }
  .credit { display: none; }
  .fil { position: static; }
  .theme-sw { align-self: center; }
  .theme-sw { margin: 0 10px; }
  .fil-d { display: none; }
  .outil { display: block; }
  .panneau { position: static; width: 100%; max-height: none; border-right: 0; }
  .panneau-pied { border-bottom: 1px solid var(--line); padding-bottom: 16px; justify-items: start; }
  .panneau-pied .btn { width: auto; min-width: 220px; }   /* boutons pas en pleine largeur sur téléphone */
  .avance { width: 100%; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi:nth-child(2) { border-right: 0; }
  .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .kpi-n { font-size: 30px; }
  .img { grid-template-columns: 56px minmax(0, 1fr); padding: 12px; }
  .vig { width: 56px; height: 56px; }
  .img-r { grid-column: 1 / -1; justify-content: flex-start; min-width: 0; }
  .pol { grid-template-columns: minmax(0, 1fr); }
  .pol .img-r { justify-content: flex-start; }
  .pol-e { font-size: 24px; }
  .pages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .essai { flex-direction: column; align-items: flex-start; gap: 4px; }
  .res-l { flex-direction: column; align-items: flex-start; gap: 8px; }
  input[type=text], input[type=number], textarea, .champ-nom input { font-size: 16px; } /* évite le zoom automatique de l'iPhone */
}
/* En-tête sur une seule ligne à toutes les tailles, hauteur de pixisgood : 60 px, puis 54 px sous 760 px */
@media (max-width: 760px) {
  :root { --haut: 54px; }
  .logo { padding: 0 12px; }
  .onglets a { padding: 0 10px; font-size: 12px; letter-spacing: .02em; }
  .lang-sw a { padding: 0 10px; }
  .theme-sw { margin: 0 10px; }
}
@media (max-width: 440px) {
  .logo-txt { font-size: 17px; }
  .logo { padding: 0 10px; }
  .onglets a { padding: 0 7px; font-size: 11px; letter-spacing: 0; }
  .lang-sw { margin-right: 0; }
  .lang-sw a { padding: 0 8px; }
  .theme-sw { margin: 0 8px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* =====================================================================
   Page d'accueil — même déroulé que l'accueil de pixisgood : grande image, trois atouts sur fond d'accent,
   bandeau sombre aux trois grands mots, bloc d'outils en grille à filets, questions fréquentes.
   ===================================================================== */
.ac-wrap { max-width: none; margin: 0; padding: 0 var(--marge); }
.ac-kick { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-txt); }
.ac-hero h1, .ac-bloc h2, .ac-faq h2 { font-weight: 500; letter-spacing: -.03em; line-height: .98; margin: 0; }
.ac-bloc h2 strong, .ac-faq h2 strong { font-weight: 700; }

.ac-hero { position: relative; min-height: min(92vh, 960px); display: flex; align-items: flex-end; overflow: hidden; background: #f3f3f3; color: #0d0d0d; border-bottom: 1px solid var(--line); }
.ac-cmp { position: absolute; inset: 0; }
.ac-cmp .ac-ill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.ac-in { position: relative; z-index: 3; padding-top: 120px; padding-bottom: clamp(40px, 7vh, 84px); width: 100%; }
.ac-hero h1 { font-size: clamp(30px, 3.9vw, 66px); max-width: none; color: #0d0d0d; white-space: nowrap; }
.ac-hero h1 em { font-style: normal; color: var(--accent); }
.ac-hero p { max-width: 46ch; font-size: clamp(17px, 1.55vw, 22px); color: #2a2a2a; margin: 26px 0 30px; }
.ac-hero .ac-in { padding-right: var(--marge) !important; }
@media (min-width: 761px) { .ac-hero .ac-in { padding-left: calc(57% + 8px) !important; } }
/* Haut de l'accueil : TOUT le texte en blanc, sans aucun voile ni dégradé sur ordinateur et tablette (2026-11-13 nuit, demande du propriétaire ;
   texte noir essayé : illisible sur le centre sombre de l'anneau). Boutons clairs, comme sur téléphone. */
.ac-hero { background: #111; color: #fff; }
.ac-hero h1, .ac-hero h1 em { color: #fff; }
.ac-hero h1 .maj { font-weight: 700; } /* « Convertissez » en gras (Geist Bold), sans capitales (demande du propriétaire) */
/* « Convertissez » agrandi pour faire exactement la largeur de « vos fichiers en ligne » (rapport mesuré dans le navigateur puis ajusté à l'œil sur le bord des lettres) ;
   en anglais « Convert » est plus court que « your files online » (337 / 190 px). Si le texte du titre change, re-mesurer ces deux rapports. */
.ac-hero h1 .maj { font-size: 1.367em; }
html[lang="en"] .ac-hero h1 .maj { font-size: 1.722em; }
.ac-hero p { color: #ececec; }
.ac-filtres { position: absolute; width: 0; height: 0; overflow: hidden; }
.ac-hero h1, .ac-hero p, .ac-hero .ac-btns .btn:not(.plein), .ac-hero .ac-reprendre-l { filter: url(#ombre-grain); } /* ombre noire granuleuse sous le texte, pas de dégradé sur l'image */
/* boutons et lien « Reprendre » : voir leurs règles juste en dessous */
.ac-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.ac-btns .btn { height: 46px; gap: 14px; padding: 0 20px; font-size: 15px; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.ac-btns .btn.plein { background: #fff; color: #0d0d0d; border-color: #fff; }
.ac-reprendre { margin: 18px 0 0; }
.ac-reprendre-l { display: inline-flex; flex-direction: column; gap: 2px; text-decoration: none; }
.ac-reprendre-k { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .85); } /* blanc : posé sur l'image du haut */
.ac-reprendre-t { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 2px; }
.ac-reprendre-l:hover .ac-reprendre-t { color: var(--accent); border-color: var(--accent); }

.ac-rea { background: var(--accent); color: #fff; }
.ac-rea .ac-wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.ac-c { display: flex; gap: 18px; align-items: center; padding: clamp(20px, 3vw, 34px) clamp(14px, 2vw, 28px); border-right: 1px solid rgba(255, 255, 255, .3); }
.ac-c:first-child { padding-left: 0; } .ac-c:last-child { border-right: 0; }
.ac-c svg { width: 46px; height: 46px; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.ac-c b { display: block; font-size: clamp(20px, 2.2vw, 30px); font-weight: 300; letter-spacing: -.02em; line-height: 1.05; }
.ac-c span { font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: .85; }

/* Bandeaux : mêmes dimensions que l'accueil de pixisgood (2026-11-13). Image : <picture> écrit par image_bande() dans construire.py */
.ac-band { position: relative; min-height: clamp(360px, 62vh, 640px); display: flex; align-items: center; overflow: hidden; background: #0c0c0c; color: #fff; border-top: 1px solid var(--line); }
.ac-band > picture { position: absolute; inset: 0; }
.ac-band > img, .ac-band > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.ac-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 10, .8), rgba(10, 10, 10, .1) 70%); }
.ac-band .ac-in { position: relative; z-index: 1; width: 100%; padding: 56px clamp(18px, 3vw, 40px); }
.ac-mots { font-weight: 500; font-size: clamp(46px, 9.5vw, 150px); line-height: .94; letter-spacing: -.04em; text-transform: uppercase; }
.ac-mots span { display: block; }
.ac-mots span:nth-child(2) { color: transparent; -webkit-text-stroke: 1.5px #fff; }
.ac-mots span:nth-child(3) { color: var(--accent); } /* un seul bleu partout (#3366ff), comme pixisgood */
.ac-band .ac-mots span:nth-child(3) { color: #fff; } /* « Télécharger » et « Au bon format » en blanc (demande du propriétaire, 2026-11-13) */
.ac-band p { margin: 22px 0 0; font-size: clamp(16px, 1.4vw, 20px); color: #e8e8e8; }

.ac-bloc, .ac-faq { padding: clamp(40px, 6vw, 84px) 0 0; scroll-margin-top: 56px; }
.ac-faq { padding-bottom: clamp(56px, 8vw, 112px); border-top: 1px solid var(--line); margin-top: clamp(56px, 8vw, 112px); }
.ac-bloc { padding-bottom: clamp(56px, 8vw, 112px); }
.ac-bloc#formats { padding-bottom: 0; }
.ac-tete { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; margin-bottom: clamp(28px, 4vw, 52px); }
.ac-bloc h2 { font-size: clamp(34px, 5.4vw, 84px); margin-top: 14px; }
.ac-tete p { margin: 0; color: var(--text2); font-size: clamp(16px, 1.4vw, 20px); }
.ac-grille { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ac-o { position: relative; display: flex; flex-direction: column; min-height: clamp(300px, 30vw, 400px); padding: clamp(22px, 2.4vw, 34px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: background .2s; }
.ac-ic { display: block; width: clamp(72px, 7vw, 112px); height: clamp(72px, 7vw, 112px); margin-bottom: auto; color: var(--ink); transition: color .2s, transform .3s; }
.ac-ic svg { width: 100%; height: 100%; stroke-width: .9; stroke-linecap: round; stroke-linejoin: round; }
.ac-aa { font-weight: 300; font-size: clamp(64px, 6.4vw, 104px); line-height: 1; letter-spacing: -.04em; width: auto; }
.ac-n { position: absolute; right: clamp(22px, 2.4vw, 34px); top: clamp(22px, 2.4vw, 34px); font: 500 12px var(--mono); color: var(--mute); letter-spacing: .08em; }
.ac-o h3 { font-size: clamp(26px, 2.5vw, 38px); font-weight: 600; line-height: 1; margin: 30px 0 0; }
.pxg { font-family: 'Bitcount', ui-monospace, monospace; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.ac-s { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-txt); margin-top: 10px; }
.ac-o p { margin: 12px 0 0; color: var(--text2); font-size: 15px; }
.ac-go { margin-top: 18px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); transition: color .2s; }
a.ac-o:hover { background: var(--soft2); }
a.ac-o:hover .ac-ic { color: var(--accent-txt); transform: translateY(-4px); }
a.ac-o:hover .ac-go { color: var(--accent-txt); }
a.ac-o:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.ac-guide-etapes { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ac-guide-e1 { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1180px) { .ac-grille, .ac-guide-e1 { grid-template-columns: repeat(2, 1fr); } } /* 4 outils depuis Scan image (2026-11-14) : 2 × 2 sur tablette */
.ac-guide-op { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: clamp(140px, 14vw, 180px); padding: clamp(20px, 2.2vw, 28px); border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background .2s; }
.ac-guide-op:hover { background: var(--soft2); }
.ac-guide-op:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.ac-guide-op .ac-ic { width: clamp(38px, 4vw, 54px); height: clamp(38px, 4vw, 54px); margin: 0; }
.ac-guide-op .ac-aa { width: auto; font-size: clamp(34px, 3.6vw, 48px); } /* « Aa » à la taille des petites icônes du guide (il débordait sur « Une police ») */
.ac-guide-op span:last-child { font-size: 18px; font-weight: 600; }
.ac-guide-e2 { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); }
.ac-guide-retour { display: inline-block; margin: 0 0 18px; padding: 0; border: 0; background: none; color: var(--mute); font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.ac-guide-retour:hover { color: var(--accent-txt); }
.ac-guide-q { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.ac-guide-rep { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 16px; }
.ac-guide-rep:hover { color: var(--accent-txt); }
.ac-guide-rep span:last-child { font-family: var(--mono); color: var(--mute); flex: none; }
.ac-guide-rep:hover span:last-child { color: var(--accent-txt); }

.ac-table { border-top: 1px solid var(--line); }
.ac-l { display: grid; grid-template-columns: minmax(0, 5fr) 40px minmax(0, 4fr) minmax(0, 5fr); gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: clamp(17px, 1.6vw, 23px); transition: background .2s; }
.ac-l:hover { background: var(--soft2); }
.ac-l:hover .ac-fl { color: var(--accent-txt); transform: translateX(4px); }
.ac-fl { font-family: var(--mono); color: var(--mute); transition: color .2s, transform .2s; }
.ac-vers { font-weight: 600; }
.ac-plus { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }

.ac-cadre { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 80px); }
.ac-faq h2 { font-size: clamp(32px, 4.4vw, 68px); margin-top: 12px; }
.ac-faq details { border-top: 1px solid var(--line); }
.ac-faq details:last-child { border-bottom: 1px solid var(--line); }
.ac-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-size: clamp(19px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.01em; }
.ac-faq summary::-webkit-details-marker { display: none; }
.ac-faq summary::after { content: "+"; font: 500 24px var(--mono); color: var(--accent-txt); flex: none; }
.ac-faq details[open] summary::after { content: "–"; }
.ac-faq summary:hover { color: var(--accent-txt); }
.ac-faq details p { color: var(--text2); font-size: 16px; margin: 0; padding: 0 0 24px; max-width: 70ch; }

.ac-pied { border-top: 1px solid var(--line); padding: 28px 0 40px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.ac-pied .ac-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.ac-pied .logo-txt { font-size: 18px; }
.ac-pied a { color: var(--ink); }

@media (max-width: 980px) {
  .ac-grille { grid-template-columns: 1fr; }
  .ac-o { min-height: 240px; }
  .ac-tete, .ac-cadre { grid-template-columns: 1fr; }
  .ac-rea .ac-wrap { grid-template-columns: 1fr; }
  .ac-c { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-left: 0; } .ac-c:last-child { border-bottom: 0; }
  .ac-l { grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); }
  .ac-plus { grid-column: 1 / -1; }
  .ac-guide-e1 { grid-template-columns: 1fr; }
  .ac-guide-op { min-height: auto; }
}
@media (max-width: 760px) {
  .ac-hero { min-height: calc(100svh - var(--haut)); align-items: flex-end; color: #fff; background: #111; }
  .ac-cmp .ac-ill { object-position: 8% 50%; } /* téléphone : garder l'anneau arc-en-ciel, à gauche de l'image */
  .ac-cmp::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .78) 45%, rgba(0, 0, 0, 0) 72%), linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 60%); }
  .ac-in, .ac-hero .ac-in { padding-top: 0; padding-bottom: 28px; padding-left: var(--marge) !important; padding-right: var(--marge) !important; }
  .ac-hero h1 { color: #fff; font-size: 9vw; max-width: none; white-space: normal; }
  .ac-hero p { color: #ececec; font-size: 15px; margin: 14px 0 18px; }
  .ac-btns .btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
  .ac-btns .btn.plein { background: #fff; color: #0d0d0d; border-color: #fff; }
}
@media (max-width: 560px) {
  .ac-l { grid-template-columns: 1fr; gap: 4px; }
  .ac-fl { display: none; }
  .ac-vers::before { content: "→ "; font-family: var(--mono); color: var(--accent-txt); }
}

/* =====================================================================
   Pages de contenu (conversions, pas à pas, conseils, à propos, mentions légales) : même langage
   visuel que la page d'accueil (classes .ac-*), filets fins, Geist / Geist Mono.
   ===================================================================== */
.lang-sw { display: flex; align-items: center; margin-right: 4px; }
.lang-sw a { display: flex; align-items: center; padding: 0 12px; height: 100%; color: var(--mute); text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; border-left: 1px solid var(--line); }
.lang-sw a:hover { color: var(--ink); background: var(--soft); }

.site-foot { border-top: 1px solid var(--line); background: var(--bg); }
.site-foot .ac-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 22px clamp(18px, 3vw, 40px); }
.site-foot .foot-home { text-decoration: none; color: var(--ink); }
.site-foot .foot-home .logo-txt { font-size: 18px; }
.site-foot p { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--mute); }
.site-foot p a { color: var(--ink); }
.site-foot p a:hover { color: var(--accent-txt); }

.seo { border-top: 1px solid var(--line); background: var(--bg); }
.seo-in { max-width: 860px; margin: 0 auto; padding: 36px clamp(18px, 3vw, 40px) 64px; }
.crumbs { margin: 0 0 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--mute); text-transform: uppercase; }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--accent-txt); }
.seo-in h1 { margin: 0 0 16px; font-size: clamp(30px, 4.6vw, 48px); font-weight: 500; letter-spacing: -.02em; line-height: 1.05; }
.seo-in .lead { margin: 0 0 8px; font-size: 19px; line-height: 1.5; color: var(--text2); }
.seo-in h2 { margin: 42px 0 14px; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.seo-in p { font-size: 16px; line-height: 1.6; color: var(--text2); }
.seo-in p a, .seo-in li a { color: var(--accent-txt); }
.seo-in code { font-family: var(--mono); font-size: .92em; background: var(--soft); padding: 1px 5px; }

.conv-steps { counter-reset: pas; list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.conv-steps li { counter-increment: pas; position: relative; background: var(--bg); padding: 16px 20px 16px 58px; font-size: 16px; line-height: 1.5; color: var(--text2); }
.conv-steps li::before { content: counter(pas); position: absolute; left: 20px; top: 16px; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent-txt); }

.faqlist details { border-top: 1px solid var(--line); }
.faqlist details:last-child { border-bottom: 1px solid var(--line); }
.faqlist summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-size: 17px; font-weight: 600; }
.faqlist summary::-webkit-details-marker { display: none; }
.faqlist summary::after { content: "+"; font: 500 20px var(--mono); color: var(--accent-txt); flex: none; }
.faqlist details[open] summary::after { content: "–"; }
.faqlist summary:hover { color: var(--accent-txt); }
.faqlist details p { margin: 0; padding: 0 0 20px; }

.conv-other { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.conv-other h2 { margin-top: 0; }
.conv-other ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
.conv-other li a { display: block; padding: 7px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); font-size: 15px; }
.conv-other li a:hover { color: var(--accent-txt); }
.conv-other > p a { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-txt); }

.pap-g { margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.pap-g:last-child { border-bottom: 0; }
.pap-g h2 a { color: var(--ink); text-decoration: none; }
.pap-g h2 a:hover { color: var(--accent-txt); }
.pap-aussi { margin: 28px 0 8px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.pap-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
.pap-liste a { display: block; padding: 6px 0; color: var(--accent-txt); text-decoration: none; font-size: 15px; }
.pap-liste a:hover { text-decoration: underline; }

.guide-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.guide-cards a { display: block; background: var(--bg); padding: 24px 26px; text-decoration: none; color: var(--ink); }
.guide-cards a:hover { background: var(--soft); }
.guide-cards .n { display: block; font-family: var(--mono); font-size: 12px; color: var(--mute); margin-bottom: 6px; }
.guide-cards b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.guide-cards p { margin: 10px 0 0; }
.guide-cards .go { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-txt); }

@media (max-width: 760px) {
  .conv-other ul, .pap-liste { grid-template-columns: 1fr; }
  .lang-sw a { padding: 0 10px; }
}

/* =====================================================================
   Nouveautés 2026-11-13 (soir) : réseaux sociaux, aperçu en direct, informations EXIF / carte.
   ===================================================================== */
#tailles.grise { opacity: .45; pointer-events: none; }

.lien-info { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 0; border: 0; background: none; color: var(--mute); cursor: pointer; font: inherit; font-size: 11px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em; vertical-align: middle; }
.lien-info svg { width: 13px; height: 13px; }
.lien-info:hover { color: var(--accent-txt); }

.chips-reseaux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 6px 0; }
.chip-reseau { display: block; text-align: left; padding: 10px 12px; border: 0; background: var(--bg); color: var(--ink); cursor: pointer; font: inherit; }
.chip-reseau:hover { background: var(--soft); }
.chip-reseau.on { background: var(--ink); color: var(--on-ink); }
.chip-reseau b { display: block; font-size: 13px; font-weight: 600; }
.chip-reseau small { display: block; margin-top: 2px; font-family: var(--mono); font-size: 11px; color: var(--mute); }
.chip-reseau.on small { color: inherit; opacity: .7; }

.apercu-direct { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.apercu-direct .ad-info { font-family: var(--mono); font-size: 11px; color: var(--mute); text-transform: none; letter-spacing: 0; }
.cmp-mini { width: calc(100% - 32px); max-width: none; margin: 0 16px; }
.cmp-mini canvas { width: 100%; max-width: none; max-height: none; height: auto; }
.cmp-mini img { max-height: none; }

.vm-info .info-c { padding: 16px 20px 20px; overflow-y: auto; }
.info-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 14px; }
.info-dl dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--mute); white-space: nowrap; align-self: baseline; }
.info-dl dd { margin: 0; font-size: 14px; }
.info-carte { height: 220px; margin: 10px 0; border: 1px solid var(--line); background: var(--soft); }
.info-carte .leaflet-tile-pane { filter: grayscale(.15); }

@media (max-width: 760px) {
  .chips-reseaux { grid-template-columns: 1fr; }
  .img-o { display: block; }
  .lien-info { margin-left: 0; margin-top: 4px; }
}

/* =========================================================================
   Pages d'outil en 3 colonnes, comme les ateliers de pixisgood (2026-11-14) :
   réglages à gauche et résultat à droite FIXES, seul le centre défile (aperçu, liste,
   puis le texte « Comment ça marche » et le pied de page, décalés par des marges).
   Sous 1180 px, la colonne de droite passe sous la liste ; sous 860 px, tout s'empile.
   ========================================================================= */
:root { --sortie: 300px; }

/* Facile / Manuel : deux pastilles avec l'interrupteur ON / OFF de pixisgood */
.niveaux { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.niv-btn { display: inline-flex; align-items: center; gap: 9px; padding: 3px 16px 3px 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--mute); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.niv-btn.on { border-color: var(--accent); color: var(--ink); }
.niv-btn:not(.on):hover { border-color: var(--mute); color: var(--ink); }
.toggle { display: inline-flex; pointer-events: none; }
.toggle i { position: relative; width: 50px; height: 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-style: normal; }
.toggle i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--mute); transition: transform .15s; }
.toggle i::before { content: 'OFF'; position: absolute; top: 0; bottom: 0; right: 7px; display: flex; align-items: center; font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: .06em; color: var(--mute); }
.niv-btn.on .toggle i { background: var(--accent); border-color: var(--accent); }
.niv-btn.on .toggle i::after { background: #000; transform: translateX(28px); }
.niv-btn.on .toggle i::before { content: 'ON'; right: auto; left: 8px; color: #fff; }
.outil[data-niveau="facile"] .manuel, .outil[data-niveau="manuel"] .facile { display: none !important; }
.outil[data-niveau="facile"]:not(.avec-noms) .img-n { display: none; }   /* pas de renommage ni de texte alternatif en Facile */

/* Grandes cartes avec icône (« Pour quoi faire ? », « Ce que vous voulez obtenir ») */
.cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 1px; background: var(--line); }
.carte { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 86px; padding: 12px; border: 0; border-radius: 0; background: var(--bg); color: var(--ink); text-align: left; cursor: pointer; }
.carte svg { width: 22px; height: 22px; stroke-width: 1.4; }
.carte b { font-size: 14px; line-height: 1.2; }
.carte small { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.carte-large { grid-column: 1 / -1; flex-direction: row; align-items: center; min-height: 52px; gap: 10px; }
.carte-large small { margin-left: auto; text-align: right; }
.carte:hover:not(.on) { background: var(--soft2); }
.carte.on { background: var(--ink); color: var(--on-ink); }
.carte.on small { color: var(--off); }
.resume { margin: 10px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: .02em; color: var(--text3); }

.side-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 14px 22px 20px; }

/* Colonne de droite : résultat */
.sortie { background: var(--bg); }
.sortie-actions { display: grid; gap: 10px; padding: 16px; border-bottom: 1px solid var(--line); }
.sortie-actions .btn { width: 100%; height: 46px; font-size: 15px; }
.sortie-actions .aide { margin: 0; }
.sortie #resultat { border-bottom: 1px solid var(--line); }
.sortie .res-l { flex-direction: column; align-items: flex-start; gap: 8px; }
.niv-aide { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 0 0 8px; }
.niv-aide > div { padding: 14px 16px; border: 1px solid var(--line); }
.niv-aide p { margin: 4px 0 0; }

@media (min-width: 861px) {
  .page-outil .fil { height: var(--fil); flex-wrap: nowrap; overflow: hidden; }
  .page-outil .fil h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .page-outil .panneau { position: fixed; top: calc(var(--haut) + var(--fil)); bottom: 0; left: 0; z-index: 10; max-height: none; }
  .page-outil .outil { display: block; margin-left: var(--panneau); }
  .page-outil .seo, .page-outil .site-foot { margin-left: var(--panneau); }
  .page-outil .sortie { border-top: 1px solid var(--line); }
}
@media (min-width: 1181px) {
  .page-outil .outil { margin-right: var(--sortie); }
  .page-outil .seo, .page-outil .site-foot { margin-right: var(--sortie); }
  .page-outil .sortie { position: fixed; top: calc(var(--haut) + var(--fil)); bottom: 0; right: 0; z-index: 10; width: var(--sortie); overflow-y: auto; border-top: 0; border-left: 1px solid var(--line); }
  .sortie .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sortie .kpi:nth-child(2) { border-right: 0; }
  .sortie .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .sortie .kpi-n { font-size: 30px; }
  .sortie .code textarea { font-size: 11px; }
}
@media (max-width: 860px) {
  .sortie { border-top: 1px solid var(--line); }
  .sortie-actions { justify-items: start; }
  .sortie-actions .btn, .sortie-actions #scene-pied { width: auto; min-width: 220px; }   /* boutons pas en pleine largeur sur téléphone */
  .sortie-actions .avance { width: 100%; }
}

/* =========================================================================
   Onglet Scan image (2026-11-14)
   ========================================================================= */
.sc-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sc-liste li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; background: var(--bg); font-size: 13px; }
.sc-liste svg { width: 18px; height: 18px; stroke-width: 1.4; }
.sc-vues { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.sc-vues .seg { margin: 0; flex: 1 1 360px; }
.sc-opa { margin: 0; flex: 0 1 260px; }
.sc-opa label { flex-basis: 50px; }
.sc-cadre { position: relative; width: fit-content; max-width: calc(100% - 32px); margin: 16px; line-height: 0; background: repeating-conic-gradient(rgba(128, 128, 128, .2) 0% 25%, transparent 0% 50%) 50% / 16px 16px; }
.sc-cadre canvas { display: block; max-width: 100%; max-height: 78vh; width: auto; height: auto; }
#sc-image { min-width: min(100%, 520px); }
#sc-calque { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; pointer-events: none; transition: opacity .15s; }
.sc-legende { margin: 0; padding: 0 16px 16px; }
.sc-bloc { border-top: 1px solid var(--line); }
.sc-c { padding: 14px 16px 18px; }
.sc-c > .aide:first-child { margin-top: 0; }
.sc-dl { display: grid; grid-template-columns: minmax(110px, max-content) minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: 14px; }
.sc-dl dt { color: var(--mute); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.sc-dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.sc-dl-meta { font-size: 13px; padding: 10px 0 14px; }
.sc-dl-meta dt { text-transform: none; letter-spacing: 0; }
.sc-meta { border-bottom: 1px solid var(--line); }
.sc-meta summary { display: flex; justify-content: space-between; padding: 10px 0; cursor: pointer; font-weight: 600; }
.sc-meta summary span { font-family: var(--mono); font-size: 11px; color: var(--mute); }
.sc-carte { height: 340px; margin: 14px 0 10px; border: 1px solid var(--line); }
.sc-liens { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0; }
.sc-histo { display: block; width: 100%; max-width: 640px; height: auto; border: 1px solid var(--line); background: var(--champ); }
.sc-code { display: grid; gap: 4px; margin: 0 0 10px; }
.sc-code .et { margin: 0; }
.sc-code code, .sc-hash code { font-family: var(--mono); font-size: 12px; overflow-wrap: anywhere; }
.sc-attente { margin: 0; padding: 16px; }
.sc-verdict { display: grid; gap: 4px; padding: 16px; border-bottom: 1px solid var(--line); border-left: 4px solid var(--bon); }
.sc-verdict .et { margin: 0; }
.sc-verdict b { font-size: 20px; line-height: 1.2; }
.sc-verdict.sc-info { border-left-color: #e8a33d; }
.sc-verdict.sc-alerte { border-left-color: var(--err); }
.sc-cles { padding: 14px 16px; border-bottom: 1px solid var(--line); grid-template-columns: 82px minmax(0, 1fr); font-size: 13px; }
.sc-indices { list-style: none; margin: 0; padding: 0; }
.sc-indices li { display: grid; gap: 2px; padding: 10px 16px 10px 30px; border-bottom: 1px solid var(--line); position: relative; font-size: 13px; }
.sc-indices li::before { content: ''; position: absolute; left: 14px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--bon); }
.sc-indices li.sc-info::before { background: #e8a33d; }
.sc-indices li.sc-alerte::before { background: var(--err); }
.sc-indices span { color: var(--text3); font-size: 12px; }
.sc-prudence { margin: 0; padding: 12px 16px; }
.sc-hash { grid-template-columns: 70px minmax(0, 1fr); padding: 14px 16px 0; font-size: 13px; }
.sc-hash dd { display: grid; gap: 2px; justify-items: start; }
.sortie #sc-empreintes { border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .sc-cadre { max-width: 100%; margin: 12px 0; }
  .sc-carte { height: 260px; }
  .sc-dl { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .sc-dl dd { margin-bottom: 8px; }
}
.onglets a { white-space: nowrap; }
@media (max-width: 560px) { .onglet-plus { display: none; } }
@media (max-width: 440px) { /* quatre onglets depuis Scan image : un peu plus serrés pour tenir sur une ligne à 375 px */
  .logo-txt { font-size: 15px; }
  .logo { padding: 0 8px; }
  .onglets a { padding: 0 6px; font-size: 10.5px; }
  .lang-sw a { padding: 0 6px; }
  .theme-sw { margin: 0 6px; }
}

/* Scan image — analyse design (couleurs, contraste, netteté, gamut, impression) et historique (2026-11-14) */
.sc-palette { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 4px; }
.sc-pastille { display: grid; gap: 2px; padding: 0 0 8px; border: 0; background: var(--bg); color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.sc-pastille i { display: block; height: 64px; margin-bottom: 6px; }
.sc-pastille b, .sc-pastille span { padding: 0 8px; font-family: var(--mono); font-size: 11px; }
.sc-pastille span { color: var(--mute); }
.sc-pastille:hover b { color: var(--accent-txt); }
.sc-barre { display: inline-block; vertical-align: middle; width: 120px; max-width: 40%; height: 6px; margin-left: 8px; background: var(--track); }
.sc-barre i { display: block; height: 100%; background: var(--ink); }
.sc-barre-alerte i { background: var(--err); }
.sc-badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border: 1px solid currentColor; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; vertical-align: 1px; }
.sc-badge.sc-ok { color: var(--bon); } .sc-badge.sc-info { color: #c27c12; } .sc-badge.sc-alerte { color: var(--err); }
.sc-unite { color: var(--mute); font-size: 12px; }
.sc-graphe { display: block; width: 100%; max-width: 640px; height: auto; border: 1px solid var(--line); background: var(--champ); }
.sc-labs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.sc-labs figure { margin: 0; }
.sc-labs figcaption { margin-bottom: 4px; font-family: var(--mono); font-size: 11px; color: var(--mute); }
.sc-alertes { margin: 0 0 12px; padding: 0; list-style: none; }
.sc-alertes li { position: relative; padding: 4px 0 4px 18px; color: var(--err); }
.sc-alertes li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--err); }
.sc-pret { margin: 0 0 12px; padding-left: 18px; position: relative; color: var(--bon); font-weight: 600; }
.sc-pret::before { content: ''; position: absolute; left: 2px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--bon); }
.sc-design-res { border-bottom: 1px solid var(--line); }
.sc-bande { display: flex; height: 22px; }
.sc-bande i { flex: 1; }
.sc-design-res .sc-cles { border-bottom: 0; }
.sc-garder { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; cursor: pointer; }
.sc-garder input { margin-top: 2px; accent-color: var(--accent); }
.sc-hist { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 1px; background: var(--line); }
.sc-hist:empty { display: none; }
.sc-hist-el { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border: 0; background: var(--bg); color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.sc-hist-el:hover { background: var(--soft2); }
.sc-hist-el img { width: 44px; height: 44px; object-fit: cover; flex: none; border: 1px solid var(--line); }
.sc-hist-el span { display: grid; min-width: 0; }
.sc-hist-el b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-hist-el small { font-family: var(--mono); font-size: 10px; color: var(--mute); }
.sc-hist-el small.sc-alerte { color: var(--err); } .sc-hist-el small.sc-info { color: #c27c12; } .sc-hist-el small.sc-ok { color: var(--bon); }
.sc-garde .sc-c { display: flex; gap: 16px; align-items: flex-start; }
.sc-garde img { width: 120px; flex: none; border: 1px solid var(--line); }
.sc-garde .sc-c > div { display: grid; gap: 4px; }
.sc-garde .et { margin: 0; }
@media (max-width: 860px) {
  .sc-palette { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-labs { grid-template-columns: minmax(0, 1fr); }
  .sc-garde .sc-c { flex-direction: column; }
}
/* Accueil, grille des outils (2026-11-14, demande du propriétaire) : titres alignés d'une carte à l'autre.
   L'icône ne pousse plus le texte vers le bas ; c'est « Ouvrir → » qui va en bas de la carte. */
.ac-grille .ac-ic { margin-bottom: 0; }
.ac-grille .ac-go { margin-top: auto; padding-top: 18px; }

/* 2026-11-14, passage à Geist (mêmes réglages que pixisgood) : titres en Medium 500, gras de 500 à 600 (étiquettes en Geist Mono restées à 500), approche négative des titres */
h1:not(.fil h1) { letter-spacing: -.04em !important; }
h2 { letter-spacing: -.03em !important; }
h3 { letter-spacing: -.02em !important; }

/* =====================================================================
   2026-11-14 — même hiérarchie que pixisgood (demande du propriétaire) : menu « Outils ▾ · Pas à pas · Conseils ·
   À propos » + loupe de recherche, têtière claire des pages de contenu (.ac-phero), Conseils en sommaire de magazine,
   guides, À propos avec portrait, mentions légales, parcours guidé Pas à pas. Règles reprises de
   pixisgood/site-en-ligne/css/style.css (état final de ses retouches successives), sans le préfixe html[data-theme].
   ===================================================================== */
html[data-theme=clair] { --bg2: #e5e5e5; --hov: #e9e9e4; --dashed: #b5b5af; --well: #e9e9e4; }
html[data-theme=sombre] { --bg2: #1e1e1e; --hov: #1c1c1c; --dashed: #4a4a4a; --well: #101010; }

/* ---------- Barre du menu ---------- */
.haut nav.tabs { display: flex; flex: 0 1 auto; align-items: stretch; }
.haut .credit { gap: 6px; } /* l'espace après « Créé par » disparaissait dans la boîte flexible */
nav.tabs .nv { display: flex; align-items: center; gap: 10px; height: auto; margin: 0; padding: 0 clamp(14px, 1.3vw, 24px); border: 0; border-right: 1px solid var(--line); border-radius: 0; background: none; color: var(--text2); font-family: var(--cond); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: box-shadow .15s, color .15s; }
nav.tabs .nv:hover:not(.on):not([aria-expanded=true]) { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent-txt); }
nav.tabs .nv.on, nav.tabs .nv[aria-expanded=true] { background: var(--ink); color: var(--on-ink); }
nav.tabs .nv-loupe { padding: 0 16px; }
nav.tabs .nv-loupe svg { width: 17px; height: 17px; stroke-linecap: round; }
.nv .chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.nv[aria-expanded=true] .chev { transform: translateY(2px) rotate(-135deg); }
nav.tabs .nv-menu { display: none; }

/* ---------- Panneau des outils (et recherche) ---------- */
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: var(--bg); border-bottom: 1px solid var(--line); }
.mega[hidden] { display: none; }
.mg-tete { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px var(--marge); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .1em; }
.mg-tete a { color: inherit; text-decoration: none; }
.mg-tete a:hover { color: var(--accent-txt); }
.mg-search { width: min(380px, 55%); height: 34px; padding: 0 12px; background: transparent; border: 1px solid var(--line); border-radius: 0; color: var(--ink); font-family: var(--cond); font-size: 15px; font-weight: 300; text-transform: none; letter-spacing: 0; }
.mg-search:focus { outline: none; border-color: var(--accent-txt); }
.mg-corps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 calc(var(--marge) - 24px); max-height: calc(100vh - var(--haut) - 60px); overflow-y: auto; }
.mg-col { padding: 16px 24px 22px; border-right: 1px solid var(--line); min-width: 0; }
.mg-col:last-of-type { border-right: 0; }
.mg-col[hidden], .mg-it[hidden], .mg-rien[hidden] { display: none; }
.mg-col h4 { display: grid; gap: 2px; margin: 0 0 10px; font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--mute); text-transform: uppercase; letter-spacing: .1em; }
.mg-col h4 a { color: var(--ink); text-decoration: none; font-family: var(--cond); font-size: 17px; font-weight: 600; letter-spacing: .03em; }
.mg-col h4 a:hover { color: var(--accent-txt); }
.mg-col h4 .n { font-family: var(--mono); font-size: 11px; font-weight: 300; color: var(--mute); margin-right: 4px; }
.mg-col h4 .ds { font-weight: 400; letter-spacing: .04em; }
.mg-it { display: flex; align-items: center; gap: 10px; margin: 0 -10px; padding: 6px 10px; color: var(--text2); text-decoration: none; font-size: 15px; }
.mg-it:hover, .mg-it:focus-visible { background: var(--hov); color: var(--accent-txt); }
.mg-it.mg-hub { color: var(--ink); font-weight: 600; }
.mg-it.on { color: var(--accent-txt); }
.mg-pap { display: block; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--accent-txt); font-size: 15px; text-decoration: none; }
.mg-pap:hover { text-decoration: underline; text-underline-offset: 3px; }
.mg-pap-haut, .mg-plus { display: none; }
.mg-plus .mg-plus-pap { display: none; }
.mg-rien { grid-column: 1 / -1; margin: 0; padding: 20px 24px; color: var(--mute); }
@media (max-width: 1180px) {
  .haut .credit { display: none; }
  .mg-corps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mg-col:nth-of-type(2) { border-right: 0; }
  .mg-col:nth-of-type(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 1000px) { .haut .prive { display: none; } }
@media (max-width: 900px) {
  nav.tabs .nv-sec { display: none; }
  .mg-plus { display: flex; border-top: 1px solid var(--line); }
  .mg-plus a { flex: 1; padding: 14px 24px; border-right: 1px solid var(--line); color: var(--ink); font-size: 16px; text-decoration: none; }
  .mg-plus a:hover { background: var(--accent); color: #fff; }
}
/* téléphone : logo, langue, thème, bouton « Menu » ; le panneau devient un menu plein écran */
@media (max-width: 760px) {
  .haut nav.tabs { order: 3; margin-left: auto; }
  nav.tabs .nv { display: none; }
  nav.tabs .nv-menu { display: flex; border-right: 0; border-left: 1px solid var(--line); padding: 0 16px; }
  .haut .lang-sw { margin-left: auto; }
  html.menu-plein, html.menu-plein body { overflow: hidden; }
  html.menu-plein body { padding-top: var(--haut); }
  html.menu-plein .haut { position: fixed; top: 0; left: 0; right: 0; }
  .mega { position: fixed; top: var(--haut); bottom: 0; overflow-y: auto; overscroll-behavior: contain; }
  .mg-tete { padding: 20px 16px 12px; border-bottom: 0; font-family: var(--cond); font-size: 22px; color: var(--ink); text-transform: none; letter-spacing: 0; }
  .mg-search, .mg-pap-haut { display: none; }
  .mg-corps { grid-template-columns: 1fr; gap: 8px; padding: 0 16px; max-height: none; overflow: visible; }
  .mg-col, .mg-col:nth-of-type(-n+2) { background: var(--bg2); border: 0; padding: 14px 12px 12px; }
  .mg-col .mg-pap { display: none; }
  .mg-it { padding: 8px 10px; font-size: 16px; }
  .mg-plus { flex-direction: column; margin-top: 24px; }
  .mg-plus .mg-plus-pap { display: flex; border-top: 1px solid var(--line); }
  .mg-plus a { display: flex; align-items: baseline; gap: 12px; border-right: 0; border-bottom: 1px solid var(--line); padding: 16px; font-size: 20px; }
  .mg-plus a::after { content: '→'; margin-left: auto; color: var(--mute); }
  .mg-plus small { font-size: 14px; color: var(--accent-txt); }
}

/* ---------- Têtière claire des pages de contenu (acpage() de pixisgood) ---------- */
.ac-phero { position: relative; display: grid; grid-template-columns: 2fr 1fr; align-items: stretch; padding: 0; min-height: 0; overflow: hidden; background: #f3f3f3; color: #0d0d0d; }
.ac-phero > .ac-pin { position: relative; z-index: 2; width: auto; align-self: end; padding: 106px clamp(20px, 3vw, 40px) 102px var(--marge); }
.ac-phero .crumbs { margin: 0 0 4px; font-size: 14px; text-transform: none; letter-spacing: 0; color: #444; }
.ac-phero .crumbs a, .ac-phero .guide-meta a { color: #0d0d0d; }
.ac-phero .crumbs a:hover, .ac-phero .guide-meta a:hover { color: var(--accent); }
.ac-phero .ac-kick { color: var(--accent); }
.ac-phero h1 { margin: 6px 0 0; font-size: clamp(30px, 3.2vw, 50px); font-weight: 500; line-height: .98; color: #0d0d0d; }
.ac-phero h1 strong { font-weight: 700; }
.ac-phero .lead { margin: 10px 0 0; max-width: none; font-size: 16px; line-height: 1.4; color: #2a2a2a; }
.ac-phero .guide-meta { margin: 18px 0 0; font: 500 12px var(--mono); letter-spacing: .06em; color: #444; }
.ac-phero > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (min-width: 861px) { .ac-phero > img { position: absolute; top: 0; right: 0; bottom: 0; width: 33.333%; } }
@media (max-width: 860px) {
  .ac-phero { grid-template-columns: 1fr; }
  .ac-phero > .ac-pin { padding: 114px var(--marge) 102px; }
  .ac-phero > img { height: 110px; }
}
@media (max-width: 760px) { .ac-phero > .ac-pin { padding-top: 56px; padding-bottom: 48px; } }

/* ---------- Texte des pages de contenu : pleine largeur, même bord gauche que l'accueil ---------- */
.page-contenu .seo-in { max-width: none; margin: 0; padding: 24px var(--marge) 72px; }
.page-contenu .seo-in p, .page-contenu .seo-in li { font-size: 17px; line-height: 1.7; color: var(--text2); }
.page-contenu .seo-in p { margin: 0 0 1.1em; }
.page-contenu .seo-in b, .page-contenu .seo-in strong { color: var(--ink); }
.page-contenu .seo-in li + li { margin-top: 10px; }
.page-contenu .seo-in h2 { margin: clamp(44px, 6vw, 80px) 0 14px; padding-top: 28px; border-top: 1px solid var(--line); font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; line-height: 1.15; }
.page-contenu .seo-in h3 { margin: 28px 0 8px; font-size: 22px; font-weight: 600; }
.page-contenu .seo-in > h2:first-child, .page-contenu .legal-body > h2:first-child, .page-contenu .qui-txt h2 { margin-top: clamp(28px, 4vw, 52px); }
.page-contenu .qui-txt h2 { margin-top: 0; border-top: 0; padding-top: 0; }

/* ---------- Conseils : sommaire de magazine ---------- */
.guide-cards { display: block; list-style: none; margin: 0; padding: 0; border: 0; background: none; }
.guide-cards > li { border-top: 1px solid var(--line); margin: 0 !important; }
.guide-cards > li:last-child { border-bottom: 1px solid var(--line); }
.guide-cards a { display: grid; grid-template-columns: 90px minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "n k d" "n b d" "n g d"; column-gap: clamp(20px, 3vw, 56px); align-content: start; align-items: start; padding: clamp(30px, 3.6vw, 52px) 0; background: none; color: var(--ink); text-decoration: none; transition: background .25s, padding .25s; }
.guide-cards a:hover { background: var(--bg2); padding-left: 18px; }
.guide-cards .n { grid-area: n; margin: 0; font-family: var(--cond); font-size: 20px; font-weight: 600; line-height: 1.2; color: var(--accent-txt); }
.guide-cards small { grid-area: k; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-txt); }
.guide-cards b { grid-area: b; margin: 10px 0 0; font-size: clamp(28px, 3vw, 46px); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; }
.page-contenu .guide-cards p { grid-area: d; margin: 0; font-size: 17px; line-height: 1.65; color: var(--text2); }
.guide-cards .go { grid-area: g; margin-top: 22px; font: 500 14px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.guide-cards a:hover b, .guide-cards a:hover .go { color: var(--accent-txt); }
@media (max-width: 900px) { .guide-cards a { grid-template-columns: 44px 1fr; grid-template-areas: "n k" "n b" "n d" "n g"; } .page-contenu .guide-cards p { margin-top: 14px; } }

/* ---------- Guides, À propos, mentions : texte sans cadre, encadré vers l'outil ---------- */
.legal-body, .guide-body { padding: 0 0 36px; border: 0; background: none; }
.legal-body a:not(.guide-cta), .guide-meta a { color: var(--ink); }
.legal-body a:not(.guide-cta):hover { color: var(--accent-txt); }
.legal-body ul { padding-left: 20px; }
.guide-cta { display: flex; align-items: center; gap: 18px; margin: 32px 0 8px; padding: 16px 20px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.guide-cta:hover { background: var(--soft); }
.guide-cta .n { flex: 0 0 auto; font-size: 46px; font-weight: 300; line-height: .8; color: var(--mute); }
.guide-cta .t { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.guide-cta small { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); }
.guide-cta b { font-size: 22px; font-weight: 600; text-transform: uppercase; }
.guide-cta em { font-style: normal; font-size: 15px; color: var(--text2); }
.guide-cta .go { font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.guide-cta:hover .go { color: var(--accent-txt); }
.legal-id { list-style: none; padding: 0 !important; margin: 10px 0 14px; border-top: 1px solid var(--line); }
.legal-id li { display: grid; grid-template-columns: 210px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
.legal-id span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); padding-top: 3px; }
.qui { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 32px; align-items: start; margin-top: clamp(28px, 4vw, 52px); }
.qui-photo { margin: 0; }
.qui-photo img { display: block; width: 100%; height: auto; }
.qui-photo figcaption { margin-top: 8px; font-family: var(--mono); font-size: 12px; color: var(--mute); }
@media (max-width: 760px) {
  .guide-cta { gap: 14px; padding: 14px 16px; } .guide-cta .n { font-size: 34px; } .guide-cta .go { display: none; }
  .legal-id li { grid-template-columns: 1fr; gap: 2px; }
  .qui { grid-template-columns: 1fr; gap: 18px; } .qui-photo { max-width: 320px; }
}

/* ---------- « Tous les outils » ---------- */
.tool-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0; border: solid var(--line); border-width: 1px 0 0 1px; }
.tool-links > li { border: solid var(--line); border-width: 0 1px 1px 0; margin: 0 !important; }
.tool-links a { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; height: 100%; align-content: start; padding: 14px 16px; background: var(--bg); color: var(--ink); text-decoration: none; }
.tool-links a:hover { background: var(--soft); }
.tool-links b { grid-row: span 2; padding-top: 3px; font-family: var(--mono); font-size: 12px; font-weight: 300; color: var(--mute); }
.tool-links a:hover b { color: var(--accent-txt); }
.tool-links span { font-size: 18px; font-weight: 600; text-transform: uppercase; }
.tool-links small { font-size: 14px; color: var(--mute); }

/* ---------- Pas à pas : parcours guidé (initPasAPas() dans commun.js) ---------- */
.pap { margin: clamp(28px, 4vw, 52px) 0 24px; border: 1px solid var(--line); background: var(--bg); scroll-margin-top: calc(var(--haut) + 16px); }
.pap-barre { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.pap-barre li { border-right: 1px solid var(--line); min-width: 0; margin: 0 !important; }
.pap-barre li:last-child { border-right: 0; }
.pap-barre li > span, .pap-barre button { display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 20px; background: none; border: 0; color: var(--mute); font: inherit; font-size: 16px; text-align: left; cursor: default; }
.pap-barre button { cursor: pointer; color: var(--text2); }
.pap-barre b { flex: 0 0 auto; display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; font-family: var(--mono); font-size: 17px; font-weight: 600; }
.pap-lib { display: grid; gap: 2px; min-width: 0; }
.pap-lib em { font-style: normal; font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.pap-lib small { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pap-barre li.on { background: var(--bg2); }
.pap-barre li.on b { background: var(--accent); border-color: var(--accent); color: #fff; }
.pap-barre li.on small { color: var(--accent-txt); }
.pap-barre li.fait b { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.pap-barre li.fait small { color: var(--text2); text-transform: none; letter-spacing: 0; font-size: 14px; }
.pap-barre li.avenir { opacity: .55; }
.pap-barre button:hover em { color: var(--accent-txt); }
.pap-etape { padding: clamp(20px, 3vw, 40px); }
.page-contenu .pap-etape h2 { margin: 0 0 6px; padding: 0; border: 0; font-size: clamp(26px, 3vw, 38px); font-weight: 500; }
.pap-etape-n { margin: 0 0 8px !important; font-size: 14px !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-txt) !important; }
.page-contenu .pap-aide { margin: 0 0 22px; font-size: 20px; line-height: 1.55; color: var(--text2); }
.page-contenu .pap-ou { margin: 32px 0 14px; font-size: 17px; }
.page-contenu .pap-note { margin: 8px 0 0; font-size: 16px; color: var(--mute); }
.pap .link { margin-top: 14px; background: none; border: 0; padding: 0; color: var(--text2); font: inherit; font-size: 16px; font-weight: 300; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pap .link:hover { color: var(--accent-txt); }
.pap-depot { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 18px; padding: clamp(28px, 5vw, 60px) 20px; border: 1px dashed var(--dashed); }
.pap-depot.over { border-color: var(--accent-txt); background: var(--hov); }
.pap-depot.plein { border-style: solid; border-color: var(--ink); }
.page-contenu .pap-grand { margin: 0; font-size: clamp(22px, 2.4vw, 28px); color: var(--ink); }
.page-contenu .pap-fichier { margin: 0; font-size: 16px; }
.pap-fichier span { color: var(--mute); }
.pap-grille { display: grid; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pap-grille.g4 { grid-template-columns: repeat(4, 1fr); }
.pap-grille.g3 { grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.pap-carte { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; background: var(--bg); color: var(--ink); border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font: inherit; text-align: left; cursor: pointer; min-width: 0; }
.pap-carte b { font-size: 21px; font-weight: 600; line-height: 1.2; }
.pap-carte span { color: var(--mute); font-size: 16px; font-weight: 300; }
.pap-carte:hover { background: var(--hov); }
.pap-carte:hover b, .pap-carte.on b { color: var(--accent-txt); }
.pap-carte.on { background: var(--bg2); box-shadow: inset 0 -3px 0 var(--accent); }
.pap-ico { display: flex; align-items: flex-end; height: 56px; margin-bottom: 8px; color: var(--ink); }
.pap-ico svg { width: 52px; height: 52px; stroke-width: 1.4; }
.pap-ico .ac-ic.ac-aa { width: auto; height: auto; font-size: 46px; font-weight: 300; line-height: 1; letter-spacing: -.04em; }
.pap-valider { display: flex; margin-top: clamp(22px, 3vw, 36px); padding-top: 22px; border-top: 1px solid var(--line); }
.pap .btn { gap: 28px; justify-content: space-between; min-width: 240px; height: 46px; padding: 0 20px; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; }
.page-contenu .pap-manque { margin-top: 22px; }
.pap-final { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.pap-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; background: var(--bg2); }
.pap-g h3 a { color: var(--ink); text-decoration: none; }
.pap-g h3 a:hover { color: var(--accent-txt); }
@media (max-width: 900px) {
  .pap-final { grid-template-columns: 1fr; }
  .pap-grille.g4, .pap-grille.g3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .pap-barre li > span, .pap-barre button { padding: 12px; gap: 10px; }
  .pap-barre b { width: 32px; height: 32px; font-size: 14px; }
  .pap-lib em { font-size: 14px; }
  .pap-lib small { display: none; }
  .pap-carte { padding: 12px; }
  .pap-carte b { font-size: 18px; }
  .pap .btn { min-width: 0; }
}
@media (max-width: 480px) { .pap-grille.g4, .pap-grille.g3 { grid-template-columns: 1fr; } }
.page-contenu .tool-links a, .page-contenu .guide-cards a { color: var(--ink); } /* l'ancienne règle .seo-in li a les mettait en bleu */

/* =========================================================================
   Pages d'outils : mêmes mesures que les ateliers de pixisgood (2026-11-14, demande du propriétaire).
   Chaque valeur est relevée dans pixisgood/site-en-ligne/css/style.css (et vérifiée par getComputedStyle) :
   colonnes 340 / 290 px (320 sous 1180 px), titres de section, signe +, libellés, notes, segments,
   puces, curseur carré, boutons noirs en capitales qui se soulèvent au survol, liens du pied.
   ========================================================================= */
:root { --panneau: 340px; --sortie: 290px; }
@media (max-width: 1180px) { :root { --panneau: 320px; } }
.panneau, .sortie { scrollbar-width: thin; }   /* barre de défilement fine, comme .side de pixisgood */

/* sections : titre en capitales 13 px, signe + / – en chasse fixe */
details.sec > summary { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; user-select: none; }
details.sec > summary > span { line-height: normal; }
details.sec > summary::after { font-family: var(--mono); font-size: inherit; font-weight: 300; }
.sec-c { padding: 16px 22px 20px; }

/* libellés (= .lab de pixisgood) et valeurs */
/* (seulement dans la colonne de gauche : ailleurs, .et reste la petite étiquette en chasse fixe, comme les chiffres de pixisgood) */
.panneau .sec-c > .et, .panneau .ligne label { font-family: inherit; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text2); }
.ligne output { font-size: 11.5px; padding: 1px 6px; min-width: 44px; }

/* notes sous les réglages (= .note de pixisgood) */
.panneau .aide, .panneau .resume, .panneau .apercu { font-family: var(--mono); font-size: 10.5px; line-height: 1.5; color: var(--mute); }

/* boutons segmentés (= .seg de pixisgood) */
.seg button { min-height: 0; padding: 7px 4px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* puces de largeurs (= .chips de pixisgood) */
.chip { border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 4px 8px; font-family: var(--mono); font-size: 10.5px; font-weight: 300; cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }

/* curseur : poignée carrée de 16 px, comme pixisgood */
input[type=range] { height: 24px; }
input[type=range]::-webkit-slider-thumb { width: 16px; height: 16px; margin-top: -6px; border-radius: 0; }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 0; }

/* boutons des outils (= .btn de pixisgood) : noirs, capitales, 44 px, se soulèvent au survol */
.page-outil .btn:not(.petit) { height: 44px; padding: 12px 14px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; transition: transform .12s, box-shadow .12s; }
.page-outil .btn.plein { justify-content: space-between; text-align: left; }
.page-outil .btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--on-ink); transform: translate(-4px, -4px); box-shadow: 4px 4px 0 0 var(--bg), 4px 4px 0 1px var(--ink); }
.page-outil .btn:not(.plein):hover:not(:disabled) { background: var(--bg); color: var(--ink); }

/* pied de la colonne de gauche (= .link de pixisgood) */
.side-foot .lien { font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--mute); text-decoration: underline; }
.side-foot .lien:hover { color: var(--ink); }

/* bloc titre en haut de la colonne de gauche (= .ttl des ateliers de pixisgood, valeurs du thème clair / sombre) */
.ttl { display: flex; border-bottom: 1px solid var(--line); line-height: normal; }
.ttl .n { padding: 18px 18px 14px; font-size: 70px; line-height: .8; font-weight: 300; color: var(--mute); border-right: 1px solid var(--line); }
.ttl > div { flex: 1; min-width: 0; padding: 14px 18px; }
.ttl small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); }
.ttl h2 { margin: 2px 0 4px; font-size: 30px; line-height: 1; font-weight: 600; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.ttl h2 .ttl-ico { display: inline-block; width: .8em; height: .8em; margin-right: .22em; vertical-align: -.04em; }
.ttl h2 svg.ttl-ico { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.ttl h2 .ttl-aa { width: auto; font-size: .8em; font-weight: 600; letter-spacing: -.02em; text-transform: none; }
