/* Feuille de style partagée d'accorder.ch (FR et EN). Servie avec ?v=<hash>
   par prepare-deploy.js et mise en cache 30 jours (immutable). */
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/eb-garamond-400.woff2?v=68fd4b24') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/eb-garamond-600.woff2?v=b4aa08b7') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/eb-garamond-400-italic.woff2?v=078bb1c0') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

  :root {
    --bg: #FCFDFE;
    --bg-alt: #F4F6FA;
    --card: #FFFFFF;
    --ink: #16202E;
    --muted: #556375;
    --nuit: #0A2342;
    --nuit-strong: #123659;
    --nuit-tint: #EEF2F6;
    --line: #E4E8ED;
    --line-strong: #CBD3DC;
    --shadow: 0 8px 28px rgba(10,35,66,.06);
    --shadow-soft: 0 2px 10px rgba(10,35,66,.04);
    --r-photo: 14px;
    --r-card: 14px;
    --r-box: 12px;
    --r-field: 8px;
    --r-btn: 999px;
    --section-pad: 104px;
  }
  * { box-sizing: border-box; margin: 0; }
  html { scroll-behavior: smooth; font-size: 104%; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: "Avenir Next", "Helvetica Neue", Helvetica, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.7;
    font-feature-settings: "liga", "kern";
    -webkit-font-smoothing: antialiased;
  }
  ::selection { background: var(--nuit); color: #fff; }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }
  .wrap { width: min(100% - 48px, 1120px); margin: 0 auto; }
  section, .hero { scroll-margin-top: 80px; }

  .skip-link { position: absolute; top: -100px; left: 16px; background: var(--nuit); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 8px; font-weight: 600; z-index: 10000; }
  .skip-link:focus { top: 0; }
  :focus-visible { outline: 2px solid var(--nuit); outline-offset: 3px; }
  /* Zones sur fond bleu nuit (pied de page, bande d'appel) : contour blanc,
     sinon le focus clavier est invisible (nuit sur nuit). */
  footer :focus-visible, .cta-band :focus-visible { outline-color: #fff; }

  .label {
    display: block;
    font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
    color: var(--muted);
  }
  .label::before {
    content: ""; display: block; width: 0; height: 2px;
    background: var(--nuit); margin-bottom: 14px;
    transition: width .7s cubic-bezier(.4,0,.2,1) .2s;
  }
  section.seen .label::before, .hero.seen .label::before { width: 28px; }

  /* ── Header ── */
  header { border-bottom: 1px solid var(--line-strong); background: rgba(255,255,255,.97); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 50; box-shadow: 0 4px 14px rgba(10,35,66,.05); transition: box-shadow .3s ease; }
  header.scrolled { box-shadow: 0 8px 24px rgba(10,35,66,.09); }
  header nav { display: flex; align-items: center; gap: 16px; padding: 11px 0; }
  .wordmark { font-family: "EB Garamond", "Baskerville", "Iowan Old Style", Palatino, Georgia, serif; font-size: 24px; letter-spacing: .01em; white-space: nowrap; line-height: 1.15; }
  .wordmark { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: center; column-gap: 12px; }
  header .wordmark { transform: translateY(4px); }
  header .wm-logo { height: 42px; }
  .wm-logo { grid-row: 1; width: auto; height: 28px; }
  .wm-stack { display: grid; grid-template-columns: auto auto auto; column-gap: 10px; align-items: center; grid-row: 1; }
  .wm-stack > .wm-l { justify-self: end; }
  .wm-stack > .wm-r { justify-self: start; }
  .wm-stack b { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .5; justify-self: center; transform: translateY(2px); }
  .wm-stack small.wm-p { justify-self: center; letter-spacing: 0; }
  .foot-brand .wm-logo { filter: brightness(0) invert(1); opacity: .92; }
  .wordmark small { display: block; font-family: "Avenir Next", "Helvetica Neue", sans-serif; font-size: 9.6px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
  .nav-links { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: .88rem; font-weight: 500; color: var(--muted); }
  .nav-lang { font-weight: 600; letter-spacing: .06em; }
  .nav-links a:not(.nav-cta) { position: relative; padding: 4px 0; transition: color .2s ease; }
  .nav-links a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--nuit); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
  }
  .nav-links a:not(.nav-cta):hover, .nav-links a:not(.nav-cta):focus-visible { color: var(--nuit); }
  .nav-links a:not(.nav-cta):hover::after, .nav-links a:not(.nav-cta):focus-visible::after { transform: scaleX(1); }
  .nav-cta {
    color: #fff; background: var(--nuit);
    padding: 11px 26px; font-size: .86rem; font-weight: 600; letter-spacing: .03em;
    border-radius: var(--r-btn); white-space: nowrap;
    transition: background .2s ease;
  }
  .nav-cta:hover { background: var(--nuit-strong); color: #fff; }

  /* ── Hero ── */
  .hero { padding: 56px 0 0; }
  .hero .wrap { padding-bottom: 88px; border-bottom: 1px solid var(--line); }
  .hero-grid { display: grid; grid-template-columns: 1fr 368px; gap: 0 80px; align-items: start; }
  .hero-grid .hero-side { position: sticky; top: 90px; }
  h1 {
    font-family: "EB Garamond", "Baskerville", "Iowan Old Style", Palatino, Georgia, serif;
    font-weight: 400;
    font-size: clamp(3rem, 6vw, 4.8rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 30px 0 26px;
    max-width: 14ch;
  }
  h1 em { font-style: italic; color: var(--nuit); }
  .lead { color: var(--muted); font-size: 1.1rem; max-width: 52ch; margin-bottom: 46px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 48px; align-items: center; justify-items: start; margin-bottom: 46px; }
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--nuit); color: #fff;
    padding: 15px 32px; font-weight: 600; font-size: .93rem; letter-spacing: .03em;
    border-radius: var(--r-btn); border: 1px solid var(--nuit); cursor: pointer; font-family: inherit;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .1s ease;
  }
  .btn:hover { background: var(--nuit-strong); border-color: var(--nuit-strong); box-shadow: 0 8px 22px rgba(10,35,66,.2); }
  .btn:active { transform: translateY(1px); box-shadow: 0 3px 10px rgba(10,35,66,.18); }
  .ar { width: 26px; height: 7px; stroke: currentColor; stroke-width: 1.2; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
  .ar-down { width: 7px; height: 22px; }
  .btn .arr { transition: transform .2s ease; }
  .btn:hover .arr { transform: translateX(3px); }
  .btn.ghost { background: transparent; color: var(--nuit); border-color: var(--line-strong); }
  .btn.ghost:hover { background: transparent; border-color: var(--nuit); }
  .hero-trustline { margin: 22px 0 46px; font-size: .85rem; color: var(--muted); letter-spacing: .02em; }
  .hero-trustline b { font-weight: 400; color: var(--line-strong); padding: 0 6px; }

  .hero-points { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; list-style: none; padding: 0; }
  .hero-points li {
    padding: 18px 2px;
    border-top: 1px solid var(--line);
    font-size: .9rem; font-weight: 400; line-height: 1.55; color: var(--muted);
  }
  .hero-points li strong {
    display: block; margin-bottom: 4px;
    font-family: "EB Garamond", "Baskerville", "Iowan Old Style", Palatino, Georgia, serif;
    font-weight: 600; font-size: 1.12rem; color: var(--ink);
  }
  .link-quiet {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .95rem; font-weight: 500; color: var(--nuit);
    border-bottom: 1px solid var(--line-strong); padding-bottom: 3px;
    transition: border-color .2s ease;
  }
  .link-quiet:hover { border-color: var(--nuit); }
  .link-quiet .arr { transition: transform .2s ease; }
  .link-quiet:hover .arr { transform: translateY(2px); }

  .hero-visual { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); }
  .visual-flip { margin-bottom: 18px; }
  .visual-flip .hero-visual img { height: 214px; }
  .hero-visual img { width: 100%; height: 214px; object-fit: cover; display: block; }

  /* carte retournable */
  .fiche-flip {
    display: grid; cursor: pointer;
    transform-style: preserve-3d;
    transition: transform .65s cubic-bezier(.4,0,.2,1);
  }
  .hero-side { perspective: 1700px; margin-top: 48px; }
  .fiche-flip.flipped { transform: rotateY(180deg); }
  .fiche-flip .face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; justify-content: space-between; }
  .fiche-flip .face.back { transform: rotateY(180deg); }
  .fiche-flip .face { position: relative; }
  .flip-btn {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    width: 32px; height: 32px; padding: 0; border-radius: 50%;
    border: 1px solid var(--line-strong); background: #fff; color: var(--muted);
    display: grid; place-items: center; cursor: pointer;
    transition: color .2s ease, border-color .2s ease;
  }
  .flip-btn:hover, .flip-btn:focus-visible { color: var(--nuit); border-color: var(--nuit); }
  .flip-btn svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .fiche .flip-btn { top: 16px; right: 16px; }
  .back-points { list-style: none; margin: 0; padding: 0; }
  .back-points li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .92rem; font-weight: 500; line-height: 1.5; }
  .back-points li:last-child { border-bottom: none; }
  .back-link { color: var(--nuit); font-weight: 600; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; font-style: normal; }
  .back-link:hover { border-color: var(--nuit); }
  @media (prefers-reduced-motion: reduce) { .fiche-flip { transition: none; } }

  /* colonne latérale du hero */
  .hero-side { display: grid; align-content: start; }
  .fiche.fiche-illustrated { padding: 0; overflow: hidden; }
  .fiche-visual { border-bottom: 1px solid var(--line); }
  .fiche-visual img { width: 100%; height: 185px; object-fit: cover; display: block; }
  .fiche-body { padding: 26px 28px 24px; }

  /* fiche pratique */
  .fiche {
    border-top: 3px solid var(--nuit);
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--r-card); padding: 18px 24px;
    box-shadow: var(--shadow);
  }
  .fiche-head {
    padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line);
    font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--nuit); font-weight: 600;
  }
  .fiche dl { margin: 0; }
  .fiche dl > div { padding: 9px 0; border-bottom: 1px solid var(--line); }
  .fiche dl > div:last-child { border-bottom: none; }
  .fiche dt { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
  .fiche dd { margin: 0; font-size: .9rem; line-height: 1.5; }
  .fiche .note { padding-top: 11px; border-top: 1px solid var(--line); font-size: .83rem; color: var(--muted); }

  /* ── Bande « pour qui » ── */

  /* ── Sections ── */
  section { padding: var(--section-pad) 0 0; }
  section .wrap { padding-bottom: var(--section-pad); border-bottom: 1px solid var(--line); }
  section:last-of-type .wrap { border-bottom: none; }
  h2 {
    font-family: "EB Garamond", "Baskerville", "Iowan Old Style", Palatino, Georgia, serif;
    font-weight: 400;
    font-size: clamp(2.2rem, 3.6vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: -0.005em;
    margin: 26px 0 16px;
  }
  .section-intro { color: var(--muted); max-width: 58ch; }

  #contact .sec { display: block; }
  #contact .sec > .label { position: static; margin-bottom: 20px; }

  /* rail d'étiquettes : le chemin visuel descend le long de la marge gauche */
  .sec { display: grid; grid-template-columns: 190px 1fr; gap: 48px; align-items: start; }
  .sec > .label { position: sticky; top: 94px; }
  .sec-body h2 { margin-top: -10px; }
  .sec-body > :last-child { margin-bottom: 0; }

  #methode .wrap { padding-bottom: 0; }
  .steps-spacer { height: var(--section-pad); }

  /* Domaines : l'index */
  .index { margin-top: 52px; border-top: 1px solid var(--line-strong); }
  .index-row {
    display: grid; grid-template-columns: 54px 300px 1fr;
    gap: 28px; align-items: center;
    padding: 28px 12px; border-bottom: 1px solid var(--line);
    transition: background .25s ease;
  }
  .index-row:hover, .index-row:focus-visible { background: var(--bg-alt); }
  .index-row:focus-visible { outline-offset: -2px; }
  .index-icon {
    width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--nuit-tint);
    color: var(--nuit);
    transition: background .25s ease, color .25s ease;
  }
  .index-icon svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; }
  .index-row:hover .index-icon { background: var(--nuit); color: #fff; }
  .index-row h3 { font-family: "EB Garamond", "Baskerville", "Iowan Old Style", Palatino, Georgia, serif; font-weight: 600; font-size: 1.32rem; letter-spacing: -0.005em; transition: color .25s ease; }
  .index-row:hover h3 { color: var(--nuit); }
  .index-row p { color: var(--muted); font-size: .91rem; }
  .index-arrow { color: var(--muted); font-size: 1.15rem; justify-self: end; transition: color .25s ease, transform .25s ease; }
  .index-row:hover .index-arrow { color: var(--nuit); transform: translateX(5px); }

  /* Méthode */
  .steps { margin-top: 52px; max-width: 820px; position: relative; }
  .steps::before {
    content: ""; position: absolute; left: 20px; top: 40px; bottom: calc(var(--section-pad) + 118px);
    width: 1px; background: var(--line-strong);
  }
  .step-head {
    display: grid; grid-template-columns: 76px 1fr; gap: 32px; align-items: center;
    padding: 8px 0; position: sticky; top: calc(94px + var(--i) * 56px);
    background: var(--bg); z-index: 8;
  }
  .step-head::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 34px;
    background: var(--bg);
  }
  .steps > div:nth-of-type(1) { z-index: 12; }
  .steps > div:nth-of-type(2) { z-index: 11; }
  .steps > div:nth-of-type(3) { z-index: 10; }
  .steps > div:nth-of-type(4) { z-index: 9; }
  .step-desc { position: relative; z-index: 1; margin: 2px 0 30px 108px; color: var(--muted); font-size: .94rem; max-width: 56ch; }
  .step-num {
    font-family: "EB Garamond", "Baskerville", "Iowan Old Style", Palatino, Georgia, serif;
    font-size: 1.1rem; line-height: 1;
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--bg); border: 1px solid var(--line-strong); color: var(--nuit);
    position: relative; z-index: 1;
  }
  .step-head h3 a { color: inherit; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
  .step-head h3 a:hover { border-color: var(--nuit); }
  .step-head h3 { font-family: "EB Garamond", "Baskerville", "Iowan Old Style", Palatino, Georgia, serif; font-weight: 600; font-size: 1.3rem; margin: 0; transition: color .35s ease; }

  .step-num { transition: background .35s ease, color .35s ease, border-color .35s ease; }
  .step-head.past::after, .step-head.current::after {
    content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 26px;
    background: linear-gradient(180deg, var(--bg), rgba(252,253,254,0)); pointer-events: none;
  }
  .step-head.past .step-num { border-color: var(--nuit); color: var(--nuit); }
  .step-head.past h3 { color: var(--muted); }
  .step-head.current .step-num { background: var(--nuit); color: #fff; border-color: var(--nuit); }
  .step-num { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
  .step-num.final { background: var(--nuit); border-color: var(--nuit); }
  .step-num.final::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }


  /* Médiateur */
  .med-grid { display: grid; grid-template-columns: 285px 1fr; gap: 0 64px; align-items: start; margin-top: 44px; }
  .med-photo { position: sticky; top: 90px; }
  .med-photo img {
    filter: saturate(.96);
    border-radius: var(--r-photo);
    box-shadow: var(--shadow); aspect-ratio: 2 / 3; object-fit: cover; width: 100%; height: auto;
  }
  .med-caption { margin-top: 18px; text-align: center; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
  .med-name { font-family: "EB Garamond", "Baskerville", "Iowan Old Style", Palatino, Georgia, serif; font-size: 2.3rem; font-weight: 400; line-height: 1.15; margin: -9px 0 12px; }
  .med-creds { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 30px; }
  .med-creds span {
    padding: 8px 16px; border-radius: 999px;
    border: 1px solid var(--line-strong); color: var(--nuit);
    font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  }
  .med-bio p { color: var(--muted); margin-bottom: 17px; max-width: 54ch; }
  .med-bio p:first-of-type { color: var(--ink); font-size: 1.06rem; line-height: 1.7; }
  .med-meta { margin-top: 26px; font-size: .88rem; color: var(--muted); display: flex; gap: 28px; flex-wrap: wrap; }

  /* Approche */
  .approche-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px; margin-top: 48px; max-width: 960px; }
  .approche-grid > div { padding: 28px 0; border-top: 1px solid var(--line); }
  .approche-grid strong { display: block; font-family: "EB Garamond", "Baskerville", "Iowan Old Style", Palatino, Georgia, serif; font-weight: 600; font-size: 1.24rem; margin-bottom: 8px; }
  .approche-grid span { color: var(--muted); font-size: .93rem; }

  /* FAQ */
  .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px; margin-top: 48px; }
  .faq-grid > div { padding: 26px 0; border-top: 1px solid var(--line); }
  .faq-grid h3 { font-family: "EB Garamond", "Baskerville", "Iowan Old Style", Palatino, Georgia, serif; font-weight: 600; font-size: 1.1rem; margin-bottom: 7px; }
  .faq-grid p { color: var(--muted); font-size: .92rem; }

  /* Contact */
  .contact-grid { display: grid; grid-template-columns: 1fr 320px; gap: 60px; margin-top: 52px; align-items: start; }
  .contact-grid .contact-side { position: sticky; top: 90px; perspective: 1700px; }
  .contact-card {
    border-top: 3px solid var(--nuit);
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
    padding: 42px; box-shadow: var(--shadow);
  }
  form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
  .fg { display: flex; flex-direction: column; gap: 7px; }
  .fg.full { grid-column: 1 / -1; }
  label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); transition: color .2s ease; }
  .fg:focus-within label { color: var(--nuit); }
  .fg, form .row, .contact-grid > *, .sec-body { min-width: 0; }
  input, select, textarea { min-width: 0; max-width: 100%; }
  input, select, textarea {
    font: inherit; color: var(--ink); background: var(--bg);
    border: 1px solid var(--line-strong); border-radius: var(--r-field);
    padding: 12px 15px;
    transition: border-color .2s ease, box-shadow .2s ease;
  }
  input:hover, select:hover, textarea:hover { border-color: var(--muted); }
  input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--nuit);
    box-shadow: 0 0 0 3px rgba(10,35,66,.1);
  }
  textarea { min-height: 130px; resize: vertical; }
  select {
    appearance: none; -webkit-appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23556375" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
    background-repeat: no-repeat; background-position: right 13px center; background-size: 13px;
    padding-right: 40px;
  }
  .form-reassure { display: flex; align-items: center; gap: 11px; margin: 4px 0 22px; color: var(--muted); font-size: .87rem; }
  .form-note { font-size: .83rem; color: var(--muted); margin-top: 18px; }
  .hp { position: absolute; left: -9999px; top: -9999px; }
  .ferr { color: #A33A3A; font-size: .84rem; margin: 7px 0 0; }
  .form-fail { color: #A33A3A; font-size: .9rem; margin-top: 14px; }
  input.bad, textarea.bad { border-color: #A33A3A; }
  .form-done h3 { font-family: "EB Garamond", "Baskerville", "Iowan Old Style", Palatino, Georgia, serif; font-weight: 600; font-size: 1.4rem; margin-bottom: 12px; }
  .form-done p { color: var(--muted); margin-bottom: 12px; max-width: 54ch; }
  .form-done .btn { margin-top: 6px; }
  .fiche-btn { display: flex; justify-content: center; margin-top: 18px; padding: 13px 20px; font-size: .9rem; width: 100%; }

  /* ── Footer ── */
  footer { background: var(--nuit); color: rgba(255,255,255,.75); }
  .cta-band { border-bottom: 1px solid rgba(255,255,255,.14); }
  .foot-grid { display: grid; grid-template-columns: 1.5fr .85fr .85fr 1.1fr; gap: 48px; padding: 76px 0 56px; }
  .foot-brand { margin-bottom: 24px; }
  .foot-brand .wordmark { font-size: 32px; column-gap: 15px; }
  .foot-brand .wm-logo { height: 33.6px; }
  .foot-brand .wordmark small { font-size: 11.5px; margin-top: 5px; }
  .foot-brand .wordmark { color: #fff; }
  .foot-brand .wordmark b { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .5; vertical-align: .16em; margin: 0 9px; font-size: 0; line-height: 0; }
  .foot-brand .wordmark small { color: rgba(255,255,255,.6); }
  .foot-grid h4 { font-family: "EB Garamond", "Baskerville", "Iowan Old Style", Palatino, Georgia, serif; font-weight: 600; font-size: 1rem; color: #fff; margin-bottom: 18px; }
  .foot-grid p { font-size: .87rem; margin-bottom: 12px; line-height: 1.75; }
  .foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: .89rem; }
  .foot-grid a { transition: color .2s ease; }
  .foot-grid a:hover { color: #fff; }
  .articulation {
    border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-card);
    padding: 28px 32px; margin-bottom: 48px;
    display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start;
  }
  .articulation-icon {
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255,255,255,.08); color: #fff;
  }
  .articulation-icon svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.5; }
  .articulation h4 { font-family: "EB Garamond", "Baskerville", "Iowan Old Style", Palatino, Georgia, serif; font-weight: 600; font-size: 1rem; color: #fff; margin-bottom: 5px; }
  .articulation p { font-size: .87rem; max-width: 86ch; }
  .articulation a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); }
  .articulation a:hover { border-color: #fff; }
  .foot-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 26px 0 44px; border-top: 1px solid rgba(255,255,255,.12); font-size: .83rem; }

  /* FAQ accordéon */
  .faq { max-width: 800px; margin-top: 48px; border-top: 1px solid var(--line); }
  .faq details { border-bottom: 1px solid var(--line); }
  .faq summary {
    cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
    padding: 22px 4px;
    font-family: "EB Garamond", "Baskerville", "Iowan Old Style", Palatino, Georgia, serif;
    font-weight: 600; font-size: 1.2rem;
    transition: color .2s ease;
  }
  .faq summary:hover { color: var(--nuit); }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: "+"; flex: none;
    font-family: "Avenir Next", "Helvetica Neue", sans-serif;
    font-weight: 400; font-size: 1.25rem; line-height: 1;
    color: var(--muted); transition: transform .25s ease;
  }
  .faq details[open] summary::after { transform: rotate(45deg); color: var(--nuit); }
  .faq details p { padding: 0 4px 24px; color: var(--muted); font-size: .94rem; max-width: 62ch; }
  @keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }
  .faq details[open] p { animation: faq-in .35s ease; }

  /* Bande d'appel finale */
  .cta-band { background: var(--nuit); color: #fff; margin-top: var(--section-pad); }
  .cta-band .wrap {
    display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
    padding-top: 64px; padding-bottom: 64px;
  }
  .cta-band h2 { color: #fff; margin: 0 0 10px; }
  .accord-motif { width: 92px; height: auto; display: block; margin-bottom: 20px; }
  .cta-band p { color: rgba(255,255,255,.6); font-size: .96rem; max-width: 46ch; }
  .btn.inverse { background: #fff; color: var(--nuit); border-color: #fff; }
  .btn.inverse:hover { background: var(--bg-alt); border-color: var(--bg-alt); }

  /* Retour en haut */
  .back-to-top {
    position: fixed; right: 22px; bottom: 80px; z-index: 60;
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    background: #fff; color: var(--nuit);
    border: 1px solid var(--line-strong); cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease;
  }
  .back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
  .back-to-top:hover { background: var(--nuit); color: #fff; }
  .back-to-top svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }

  /* Menu mobile */
  .menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: var(--r-btn); padding: 10px 12px; cursor: pointer; }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* navigation : section active */
  .nav-links a.active { color: var(--nuit); }
  .nav-links a.active::after { transform: scaleX(1); }

  /* entrée du hero */
  .fade { opacity: 0; transform: translateY(12px); transition: opacity .65s ease, transform .65s ease; }
  body.loaded .fade { opacity: 1; transform: none; }
  .fade.d1 { transition-delay: .08s; } .fade.d2 { transition-delay: .16s; }
  .fade.d3 { transition-delay: .24s; } .fade.d4 { transition-delay: .32s; } .fade.d5 { transition-delay: .42s; }

  h1, h2 { text-wrap: balance; }
  .req::after { content: " *"; color: var(--nuit); }
  input:user-invalid, textarea:user-invalid { border-color: #A33A3A; }


  @media print {
    header, .back-to-top, .mobile-cta, .cta-band, .menu-toggle, .hero-actions, form button { display: none !important; }
    .fade, .reveal { opacity: 1 !important; transform: none !important; }
  }

  .index-row:nth-child(2), .approche-grid > div:nth-child(2) { transition-delay: .08s; }
  .index-row:nth-child(3), .approche-grid > div:nth-child(3) { transition-delay: .16s; }
  .index-row:nth-child(4), .approche-grid > div:nth-child(4) { transition-delay: .24s; }
  .index-row:nth-child(5) { transition-delay: .32s; }
  @media (max-width: 380px) {
    .wordmark { font-size: 20.5px; column-gap: 9px; }
    header .wm-logo { height: 36px; }
    .foot-brand .wordmark { font-size: 24.8px; }
    .foot-brand .wm-logo { height: 26.4px; }
    .wm-logo { height: 24px; }
    .wm-stack { column-gap: 7px; }
  }

  @media (min-width: 921px) {
    .back-to-top { bottom: 22px; }
    .back-to-top.visible { opacity: 0; visibility: hidden; transform: translateY(8px); }
    body.at-footer .back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
  }

  .reveal { opacity: 0; transform: translateY(10px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.on { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .fade { opacity: 1; transform: none; transition: none; }
    .btn, .nav-cta, .index-row, .index-icon, .index-arrow, .back-to-top, .menu-toggle span { transition: none; }
  }

  @media (max-width: 920px) {
    :root { --section-pad: 64px; }
    .hero { padding: 56px 0 0; }
    .hero .wrap { padding-bottom: 56px; }
    .hero-grid, .med-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .approche-grid, .faq-grid, .hero-points, form .row { grid-template-columns: 1fr; }
    .hero-actions { grid-template-columns: 1fr; justify-items: stretch; gap: 12px; }
    .hero-actions .btn { justify-content: center; }
    .hero-actions .link-quiet {
      justify-content: center; padding: 14px 20px;
      border: 1px solid var(--line-strong); border-radius: 999px;
    }
    .sec { grid-template-columns: 1fr; gap: 18px; }
    .sec > .label {
      position: sticky; top: 66px; z-index: 13;
      display: flex; align-items: center; gap: 10px;
      background: var(--bg);
      margin: 0 -24px; padding: 10px 24px;
      border-bottom: 1px solid var(--line);
    }
    .sec > .label::before { margin-bottom: 0; flex: none; }
    .sec-body h2 { margin-top: 0; }
    .index-row { grid-template-columns: 54px 1fr; grid-template-rows: auto auto; row-gap: 8px; }
    .index-arrow { display: none; }
    .index-row p { grid-column: 2; }
    .menu-toggle { display: block; }
    .nav-links {
      position: absolute; top: calc(100% + 1px); left: 0; right: 0;
      display: flex; flex-direction: column; align-items: stretch; gap: 0;
      background: #fff; border-bottom: 1px solid var(--line);
      box-shadow: var(--shadow); padding: 10px 24px 18px;
      opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none;
      transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    }
    .nav-links.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
    .nav-links a:not(.nav-cta) { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
    .nav-links a:not(.nav-cta)::after { display: none; }
    .nav-cta { margin-top: 14px; text-align: center; }
    header nav { position: relative; }
    .med-photo { max-width: 320px; }
    .contact-card { padding: 26px 22px; }
    .contact-grid .contact-side, .hero-grid .hero-side { position: static; }
    .hero-side { margin-top: 0; }
    .med-photo { position: static; }
    .step-head { grid-template-columns: 52px 1fr; gap: 16px; top: calc(104px + var(--i) * 50px); padding: 8px 0; }
    .step-head .step-num { width: 34px; height: 34px; font-size: 1rem; }
    .steps::before { left: 17px; }
    .step-desc { margin-left: 68px; }
    .hero-visual img { height: 148px; }
    .cta-band .wrap { padding-top: 44px; padding-bottom: 44px; }
    .back-to-top { right: 16px; bottom: 16px; }
    .foot-grid { grid-template-columns: 1fr; gap: 38px; padding: 52px 0 40px; }
    .articulation { grid-template-columns: 1fr; }
  }

  /* pages intérieures */
  .page-main { padding: 60px 0 0; }
  .page-main .wrap { padding-bottom: var(--section-pad); }
  .breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 30px; }
  .breadcrumb a { transition: color .2s ease; }
  .breadcrumb a:hover { color: var(--nuit); }
  .breadcrumb b { font-weight: 400; opacity: .5; padding: 0 7px; }
  .page-grid { display: grid; grid-template-columns: 1fr 340px; gap: 0 72px; align-items: start; }
  .page-main .label::before { width: 28px; }
  .article h1 { font-family: "EB Garamond", "Baskerville", "Iowan Old Style", Palatino, Georgia, serif; font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.1; margin: 22px 0 18px; max-width: 20ch; }
  .article > p:first-of-type { color: var(--muted); font-size: 1.08rem; max-width: 58ch; }
  .article h2 { font-family: "EB Garamond", "Baskerville", "Iowan Old Style", Palatino, Georgia, serif; font-weight: 500; font-size: 1.65rem; line-height: 1.2; margin: 46px 0 12px; }
  .article h3 { font-family: "EB Garamond", "Baskerville", "Iowan Old Style", Palatino, Georgia, serif; font-weight: 600; font-size: 1.18rem; margin: 28px 0 8px; }
  .article p { color: var(--muted); margin: 0 0 14px; max-width: 64ch; }
  .article ul, .article ol { margin: 0 0 16px; padding-left: 22px; color: var(--muted); max-width: 62ch; }
  .article li { margin-bottom: 7px; }
  .article strong { color: var(--ink); font-weight: 600; }
  .article a { color: var(--nuit); border-bottom: 1px solid var(--line-strong); transition: border-color .2s ease; }
  .article a:hover { border-color: var(--nuit); }
  .article a.btn { color: #fff; border-bottom: none; }
  .related-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
  .related-pills a { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--nuit); font-weight: 500; font-size: .9rem; border-bottom-width: 1px; transition: border-color .2s ease, background .2s ease; }
  .related-pills a:hover { border-color: var(--nuit); background: var(--bg-alt); }
  .guides-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 34px; }
  .guides-row .guides-label { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .guides-row .related-pills { margin: 0; }
  .cta-panel { border: 1px solid var(--line); border-top: 3px solid var(--nuit); border-radius: var(--r-card); background: var(--card); box-shadow: var(--shadow); padding: 30px 32px; margin-top: 48px; }
  .cta-panel h2 { margin-top: 0; }
  .cta-panel .btn { margin-top: 6px; }
  .page-grid .contact-side { position: sticky; top: 90px; perspective: 1700px; }
  .h1-row { display: flex; align-items: center; gap: 18px; margin: 22px 0 18px; }
  .h1-row h1 { margin: 0; }
  .page-icon { flex: none; width: 46px; height: 46px; border-radius: var(--r-box); display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--nuit); box-shadow: var(--shadow-soft); }
  .page-icon svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
  @media (max-width: 920px) {
    .page-grid .contact-side { position: static; }
    .page-grid { grid-template-columns: 1fr; gap: 44px; }
    .article h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  }
