  /* Layout: left-aligned editorial single page, ruled lists instead of cards, contour-line texture in the hero, a 12-month work calendar as the subject-specific detail. */
  :root {
    --bg: #F2F4EF;
    --surface: #E6EBE2;
    --ink: #18261F;
    --muted: #4F5E57;
    --accent: #52632D;
    --accent-ink: #FFFFFF;
    --line: #C7D0C4;
    --show-light: inline-block;
    --show-dark: none;
    --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0F1713;
      --surface: #17231C;
      --ink: #E5ECE4;
      --muted: #A2B0A6;
      --accent: #A9C17A;
      --accent-ink: #0D1A12;
      --line: #2A3A31; --show-light: none; --show-dark: inline-block;
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --bg: #0F1713;
    --surface: #17231C;
    --ink: #E5ECE4;
    --muted: #A2B0A6;
    --accent: #A9C17A;
    --accent-ink: #0D1A12;
    --line: #2A3A31; --show-light: none; --show-dark: inline-block;
    color-scheme: dark;
  }

  * { box-sizing: border-box; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    padding-inline: 20px;
    padding-block: 0 32px;
  }
  .wrap { max-width: 1040px; margin-inline: auto; }
  h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; line-height: 1.08; letter-spacing: -0.015em; }
  p { margin: 0; }
  a { color: inherit; }
  a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

  .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

  /* Header */
  .top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
  .brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; text-decoration: none; }
  .logo-light { display: var(--show-light); }
  .logo-dark { display: var(--show-dark); }
  .brand img { height: 42px; width: auto; }
  .foot-logo { height: 104px; width: auto; }
  .brand span { color: var(--accent); }
  .top nav { display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
  .top nav a { text-decoration: none; color: var(--muted); }
  .top nav a:hover { color: var(--ink); }
  @media (max-width: 640px) { .top nav { display: none; } }

  /* Hero */
  .hero {
    position: relative;
    padding-block: 64px 56px;
    isolation: isolate;
  }
  .hero::before {
    content: "";
    position: absolute; inset: 0 -20px 0 -20px; z-index: -1;
    background:
      repeating-radial-gradient(ellipse 70% 90% at 92% 8%, transparent 0 22px, var(--line) 22px 23px);
    -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 85%);
            mask-image: linear-gradient(to left, #000 0%, transparent 85%);
    opacity: 0.8;
  }
  .hero h1 { font-size: clamp(38px, 7.2vw, 76px); font-weight: 700; max-width: 14ch; margin-block: 14px 22px; }
  .hero .lead { font-size: clamp(18px, 2.2vw, 21px); max-width: 52ch; color: var(--muted); }
  .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 50px; padding: 12px 24px;
    font: 600 16px/1 var(--font-body);
    border-radius: 999px; text-decoration: none; cursor: pointer;
    border: 1.5px solid var(--accent);
  }
  .btn.primary { background: var(--accent); color: var(--accent-ink); }
  .btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
  .btn:hover { filter: brightness(1.08); }
  .facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 34px; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
  .facts li { display: flex; gap: 8px; align-items: baseline; }
  .facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-1px); }

  /* Sections */
  section { padding-block: 56px; border-top: 1px solid var(--line); }
  .head { display: grid; gap: 10px; margin-bottom: 30px; }
  .head h2 { font-size: clamp(28px, 4.4vw, 42px); font-weight: 700; max-width: 22ch; }
  .head p { color: var(--muted); max-width: 56ch; }

  /* Services */
  .services { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; margin: 0; padding: 0; list-style: none; }
  .services li { display: grid; gap: 4px; padding-block: 20px; border-top: 1px solid var(--line); min-width: 0; }
  .services h3 { font-size: 21px; font-weight: 600; }
  .services p { color: var(--muted); font-size: 16px; }
  @media (max-width: 720px) { .services { grid-template-columns: 1fr; } }

  /* Calendar */
  .cal { display: grid; gap: 22px; }
  .cal-row { display: grid; gap: 8px; }
  .cal-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; font-weight: 600; }
  .cal-label small { font-weight: 400; color: var(--muted); font-size: 14px; }
  .strip { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
  .strip i { height: 18px; border-radius: 3px; background: var(--surface); border: 1px solid var(--line); }
  .strip i.on { background: var(--accent); border-color: var(--accent); }
  .months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; font-size: 12px; color: var(--muted); text-align: center; font-weight: 600; letter-spacing: 0.04em; }
  .note { margin-top: 22px; font-size: 14px; color: var(--muted); }

  /* Réalisations */
  .filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
  .filter { font: 500 15px/1 var(--font-body); color: var(--ink); background: transparent; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; min-height: 42px; cursor: pointer; }
  .filter:hover { border-color: var(--accent); }
  .filter[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
  .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .shot { margin: 0; display: grid; gap: 12px; min-width: 0; align-content: start; }
  .shot .ph { position: relative; }
  .shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--surface); }
  .tag { position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; background: var(--bg); color: var(--ink); }
  .tag.after { background: var(--accent); color: var(--accent-ink); }
  .shot figcaption { color: var(--muted); font-size: 14px; line-height: 1.45; max-width: 46ch; }
  @media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 520px) { .gallery { gap: 12px; } .shot figcaption { font-size: 13px; } .tag { left: 8px; top: 8px; padding: 4px 9px; font-size: 11px; } }

  /* Process */
  .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
  .steps li { counter-increment: s; display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 3px solid var(--accent); min-width: 0; }
  .steps li::before { content: "Étape " counter(s); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
  .steps h3 { font-size: 20px; font-weight: 600; }
  .steps p { color: var(--muted); font-size: 16px; }
  @media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

  /* Contact */
  .contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
  .contact h2 { font-size: clamp(30px, 5vw, 48px); font-weight: 700; max-width: 16ch; }
  .contact .lead { color: var(--muted); margin-top: 14px; max-width: 44ch; }
  .rows { display: grid; gap: 0; min-width: 0; }
  .row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding-block: 16px; border-top: 1px solid var(--line); min-width: 0; }
  .row:last-child { border-bottom: 1px solid var(--line); }
  .row dt { grid-column: 1 / -1; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
  .row dd { margin: 0; font-size: 19px; font-weight: 500; overflow-wrap: anywhere; min-width: 0; }
  .row dd a { text-decoration: none; }
  .row dd a:hover { text-decoration: underline; }
  .copy {
    font: 600 14px/1 var(--font-body); color: var(--ink); background: transparent;
    border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 14px; cursor: pointer; min-height: 38px;
  }
  .copy:hover { border-color: var(--accent); }
  @media (max-width: 760px) { .contact { grid-template-columns: 1fr; gap: 28px; } }

  footer { padding-block: 28px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 24px; font-size: 14px; color: var(--muted); }
  .foot-text { display: grid; gap: 4px; min-width: 0; }


  /* Crédit d'impôt */
  .aide { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .aide .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(56px, 10vw, 96px); line-height: 1; letter-spacing: -0.03em; color: var(--accent); }
  .aide .big small { display: block; font-family: var(--font-body); font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: 10px; max-width: 34ch; line-height: 1.45; }
  .aide ol { margin: 0; padding: 0; list-style: none; counter-reset: a; }
  .aide ol li { counter-increment: a; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding-block: 14px; border-top: 1px solid var(--line); }
  .aide ol li:last-child { border-bottom: 1px solid var(--line); }
  .aide ol li::before { content: counter(a); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 14px; }
  .aide ol strong { display: block; font-weight: 600; }
  .aide ol span { color: var(--muted); font-size: 16px; }
  @media (max-width: 760px) { .aide { grid-template-columns: 1fr; gap: 28px; } }


  /* Pages secondaires */
  .page-hero { padding-block: 56px 40px; }
  .page-hero h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 700; max-width: 20ch; margin-block: 12px 18px; }
  .page-hero .lead { font-size: clamp(18px, 2.2vw, 21px); max-width: 56ch; color: var(--muted); }
  .crumbs { font-size: 14px; color: var(--muted); }
  .crumbs a { color: var(--muted); }
  .prose { display: grid; gap: 16px; max-width: 64ch; }
  .prose h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 700; margin-top: 12px; }
  .prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
  .prose li::marker { color: var(--accent); }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
  .chips li { padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; font-size: 15px; }
  .faq { display: grid; gap: 0; max-width: 70ch; }
  .faq details { border-top: 1px solid var(--line); padding-block: 16px; }
  .faq details:last-child { border-bottom: 1px solid var(--line); }
  .faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style-position: outside; }
  .faq p { margin-top: 10px; color: var(--muted); }
  .gallery.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--accent); }
  .foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .foot-links a { color: var(--muted); }

  @media (prefers-reduced-motion: no-preference) {
    .btn, .copy { transition: filter .15s ease, border-color .15s ease; }
  }

  /* Pages secondaires */
  .page-hero { padding-block: 56px 40px; }
  .page-hero h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 700; max-width: 20ch; margin-block: 12px 18px; }
  .page-hero .lead { font-size: clamp(18px, 2.2vw, 21px); max-width: 56ch; color: var(--muted); }
  .crumbs { font-size: 14px; color: var(--muted); }
  .crumbs a { color: var(--muted); }
  .prose { display: grid; gap: 16px; max-width: 64ch; }
  .prose h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 700; margin-top: 12px; }
  .prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
  .prose li::marker { color: var(--accent); }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
  .chips li { padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; font-size: 15px; }
  .faq { display: grid; gap: 0; max-width: 70ch; }
  .faq details { border-top: 1px solid var(--line); padding-block: 16px; }
  .faq details:last-child { border-bottom: 1px solid var(--line); }
  .faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style-position: outside; }
  .faq p { margin-top: 10px; color: var(--muted); }
  .gallery.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  @media (max-width: 860px) { .steps.three { grid-template-columns: 1fr; } }
  .more { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--accent); }
  .foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .foot-links a { color: var(--muted); }

  .partner { display: flex; width: fit-content; justify-self: start; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; margin: 18px 0 0; }
  .partner { gap: 24px; }
  .partner img { display: block; height: 52px; width: auto; }
  .partner img.sap { height: 68px; }
