:root {
    --paper: #EDEDEB;
    --surface: #FFFFFF;
    --ink: #000000;
    --ink-soft: #5C5C5C;
    --line: #D2D2CF;
    --mist: #EDEDEB;
    --t1: #000000; --t2: #2E2E2E; --t3: #565656; --t4: #808080; --t5: #B0B0B0; --t6: #D6D6D6;
    --i1: #FFFFFF; --i2: #FFFFFF; --i3: #FFFFFF; --i4: #FFFFFF; --i5: #000000; --i6: #000000;
    --font: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
    color-scheme: light;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      /* Page toujours claire, même en mode sombre */
      --paper: #EDEDEB; --surface: #FFFFFF; --ink: #000000; --ink-soft: #5C5C5C; --line: #D2D2CF; --mist: #EDEDEB;
      --t1: #000000; --t2: #2E2E2E; --t3: #565656; --t4: #808080; --t5: #B0B0B0; --t6: #D6D6D6;
      --i1: #FFFFFF; --i2: #FFFFFF; --i3: #FFFFFF; --i4: #FFFFFF; --i5: #000000; --i6: #000000;
    }
  }
  :root[data-theme="dark"] {
    --paper: #EDEDEB; --surface: #FFFFFF; --ink: #000000; --ink-soft: #5C5C5C; --line: #D2D2CF; --mist: #EDEDEB;
    --t1: #000000; --t2: #2E2E2E; --t3: #565656; --t4: #808080; --t5: #B0B0B0; --t6: #D6D6D6;
    --i1: #FFFFFF; --i2: #FFFFFF; --i3: #FFFFFF; --i4: #FFFFFF; --i5: #000000; --i6: #000000;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0; background: var(--paper); color: var(--ink);
    font-family: var(--font); font-size: 1.0625rem; font-weight: 400; line-height: 1.55;
    overflow-x: hidden; -webkit-font-smoothing: antialiased;
  }
  img, svg { max-width: 100%; }
  a { color: inherit; }
  :focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

  .wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

  h1, h2 { font-family: var(--font); font-weight: 600; margin: 0; font-variation-settings: "wdth" 88; }
  h2 { font-size: clamp(2.2rem, 7.5vw, 3.6rem); line-height: 0.98; letter-spacing: -0.035em; margin-bottom: 1.6rem; }
  h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.005em; margin: 0; line-height: 1.3; }
  p { margin: 0 0 1rem; max-width: 62ch; }
  .intro { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 2rem; }
  .intro strong { color: var(--ink); font-weight: 600; }

  /* Header */
  .top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
  .wordmark { font-weight: 700; font-size: 1.35rem; letter-spacing: -0.04em; text-decoration: none; font-variation-settings: "wdth" 85; }
  .wordmark span { color: var(--ink-soft); font-weight: 500; }
  .top-link {
    font-weight: 600; font-size: 0.95rem; text-decoration: none;
    padding: 9px 16px; border-radius: 999px; border: 1px solid var(--ink);
  }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
    font-family: var(--font); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.005em;
    text-decoration: none; padding: 17px 28px; border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .btn:hover { background: transparent; color: var(--ink); }
  .btn svg { width: 20px; height: 20px; flex: none; }
  @media (max-width: 520px) { main .btn { width: 100%; justify-content: center; padding: 17px 16px; } }
  .note { color: var(--ink-soft); font-size: 0.95rem; margin-top: 16px; }

  /* Hero */
  .hero { display: grid; gap: 56px; padding: 36px 0 96px; align-items: center; }
  .hero h1 {
    font-size: clamp(3.1rem, 13.5vw, 6.4rem); line-height: 0.92; letter-spacing: -0.05em;
    font-variation-settings: "wdth" 80; margin-bottom: 1.6rem;
  }
  .lead { font-size: 1.2rem; line-height: 1.5; margin-bottom: 2.2rem; }
  @media (min-width: 900px) {
    .hero { grid-template-columns: 1.15fr 0.85fr; gap: 64px; padding-top: 64px; }
  }

  /* Chat */
  .chat { background: var(--surface); border-radius: 24px; max-width: 420px; width: 100%; justify-self: center; overflow: hidden; }
  .chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .avatar {
    width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--surface);
    display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; letter-spacing: -0.03em;
  }
  .chat-head strong { display: block; font-weight: 600; line-height: 1.2; }
  .chat-head small { color: var(--ink-soft); }
  .thread { padding: 18px 14px 22px; display: flex; flex-direction: column; gap: 10px; }
  .msg { max-width: 82%; padding: 10px 12px 6px; border-radius: 16px; font-size: 0.97rem; line-height: 1.42; position: relative; animation: pop 0.45s ease both; }
  .msg time { display: block; text-align: right; font-size: 0.7rem; color: var(--ink-soft); margin-top: 2px; }
  .out { align-self: flex-end; background: var(--mist); border-bottom-right-radius: 4px; }
  .in { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
  .photos { padding: 6px; }
  .grid-ph { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 204px; max-width: 100%; }
  .ph { aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; position: relative; overflow: hidden; }
  .ph svg { width: 56%; height: 56%; }
  .ph:nth-child(1) { background: var(--t1); } .ph:nth-child(1) svg { fill: var(--i1); }
  .ph:nth-child(2) { background: var(--t2); } .ph:nth-child(2) svg { fill: var(--i2); }
  .ph:nth-child(3) { background: var(--t3); } .ph:nth-child(3) svg { fill: var(--i3); }
  .ph:nth-child(4) { background: var(--t4); } .ph:nth-child(4) svg { fill: var(--i4); }
  .ph:nth-child(5) { background: var(--t5); } .ph:nth-child(5) svg { fill: var(--i5); }
  .ph:nth-child(6) { background: var(--t6); } .ph:nth-child(6) svg { fill: var(--i6); }
  .more { position: absolute; inset: 0; background: rgba(0,0,0,0.6); color: #FFFFFF; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; }
  .divider { align-self: center; font-size: 0.75rem; color: var(--ink-soft); background: var(--mist); border-radius: 999px; padding: 3px 12px; margin: 6px 0; animation: pop 0.45s ease both; }

  .offer-wrap { align-self: flex-start; max-width: 90%; position: relative; margin-top: 4px; }
  .offer-wrap .msg { max-width: 100%; animation: none; }
  .offer { padding-right: 84px; min-height: 124px; }
  .hang { position: absolute; right: 10px; top: 0; width: 64px; transform-origin: 50% 0; transform: rotate(7deg); animation: swing 1.3s ease-out both; animation-delay: 2.1s; pointer-events: none; }
  .hang .string { position: relative; z-index: 1; display: block; width: 1px; height: 24px; margin: 0 auto; background: var(--ink); }
  .tag {
    margin-top: -13px; height: 90px; background: var(--ink); color: var(--surface);
    display: grid; place-content: center; text-align: center; padding-top: 14px; position: relative;
    clip-path: polygon(24% 0, 76% 0, 100% 15%, 100% 100%, 0 100%, 0 15%);
  }
  .tag::before { content: ""; position: absolute; top: 8px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--surface); }
  .tag b { font-weight: 700; font-size: 1.25rem; line-height: 1; letter-spacing: -0.03em; }
  .tag small { font-size: 0.64rem; margin-top: 4px; }

  .thread > :nth-child(1) { animation-delay: 0.15s; }
  .thread > :nth-child(2) { animation-delay: 0.55s; }
  .thread > :nth-child(3) { animation-delay: 1.0s; }
  .thread > :nth-child(4) { animation-delay: 1.45s; }
  .thread > :nth-child(5) { animation: pop 0.45s ease both; animation-delay: 1.85s; }
  .thread > :nth-child(6) { animation-delay: 2.6s; }
  @keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @keyframes swing {
    0% { transform: rotate(-18deg); }
    45% { transform: rotate(11deg); }
    75% { transform: rotate(4deg); }
    100% { transform: rotate(7deg); }
  }
  @media (prefers-reduced-motion: reduce) {
    .msg, .divider, .offer-wrap, .hang { animation: none !important; }
    .btn { transition: none; }
  }

  /* Sections */
  section.block { padding: 88px 0; border-top: 1px solid var(--line); }

  .steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
  .steps li { counter-increment: step; background: var(--surface); border-radius: 20px; padding: 22px 22px 26px; }
  .steps li::before { content: counter(step); display: block; font-weight: 600; font-size: 2.6rem; line-height: 1; letter-spacing: -0.05em; margin-bottom: 18px; font-variation-settings: "wdth" 80; }
  .steps h3 { margin-bottom: 8px; }
  .steps p { color: var(--ink-soft); margin: 0; }
  @media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }

  /* Photo guide */
  .shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 540px; margin-bottom: 36px; }
  .shot { margin: 0; }
  .shot .frame { aspect-ratio: 4 / 5; background: var(--surface); border-radius: 20px; display: grid; place-items: center; position: relative; }
  .shot .frame svg { width: 58%; height: 58%; }
  .shot .num { position: absolute; left: 16px; top: 12px; font-weight: 600; font-size: 1.4rem; line-height: 1; letter-spacing: -0.04em; }
  .shot figcaption { margin-top: 12px; }
  .shot figcaption b { display: block; font-weight: 600; }
  .shot figcaption span { color: var(--ink-soft); font-size: 0.95rem; }
  .tips { list-style: none; margin: 0; padding: 0; max-width: 720px; }
  .tips li { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .tips li:first-child { border-top: 1px solid var(--line); }
  .tips b { font-weight: 600; }
  .tips li span { color: var(--ink-soft); }

  /* Value scale */
  .scale { display: grid; gap: 30px; max-width: 720px; }
  .scale-top { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 16px; flex-wrap: wrap; }
  .scale-top strong { font-weight: 600; font-size: 1.08rem; }
  .scale-top span { color: var(--ink-soft); }
  .bar { position: relative; height: 8px; border-radius: 999px; background: var(--surface); margin-top: 12px; overflow: hidden; }
  .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); border-radius: 999px; }
  .bonus { display: flex; align-items: center; gap: 22px; margin-top: 44px; max-width: 720px; padding: 22px 24px; background: var(--ink); color: var(--paper); border-radius: 20px; }
  .bonus b { flex: none; font-weight: 600; font-size: clamp(2.2rem, 8vw, 3rem); line-height: 1; letter-spacing: -0.05em; font-variation-settings: "wdth" 80; }
  .bonus p { margin: 0; }

  /* Brands */
  .brands { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0.3em; max-width: 980px; }
  .brands li { font-weight: 600; font-size: clamp(1.7rem, 6.5vw, 3rem); line-height: 1.1; letter-spacing: -0.04em; font-variation-settings: "wdth" 82; }
  .brands li:not(:last-child)::after { content: "/"; margin-left: 0.3em; font-weight: 300; color: var(--ink-soft); }

  /* Criteria */
  .criteria { display: grid; gap: 40px; }
  @media (min-width: 760px) { .criteria { grid-template-columns: 1fr 1fr; gap: 56px; } }
  .criteria h3 { padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
  .criteria ul { list-style: none; margin: 0; padding: 0; }
  .criteria li { padding: 13px 0 13px 30px; border-bottom: 1px solid var(--line); position: relative; }
  .criteria li::before { position: absolute; left: 0; top: 12px; width: 20px; text-align: center; font-weight: 600; }
  .yes li::before { content: "✓"; }
  .no li::before { content: "✕"; }

  /* Rules */
  .rules { margin: 28px 0 0; max-width: 880px; background: var(--surface); border-radius: 20px; padding: 4px 22px; }
  .rule { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .rule:last-child { border-bottom: 0; }
  .rule dt { font-weight: 600; }
  .rule dd { margin: 0; color: var(--ink-soft); }
  @media (min-width: 760px) { .rule { grid-template-columns: 1fr 1.3fr; gap: 32px; } }

  .about { font-weight: 500; font-size: clamp(1.5rem, 4.8vw, 2.3rem); line-height: 1.18; letter-spacing: -0.03em; max-width: 30ch; }

  /* FAQ */
  .faq details { border-bottom: 1px solid var(--line); max-width: 880px; }
  .faq details:first-of-type { border-top: 1px solid var(--line); }
  .faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 600; font-size: 1.08rem; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 1.7rem; font-weight: 400; transition: transform 0.2s ease; }
  .faq details[open] summary::after { transform: rotate(45deg); }
  .faq details p { color: var(--ink-soft); padding-bottom: 10px; }
  @media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

  /* Final */
  .final {
    background: var(--ink); color: var(--paper);
    border-radius: 28px; padding: 64px 26px 72px; margin: 24px 0 8px;
  }
  @media (min-width: 760px) { .final { padding: 96px 72px 104px; } }
  @media (max-width: 520px) { .final { padding: 56px 20px 60px; } .final .btn { font-size: 0.98rem; gap: 8px; padding: 16px 10px; } }
  .final h2 { font-size: clamp(3rem, 12vw, 6rem); line-height: 0.92; letter-spacing: -0.05em; font-variation-settings: "wdth" 80; max-width: 12ch; }
  .final .lead { color: var(--paper); opacity: 0.8; }
  .final .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
  .final .btn:hover { background: transparent; color: var(--paper); }
  .final .note { color: var(--paper); opacity: 0.65; }
  .final :focus-visible { outline-color: var(--paper); }

  footer { padding: 32px 0 116px; font-size: 0.92rem; color: var(--ink-soft); }
  footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px; }
  @media (min-width: 721px) { footer { padding-bottom: 40px; } }

  .sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 10; display: none; }
  .sticky .btn { width: 100%; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,0.22); }
  @media (max-width: 720px) { .sticky.show { display: block; } }
