/* JackWise — site.css (partagé par les 4 pages)
   Polices auto-hébergées : Geist et Geist Mono (SIL OFL 1.1, voir fonts/LICENSE-geist-*.txt),
   paquets @fontsource/geist-sans et @fontsource/geist-mono 5.3.0. Aucune requête externe. */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/geist-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/geist-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/geist-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/geist-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/geist-mono-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/geist-mono-latin-500-normal.woff2') 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; }

/* ===== Maquette v7 (source de vérité : jackwise-v7-source-fr.html), reprise telle quelle ===== */
:root {
  --bg: #f8f8f8;
  --surface: #ffffff;
  --sunk: #efefed;
  --ink: #151c2b;
  --body: #3c465a;
  --muted: #586070;
  --rule: #e0e0dc;
  --line: #cfcfca;
  --btn: #262423;
  --btn-hover: #3b3836;
  --mark: #4a4745;
  --display: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --c1: #3f6c9e; --c1t: #dfeaf6; --c1d: #2c5078;
  --c2: #5b7f4f; --c2t: #e0ebda; --c2d: #3f5a36;
  --c3: #5b7f4f; --c3t: #e0ebda; --c3d: #3f5a36;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.6; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; letter-spacing: -0.02em; color: var(--ink); }
a { color: inherit; }
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 24px; }
.sec { padding-block: 96px; }
.rule-top { border-top: 1px solid var(--rule); }
.lead { font-size: 18px; color: var(--body); max-width: 60ch; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; max-width: 22ch; }
.kicker { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--muted); }


/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; border: 1.5px solid var(--btn); background: var(--btn); color: #fff; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn.ghost { background: transparent; color: var(--btn); }
.btn.ghost:hover { background: var(--btn); color: #fff; }
.btn.sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Header */
header { background: var(--bg); border-bottom: 1px solid var(--rule); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; text-decoration: none; }
.nav { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.nav a { display: block; padding: 8px 16px; border-radius: 999px; text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 16px; color: var(--body); }
.nav a:hover { background: #e8e8e5; color: var(--ink); }
.bar-right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 10px; font-family: var(--display); font-weight: 500; font-size: 15px; }
.lang a { text-decoration: none; color: var(--muted); padding: 4px 2px; }
.lang a[aria-current="true"] { color: var(--ink); border-bottom: 2px solid var(--ink); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--btn); background: transparent; color: var(--btn); cursor: pointer; align-items: center; justify-content: center; }
.menu-wrap { position: relative; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; padding-block: 80px 96px; }
.hero h1 { font-size: clamp(2.3rem, 4.5vw, 3.4rem); font-weight: 600; line-height: 1.07; letter-spacing: -0.035em; }
.hero .lead { margin-top: 24px; }
.ticks, .caps { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks { margin-top: 28px; gap: 12px; }
.ticks li, .caps li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.ticks li::before, .caps li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background-color: var(--sunk); background-repeat: no-repeat; background-position: center; background-size: 12px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.4 2.4 4.6-5' fill='none' stroke='%23262423' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Panels and UI cards */
.art { position: relative; border-radius: 22px; background: var(--sunk); padding: 24px 22px; display: grid; gap: 12px; align-content: center; }
.art.big { border-radius: 28px; padding: 36px 32px; gap: 14px; min-height: 400px; }
.tag { justify-self: start; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.6; }
.ui { background: #fff; border: 1px solid var(--rule); border-radius: 16px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(21,28,43,.04), 0 12px 26px -20px rgba(21,28,43,.25); }
.ui.offset { margin-left: 12%; }
.ui h4 { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.rows { list-style: none; padding: 0; display: grid; }
.rows li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: center; padding-block: 9px; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.4; }
.rows li:first-child { border-top: 0; padding-top: 2px; }
.rows b { display: block; font-weight: 600; }
.rows span span { color: var(--muted); font-size: 13px; }
.chip { display: inline-flex; background: var(--sunk); color: var(--ink); font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; line-height: 1.4; }
.foot { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--muted); }
.chat { display: grid; gap: 8px; }
.bubble { max-width: 90%; padding: 8px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.bubble.me { justify-self: end; background: var(--btn); color: #fff; border-bottom-right-radius: 4px; }
.bubble.ai { background: var(--sunk); color: var(--ink); border-bottom-left-radius: 4px; }
.alert { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; }
.alert .ico { width: 34px; height: 34px; border-radius: 10px; background: var(--sunk); display: grid; place-items: center; }
.alert b { font-size: 14px; display: block; }
.alert span span { font-size: 13px; color: var(--muted); display: block; }
.chart { display: block; width: 100%; max-width: 420px; height: auto; }
.chart text { font-family: var(--text); font-size: 11px; fill: #3c465a; font-variant-numeric: tabular-nums; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font-size: 12px; color: var(--muted); align-items: center; }
.legend span::before { content: ""; display: inline-block; vertical-align: middle; margin-right: 6px; }
.legend .k1::before { width: 10px; height: 10px; border-radius: 2px; background: var(--mark); }
.legend .k2::before { width: 16px; border-top: 2px dashed var(--ink); }
.ctitle { font-size: 14px; font-weight: 600; margin-bottom: 4px; }

/* Problem */
.problem { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.pgrid > div { border-top: 1px solid var(--ink); padding-block: 18px 28px; }
.pgrid h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.pgrid p { margin-top: 6px; font-size: 15.5px; color: var(--body); }

/* Product cards */
.sec-head { display: grid; gap: 14px; margin-bottom: 48px; }
.pcards { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: 24px; }
.pcard { grid-row: span 4; display: grid; grid-template-rows: subgrid; background: #fff; border: 1px solid var(--rule); border-radius: 26px; padding: 32px 30px 30px; box-shadow: 0 1px 2px rgba(21,28,43,.04), 0 18px 36px -26px rgba(21,28,43,.22); }
.pcard > * { min-width: 0; }
.pname { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.pico { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--sunk); }
.pname b { display: block; font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.pname span { display: block; font-size: 14px; color: var(--muted); font-weight: 500; line-height: 1.3; }
.ptext { margin-bottom: 22px; }
.ptext h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; }
.ptext p { margin-top: 8px; font-size: 16.5px; color: var(--body); max-width: 46ch; }
.pcard .art { margin-bottom: 24px; }

/* Learn more under products */
.learn { margin-top: 104px; padding-top: 56px; border-top: 1px solid var(--rule); }
.learn > .kicker { display: block; margin-bottom: 56px; font-size: 16px; }
.sub + .sub { margin-top: 96px; }
.h3big { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; max-width: 24ch; }
.steps { list-style: none; padding: 0; margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { border-top: 1.5px solid var(--ink); padding-top: 18px; }
.steps .n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--btn); color: #fff; font-family: var(--display); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.steps h4 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.steps p { margin-top: 8px; font-size: 15.5px; color: var(--body); }
.trust { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.trust .pts { margin-top: 28px; display: grid; gap: 22px; }
.trust .pts h4 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.trust .pts p { margin-top: 4px; font-size: 16px; color: var(--body); max-width: 48ch; }
.diagram { background: #fff; border: 1px solid var(--rule); border-radius: 26px; padding: 30px 24px 24px; }
.flowd { display: grid; grid-template-columns: 1.15fr auto 1fr auto 1fr; gap: 10px; align-items: center; }
.flowd > * { min-width: 0; }
.zone { border: 1.6px dashed var(--muted); border-radius: 18px; padding: 12px; display: grid; gap: 10px; }
.zl { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.node { background: var(--sunk); border: 1px solid var(--rule); border-radius: 14px; padding: 12px 10px; text-align: center; font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.3; }
.node small { display: block; margin-top: 2px; font-family: var(--text); font-weight: 400; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.node.dark { background: var(--btn); border-color: var(--btn); color: #fff; padding-block: 22px; }
.node.dark small { color: #fff; }
.ar { display: grid; justify-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.flow-note { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.svc { background: #fff; border: 1px solid var(--rule); border-radius: 26px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.svc .art-s { background: var(--sunk); padding: 20px; display: grid; place-items: center; }
.svc .art-s svg { width: 100%; max-width: 460px; height: auto; display: block; }
.svc .body { padding: 28px 30px 32px; display: grid; gap: 10px; align-content: start; }
.svc h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.svc p { font-size: 16px; color: var(--body); max-width: 46ch; }
.svc-foot { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.svc-foot p { color: var(--body); font-size: 17px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }
.faq-list { border-bottom: 1px solid var(--rule); }
details { border-top: 1px solid var(--rule); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 22px; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.015em; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-weight: 500; font-size: 20px; line-height: 1; color: var(--ink); }
details[open] summary::after { content: "\2212"; }
details p { padding-bottom: 24px; max-width: 62ch; color: var(--body); font-size: 16.5px; }

/* Final CTA */
.final { background: #fff; border: 1px solid var(--rule); border-radius: 32px; padding: 72px 48px; text-align: center; display: grid; justify-items: center; gap: 18px; }
.final .h2 { max-width: 20ch; }
.final p { max-width: 54ch; font-size: 18px; color: var(--body); }
.final .btn { margin-top: 12px; }

footer { border-top: 1px solid var(--rule); padding-block: 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }
footer ul { list-style: none; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }


/* Responsive */
@media (max-width: 1020px) {
  .sec { padding-block: 72px; }
  .hero, .problem, .trust, .faq { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-block: 48px 72px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pcards { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 20px; }
  .pcard { grid-row: auto; display: flex; flex-direction: column; }
  .learn { margin-top: 72px; }
  .sub + .sub { margin-top: 72px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .menu { display: none; position: absolute; right: 0; top: 54px; z-index: 5; background: #fff; border: 1px solid var(--rule); border-radius: 18px; padding: 10px; min-width: 200px; box-shadow: 0 18px 40px -16px rgba(21,28,43,.3); flex-direction: column; }
  .menu.open { display: flex; }
  .bar-right .btn.sm { display: none; }
  .svc-grid, .pgrid, .steps { grid-template-columns: 1fr; }
  .flowd { grid-template-columns: 1fr; }
  .ar svg { transform: rotate(90deg); margin-block: 10px; }
  .ar span { display: none; }
  .final { padding: 52px 24px; border-radius: 24px; }
  .art.big { padding: 24px 18px; min-height: 0; }
  .pcard { padding: 26px 20px 24px; }
  .ui.offset { margin-left: 0; }
}
@media (max-width: 420px) { .wrap { padding-inline: 18px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ===== v4 additions ===== */
body { font-feature-settings: "ss01"; }
h1, h2, h3, h4 { letter-spacing: -0.03em; }
.hero h1 { letter-spacing: -0.045em; font-weight: 600; }
.h2 { letter-spacing: -0.04em; }
.kicker { font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 9px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c1); }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; }
.btn { transition: background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -12px rgba(38,36,35,.55); }
.nav a:hover { background: #ebeae5; }

/* hero panel */
.art.big { background: radial-gradient(110% 80% at 100% 0%, #dfeaf6 0, transparent 62%), radial-gradient(90% 80% at 0% 100%, #e0ebda 0, transparent 60%), var(--sunk); }
.ticks li::before { background-color: var(--c3t); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.4 2.4 4.6-5' fill='none' stroke='%233f6c9e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.alert .ico.grn { background: var(--c3t); }
.alert .ico.amb { background: var(--c2t); }

/* problem */
.phead { display: grid; gap: 16px; align-content: start; }

/* product cards */
.pico { box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 18px -10px rgba(21,28,43,.45); }
.pico.c { background: linear-gradient(160deg, #cfe1f3, #a9c6e6); }
.pico.p { background: linear-gradient(160deg, #d3e4c9, #abc59b); }
.pico.sm { width: 40px; height: 40px; border-radius: 12px; }
.pname .pico, .ptag .pico { display: grid; place-items: center; font-size: 0; }
.pico svg { overflow: visible; display: block; }
.needle { transform-origin: 20px 20px; transform-box: view-box; }
.pname .incl { display: inline-block; font-weight: 500; margin-left: auto; align-self: flex-start; font-family: var(--mono); font-size: 11px; letter-spacing: .03em; color: var(--c2d); background: var(--c2t); border: 1px solid #cddfc4; border-radius: 999px; padding: 4px 11px; white-space: nowrap; }
.pcard.compass .art { background: #dfeaf6; }
.pcard.pulse .art { background: #e0ebda; }
.pcard.compass .caps li::before { background-color: var(--c1t); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.4 2.4 4.6-5' fill='none' stroke='%233f6c9e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pcard.pulse .caps li::before { background-color: var(--c2t); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.4 2.4 4.6-5' fill='none' stroke='%235b7f4f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.chip { background: var(--c3t); color: var(--c3d); }
.bubble.me { background: var(--c1); }
.bubble.ai { background: #dfeaf6; }
.legend .k1::before { background: var(--c2); }

/* learn more */
.learn { margin-top: 80px; padding-top: 40px; }
.learn > .kicker { margin-bottom: 28px; display: inline-flex; font-size: 12.5px; }
.ptag { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 5px 16px 5px 5px; background: #fff; border: 1px solid var(--rule); border-radius: 999px; }
.ptag b { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.steps li { border-top-color: var(--c1); }
.steps .n { background: var(--c1); }
.zone { border-color: var(--c1); }
.zl { color: var(--c1d); }
.node.ok { background: var(--c3t); border-color: #cddfc4; }
.node.ok small { color: var(--c3d); }

/* services */
.svc .art-s.a1 { background: #dfeaf6; }
.svc .art-s.a2 { background: #dfeaf6; }

/* final */
.final .h2 { max-width: 26ch; }
.final { background: radial-gradient(70% 120% at 0% 0%, #dfeaf6 0, transparent 60%), radial-gradient(60% 120% at 100% 100%, #e0ebda 0, transparent 60%), #fff; }
summary::after { transition: background-color .15s ease, border-color .15s ease; }
summary:hover::after { background: var(--c1t); border-color: var(--c1); }

/* ===== motion ===== */
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rot { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes swing { 0% { transform: rotate(32deg); } 100% { transform: rotate(62deg); } }
@keyframes draw { 0% { stroke-dashoffset: 100; } 55%, 100% { stroke-dashoffset: 0; } }
@keyframes ping { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(1.7); } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes dashmove { to { stroke-dashoffset: -7; } }
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 6px 0; } }
@keyframes nudgey { 0%, 100% { translate: 0 0; } 50% { translate: 0 6px; } }
@keyframes ring { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(14deg); } 20% { transform: rotate(-12deg); } 30% { transform: rotate(8deg); } 40% { transform: rotate(0); } }

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lead, .hero .ticks, .hero .cta-row { animation: up .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero .lead { animation-delay: .08s; } .hero .ticks { animation-delay: .16s; } .hero .cta-row { animation-delay: .24s; }
  .hero .art.big { animation: up .9s .15s cubic-bezier(.2,.7,.2,1) both; }
  .hero .rows li { animation: up .55s cubic-bezier(.2,.7,.2,1) both; }
  .hero .rows li:nth-child(1) { animation-delay: .55s; } .hero .rows li:nth-child(2) { animation-delay: .75s; }
  .hero .rows li:nth-child(3) { animation-delay: .95s; } .hero .rows li:nth-child(4) { animation-delay: 1.15s; }
  .hero .ui.offset { animation: up .6s 1.35s cubic-bezier(.2,.7,.2,1) both; }
  .hero .ui.offset.float { animation: up .6s 1.35s cubic-bezier(.2,.7,.2,1) both, bob 5s 2.2s ease-in-out infinite; }
  .spin { animation: rot 1.1s linear infinite; }

  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease var(--rd, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--rd, 0ms); }
  .js .rv.in { opacity: 1; transform: none; }
  @media (hover: hover) {
    .js .pcard.rv.in:hover, .js .svc.rv.in:hover { transform: translateY(-4px); transition-delay: 0ms; }
  }
  .pcard, .svc { transition: box-shadow .3s ease; }

  .needle { animation: swing 4.5s ease-in-out infinite alternate; }
  .ecg { stroke-dasharray: 100; animation: draw 2.8s ease-in-out infinite; }
  .ping { transform-box: fill-box; transform-origin: center; animation: ping 1.6s ease-in-out infinite; }
  .pcard.compass:hover .needle { animation-duration: 1.2s; }
  .bell { transform-box: fill-box; transform-origin: 50% 0; animation: ring 4s 1s ease-in-out infinite; }

  /* Pulse chart grows when the card appears */
  .js .pulse .chart rect { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
  .js .pulse .chart rect.neg { transform-origin: 50% 0; }
  .js .pulse.in .chart rect { animation: grow .8s cubic-bezier(.2,.7,.2,1) forwards; }
  .js .pulse.in .chart rect:nth-of-type(1) { animation-delay: .35s; } .js .pulse.in .chart rect:nth-of-type(2) { animation-delay: .45s; }
  .js .pulse.in .chart rect:nth-of-type(3) { animation-delay: .55s; } .js .pulse.in .chart rect:nth-of-type(4) { animation-delay: .65s; }
  .js .pulse.in .chart rect:nth-of-type(5) { animation-delay: .75s; } .js .pulse.in .chart rect:nth-of-type(6) { animation-delay: .85s; }
  .js .pulse .chart .med, .js .pulse .chart text { opacity: 0; transition: opacity .6s ease 1.2s; }
  .js .pulse.in .chart .med, .js .pulse.in .chart text { opacity: 1; }

  /* Compass conversation */
  .js .compass .bubble { opacity: 0; }
  .js .compass.in .bubble.me { animation: up .5s .9s cubic-bezier(.2,.7,.2,1) forwards; }
  .js .compass.in .bubble.ai { animation: up .5s 1.7s cubic-bezier(.2,.7,.2,1) forwards; }

  .dash { animation: dashmove 1s linear infinite; }
  .ar svg { animation: nudge 1.6s ease-in-out infinite; }
  .node.dark { animation: bob 5s ease-in-out infinite; }
}
@media (max-width: 760px) {
  .ar svg { animation-name: nudgey; }
  .pname .incl { margin-left: 0; }
  .pname { flex-wrap: wrap; }
}

/* ===== v5 refinements ===== */
:root { --sunk: #efefed; }
header { position: sticky; top: 0; z-index: 30; background: rgba(248,248,248,.86); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
.menu { z-index: 40; }
/* radius system: card 28, panel 20, inner card 14, tile 10-16 (concentric) */
.pcard, .svc, .diagram { border-radius: 28px; }
.art { border-radius: 20px; }
.ui { border-radius: 14px; }
.pico { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 16px -10px rgba(21,28,43,.5); }
.ptag { border-radius: 14px; padding: 4px 18px 4px 4px; gap: 12px; box-shadow: 0 1px 2px rgba(21,28,43,.05); }
.pico.sm { width: 36px; height: 36px; border-radius: 10px; }
.pico.sm svg { width: 22px; height: 22px; }
.art.big { background: radial-gradient(110% 80% at 100% 0%, #dfeaf6 0, transparent 62%), radial-gradient(90% 80% at 0% 100%, #e0ebda 0, transparent 60%), var(--sunk); }
.pname .incl::before { content: "+"; margin-right: 6px; font-weight: 600; }
.pname .incl { border-color: #cddfc4; }

/* UI card header, progress, mini history */
.uh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.uh h4 { margin: 0; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .02em; color: var(--muted); white-space: nowrap; }
.prog { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--rule); display: grid; gap: 8px; font-size: 12.5px; color: var(--muted); }
.prog .pbar { height: 6px; border-radius: 99px; background: var(--sunk); overflow: hidden; }
.prog i { display: block; height: 100%; width: 62%; border-radius: inherit; background: linear-gradient(90deg, var(--c1), var(--c2)); transform-origin: 0 50%; }
.spark .uh { margin-bottom: 10px; }
.sp { display: block; width: 100%; height: auto; max-height: 44px; }

/* buttons */
.btn.arr svg { margin-left: 10px; margin-right: -4px; transition: transform .2s ease; }
.btn.arr:hover svg { transform: translateX(3px); }

@media (prefers-reduced-motion: no-preference) {
  .hero .prog i { animation: fillbar 1.4s 1.5s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes fillbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .js .pulse .sp rect { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
  .js .pulse.in .sp rect { animation: grow .6s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 55ms + 1.3s); }
}
@media (max-width: 760px) { header { position: static; } }

/* ===== v6: single-hue palette ===== */
.svc .art-s.a2 { background: #e0ebda; }
.node.ok { border-color: #cddfc4; }
@media (max-width: 760px) { header { position: static; } }

/* ===== v7: Pat's palette (blue + green pastels on #f8f8f8) ===== */
:root { --bg: #f8f8f8; --sunk: #efefed; }
.pico.c { background: linear-gradient(160deg, #cfe1f3, #a9c6e6); }
.pico.p { background: linear-gradient(160deg, #d3e4c9, #abc59b); }
.pico { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 8px 16px -12px rgba(21,28,43,.4); }
.pcard.compass .art { background: #dfeaf6; }
.pcard.pulse .art { background: #e0ebda; }
.ticks li::before { background-color: #e0ebda; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.4 2.4 4.6-5' fill='none' stroke='%233f5a36' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pcard.pulse .caps li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.4 2.4 4.6-5' fill='none' stroke='%233f5a36' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pname .incl { background: #e0ebda; border-color: #cddfc4; color: #3f5a36; }
.bubble.me { background: #262423; }
.bubble.ai { background: #dfeaf6; }
.svc .art-s.a1 { background: #dfeaf6; }
.svc .art-s.a2 { background: #e0ebda; }
.legend .k1::before { background: #5b7f4f; }
.art.big { background: radial-gradient(110% 80% at 100% 0%, #dfeaf6 0, transparent 62%), radial-gradient(90% 80% at 0% 100%, #e0ebda 0, transparent 62%), #efefed; }
.final { background: radial-gradient(70% 120% at 0% 0%, #e6eff9 0, transparent 60%), radial-gradient(60% 120% at 100% 100%, #e8f0e3 0, transparent 60%), #fff; }

/* ===== Ajouts de production (hors maquette) ===== */
html { scroll-padding-top: 88px; }
body { margin: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 50; background: var(--btn); color: #fff; padding: 10px 18px; border-radius: 999px; font-family: var(--display); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; }
/* Le bouton « Envoyer » ne doit jamais apparaître à l'étape 1 : .btn écrasait l'attribut hidden */
[hidden] { display: none !important; }
/* Le titre de la carte du hero n'est pas un titre de section (ordre des titres h1 → h4) */
.ui .h4 { font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 8px; }
.uh .h4 { margin-bottom: 0; }
/* Petits écrans : la colonne du hero ne doit jamais dépasser la fenêtre (étiquette mono longue en EN) */
.hero > * { min-width: 0; }
.uh { flex-wrap: wrap; }

/* Page contact */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; padding-block: 72px 96px; }
.contact > * { min-width: 0; }
.contact h1 { font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 600; line-height: 1.07; letter-spacing: -0.04em; }
.contact .lead { margin-top: 20px; }
.form-card { background: #fff; border: 1px solid var(--rule); border-radius: 28px; padding: 32px 30px; box-shadow: 0 1px 2px rgba(21,28,43,.04), 0 18px 36px -26px rgba(21,28,43,.22); }
.form-progress { display: flex; gap: 8px; margin-bottom: 22px; }
.step-dot { width: 28px; height: 6px; border-radius: 99px; background: var(--sunk); }
.step-dot.active { background: var(--c1); }
.step-dot.done { background: var(--c2); }
.form-step { display: none; }
.form-step.active { display: grid; gap: 16px; }
.form-step h2 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--display); font-weight: 500; font-size: 14.5px; color: var(--ink); }
.field input, .field textarea { font: inherit; font-size: 16px; line-height: 1.4; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.field.short textarea { min-height: 112px; }
.field select { font: inherit; font-size: 16px; line-height: 1.4; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 44px 11px 14px; min-height: 48px; width: 100%; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23262423' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6.5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.field select:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.field-row > .field { min-width: 0; }
/* Erreurs de validation en ligne (aria-invalid + aria-describedby posés par site.js) */
.field-error { display: none; margin: 0; font-size: 13.5px; line-height: 1.4; color: #7a2e25; }
.field.invalid .field-error { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3402f; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 24px; }
.form-actions .btn.arr, .form-actions .btn[type="submit"] { margin-left: auto; }
.form-status { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 12px; font-size: 14.5px; line-height: 1.5; }
.form-status.show { display: block; }
.form-status.err { background: #f8e4e1; color: #7a2e25; border: 1px solid #ecc6c0; }
.form-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.success-panel { display: grid; gap: 10px; justify-items: start; }
.success-panel .mark { width: 44px; height: 44px; border-radius: 50%; background: var(--c2t); color: var(--c2d); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 20px; }
.success-panel h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.025em; }
.success-panel p { color: var(--body); max-width: 48ch; }
@media (max-width: 1020px) { .contact { grid-template-columns: 1fr; gap: 40px; padding-block: 48px 72px; } }
@media (max-width: 760px) { .form-card { padding: 24px 18px; border-radius: 22px; } .field-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .contact-intro > * { animation: up .7s cubic-bezier(.2,.7,.2,1) both; }
  .contact-intro .lead { animation-delay: .08s; }
  .form-card { animation: up .9s .15s cubic-bezier(.2,.7,.2,1) both; }
}
