/* ---
 * Version : V1.1 · 2026-07-03 · audit tech — bloc responsive mobile (≤560px) + garde overflow-x
 * Version précédente : V1.0 · 2026-07-02 · FreshThread (placeholder) — style commun pages-outils
 * --- */
:root {
  --bg: #faf9f6; --ink: #1c1917; --muted: #78716c; --card: #ffffff;
  --accent: #0d9488; --accent-ink: #ffffff; --line: #e7e5e4;
  --l0: #22c55e; --l1: #84cc16; --l2: #eab308; --l3: #f97316; --l4: #ef4444;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; }
header.hero { text-align: center; margin-bottom: 36px; }
.hero .kicker { color: var(--muted); font-size: 15px; letter-spacing: .02em; }
.hero h1 { font-size: 30px; line-height: 1.25; margin: 10px 0 12px; }
.hero .sub { font-size: 19px; color: var(--muted); margin: 0 auto; max-width: 560px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; margin: 18px 0; box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.paste-steps { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 12px; }
.step-chip {
  background: #f0efec; border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; font-size: 13px; color: #57534e; white-space: nowrap;
}
.step-chip kbd {
  background: #fff; border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 4px; padding: 0 5px; font: 12px ui-monospace, Menlo, monospace;
}
.step-arrow { color: var(--muted); }
textarea {
  width: 100%; min-height: 180px; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px; font: 14px/1.5 ui-monospace, Menlo, monospace; resize: vertical; background: #fdfdfc;
}
textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.hint { font-size: 14px; color: var(--muted); margin-top: 8px; }
button.primary {
  background: var(--accent); color: var(--accent-ink); border: none; border-radius: 10px;
  padding: 13px 26px; font-size: 17px; font-weight: 600; cursor: pointer; margin-top: 14px;
}
button.primary:hover { filter: brightness(1.08); }
button.ghost {
  background: transparent; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 14px; font-size: 14px; cursor: pointer; color: var(--ink);
}
.gauge { display: flex; gap: 6px; margin: 18px 0 6px; }
.gauge .step { flex: 1; height: 12px; border-radius: 6px; background: var(--line); transition: background .3s; }
.level-name { font-size: 22px; font-weight: 700; margin: 6px 0 2px; }
.level-advice { font-size: 17px; margin: 0 0 10px; }
.why { font-size: 14px; color: var(--muted); }
.why summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.evidence { border-left: 3px solid var(--line); padding: 6px 12px; margin: 10px 0; font-size: 15px; }
.evidence .quote { color: var(--muted); font-style: italic; }
.handoff textarea { min-height: 240px; }
.copy-row { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.copied { color: var(--l0); font-size: 14px; font-weight: 600; }
.privacy {
  display: flex; gap: 8px; align-items: baseline; font-size: 14px; color: var(--muted);
  justify-content: center; margin-top: 10px;
}
section.seo h2 { font-size: 21px; margin-top: 36px; }
section.seo p, section.seo li { color: #44403c; }
footer { text-align: center; color: var(--muted); font-size: 14px; margin-top: 60px; }
.hidden { display: none; }

/* --- MOBILE (≤560px) : audit tech 2026-07-03 — pas de scroll latéral, cibles tactiles, tailles lisibles --- */
@media (max-width: 560px) {
  html, body { overflow-x: hidden; }
  img, svg { max-width: 100%; height: auto; }
  main { padding: 28px 16px 64px; }
  .hero h1 { font-size: 25px; }
  .hero .sub { font-size: 17px; }
  .card { padding: 18px; border-radius: 12px; }
  textarea { padding: 12px; }
  button.primary { width: 100%; }              /* CTA pleine largeur, tap target confortable */
  .copy-row { flex-wrap: wrap; }
  .copy-row button.primary { width: 100%; }
  .privacy { flex-direction: column; align-items: center; text-align: center; gap: 4px; }
}
