@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-opsz.d3bfbbce.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-var.8ba20f2b.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-400.41cc284a.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0F1B26;
  --surface: #132334;
  --rule: #233649;
  --text: #F4F3EE;
  --muted: #A7B3BF;
  --blue: #9DB8D1;
  --blue-deep: #4C6F8F;
  --blue-line: #557A9C;
  --green: #A1B5AB;
  --green-mid: #5E8A72;
  --sapin: #2E5A44;
  --sapin-dark: #1F4130;
  --band: #12263A;
  --ochre: #D9A64A;
  --ochre-ink: #D9A64A;
  --ochre-track: rgba(217, 166, 74, 0.28);
  --muted-dim: #7D8B98;
  --blue-glow: rgba(157, 184, 209, 0.55);
  --btn-hover-bg: #4C6F8F;
  --btn-hover-fg: #F4F3EE;
  color-scheme: dark;
  --f-head: "Fraunces", Georgia, serif;
  --f-body: "Instrument Sans", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1180px;
  --gutter: 24px;
  --pad: 32px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --bar-h: 56px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #E9E7E0;
    --surface: #DBE2E0;
    --rule: #CFD5D3;
    --text: #1D2934;
    --muted: #4A5560;
    --blue: #3D5A75;
    --blue-deep: #5A7A97;
    --blue-line: #65839D;
    --green: #2E5A44;
    --green-mid: #2E5A44;
    --sapin: #2E5A44;
    --sapin-dark: #1F4130;
    --band: #DBE2E0;
    --ochre: #A86A1C;
    --ochre-ink: #895A1E;
    --ochre-track: rgba(168, 106, 28, 0.28);
    --muted-dim: #59646E;
    --blue-glow: rgba(61, 90, 117, 0.35);
    --btn-hover-bg: #1D2934;
    --btn-hover-fg: #F4F3EE;
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 16 6 5;
}
nav, .btn, .btn-sm, .btn-ghost, .mono, a.up, code { hyphens: manual; -webkit-hyphens: manual; }
a[href^="mailto:"], a[href^="http"] { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: anywhere; }
h1, h2, h3 {
  font-family: var(--f-head);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
p, li { text-wrap: pretty; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible { outline: 1px solid var(--blue); outline-offset: 3px; }
.mono { font-family: var(--f-mono); font-weight: 400; }
.nw { display: inline; white-space: nowrap; }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 60;
  padding: 10px 16px; background: var(--bg); color: var(--text); border: 1px solid var(--blue);
}
.skip-link:focus { top: 16px; }
main:focus { outline: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }

.st-rule { stroke: var(--rule); }
.st-blue { stroke: var(--blue); }
.st-deep { stroke: var(--blue-deep); }
.st-line { stroke: var(--blue-line); }
.st-green { stroke: var(--green); }
.fl-blue { fill: var(--blue); }
.fl-bg { fill: var(--bg); }
.fl-green { fill: var(--green); }
.fl-deep { fill: var(--blue-deep); }
.fl-green-mid { fill: var(--green-mid); }
.fl-ochre { fill: var(--ochre); }
.fl-text { fill: var(--text); }

.ln { fill: none; stroke-linecap: square; stroke-linejoin: miter; vector-effect: non-scaling-stroke; transition: stroke 250ms var(--ease); }
.d0 { --d: 0; } .d150 { --d: 150; } .d450 { --d: 450; } .d550 { --d: 550; } .d600 { --d: 600; } .d650 { --d: 650; }
.d1000 { --d: 1000; } .d1250 { --d: 1250; } .d1400 { --d: 1400; } .d1450 { --d: 1450; } .d1500 { --d: 1500; }
.d1550 { --d: 1550; } .d1650 { --d: 1650; } .d1680 { --d: 1680; } .d1780 { --d: 1780; } .d1800 { --d: 1800; }
.d1810 { --d: 1810; } .d1910 { --d: 1910; } .d1940 { --d: 1940; } .d1950 { --d: 1950; } .d2040 { --d: 2040; }
.d2050 { --d: 2050; } .d2100 { --d: 2100; } .d2150 { --d: 2150; } .d2200 { --d: 2200; } .d2250 { --d: 2250; }
.t200 { --t: 200; } .t250 { --t: 250; } .t300 { --t: 300; } .t350 { --t: 350; } .t400 { --t: 400; } .t450 { --t: 450; } .t500 { --t: 500; }

section[id] { scroll-margin-top: var(--bar-h); }
header.site { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--rule); }
.read-progress { display: none; position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 41; pointer-events: none; transform: translateY(calc(var(--bar-h) - 2px)); }
.read-progress span { display: block; height: 100%; background: var(--blue); transform-origin: left center; }
header.site .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 32px; height: var(--bar-h); }
.logo { justify-self: start; display: inline-flex; align-items: center; line-height: 1; }
.logo:hover { text-decoration: none; }
.logo:focus-visible { outline: 1px solid var(--blue); outline-offset: 4px; }
.logo svg { width: auto; height: 26px; display: block; }
nav.main { position: relative; display: flex; gap: 32px; font-size: 15px; height: 100%; align-items: center; justify-self: center; }
nav.main a { position: relative; display: inline-flex; align-items: baseline; gap: 7px; color: var(--text); padding: 6px 0; transition: color 160ms var(--ease); }
nav.main a .n { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.02em; color: var(--muted); }
nav.main a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--blue);
  transform: scaleX(0); transform-origin: left center; transition: transform 180ms var(--ease);
}
nav.main a:hover { color: var(--blue); text-decoration: none; }
nav.main a:hover::after { transform: scaleX(1); }
nav.main a:focus-visible { outline: 1px solid var(--blue); outline-offset: 6px; }
.langs { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; }
.langs a { color: var(--muted); padding: 4px 2px; line-height: 1; }
.langs .sep { color: var(--blue-line); }
.langs a:hover { color: var(--text); text-decoration: none; }
.langs a[aria-current] { color: var(--text); }
.langs a:focus-visible { outline: 1px solid var(--blue); outline-offset: 2px; }
.bar-end { justify-self: end; display: flex; align-items: center; gap: 22px; }
.btn-sm {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  font-size: 14px; font-weight: 500; line-height: 1;
  color: var(--bg); background: var(--blue); border: 0; border-radius: 3px;
  transition: background-color 160ms var(--ease);
}
.btn-sm:hover { background: var(--text); color: var(--bg); text-decoration: none; }
.btn-sm .arr { display: inline-block; transition: transform 160ms var(--ease); }
.btn-sm:hover .arr { transform: translateX(3px); }
.btn-sm:focus-visible { outline: 1px solid var(--blue); outline-offset: 3px; }
a.btn-sm[href] { overflow-wrap: normal; white-space: nowrap; }
.menu-btn { display: none; }
.m-menu { display: none; }

.btn {
  display: inline-block; font-weight: 500; font-size: 16px;
  color: var(--bg); background: var(--blue); border: 1px solid var(--blue);
  border-radius: 3px; padding: 13px 20px; line-height: 1.2;
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}
.btn:hover { background: var(--btn-hover-bg); border-color: var(--btn-hover-bg); color: var(--btn-hover-fg); text-decoration: none; }
.btn .arr { display: inline-block; transition: transform 180ms var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn:focus-visible { outline: 1px solid var(--blue); outline-offset: 3px; }
.btn-ghost {
  display: inline-flex; align-items: center; font-weight: 500; font-size: 16px; line-height: 1.2;
  color: var(--blue); border: 1px solid var(--blue-line); border-radius: 3px; padding: 12px 20px;
  transition: border-color 160ms var(--ease), color 160ms var(--ease);
}
.btn-ghost:hover { color: var(--text); border-color: var(--blue); text-decoration: none; }
.btn-ghost:focus-visible { outline: 1px solid var(--blue); outline-offset: 3px; }

.hero { padding: 112px 0 80px; }
.hero .grid { align-items: center; }
.hero .txt { grid-column: 1 / span 7; }
.hero h1 { font-size: clamp(44px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; }
@media (min-width: 961px) { .hero h1 .l { display: block; white-space: nowrap; } }
.hero .lead { margin-top: 36px; font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 31em; text-wrap: pretty; }
.hero .cta { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.hero .fig { grid-column: 8 / -1; margin: 0; }
.hero .fig svg { width: 100%; height: auto; display: block; overflow: visible; }
.schema .pulse, .schema .ack { opacity: 0; }
.fig:hover .link { stroke: var(--blue); }

section.block { padding: 112px 0; border-bottom: 1px solid var(--rule); }
.label { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--blue); margin-bottom: 20px; display: block; }
.sec-head { grid-column: 1 / span 4; }
.sec-head h2 { font-size: 40px; line-height: 1.1; }
.sec-head .sub { margin-top: 12px; color: var(--green); font-size: 17px; }
.sec-body { grid-column: 5 / -1; }

.offer { padding: 0 0 112px; }
.offer .wrap { position: relative; }
.offer .rule-top { grid-column: 1 / -1; height: 1px; background: var(--blue-line); margin-bottom: 80px; }
.offer-head { grid-column: 1 / span 5; }
.offer-head h2 { font-size: 40px; line-height: 1.12; }
.offer-fig { margin: 36px 40px 1em; width: 176px; }
.offer-fig svg { width: 100%; height: auto; display: block; overflow: visible; }
.offer-body { grid-column: 7 / -1; align-self: end; }
.offer-body .lead { font-size: 20px; line-height: 1.55; color: var(--text); max-width: 32em; }
.offer-body .cta { margin-top: 32px; }
.offer-body .fine { margin-top: 20px; font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 40em; }
.offer-fig .inner { stroke: var(--blue); }
.offer-fig .inner.last { stroke: var(--green); }
.offer-fig .scan { display: none; stroke: var(--blue); stroke-width: 1; opacity: 0; filter: drop-shadow(0 0 1px var(--blue-glow)); }

#services { background: var(--band); border-bottom: 0; }
.families {
  grid-column: 1 / -1; margin-top: 64px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gutter); row-gap: 0;
}
.family {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start;
  margin-bottom: var(--gutter);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--blue);
  border-radius: 3px;
  padding: 32px 32px 20px;
}
.fam-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.family .num { font-family: var(--f-mono); font-size: 13px; color: var(--green); }
.family h3 { font-size: 26px; line-height: 1.2; margin-top: 10px; }
.family h3::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 14px; background: var(--green); transform-origin: left center; }
.fam-link { color: inherit; }
.fam-link:hover { color: var(--blue); text-decoration: none; }
.fam-link:focus-visible { outline: 1px solid var(--blue); outline-offset: 3px; }
.family .intro { margin-top: 10px; color: var(--green); font-size: 17px; max-width: 34em; }
.picto { flex: none; width: 76px; height: 76px; margin-top: -4px; }
.picto svg { width: 76px; height: 76px; display: block; overflow: visible; }
.picto svg path { fill: none; stroke-linecap: square; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.family ul { list-style: none; margin: 24px 0 0; padding: 0; }
.family li { position: relative; padding: 0; border-top: 1px solid var(--rule); }
.family li::before { content: ""; position: absolute; left: 0; top: 24px; width: 6px; height: 6px; background: var(--green); }
.family summary {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0 14px 20px; list-style: none; cursor: pointer;
  color: var(--text); transition: color 160ms var(--ease);
}
.family summary::-webkit-details-marker { display: none; }
.family summary::marker { content: ""; }
.family summary strong { font-weight: 500; font-size: 16px; }
.family summary:hover { color: var(--blue); }
.family summary:focus-visible { outline: 1px solid var(--blue); outline-offset: 2px; }
.family summary::after {
  content: ""; flex: none; margin-left: auto; margin-right: 4px; width: 11px; height: 11px;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 11px 1px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 1px 11px no-repeat;
  transition: background-size 200ms var(--ease);
}
.family details[open] > summary::after { background-size: 11px 1px, 1px 0; }
.family .desc { margin: 0; padding: 0 32px 16px 20px; font-size: 15px; line-height: 1.55; color: var(--muted); }
a.up { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--blue); white-space: nowrap; }
a.up:focus-visible { outline: 1px solid var(--blue); outline-offset: 2px; }
.more { grid-column: 1 / -1; margin-top: calc(48px - var(--gutter)); padding-top: 22px; border-top: 1px solid var(--blue-line); font-size: 16px; }
.more a { color: var(--muted); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color 160ms var(--ease), text-decoration-color 160ms var(--ease); }
.more a:hover { color: var(--text); text-decoration-color: var(--blue); }
.more a:focus-visible { outline: 1px solid var(--blue); outline-offset: 4px; }

@property --on { syntax: "<number>"; inherits: true; initial-value: 1; }
.steps {
  grid-column: 1 / -1; margin: 64px 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start;
  position: relative;
}
.steps li { position: static; --on: 1; }
.steps .num {
  display: block; font-family: var(--f-mono); font-size: 13px; line-height: 20px; padding-bottom: 14px;
  color: color-mix(in srgb, var(--ochre-ink) calc(var(--on) * 100%), var(--muted));
}
.steps h3 { font-size: 22px; line-height: 1.2; margin-top: 20px; color: color-mix(in srgb, var(--text) calc(var(--on) * 100%), var(--muted)); }
.steps p { margin-top: 10px; font-size: 16px; color: color-mix(in srgb, var(--muted) calc(var(--on) * 100%), var(--muted-dim)); }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 33px; height: 2px; }
.steps::before { background: var(--ochre-track); }
.steps::after { background: var(--ochre); transform-origin: left center; }
.steps > li:first-child::before { content: ""; position: absolute; top: 31px; left: calc(100% - 10px); width: 10px; height: 6px; background: var(--ochre); border-radius: 1px; }

.contact { border-bottom: 0; }
section.block.contact { border-bottom: 0; }
.contact .sec-body { position: relative; padding-top: 28px; }
.contact .sec-body::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--blue-deep); transform-origin: left center; }
.contact .sec-body p.intro { font-size: 22px; line-height: 1.5; max-width: 30em; }
.contact .sec-body p.intro + p.intro { margin-top: 16px; }
.contact .cta { margin-top: 36px; }
.contact .privacy { margin-top: 24px; font-size: 14px; color: var(--muted); }

footer.site { padding: 56px 0 64px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--rule); }
footer.site .col-a { grid-column: 1 / span 5; }
footer.site .col-b { grid-column: 6 / span 4; }
footer.site .col-c { grid-column: 10 / -1; }
footer.site p + p { margin-top: 6px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer.site .mono { font-size: 13px; }
footer.site a.ochre { color: var(--ochre-ink); }
footer.site a[aria-current] { color: var(--text); }

.page-hero { padding: 96px 0 88px; border-bottom: 1px solid var(--rule); }
.page-hero .txt { grid-column: 1 / span 9; }
.crumbs { margin-bottom: 28px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.02em; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--blue-line); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); text-decoration: none; }
.crumbs [aria-current] { color: var(--blue); }
.page-hero h1 { font-size: clamp(36px, 4vw, 56px); line-height: 1.06; letter-spacing: -0.015em; max-width: 20em; }
.page-hero .lead { margin-top: 28px; font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 34em; }
.page-hero .lead + .lead { margin-top: 16px; color: var(--text); }
.page-hero .cta { margin-top: 40px; }
section.block.service { padding: 72px 0; }
.service .sec-head h2 { font-size: 28px; line-height: 1.2; }
.prose { max-width: 40em; font-size: 18px; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 16px; }
.prose ul { margin: 16px 0 0; padding: 0 0 0 20px; list-style: none; }
.prose ul li { position: relative; }
.prose ul li + li { margin-top: 8px; }
.prose ul li::before { content: ""; position: absolute; left: -20px; top: 0.7em; width: 6px; height: 6px; background: var(--green); }
.prose .note { padding: 14px 18px; border-left: 2px solid var(--ochre); background: var(--surface); color: var(--text); font-size: 16px; }
#autres-services { background: var(--band); border-bottom: 0; }
.related { grid-column: 5 / -1; list-style: none; margin: 0; padding: 0; }
.related li { display: grid; gap: 4px; padding: 18px 0 20px; border-top: 1px solid var(--rule); }
.related li:last-child { border-bottom: 1px solid var(--rule); }
.related-link, .related-name { font-family: var(--f-head); font-weight: 600; letter-spacing: -0.01em; font-size: 22px; line-height: 1.25; }
.related-link { color: var(--text); }
.related-link .arr { color: var(--blue); display: inline-block; transition: transform 160ms var(--ease); }
.related-link:hover { color: var(--blue); text-decoration: none; }
.related-link:hover .arr { transform: translateX(3px); }
.related-other .related-name { font-size: 19px; color: var(--muted); }
.related-line { color: var(--muted); font-size: 16px; max-width: 40em; }

.legal { padding: 96px 0 112px; }
.legal .wrap { max-width: calc(800px + 2 * var(--pad)); }
.legal h1 { font-size: clamp(36px, 4vw, 52px); line-height: 1.08; }
.legal .updated { margin-top: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--muted); }
.legal h2 { font-size: 24px; line-height: 1.25; margin: 48px 0 14px; padding-top: 22px; border-top: 1px solid var(--rule); }
.legal p, .legal ul, .legal dl { margin: 0 0 16px; }
.legal ul { padding: 0 0 0 20px; list-style: none; }
.legal ul li { position: relative; }
.legal ul li::before { content: ""; position: absolute; left: -20px; top: 0.7em; width: 6px; height: 6px; background: var(--green); }
.legal li + li { margin-top: 8px; }
.legal dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 32px; }
.legal dt { font-weight: 500; margin-top: 12px; }
.legal dd { margin: 0; color: var(--muted); }

@media (min-width: 641px) {
  .legal dl { grid-template-columns: 15rem minmax(0, 1fr); }
  .legal dt { margin-top: 0; }
}
@media (max-width: 960px) {
  .sec-head { grid-column: 1 / -1; }
  .sec-body { grid-column: 1 / -1; margin-top: 32px; }
  .hero .txt, .page-hero .txt { grid-column: 1 / -1; }
  .hero .fig { grid-column: 1 / -1; margin-top: 56px; max-width: 520px; }
  .families { grid-template-columns: minmax(0, 1fr); }
  .offer-head, .offer-body { grid-column: 1 / -1; }
  .offer-body { margin-top: 28px; }
  .related { grid-column: 1 / -1; margin-top: 32px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 40px; padding-left: 32px; }
  .steps::before, .steps::after { left: 4px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps::after { transform-origin: center top; }
  .steps > li:first-child::before { left: 2px; top: calc(100% - 10px); width: 6px; height: 10px; }
  .steps .num { padding-bottom: 6px; }
  .steps h3 { margin-top: 8px; }
  footer.site .col-a, footer.site .col-b, footer.site .col-c { grid-column: 1 / -1; }
  footer.site .col-b, footer.site .col-c { margin-top: 24px; }
}
@media (max-width: 760px) {
  header.site .bar { display: flex; gap: 12px; }
  .bar-end { margin-left: auto; gap: 10px; }
  nav.main, .bar-end .langs { display: none; }
  .menu-btn {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    width: 40px; height: 40px; padding: 0; background: none; border: 1px solid var(--rule); border-radius: 3px;
  }
  .menu-btn:hover { text-decoration: none; }
  .menu-btn span { display: block; width: 16px; height: 1px; background: var(--text); }
  .menu-btn:focus-visible { outline: 1px solid var(--blue); outline-offset: 2px; }
  .menu-close { display: none; }
  .menu-close span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-close span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  :root:has(#menu:target) .menu-open { display: none; }
  :root:has(#menu:target) .menu-close { display: inline-flex; }
  :root:has(#menu:target) body { overflow: hidden; }
  #menu:target {
    display: flex; flex-direction: column; position: fixed; left: 0; right: 0; top: var(--bar-h); bottom: 0; z-index: 45;
    background: var(--bg); border-top: 1px solid var(--rule); padding: 24px var(--pad) 32px; overflow-y: auto;
  }
  .m-menu nav { display: flex; flex-direction: column; }
  .m-menu nav a {
    display: flex; justify-content: space-between; align-items: baseline;
    font-family: var(--f-head); font-weight: 600; letter-spacing: -0.01em;
    font-size: 30px; line-height: 1.2; color: var(--text); padding: 18px 0; border-bottom: 1px solid var(--rule);
  }
  .m-menu nav a .n { font-family: var(--f-mono); font-size: 12px; font-weight: 400; color: var(--blue); letter-spacing: 0.02em; }
  .m-menu nav a:hover { text-decoration: none; color: var(--blue); }
  .m-menu nav a:focus-visible { outline: 1px solid var(--blue); outline-offset: 2px; }
  .m-menu nav.langs { flex-direction: row; align-self: flex-start; margin-top: 28px; font-size: 14px; gap: 10px; }
  .m-menu nav.langs a { display: inline; font-family: var(--f-mono); font-size: 14px; padding: 8px 2px; border: 0; color: var(--muted); }
  .m-menu nav.langs a[aria-current] { color: var(--text); }
}
@media (max-width: 640px) {
  :root { --pad: 20px; --gutter: 16px; }
  body { font-size: 16px; }
  .logo svg { height: 24px; }
  .btn-sm { height: 34px; padding: 0 12px; }
  .hero { padding: 64px 0 64px; }
  .hero h1 { font-size: min(46px, 13vw); line-height: 1.04; }
  .hero .lead { font-size: 18px; margin-top: 24px; }
  .hero .cta { margin-top: 32px; flex-direction: column; align-items: stretch; gap: 10px; }
  .hero .cta .btn, .hero .cta .btn-ghost { justify-content: center; text-align: center; }
  .btn-ghost { font-size: 15px; padding: 12px 16px; }
  .hero .fig { margin-top: 48px; }
  .btn { font-size: 15px; padding: 12px 16px; }
  section.block { padding: 72px 0; }
  .sec-head h2 { font-size: 32px; }
  .families { margin-top: 40px; }
  .family { padding: 24px 20px 12px; }
  .family h3 { font-size: 22px; }
  .picto, .picto svg { width: 60px; height: 60px; }
  .more { font-size: 15px; margin-top: calc(36px - var(--gutter)); }
  .offer { padding: 0 0 72px; }
  .offer-head h2 { font-size: 30px; }
  .offer-body .lead { font-size: 18px; }
  .offer .rule-top { margin-bottom: 48px; }
  .offer-fig { width: 140px; margin-top: 28px; }
  .steps { margin-top: 40px; }
  .contact .sec-body p.intro { font-size: 19px; }
  .page-hero { padding: 56px 0 56px; }
  .page-hero h1 { font-size: 34px; }
  .page-hero .lead { font-size: 18px; }
  section.block.service { padding: 48px 0; }
  .service .sec-head h2 { font-size: 24px; }
  .prose { font-size: 17px; }
  .legal { padding: 56px 0 72px; }
}

@media (prefers-reduced-motion: no-preference) {
  .logo .cur { animation: blink 360ms linear 600ms 3 both; }

  .schema .ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw calc(var(--t, 560) * 1ms) var(--ease) calc(var(--d, 0) * 1ms) both; }
  .schema .fade > * { animation: appear calc(var(--t, 400) * 1ms) var(--ease) calc(var(--d, 0) * 1ms) both; }
  .schema .ln.typed { animation: draw 540ms steps(9, end) 900ms both; }
  .schema .caret { animation: caret 540ms steps(9, end) 900ms both; }
  .schema .caret rect { animation: appear 1ms linear 860ms both; }
  .schema .pulse { animation: pulse 8s linear 2600ms infinite; }
  .schema .ack { animation: ack 8s linear 2600ms infinite; }

  @supports selector(::details-content) {
    :root { interpolate-size: allow-keywords; }
    .family details::details-content {
      block-size: 0; overflow: hidden;
      transition: block-size 220ms var(--ease), content-visibility 220ms allow-discrete;
    }
    .family details[open]::details-content { block-size: auto; }
  }

  @supports (animation-timeline: view()) {
    .read-progress { display: block; }
    .read-progress span { animation: grow-x linear both; animation-timeline: scroll(root block); }

    .offer-fig { view-timeline: --croquis block; }
    .offer-fig .scan { display: inline; animation: scan linear both; animation-timeline: --croquis; animation-range: cover 30% cover 55%; }
    .offer-fig .inner { animation: lit-1 linear both; animation-timeline: --croquis; animation-range: cover 30% cover 55%; }
    .offer-fig .inner.i2 { animation-name: lit-2; }
    .offer-fig .inner.i3 { animation-name: lit-3; }

    .family { view-timeline: --fam block; }
    .family h3::after { animation: grow-x linear both; animation-timeline: --fam; animation-range: entry 10% entry 60%; }

    .contact .sec-body { view-timeline: --contact block; }
    .contact .sec-body::before { animation: grow-x linear both; animation-timeline: --contact; animation-range: entry 0% entry 100%; }

    .steps { view-timeline: --steps block; }
    .steps::after { animation: grow-x linear both; animation-timeline: --steps; animation-range: cover 40vh cover calc(100% - 60vh); }
    .steps > li:first-child::before { animation: mark-x linear both; animation-timeline: --steps; animation-range: cover 40vh cover calc(100% - 60vh); }
    .steps li { animation: on-1 linear both; animation-timeline: --steps; animation-range: cover 40vh cover calc(100% - 60vh); }
    .steps li:nth-child(2) { animation-name: on-2; }
    .steps li:nth-child(3) { animation-name: on-3; }
    .steps li:nth-child(4) { animation-name: on-4; }
    @media (max-width: 960px) {
      .steps::after { animation-name: grow-y; animation-range: cover 50vh cover calc(100% - 50vh); }
      .steps > li:first-child::before { animation-name: mark-y; animation-range: cover 50vh cover calc(100% - 50vh); }
      .steps li, .steps li:nth-child(n) { animation-name: on-at; animation-timeline: view(); animation-range: cover 50vh cover calc(50vh + 2px); }
    }
  }
}

@keyframes blink { 0%, 49.9% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes caret { from { transform: translateX(-48px); } to { transform: none; } }
@keyframes pulse {
  0% { opacity: 0; transform: translateY(0); }
  2% { opacity: 1; }
  10% { opacity: 1; transform: translateY(58px); }
  12% { opacity: 0; transform: translateY(64px); }
  100% { opacity: 0; transform: translateY(64px); }
}
@keyframes ack { 0%, 10% { opacity: 0; } 13% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes mark-x { from { left: 0; } to { left: calc(100% - 10px); } }
@keyframes mark-y { from { top: 0; } to { top: calc(100% - 10px); } }
@keyframes scan {
  0% { opacity: 0; transform: none; }
  6% { opacity: 0.7; }
  70% { opacity: 0.7; transform: translateY(54px); }
  100% { opacity: 0; transform: translateY(54px); }
}
@keyframes lit-1 { 0%, 19% { stroke: var(--blue-deep); } 21%, 100% { stroke: var(--blue); } }
@keyframes lit-2 { 0%, 35% { stroke: var(--blue-deep); } 37%, 100% { stroke: var(--blue); } }
@keyframes lit-3 { 0%, 50% { stroke: var(--blue-deep); } 52%, 100% { stroke: var(--green); } }
@keyframes on-1 { 0% { --on: 0; } 1%, 100% { --on: 1; } }
@keyframes on-2 { 0%, 25% { --on: 0; } 26%, 100% { --on: 1; } }
@keyframes on-3 { 0%, 51% { --on: 0; } 52%, 100% { --on: 1; } }
@keyframes on-4 { 0%, 76% { --on: 0; } 77%, 100% { --on: 1; } }
@keyframes on-at { 0% { --on: 0; } 100% { --on: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  header.site, .read-progress, .skip-link, .menu-btn { display: none; }
  .family details > .desc { display: block; }
}
