  /* Honeypot anti-spam : invisible à l'humain, piège à robots */
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

  :root {
    --ai: #071728;
    --ai-deep: #141f2c;
    --ai-container: #1d2c3d;
    --sumi: #1a1b1e;
    --washi: #fbf9f4;
    --washi-2: #f5f3ee;
    --washi-3: #f0eee9;
    --blanc: #ffffff;
    --shu: #ad3121;
    --shu-hover: #a83423;
    --shu-tint: #e58a7b;
    --pierre: #5d6166;
    --pierre-clair: #a9b1ba;
    --ligne: #c4c6cd;
    --display: 'Noto Serif', serif;
    --body: 'Source Sans 3', sans-serif;
    --transition-lente: .9s cubic-bezier(.22, .61, .36, 1);
    --hanko-offset: 14px;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    font-family: var(--body);
    color: var(--sumi);
    background: var(--washi);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  .grain { position: relative; }
  .grain::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.015'/%3E%3C/svg%3E");
  }
  .grain > * { position: relative; }

  img { display: block; max-width: 100%; }
  a:focus-visible, button:focus-visible { outline: 3px solid var(--shu); outline-offset: 3px; }
  ::selection { background: var(--shu); color: #fff; }

  .wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

  /* ============ Révélations au scroll ============ */
  html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--transition-lente), transform var(--transition-lente); }
  html.js .reveal.vu { opacity: 1; transform: none; }
  html.js .reveal.d1 { transition-delay: .12s; }
  html.js .reveal.d2 { transition-delay: .24s; }
  html.js .reveal.d3 { transition-delay: .36s; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html.js .reveal { opacity: 1; transform: none; }
  }

  /* ============ Navigation ============ */
  header.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    padding: 18px 0;
    background: rgba(7, 23, 40, .95);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(57, 72, 90, .2);
    transition: padding .3s;
  }
  header.nav.scrolle { padding: 11px 0; }
  .nav-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
  }
  .nav-brand {
    font-family: var(--display); font-weight: 600;
    color: var(--blanc); text-decoration: none; font-size: 1.3rem; line-height: 1.2;
  }
  .nav-brand small {
    display: block; font-family: var(--body); font-weight: 400; font-size: .6rem;
    letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 2px;
  }
  nav.menu { display: flex; gap: 32px; align-items: center; }
  nav.menu > div { position: relative; }
  nav.menu a:not(.btn), nav.menu button.parent {
    color: rgba(255, 255, 255, .8); text-decoration: none;
    font-size: .8rem; font-weight: 400; letter-spacing: .15em; text-transform: uppercase;
    transition: color .2s; background: none; border: none;
    font-family: var(--body); cursor: pointer; padding: 8px 0;
  }
  nav.menu a:not(.btn):hover, nav.menu button.parent:hover { color: var(--blanc); }
  nav.menu .sous-menu {
    visibility: hidden; opacity: 0; transform: translateY(6px);
    transition: opacity .25s, transform .25s, visibility .25s;
    position: absolute; top: 100%; left: -18px; min-width: 250px;
    background: #0d1d2d; border: 1px solid rgba(255,255,255,.1); border-radius: 2px;
    padding: 10px 0; z-index: 60;
  }
  nav.menu > div:hover .sous-menu,
  nav.menu > div:focus-within .sous-menu { visibility: visible; opacity: 1; transform: none; }
  nav.menu .sous-menu a {
    display: block; color: rgba(255,255,255,.75); padding: 9px 22px;
    font-size: .8rem; letter-spacing: .08em;
    text-decoration: none; transition: color .15s, background .15s;
  }
  nav.menu .sous-menu a.actif { color: var(--shu-tint); }
  nav.menu .sous-menu a:hover { color: var(--shu-tint); background: rgba(255,255,255,.04); }

  .burger {
    display: none; background: none; border: 1px solid rgba(255,255,255,.35);
    border-radius: 2px; color: var(--blanc); font-family: var(--body);
    font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; padding: 8px 16px; cursor: pointer;
  }
  @media (max-width: 920px) {
    nav.menu { display: none; }
    .burger { display: block; }
    nav.menu.ouvert {
      display: flex; flex-direction: column; align-items: flex-start; gap: 0;
      position: absolute; top: 100%; left: 0; right: 0;
      background: #0d1d2d; padding: 18px 24px 28px;
      border-bottom: 1px solid rgba(255,255,255,.1);
    }
    nav.menu.ouvert a:not(.btn), nav.menu.ouvert button.parent { padding: 11px 0; width: 100%; text-align: left; }
    nav.menu.ouvert .sous-menu {
      display: none;
      visibility: visible; opacity: 1; transform: none;
      position: static; background: none; border: none;
      padding: 0 0 6px 18px; min-width: 0;
    }
    nav.menu.ouvert > div.deplie .sous-menu { display: block; }
    nav.menu.ouvert .sous-menu a { padding: 8px 0; }
  }

  /* ============ Boutons ============ */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    text-decoration: none; background: var(--shu); color: var(--blanc);
    font-family: var(--body); font-weight: 700; letter-spacing: .01em;
    padding: 16px 32px; border-radius: 3px; font-size: .88rem; line-height: 1;
    border: none; cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
  }
  .btn:hover { background: var(--shu-hover); }
  .btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
  .btn.contour {
    background: transparent; color: var(--blanc); border: 1.5px solid rgba(255,255,255,.5);
  }
  .btn.contour:hover { background: var(--blanc); color: var(--ai); border-color: var(--blanc); }
  .btn.sombre { background: transparent; color: var(--sumi); border: 1.5px solid var(--ligne); }
  .btn.sombre:hover { background: var(--sumi); color: var(--blanc); border-color: var(--sumi); }
  .btn.nav-cta { padding: 12px 24px; font-size: .82rem; }
  @media (max-width: 920px) { .btn.nav-cta { margin-top: 16px; } }

  /* ============ Hero de page intérieure ============ */
  .hero-page {
    position: relative;
    background: var(--ai-deep); color: var(--blanc);
    padding: 180px 0 110px;
    overflow: hidden;
  }
  .hero-page-photo {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 32%; opacity: .42;
  }
  .hero-page::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to right, rgba(20,31,44,.96) 0%, rgba(20,31,44,.75) 55%, rgba(20,31,44,.3) 100%);
  }
  .hero-page .wrap { position: relative; z-index: 2; }
  .hero-page .fil-ariane {
    font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
    color: rgba(255,255,255,.55); margin-bottom: 24px;
    animation: monte .9s cubic-bezier(.22,.61,.36,1) both .1s;
  }
  .hero-page .fil-ariane a { color: rgba(255,255,255,.55); text-decoration: none; }
  .hero-page .fil-ariane a:hover { color: var(--blanc); }
  .hero-page .jp-titre {
    font-family: var(--display); font-size: 1.3rem; letter-spacing: .3em; color: var(--shu-tint);
    animation: monte .9s cubic-bezier(.22,.61,.36,1) both .2s;
  }
  .hero-page h1 {
    font-family: var(--display); font-weight: 600;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.18; letter-spacing: -.02em; color: var(--blanc);
    max-width: 20ch; margin-top: 12px;
    animation: monte .9s cubic-bezier(.22,.61,.36,1) both .4s;
  }
  .hero-page h1 em { font-style: italic; color: var(--shu-tint); }
  .hero-page .sous {
    margin-top: 20px; max-width: 54ch; font-size: 1.06rem; color: rgba(255,255,255,.85);
    animation: monte .9s cubic-bezier(.22,.61,.36,1) both .6s;
  }
  @keyframes monte { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

  /* ============ Sections génériques ============ */
  section { position: relative; scroll-margin-top: 78px; }
  .eyebrow {
    font-family: var(--body); font-size: .74rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; color: var(--shu); margin-bottom: 16px;
  }
  h2 {
    font-family: var(--display); font-weight: 600;
    font-size: clamp(1.65rem, 3vw, 2.2rem); line-height: 1.3; color: var(--sumi);
    margin-bottom: 22px; max-width: 24ch;
  }



  /* ============ CTA finale ============ */
  .cta-finale {
    background: var(--ai-deep); color: var(--blanc); padding: 96px 0;
    text-align: center; overflow: hidden; position: relative;
  }
  .cta-finale .kanji-fond {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
    font-family: var(--display); font-size: clamp(12rem, 30vw, 26rem); line-height: 1;
    color: rgba(255,255,255,.025); user-select: none; pointer-events: none;
  }
  .cta-finale .eyebrow { color: var(--shu-tint); position: relative; }
  .cta-finale h2 { color: var(--blanc); margin: 0 auto 18px; max-width: 20ch; position: relative; }
  .cta-finale p { color: rgba(255,255,255,.82); max-width: 52ch; margin: 0 auto 26px; position: relative; }
  .cta-finale .actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; position: relative; }

  /* ============ Pied de page ============ */
  footer.pied {
    background: var(--ai); color: var(--pierre-clair);
    padding: 90px 0 36px; font-size: .95rem;
    border-top: 3px solid var(--shu);
  }
  .pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 44px; }
  @media (max-width: 760px) { .pied-grille { grid-template-columns: 1fr; gap: 30px; } }
  .pied .marque { font-family: var(--display); font-weight: 600; color: var(--shu); font-size: 1.5rem; }
  .pied .marque small { display: block; font-family: var(--body); font-weight: 400; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--pierre-clair); margin-top: 4px; }
  .pied h4 { font-family: var(--body); font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blanc); margin-bottom: 16px; }
  .pied ul { list-style: none; display: grid; gap: 12px; }
  .pied a { color: var(--pierre-clair); text-decoration: none; transition: color .2s; }
  .pied a:hover { color: var(--blanc); }
  .pied-social { display: flex; gap: 12px; margin-top: 24px; }
  .pied-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: var(--pierre-clair); transition: color .2s, border-color .2s, background .2s; }
  .pied-social a:hover { color: #fff; border-color: var(--shu); background: var(--shu); }
  .pied-social svg { width: 18px; height: 18px; fill: currentColor; display: block; }
  .pied-bas {
    border-top: 1px solid rgba(255,255,255,.08); padding-top: 26px;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: .8rem; color: var(--pierre-clair);
  }
  .pied-bas a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
  .pied-bas a:hover { color: #fff; }
