  /* ---------- Tokens (charte : bleu Lefranc + anthracite) ---------- */
  :root {
    --bg: #f3f5f8;
    --surface: #ffffff;
    --surface-2: #e8ecf2;
    --ink: #141a24;
    --ink-2: #4a5465;
    --ink-3: #6b7486;
    --line: #d7dde6;
    --accent: #1f5fc8;
    --accent-ink: #ffffff;
    --accent-soft: #e3ecfb;
    --anthracite: #23282f;
    --shadow: 0 24px 60px -24px rgb(20 40 80 / .28);
    --radius: 14px;
    color-scheme: light;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0d1117;
      --surface: #151b24;
      --surface-2: #1c2430;
      --ink: #eef2f7;
      --ink-2: #b4bdcb;
      --ink-3: #8a94a5;
      --line: #263041;
      --accent: #4b86e8;
      --accent-ink: #0b1220;
      --accent-soft: #16233a;
      --anthracite: #0a0d12;
      --shadow: 0 24px 60px -24px rgb(0 0 0 / .6);
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --bg: #0d1117; --surface: #151b24; --surface-2: #1c2430;
    --ink: #eef2f7; --ink-2: #b4bdcb; --ink-3: #8a94a5; --line: #263041;
    --accent: #4b86e8; --accent-ink: #0b1220; --accent-soft: #16233a;
    --anthracite: #0a0d12; --shadow: 0 24px 60px -24px rgb(0 0 0 / .6);
    color-scheme: dark;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0; background: var(--bg); color: var(--ink);
    font-family: "Manrope", system-ui, sans-serif; font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
  }
  h1, h2, h3 { font-family: "Outfit", system-ui, sans-serif; letter-spacing: -0.025em; line-height: 1.05; margin: 0; font-weight: 700; }
  p { margin: 0; }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  .wrap { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
  @media (min-width: 768px) { .wrap { padding: 0 32px; } }
  .eyebrow { font-family: "Outfit"; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

  /* ---------- Buttons ---------- */
  .btn {
    display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
    height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
    font: 600 15px/1 "Outfit", sans-serif; cursor: pointer;
    transition: transform .35s cubic-bezier(.16,1,.3,1), background-color .25s, border-color .25s, color .25s;
  }
  .btn:active { transform: scale(.98) translateY(1px); }
  .btn-primary { background: var(--accent); color: var(--accent-ink); }
  .btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
  .btn-primary .ph-bold { transition: transform .35s cubic-bezier(.16,1,.3,1); }
  .btn-primary:hover .ph-bold { transform: translateX(4px); }
  .btn-ghost { border-color: var(--line); color: var(--ink); background: color-mix(in srgb, var(--surface) 70%, transparent); backdrop-filter: blur(8px); }
  .btn-ghost:hover { border-color: var(--ink-3); }
  .btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

  /* ---------- Nav ---------- */
  .nav {
    position: fixed; inset: 0 0 auto 0; z-index: 40; height: calc(72px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px);
    display: flex; align-items: center;
    transition: background-color .3s, border-color .3s, transform .4s cubic-bezier(.16,1,.3,1);
    border-bottom: 1px solid transparent;
  }
  .nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-color: var(--line); }
  .nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 24px; }
  .brand { display: flex; align-items: center; gap: 12px; }
  .brand-mark { width: 40px; height: 40px; flex: none; }
  .brand-name { display: flex; flex-direction: column; line-height: 1; }
  .brand-name b { font: 800 19px/1 "Outfit"; letter-spacing: .01em; }
  .brand-name span { font: 600 10px/1 "Outfit"; letter-spacing: .32em; color: var(--accent); margin-top: 4px; }
  .nav-links { display: none; gap: clamp(18px, 2vw, 30px); font: 500 15px/1 "Outfit"; color: var(--ink-2); white-space: nowrap; }
  .nav-links a { position: relative; padding: 6px 0; }
  .nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.16,1,.3,1); }
  .nav-links a:hover { color: var(--ink); }
  .nav-links a:hover::after { transform: scaleX(1); }
  .nav-cta { display: flex; align-items: center; gap: 10px; }
  .nav-cta .btn { height: 44px; padding: 0 18px; }
  .nav-phone { display: none; }
  .menu-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; font-size: 20px; cursor: pointer; }
  @media (min-width: 1024px) { .nav-links { display: flex; } .menu-btn { display: none; } }
  @media (min-width: 1200px) { .nav-phone { display: inline-flex; } }
  @media (max-width: 520px) { .nav-cta .btn-primary { display: none; } }

  .mobile-menu { position: fixed; inset: 72px 0 auto 0; z-index: 39; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 24px; display: none; }
  .mobile-menu.open { display: block; }
  .mobile-menu a { display: block; padding: 14px 4px; font: 600 20px/1.2 "Outfit"; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 18px; width: 100%; justify-content: center; }

  /* ---------- Hero 3D (pin + scrub) ---------- */
  .hero { position: relative; height: 320vh; }
  .hero-sticky { position: sticky; top: 0; height: 100dvh; min-height: 560px; overflow: hidden; }
  #scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .hero-copy {
    position: relative; z-index: 2; height: 100%;
    display: flex; flex-direction: column; justify-content: center; gap: 22px;
    padding-top: 72px; max-width: 640px; will-change: transform, opacity;
  }
  .hero h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); font-weight: 800; }
  .hero h1 em { font-style: normal; color: var(--accent); }
  .hero-sub { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--ink-2); max-width: 46ch; }
  .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
  .hero-caption {
    position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end;
    padding-bottom: 9vh; pointer-events: none; opacity: 0;
    background: linear-gradient(to top, rgb(10 16 28 / .72), rgb(10 16 28 / 0) 55%);
  }
  .hero-caption h2 { color: #f4f7fb; font-size: clamp(2.2rem, 1rem + 5vw, 5.4rem); font-weight: 800; max-width: 14ch; }
  .hero-caption p { color: rgb(244 247 251 / .85); margin-top: 14px; max-width: 42ch; font-size: 1.05rem; }
  .hero-fallback { position: absolute; right: 4vw; top: 50%; transform: translateY(-40%); width: min(40vw, 520px); border-radius: var(--radius); box-shadow: var(--shadow); display: none; }
  @media (max-width: 899px) {
    .hero-copy { justify-content: flex-start; padding-top: 108px; gap: 16px; }
  }

  /* ---------- Trust strip ---------- */
  .trust { position: relative; z-index: 5; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .trust .wrap { display: grid; grid-template-columns: 1fr; }
  .trust-item { display: flex; align-items: center; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .trust-item i { font-size: 26px; color: var(--accent); }
  .trust-item b { display: block; font: 600 16px/1.2 "Outfit"; }
  .trust-item span { color: var(--ink-3); font-size: 14px; }
  @media (min-width: 768px) {
    .trust .wrap { grid-template-columns: repeat(4, 1fr); }
    .trust-item { border-bottom: 0; padding: 30px 24px; border-left: 1px solid var(--line); }
    .trust-item:first-child { border-left: 0; padding-left: 0; }
  }

  /* ---------- Services : pan horizontal ---------- */
  .services { position: relative; background: var(--bg); }
  .services-head { padding: 120px 0 0; }
  .services-head h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); max-width: 16ch; margin-top: 14px; }
  .services-head p { color: var(--ink-2); max-width: 56ch; margin-top: 18px; font-size: 1.05rem; }
  .pan { overflow: hidden; }
  .pan-track { display: flex; align-items: center; gap: 20px; padding: 20px 16px 110px; width: max-content; }
  @media (min-width: 768px) { .pan { height: 100dvh; } .pan-track { height: 100%; padding-top: 72px; padding-bottom: 0; } .svc { height: min(70vh, 540px); } }
  @media (min-width: 768px) { .pan-track { padding-left: max(32px, calc((100vw - 1320px) / 2 + 32px)); padding-right: 32px; } }
  .svc {
    --rx: 0deg; --ry: 0deg;
    position: relative; width: min(82vw, 400px); height: min(68vh, 540px); min-height: 440px;
    border-radius: var(--radius); padding: 30px; overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between;
    background: var(--surface); border: 1px solid var(--line);
    transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .4s;
    transform-style: preserve-3d;
  }
  .svc:hover { box-shadow: var(--shadow); }
  .svc-icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-size: 32px; background: var(--accent-soft); color: var(--accent); transform: translateZ(40px); }
  .svc h3 { font-size: 30px; transform: translateZ(30px); }
  .svc p { color: var(--ink-2); margin-top: 12px; transform: translateZ(20px); }
  .svc ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .svc li { font: 500 13px/1 "Outfit"; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
  .svc-art { position: absolute; inset: auto -40px -40px auto; width: 260px; height: 260px; opacity: .9; pointer-events: none; }
  /* variations de fond, pour casser la répétition */
  .svc--blue { background: var(--accent); border-color: transparent; color: #fff; }
  .svc--blue p, .svc--blue li { color: rgb(255 255 255 / .86); }
  .svc--blue li { border-color: rgb(255 255 255 / .3); }
  .svc--blue .svc-icon { background: rgb(255 255 255 / .16); color: #fff; }
  .svc--dark { background: var(--anthracite); border-color: transparent; color: #f1f4f8; }
  .svc--dark p, .svc--dark li { color: rgb(241 244 248 / .78); }
  .svc--dark li { border-color: rgb(255 255 255 / .18); }
  .svc--dark .svc-icon { background: rgb(255 255 255 / .08); color: #8fb4f2; }
  .svc--photo { color: #fff; border-color: transparent; background: #1a2230; }
  .svc--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
  .svc--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(10 16 28 / .9) 10%, rgb(10 16 28 / .15) 70%); z-index: 1; }
  .svc--photo > *:not(img) { position: relative; z-index: 2; }
  .svc--photo p, .svc--photo li { color: rgb(255 255 255 / .86); }
  .svc--photo li { border-color: rgb(255 255 255 / .3); }
  .svc--photo .svc-icon { background: rgb(255 255 255 / .14); color: #fff; backdrop-filter: blur(6px); }
  .svc-link { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 "Outfit"; margin-top: 22px; }
  .svc-link i { transition: transform .35s cubic-bezier(.16,1,.3,1); }
  .svc:hover .svc-link i { transform: translateX(5px); }

  /* ---------- Bento ---------- */
  .why { padding: 120px 0; }
  .why h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); max-width: 18ch; }
  .bento { display: grid; gap: 16px; margin-top: 56px; grid-template-columns: 1fr; }
  .cell { border-radius: var(--radius); padding: 28px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; }
  .cell h3 { font-size: 24px; }
  .cell p { color: var(--ink-2); margin-top: 8px; max-width: 40ch; }
  .cell i.big { font-size: 34px; color: var(--accent); margin-bottom: auto; }
  .cell--photo { padding: 0; min-height: 420px; border: 0; }
  .cell--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 30%; transform: scale(1.08); }
  .cell--photo .cap { position: relative; z-index: 1; margin: auto 20px 20px; padding: 18px 20px; border-radius: 12px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); max-width: 360px; border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
  .cell--accent { background: var(--accent); border-color: transparent; color: #fff; }
  .cell--accent p { color: rgb(255 255 255 / .86); }
  .cell--accent i.big { color: #fff; }
  .cell--pattern { background:
      repeating-linear-gradient(90deg, transparent 0 46px, color-mix(in srgb, var(--accent) 12%, transparent) 46px 48px),
      repeating-linear-gradient(0deg, transparent 0 46px, color-mix(in srgb, var(--accent) 12%, transparent) 46px 48px),
      var(--surface); }
  .materials { display: flex; gap: 10px; margin-bottom: auto; }
  .swatch { width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); }
  @media (min-width: 900px) {
    .bento { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 280px 280px; }
    .cell--photo { grid-row: span 2; min-height: 0; }
    .cell--wide { grid-column: span 2; }
  }

  /* ---------- Méthode (timeline verticale) ---------- */
  .method { padding: 40px 0 120px; }
  .method-grid { display: grid; gap: 48px; }
  .method h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); max-width: 14ch; }
  .method-intro p { color: var(--ink-2); margin-top: 18px; max-width: 44ch; }
  .method-intro .btn { margin-top: 28px; }
  .steps { position: relative; padding-left: 44px; }
  .steps-line { position: absolute; left: 13px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
  .steps-line span { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); }
  .step { position: relative; padding: 4px 0 44px; }
  .step:last-child { padding-bottom: 0; }
  .step-dot { position: absolute; left: -44px; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); display: grid; place-items: center; transition: border-color .4s, background-color .4s; }
  .step-dot i { font-size: 13px; color: var(--ink-3); transition: color .4s; }
  .step.on .step-dot { border-color: var(--accent); background: var(--accent); }
  .step.on .step-dot i { color: #fff; }
  .step h3 { font-size: 26px; }
  .step p { color: var(--ink-2); margin-top: 8px; max-width: 48ch; }
  @media (min-width: 900px) {
    .method-grid { grid-template-columns: 5fr 7fr; gap: 80px; }
    .method-intro { position: sticky; top: 130px; align-self: start; }
  }

  /* ---------- Avis ---------- */
  .reviews { padding: 110px 0; background: var(--surface-2); }
  .reviews-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
  .reviews h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); max-width: 16ch; }
  .rating { display: flex; align-items: center; gap: 12px; font: 600 15px/1 "Outfit"; color: var(--ink-2); }
  .stars { color: #e3a008; font-size: 18px; letter-spacing: 2px; }
  .quotes { display: grid; gap: 16px; margin-top: 48px; grid-template-columns: 1fr; }
  .quote { background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
  .quote blockquote { margin: 0; font: 500 19px/1.45 "Outfit"; letter-spacing: -0.01em; }
  .quote footer { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 14px; margin-top: auto; }
  .quote footer b { color: var(--ink); font-weight: 600; display: block; }
  .initials { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 700 15px/1 "Outfit"; }
  .sample-note { margin-top: 20px; font-size: 13px; color: var(--ink-3); }
  @media (min-width: 1000px) {
    .quotes { grid-template-columns: repeat(var(--cols, 3), 1fr); }
    .quotes[data-n="1"] { --cols: 1; } .quotes[data-n="2"] { --cols: 2; }
    .quote:first-child { grid-row: span 1; background: var(--anthracite); color: #f1f4f8; border-color: transparent; }
    .quote:first-child footer, .quote:first-child footer b { color: rgb(241 244 248 / .8); }
    .quote:first-child footer b { color: #fff; }
    .quote:first-child .initials { background: rgb(255 255 255 / .1); color: #8fb4f2; }
  }

  /* ---------- Zone (marquee unique) ---------- */
  .zone { padding: 120px 0 0; overflow: hidden; }
  .zone h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); max-width: 20ch; margin-top: 14px; }
  .zone p.lead { color: var(--ink-2); margin-top: 18px; max-width: 54ch; }
  .marquee { margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .marquee-row { display: flex; flex: none; gap: 48px; padding-right: 48px; animation: marquee 48s linear infinite; }
  .marquee-row span { font: 700 clamp(28px, 4vw, 52px)/1 "Outfit"; letter-spacing: -0.02em; white-space: nowrap; color: var(--ink); display: flex; align-items: center; gap: 48px; }
  .marquee-row span::after { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); }
  .marquee-row span.home { color: var(--accent); }
  @keyframes marquee { to { transform: translateX(-100%); } }

  /* ---------- Contact ---------- */
  .contact { padding: 120px 0; }
  .contact-card { display: grid; gap: 0; border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .contact-side { background: var(--anthracite); color: #f1f4f8; padding: 40px 28px; display: flex; flex-direction: column; gap: 28px; position: relative; overflow: hidden; }
  .contact-side h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); }
  .contact-side p { color: rgb(241 244 248 / .78); }
  .contact-lines { display: grid; gap: 18px; margin-top: auto; }
  .contact-lines a, .contact-lines div { display: flex; gap: 14px; align-items: center; font: 500 16px/1.3 "Outfit"; }
  .contact-lines i { width: 44px; height: 44px; border-radius: 12px; background: rgb(255 255 255 / .08); display: grid; place-items: center; font-size: 20px; color: #8fb4f2; flex: none; }
  .contact-lines small { display: block; color: rgb(241 244 248 / .6); font-size: 13px; }
  form { padding: 40px 28px; display: grid; gap: 20px; }
  .row-2 { display: grid; gap: 20px; }
  .field { display: grid; gap: 8px; }
  .field label { font: 600 14px/1 "Outfit"; color: var(--ink); }
  .field input, .field select, .field textarea {
    width: 100%; font: 500 16px/1.4 "Manrope"; color: var(--ink);
    background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 14px;
    transition: border-color .2s, background-color .2s;
  }
  .field textarea { min-height: 120px; resize: vertical; }
  .field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
  .field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink-3); }
  .field .help { font-size: 13px; color: var(--ink-3); }
  .field .err { font-size: 13px; color: #c2362b; display: none; }
  .field.invalid input, .field.invalid select { border-color: #c2362b; }
  .field.invalid .err { display: block; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chips input { position: absolute; opacity: 0; pointer-events: none; }
  .chips label { font: 500 14px/1 "Outfit"; padding: 11px 14px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; color: var(--ink-2); transition: all .2s; }
  .chips input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
  .chips input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
  .form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
  .form-foot small { color: var(--ink-3); max-width: 36ch; }
  .success { display: none; padding: 60px 28px; text-align: left; }
  .success i { font-size: 44px; color: var(--accent); }
  .success h3 { font-size: 28px; margin-top: 14px; }
  .success p { color: var(--ink-2); margin-top: 8px; }
  .sent form { display: none; } .sent .success { display: block; }
  @media (min-width: 900px) {
    .contact-card { grid-template-columns: 5fr 7fr; }
    .contact-side, form, .success { padding: 56px; }
    .row-2 { grid-template-columns: 1fr 1fr; }
  }

  /* ---------- Footer ---------- */
  footer.site { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--ink-2); font-size: 15px; }
  .foot-grid { display: grid; gap: 36px; }
  .foot-grid h4 { font: 600 14px/1 "Outfit"; color: var(--ink); margin: 0 0 16px; }
  .foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
  .foot-grid a:hover { color: var(--accent); }
  .foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
  @media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

  /* ---------- Reveal ---------- */
  .reveal.pre { opacity: 0; transform: translateY(28px); }
  .reveal { transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i, 0) * 80ms); }
  .reveal.in { opacity: 1; transform: none; }

  /* ---------- Reduced motion ---------- */
  @media (prefers-reduced-motion: reduce) {
    .hero { height: auto; }
    .hero-sticky { position: relative; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .marquee-row { animation: none; }
    .svc { transform: none !important; }
    .pan { overflow-x: auto; scroll-snap-type: x mandatory; }
    .svc { scroll-snap-align: start; }
  }

  /* =====================================================================
     Pages intérieures
     ===================================================================== */

  /* ---------- Méga-menu Prestations ---------- */
  .has-mega { position: relative; }
  .has-mega > button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; color: var(--ink-2); }
  .has-mega > button:hover, .has-mega.open > button { color: var(--ink); }
  .has-mega > button i { font-size: 12px; transition: transform .3s; }
  .has-mega.open > button i { transform: rotate(180deg); }
  .has-mega > button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
  .mega {
    position: absolute; top: calc(100% + 18px); left: 50%; width: 620px;
    transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .35s cubic-bezier(.16,1,.3,1), visibility .25s;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
    white-space: normal;
  }
  .has-mega.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .mega::before { content: ""; position: absolute; inset: -20px 0 auto; height: 20px; }
  .mega a { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 10px; color: var(--ink); }
  .mega a::after { display: none; }
  .mega a:hover { background: var(--surface-2); }
  .mega a i { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 20px; }
  .mega a b { display: block; font: 600 15px/1.2 "Outfit"; }
  .mega a span { display: block; font: 400 13px/1.4 "Manrope"; color: var(--ink-3); margin-top: 4px; }
  .nav-links a[aria-current="page"], .has-mega.current > button { color: var(--ink); }
  .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
  .mobile-menu .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 4px 0 8px; border-bottom: 1px solid var(--line); }
  .mobile-menu .sub a { font: 500 15px/1.2 "Outfit"; color: var(--ink-2); border: 0; padding: 10px 4px; }

  /* ---------- Fil d'Ariane ---------- */
  .crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 500 14px/1 "Outfit"; color: var(--ink-3); }
  .crumbs a:hover { color: var(--accent); }
  .crumbs i { font-size: 12px; }

  /* ---------- Hero des pages intérieures ---------- */
  .page-hero { padding: 120px 0 64px; }
  .page-hero .grid { display: grid; gap: 40px; align-items: center; }
  .page-hero h1 { font-size: clamp(2.2rem, 1.3rem + 2.6vw, 3.7rem); font-weight: 800; margin-top: 20px; text-wrap: balance; }
  .page-hero h1 em { font-style: normal; color: var(--accent); }
  .page-hero .lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--ink-2); margin-top: 20px; max-width: 48ch; }
  .page-hero .hero-ctas { margin-top: 30px; }
  .page-hero--compact { padding-bottom: 32px; }
  .page-hero--compact h1 { max-width: 18ch; }
  @media (min-width: 960px) { .page-hero .grid { grid-template-columns: 1fr 1.05fr; gap: 64px; } .page-hero { padding-top: 140px; } }

  /* ---------- Visionneuse 3D produit ---------- */
  .p3d {
    position: relative; aspect-ratio: 1 / 1; max-width: 100%; border-radius: calc(var(--radius) + 6px); overflow: hidden;
    background:
      radial-gradient(120% 80% at 50% 0%, var(--surface) 0%, var(--surface-2) 70%);
    border: 1px solid var(--line); touch-action: pan-y; cursor: grab;
  }
  .p3d:active { cursor: grabbing; }
  @media (min-width: 960px) { .p3d { aspect-ratio: 5 / 5.2; } }
  .p3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .p3d-ui { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; pointer-events: none; }
  .p3d-ui > * { pointer-events: auto; }
  .p3d-toggle { height: 44px; padding: 0 16px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 6px 20px -10px rgb(20 40 80 / .3); }
  .p3d-toggle:hover { border-color: var(--ink-3); }
  .p3d-hint { font: 500 13px/1.2 "Outfit"; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
  .p3d-colors { position: absolute; top: 16px; right: 16px; display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid var(--line); backdrop-filter: blur(8px); }
  .p3d-colors button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); }
  .p3d-colors button[aria-pressed="true"] { border-color: var(--accent); }
  .p3d-colors button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

  /* ---------- Section générique ---------- */
  .section { padding: 96px 0; }
  .section h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); max-width: 20ch; text-wrap: balance; }
  .section .intro { color: var(--ink-2); margin-top: 16px; max-width: 58ch; font-size: 1.05rem; }
  .section--tint { background: var(--surface-2); }

  /* ---------- Gamme (variantes) ---------- */
  .variants { display: grid; gap: 16px; margin-top: 48px; grid-template-columns: 1fr; }
  .variant { --rx: 0deg; --ry: 0deg; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .4s; min-width: 0; }
  .variant:hover { box-shadow: var(--shadow); }
  .variant i { font-size: 28px; color: var(--accent); }
  .variant h3 { font-size: 22px; }
  .variant p { color: var(--ink-2); font-size: 15px; }
  .variant:first-child { background: var(--anthracite); color: #f1f4f8; border-color: transparent; }
  .variant:first-child p { color: rgb(241 244 248 / .78); }
  .variant:first-child i { color: #8fb4f2; }
  @media (min-width: 700px) { .variants { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 700px) and (max-width: 1099px) { .variants[data-n="5"] .variant:last-child { grid-column: 1 / -1; } }
  @media (min-width: 1100px) {
    .variants { grid-template-columns: repeat(6, 1fr); }
    .variant { grid-column: span 2; }
    .variants[data-n="4"] .variant { grid-column: span 3; }
    .variants[data-n="5"] .variant:nth-child(-n+2) { grid-column: span 3; }
  }

  /* ---------- Onglets (matériaux, manœuvre...) ---------- */
  .tabs-wrap { display: grid; gap: 40px; margin-top: 48px; }
  .tablist { display: flex; flex-wrap: wrap; gap: 8px; }
  .tablist button { font: 600 15px/1 "Outfit"; height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: all .25s; }
  .tablist button:hover { border-color: var(--ink-3); color: var(--ink); }
  .tablist button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
  .tablist button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .tabpanel { display: grid; gap: 32px; align-items: start; }
  .tabpanel[hidden] { display: none !important; }
  .tabpanel h3 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
  .tabpanel > div > p { color: var(--ink-2); margin-top: 14px; max-width: 52ch; }
  .checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
  .checks li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
  .checks li i { color: var(--accent); font-size: 18px; margin-top: 3px; }
  .tabpanel .tag { display: inline-block; margin-top: 18px; font: 600 13px/1 "Outfit"; padding: 9px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
  .tabpanel { animation: tabIn .5s cubic-bezier(.16,1,.3,1); }
  @keyframes tabIn { from { opacity: 0; transform: translateY(10px); } }
  @media (min-width: 900px) { .tabpanel { grid-template-columns: 1fr 1fr; gap: 64px; } }

  /* ---------- Atouts en ligne ---------- */
  .assets { display: grid; gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
  .asset { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
  .asset i { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 22px; }
  .asset h3 { font-size: 20px; }
  .asset p { color: var(--ink-2); margin-top: 6px; font-size: 15px; }
  @media (min-width: 900px) { .assets { grid-template-columns: 1fr 1fr; column-gap: 56px; } }

  /* ---------- FAQ ---------- */
  .faq-grid { display: grid; gap: 40px; }
  .faq { display: grid; gap: 10px; }
  .faq details { border-radius: 12px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
  .faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font: 600 17px/1.35 "Outfit"; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary i { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); transition: transform .35s cubic-bezier(.16,1,.3,1), background-color .25s; }
  .faq details[open] summary i { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
  .faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 12px; }
  .faq .answer { padding: 0 22px 22px; color: var(--ink-2); max-width: 70ch; }
  @media (min-width: 900px) { .faq-grid { grid-template-columns: 4fr 7fr; gap: 72px; } .faq-grid > div:first-child { position: sticky; top: 120px; align-self: start; } }

  /* ---------- Bandeau CTA ---------- */
  .cta-band { margin: 0 auto; border-radius: calc(var(--radius) + 6px); background: var(--accent); color: #fff; padding: 48px 28px; display: grid; gap: 28px; align-items: center; position: relative; overflow: hidden; }
  .cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 40px; border: 28px solid rgb(255 255 255 / .08); transform: rotate(18deg); pointer-events: none; }
  .cta-band h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); max-width: 20ch; }
  .cta-band p { color: rgb(255 255 255 / .86); margin-top: 12px; max-width: 48ch; }
  .cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
  .btn-light { background: #fff; color: #12306a; }
  .btn-light:hover { background: #eef3fc; }
  .btn-outline-light { border-color: rgb(255 255 255 / .45); color: #fff; }
  .btn-outline-light:hover { border-color: #fff; }
  @media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; padding: 56px; } }

  /* ---------- Autres prestations ---------- */
  .related { display: grid; gap: 12px; margin-top: 36px; grid-template-columns: 1fr; }
  .related a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font: 600 16px/1.2 "Outfit"; transition: border-color .25s, transform .35s cubic-bezier(.16,1,.3,1); }
  .related a:hover { border-color: var(--accent); transform: translateY(-2px); }
  .related a i:first-child { font-size: 22px; color: var(--accent); }
  .related a i:last-child { margin-left: auto; color: var(--ink-3); transition: transform .35s cubic-bezier(.16,1,.3,1); }
  .related a:hover i:last-child { transform: translateX(4px); color: var(--accent); }
  @media (min-width: 700px) { .related { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }

  /* ---------- Entreprise ---------- */
  .about-photo { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 4 / 3.4; max-width: 100%; }
  .about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; transform: scale(1.1); }
  .story { display: grid; gap: 32px; }
  .story p { color: var(--ink-2); font-size: 1.08rem; max-width: 60ch; }
  .story p + p { margin-top: 16px; }
  .story .big { font: 600 clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem)/1.25 "Outfit"; letter-spacing: -0.02em; color: var(--ink); max-width: 26ch; text-wrap: balance; }
  @media (min-width: 900px) { .story { grid-template-columns: 1fr 1.2fr; gap: 72px; } }
  .towns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
  .towns span { font: 500 15px/1 "Outfit"; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
  .towns span.home { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

  /* ---------- Réalisations ---------- */
  .filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-top: 36px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; font: 600 15px/1 "Outfit"; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: all .25s; }
  .filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .filters button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .gallery { display: grid; gap: 16px; margin-top: 28px; grid-template-columns: 1fr; grid-auto-flow: dense; }
  .shot { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px; background: var(--surface); border: 1px solid var(--line); transition: opacity .35s, transform .45s cubic-bezier(.16,1,.3,1); }
  .shot[hidden] { display: none !important; }
  .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
  .shot:hover img { transform: scale(1.04); }
  .shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: flex; justify-content: space-between; gap: 12px; align-items: end; }
  .shot.has-img figcaption { color: #fff; background: linear-gradient(to top, rgb(10 16 28 / .8), transparent); padding-top: 60px; }
  .shot figcaption b { display: block; font: 600 18px/1.2 "Outfit"; }
  .shot figcaption span { font-size: 14px; opacity: .8; }
  .shot.todo { background:
      repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--accent) 7%, transparent) 14px 15px), var(--surface); display: grid; place-items: center; }
  .shot.todo .ph-wrap { display: grid; justify-items: center; gap: 10px; color: var(--ink-3); font: 500 14px/1.3 "Outfit"; text-align: center; padding: 20px 20px 70px; }
  .shot.todo .ph-wrap i { font-size: 34px; color: var(--accent); }
  @media (min-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } .shot.tall { grid-row: span 2; } }
  @media (min-width: 1100px) { .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; } .shot { min-height: 0; } .shot.wide { grid-column: span 2; } }

  /* ---------- Contact ---------- */
  .urgent { display: grid; gap: 20px; align-items: center; padding: 28px; border-radius: var(--radius); background: var(--anthracite); color: #f1f4f8; margin-top: 24px; }
  .urgent h3 { font-size: 24px; }
  .urgent p { color: rgb(241 244 248 / .78); margin-top: 6px; }
  .urgent i.big { font-size: 34px; color: #8fb4f2; }
  @media (min-width: 900px) { .urgent { grid-template-columns: auto 1fr auto; gap: 28px; padding: 32px 36px; } }
  .hours { display: grid; gap: 0; margin-top: 24px; }
  .hours div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
  .hours div span:first-child { color: var(--ink-2); }

  /* ---------- Mentions légales ---------- */
  .legal { max-width: 760px; }
  .legal h2 { font-size: 26px; margin: 48px 0 14px; }
  .legal p, .legal li { color: var(--ink-2); }
  .legal p + p { margin-top: 12px; }
  .legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
  .legal dt { font-weight: 600; color: var(--ink); }
  .legal dd { margin: 0; color: var(--ink-2); min-width: 0; }
  .legal .todo { background: var(--accent-soft); color: var(--accent); padding: 1px 6px; border-radius: 4px; font-weight: 600; }
  @media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 10px; } }

  @media (prefers-reduced-motion: reduce) {
    .variant { transform: none !important; }
    .tabpanel { animation: none; }
  }


  /* =====================================================================
     Ajustements WordPress / Elementor
     ===================================================================== */
  [class*="elementor-widget-lf_"] { margin: 0 !important; width: 100%; }
  [class*="elementor-widget-lf_"] > .elementor-widget-container { padding: 0; margin: 0; }
  .elementor .svc--photo img, .elementor .cell--photo img, .elementor .shot img, .elementor .about-photo img { height: 100%; max-width: none; }
  .elementor .hero-fallback { height: auto; }

  .skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font: 600 14px/1 "Outfit"; }
  .skip-link:focus { top: 12px; }
  .admin-bar .nav { top: 32px; }
  .admin-bar .mobile-menu { top: calc(72px + 32px); }
  @media (max-width: 782px) { .admin-bar .nav { top: 46px; } .admin-bar .mobile-menu { top: calc(72px + 46px); } }
  .brand-logo { max-height: 44px; width: auto; }

  /* Espacements réglables depuis l'onglet « Section » des widgets */
  .sp-top { padding-top: 24px !important; }
  .sp-bottom { padding-bottom: 0 !important; }
  .sp-both { padding-top: 24px !important; padding-bottom: 0 !important; }

  .cta-wrap { padding: 24px 0 96px; }
  .section--related { padding-bottom: 64px; }
  .related-title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem) !important; }
  .towns-title { font-size: 22px; }
  .story-text p + p { margin-top: 16px; }
  .story-text p { color: var(--ink-2); font-size: 1.08rem; max-width: 60ch; }

  /* Formulaire */
  .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .form-error { margin: 0; padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, #c2362b 10%, var(--surface)); color: #a12b22; font-size: 14px; }
  .btn.loading { opacity: .7; pointer-events: none; }
  .btn.loading .ph-bold { animation: lfspin 1s linear infinite; }
  @keyframes lfspin { to { transform: rotate(360deg); } }

  /* Éditeur Elementor : hero sans défilement épinglé */
  .elementor-editor-active .hero { height: 100vh; }
  .elementor-editor-active .reveal { opacity: 1 !important; transform: none !important; }

  /* Pages classiques (mentions légales, articles) */
  body:not(.elementor-page) .site-main { max-width: 820px; margin: 0 auto; padding: 130px 16px 96px; }
  body:not(.elementor-page) .site-main .page-header { margin-bottom: 32px; }
  body:not(.elementor-page) .site-main .entry-title { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); font-weight: 800; }
  body:not(.elementor-page) .page-content h2 { font-size: 26px; margin: 44px 0 12px; }
  body:not(.elementor-page) .page-content p, body:not(.elementor-page) .page-content li { color: var(--ink-2); }
  body:not(.elementor-page) .page-content p + p { margin-top: 12px; }
  body:not(.elementor-page) .page-content a { color: var(--accent); text-decoration: underline; }
  .hero-sticky > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
