/* Heron Flow : feuille de style unique (thème de l'app HeronFlow). Aucune ressource externe. */

:root { color-scheme: light; /* Couleurs du logo */ --heron-ink: #1b2a44; --heron-wing: #4a6d94; --heron-body: #8fb0cf; --heron-mist: #dce7f2; --night: #0a1322; --night-2: #0f1b2e; --night-line: rgba(255, 255, 255, .08); --night-line-2: rgba(255, 255, 255, .14); --night-text: #e8eef5; --night-soft: #9fb0c3; --night-faint: #7a8ca3; --paper: #f6f8fa; --surface: #ffffff; --line: #e3e8ee; --line-2: #cfd7e1; --ink: #0f1b2d; --soft: #4b5869; --faint: #677384; --accent: #4a6d94; --accent-strong: #36557a; --accent-tint: #e8eff7; --ok: #2b7254; --ok-tint: #e3f2eb; --warn: #85561a; --warn-tint: #f8eedd; --radius: 14px; --radius-sm: 9px; --max: 1180px; --gutter: 20px; --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "Inter", system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
h1, h2, h3 { margin: 0; font-weight: 600; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.045em; }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.75rem); line-height: 1.08; letter-spacing: -0.035em; }
h3 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -0.012em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--heron-body); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.todo { background: var(--warn-tint); color: var(--warn); padding: 0 .3em; border-radius: 4px; font-weight: 500; }
/* ---------- Marque ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.025em; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px rgba(15, 27, 45, .08); }
.brand-mark img { width: 22px; height: auto; }
.brand .wm-flow { color: var(--heron-wing); }
.on-dark .brand, .on-dark .brand:hover { color: #fff; }
.on-dark .brand .wm-flow { color: var(--heron-body); }
/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: 0 1.3rem; font: inherit; font-size: .9688rem; font-weight: 500; line-height: 1; letter-spacing: -0.005em; border-radius: 10px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s; }
.btn .arrow { transition: transform .18s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-light { background: #fff; color: var(--night); box-shadow: 0 8px 24px -8px rgba(143, 176, 207, .45); }
.btn-light:hover { background: var(--heron-mist); color: var(--night); }
.btn-outline-dark { background: rgba(255,255,255,.03); color: var(--night-text); border-color: var(--night-line-2); }
.btn-outline-dark:hover { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.24); }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: var(--heron-ink); color: #fff; }
.btn-small { min-height: 38px; padding: 0 1rem; font-size: .9063rem; border-radius: 9px; }
/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 19, 34, .82); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--night-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { display: block; padding: 8px 12px; color: var(--night-soft); text-decoration: none; font-size: .9375rem; border-radius: 8px; transition: color .15s, background-color .15s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav .btn { margin-left: 10px; }
.menu-toggle { display: none; }
@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 12px; font: inherit; font-size: .9063rem; color: #fff; background: rgba(255,255,255,.04); border: 1px solid var(--night-line-2); border-radius: 9px; cursor: pointer; }
  .menu-toggle .bars { width: 14px; height: 10px; position: relative; }
  .menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .2s, top .2s; }
  .menu-toggle .bars::before { top: 1px; }
  .menu-toggle .bars::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }
  .nav { position: absolute; top: 64px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 6px var(--gutter) 20px; background: var(--night); border-bottom: 1px solid var(--night-line); }
  .nav.is-open { display: flex; }
  .nav-links { flex-direction: column; }
  .nav-links a { padding: 14px 2px; border-radius: 0; border-bottom: 1px solid var(--night-line); font-size: 1.0625rem; color: var(--night-text); }
  .nav .btn { margin: 16px 0 0; }
  .no-js .nav { position: static; display: flex; flex-direction: row; padding: 0; border: 0; background: none; }
  .no-js .nav-links, .no-js .menu-toggle { display: none; }
}
/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-tight { padding: 96px 0; }
.bg-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.on-dark { background: var(--night); color: var(--night-text); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
@media (max-width: 760px) {
  .section { padding: 76px 0; }
  .section-tight { padding: 64px 0; }
}
.label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.label .n { color: var(--faint); }
.on-dark .label { color: var(--heron-body); }
.on-dark .label .n { color: var(--night-faint); }
.head { max-width: 720px; margin-bottom: 56px; }
.head p { margin-top: 18px; font-size: 1.125rem; color: var(--soft); max-width: 40em; }
.on-dark .head p { color: var(--night-soft); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
}
/* ---------- Fenêtre d'application (hero) ---------- */
.stage { position: relative; margin-top: 72px; }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-tint); }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; border-radius: 6px; font-size: .6875rem; font-weight: 500; line-height: 1.6; background: #eef1f5; color: var(--soft); white-space: nowrap; }
.chip.blue { background: var(--accent-tint); color: var(--accent-strong); }
.chip.amber { background: var(--warn-tint); color: var(--warn); }
.chip.green { background: var(--ok-tint); color: var(--ok); }
.a-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 7px; font-size: .75rem; font-weight: 500; border: 1px solid var(--line-2); color: var(--ink); background: #fff; }
.a-btn.primary { background: var(--night); border-color: var(--night); color: #fff; }
@media (max-width: 680px) {
  .stage { margin-top: 52px; }
}
.viz { margin-top: 24px; padding: 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: .8125rem; }
.sort { display: grid; gap: 9px; }
.sort-row { display: grid; grid-template-columns: 116px minmax(0, 1fr) 30px; align-items: center; gap: 10px; color: var(--ink); }
.bar { height: 8px; border-radius: 99px; background: #e5ebf2; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; }
.bar .a { background: var(--accent); }
.bar .b { background: #c99a4a; }
.bar .c { background: var(--heron-body); }
.bar .d { background: #c4ceda; }
.w55 { width: 55%; }
.w35 { width: 35%; }
.w25 { width: 25%; }
.sort-row .mono { font-size: .6875rem; color: var(--faint); text-align: right; }
.compose { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.compose .top { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: .75rem; color: var(--faint); }
.compose .top .mono { font-size: .6875rem; }
.compose .txt { padding: 12px; color: var(--ink); line-height: 1.55; }
.caret { display: inline-block; width: 1.5px; height: 1em; background: var(--accent); vertical-align: -2px; margin-left: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .caret { animation: blink 1.1s steps(1) infinite; }
}
@keyframes blink { 50% { opacity: 0; } }
.compose .act { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.extract { display: grid; gap: 10px; }
.extract mark { background: #fff1c2; color: var(--ink); padding: 0 2px; border-radius: 3px; }
.task-line { display: flex; align-items: center; gap: 10px; padding: 9px 11px; background: #fff; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); }
.task-line .box { width: 15px; height: 15px; border: 1.5px solid var(--line-2); border-radius: 4px; flex: none; }
.task-line .mono { margin-left: auto; font-size: .6875rem; color: var(--accent); white-space: nowrap; }
.chase { display: grid; gap: 8px; }
.chase li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.chase b { font-weight: 500; color: var(--ink); }
.chase .why { grid-column: 1; color: var(--faint); font-size: .75rem; }
.chase .chip { grid-row: 1 / span 2; grid-column: 2; }
.digest { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.digest .d-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; color: var(--ink); }
.digest .d-top b { font-weight: 500; }
.digest .d-top .mono { font-size: .6875rem; color: var(--faint); }
.digest li { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); color: var(--soft); }
.digest li .mono { min-width: 18px; font-size: .75rem; color: var(--accent); font-weight: 600; }
/* ---------- Cockpit ---------- */
.cockpit-section { position: relative; overflow: hidden; }
.cockpit-section::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); mask-image: linear-gradient(to bottom, #000, transparent 70%); pointer-events: none; }
.cockpit-section .wrap { position: relative; }
.dash { background: var(--night-2); border: 1px solid var(--night-line-2); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0,0,0,.8); color: var(--night-text); font-size: .8438rem; }
.dash-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--night-line); background: rgba(255,255,255,.02); flex-wrap: wrap; }
.dash-top .brand { font-size: .9375rem; }
.dash-top .brand-mark { width: 26px; height: 26px; border-radius: 7px; }
.dash-top .brand-mark img { width: 16px; }
.dash-tabs { display: flex; gap: 4px; }
.dash-tabs span { padding: 5px 10px; border-radius: 7px; color: var(--night-soft); font-size: .8125rem; }
.dash-tabs span.on { background: rgba(255,255,255,.08); color: #fff; }
.dash-top .when { font-family: var(--mono); font-size: .6875rem; color: var(--night-faint); display: inline-flex; align-items: center; gap: 8px; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1px; background: var(--night-line); }
.dash-col { display: grid; gap: 1px; align-content: start; background: var(--night-line); }
.panel { background: var(--night-2); padding: 18px 20px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.panel-head h3 { font-size: .875rem; font-weight: 500; color: #fff; letter-spacing: 0; }
.cnt { font-family: var(--mono); font-size: .6875rem; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--night-soft); }
.cnt.attn { background: rgba(240, 180, 90, .14); color: #f0c27a; }
.log li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 11px 0; border-top: 1px solid var(--night-line); }
.log time { font-family: var(--mono); font-size: .75rem; color: var(--night-faint); padding-top: 1px; }
.log b { display: block; font-weight: 500; color: var(--night-text); }
.log .meta { display: block; margin-top: 2px; font-size: .78rem; color: var(--night-faint); }
.st { font-family: var(--mono); font-size: .6563rem; padding: 2px 7px; border-radius: 5px; white-space: nowrap; }
.st.ok { background: rgba(80, 180, 130, .14); color: #7fd1a6; }
.st.wait { background: rgba(240, 180, 90, .14); color: #f0c27a; }
.st.info { background: rgba(143, 176, 207, .14); color: var(--heron-body); }
.pend li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--night-line); }
.pend .what { min-width: 0; }
.pend b { display: block; font-weight: 500; color: var(--night-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pend .what span { font-size: .78rem; color: var(--night-faint); }
.pend .go { flex: none; font-size: .75rem; font-weight: 500; padding: 5px 10px; border-radius: 7px; background: #fff; color: var(--night); }
.todo-list li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-top: 1px solid var(--night-line); }
.cb { flex: none; width: 15px; height: 15px; margin-top: 3px; border-radius: 4px; border: 1.5px solid rgba(255,255,255,.25); position: relative; }
.cb.done { background: var(--heron-body); border-color: var(--heron-body); }
.cb.done::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid var(--night); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.todo-list .t { color: var(--night-text); }
.todo-list .t.done { color: var(--night-faint); text-decoration: line-through; }
.todo-list .due { display: block; font-family: var(--mono); font-size: .6875rem; color: var(--night-faint); margin-top: 1px; }
.dash-caption { margin-top: 14px; text-align: right; font-family: var(--mono); font-size: .6875rem; color: var(--night-faint); }
@media (max-width: 900px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-tabs { display: none; }
}
@media (max-width: 520px) {
  .log li { grid-template-columns: 42px minmax(0, 1fr); }
  .log .st { display: none; }
}
/* ---------- Sécurité ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.sec { background: var(--surface); padding: 30px 28px; }
.sec .mono { display: inline-block; font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-strong); padding: 3px 8px; border-radius: 6px; background: var(--accent-tint); }
.sec h3 { margin: 18px 0 8px; font-size: 1.125rem; letter-spacing: -0.02em; }
.sec p { color: var(--soft); font-size: .9375rem; }
.honest { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 16px; padding: 22px 26px; border-radius: 18px; background: var(--night); color: var(--night-soft); }
.honest svg { width: 22px; height: 22px; color: var(--heron-body); margin-top: 1px; }
.honest strong { display: block; color: #fff; font-weight: 500; margin-bottom: 2px; }
@media (max-width: 980px) {
  .sec-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .sec-grid { grid-template-columns: 1fr; }
}
.price { display: flex; flex-direction: column; padding: 30px; border-radius: 18px; background: var(--night); color: var(--night-soft); position: relative; overflow: hidden; isolation: isolate; }
.price::after { content: ""; position: absolute; z-index: -1; right: -80px; top: -80px; width: 240px; height: 240px; background: radial-gradient(closest-side, rgba(143, 176, 207, .25), transparent); }
.price .mono { font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase; color: var(--heron-body); }
.price .amount { font-size: 2.4rem; font-weight: 600; letter-spacing: -0.04em; color: #fff; margin: 8px 0 18px; }
.price ul { display: grid; gap: 10px; margin-bottom: 28px; font-size: .9375rem; }
.price li { display: flex; gap: 10px; }
.price li svg { width: 15px; height: 15px; margin-top: 4px; flex: none; color: var(--heron-body); }
.price .btn { margin-top: auto; }
.portrait { aspect-ratio: 4 / 5; border-radius: 18px; background: var(--paper); border: 1px dashed var(--line-2); display: grid; place-items: center; text-align: center; padding: 16px; font-size: .8125rem; }
.portrait img { width: 64px; height: auto; margin: 0 auto 14px; }
@media (max-width: 780px) {
  .portrait { max-width: 200px; }
}
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-2); position: relative; transition: background-color .2s; }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s; }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq summary:hover .plus { background: var(--paper); }
.faq .answer { padding: 0 44px 24px 0; color: var(--soft); }
.faq .answer p + p { margin-top: 10px; }
.contact-list { display: grid; gap: 14px; margin-top: 32px; }
.contact-list li { display: flex; gap: 12px; align-items: center; color: var(--night-text); flex-wrap: wrap; }
.contact-list .k { font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--night-faint); min-width: 70px; }
.form { background: #fff; color: var(--ink); border-radius: 18px; padding: 32px; box-shadow: 0 30px 80px -40px rgba(0,0,0,.7); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 500; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--faint); }
.field input, .field textarea { width: 100%; min-height: 46px; padding: 11px 13px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #b3bfcc; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.field [aria-invalid="true"] { border-color: #b23b2e; background: #fdf6f5; }
.error { font-size: .8438rem; color: #b23b2e; }
.error:empty { display: none; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .9063rem; color: var(--soft); }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--accent); }
.consent .error { grid-column: 2; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; padding: 12px 14px; border-radius: 10px; font-size: .9375rem; }
.form-status:empty { display: none; }
.form-status.is-ok { background: var(--ok-tint); color: var(--ok); }
.form-status.is-error { background: #fbeceb; color: #8c2f23; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.form-actions .btn { min-width: 210px; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
@media (max-width: 560px) {
  .form { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
}
/* ---------- Pied de page ---------- */
.site-footer { background: #070e19; color: var(--night-faint); padding: 56px 0 36px; font-size: .9063rem; border-top: 1px solid var(--night-line); }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--night-line); }
.footer-tagline { margin-top: 14px; max-width: 30em; color: var(--night-soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-links a { color: var(--night-text); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .8438rem; }
.footer-bottom .mono { font-size: .75rem; }
/* ---------- Pages légales ---------- */
.legal { padding: 72px 0 104px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); margin-bottom: 12px; letter-spacing: -0.04em; }
.legal .updated { font-family: var(--mono); font-size: .8125rem; color: var(--faint); margin-bottom: 48px; }
.legal h2 { font-size: 1.375rem; margin: 48px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal p, .legal li { color: var(--soft); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 1.2em; margin-top: 12px; display: grid; gap: 6px; }
.legal dl { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 10px 20px; margin: 0; }
.legal dt { color: var(--faint); }
.legal dd { margin: 0; color: var(--ink); }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 40px; font-size: .9375rem; text-decoration: none; }
@media (max-width: 560px) {
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 12px; }
}
/* ---------- Apparition au défilement ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
.d1 { --d: .07s; }
.d2 { --d: .14s; }
.d3 { --d: .21s; }
@media print {
  .site-header, .form, .menu-toggle { display: none; }
  body { background: #fff; }
}
/* =========================================================
   Pages intérieures et composants du site multipage
   ========================================================= */
.nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
/* En-tête de page */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 104px 0 96px; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 80% 90% at 20% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 90% at 20% 0%, #000 30%, transparent 75%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; right: -160px; top: -120px; width: 620px; height: 620px; background: radial-gradient(closest-side, rgba(143, 176, 207, .16), transparent); }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; color: var(--night-faint); margin-bottom: 26px; }
.crumb a { color: var(--night-soft); text-decoration: none; }
.crumb a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); max-width: 18ch; letter-spacing: -0.04em; line-height: 1.05; }
.page-hero .lead { margin-top: 22px; max-width: 40em; font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); color: var(--night-soft); }
.page-hero .hero-actions { justify-content: flex-start; }
@media (max-width: 760px) {
  .page-hero { padding: 64px 0 60px; }
}
/* Liens « en savoir plus » */
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; font-weight: 500; text-decoration: none; }
.more .arrow { transition: transform .18s; }
.more:hover .arrow { transform: translateX(3px); }
/* Formules */
.formulas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.formula { position: relative; display: flex; flex-direction: column; padding: 34px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.formula.swiss { background: var(--night); border-color: var(--night); color: var(--night-soft); isolation: isolate; }
.formula.swiss::after { content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 340px; height: 340px; background: radial-gradient(closest-side, rgba(143, 176, 207, .22), transparent); }
.formula .f-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.formula .f-tag { font-family: var(--mono); font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.formula.swiss .f-tag { color: var(--heron-body); }
.ch-badge { font-family: var(--mono); font-size: .6875rem; font-weight: 600; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; background: var(--heron-body); color: var(--night); }
.formula h3 { margin: 14px 0 10px; font-size: clamp(1.4rem, 2.4vw, 1.75rem); letter-spacing: -0.03em; }
.formula.swiss h3 { color: #fff; }
.formula .for { color: var(--soft); font-size: 1rem; }
.formula.swiss .for { color: var(--night-soft); }
.checks { display: grid; gap: 12px; margin-top: 24px; }
.checks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; color: var(--soft); font-size: .9688rem; }
.checks svg { width: 16px; height: 16px; margin-top: 4px; color: var(--accent); }
.formula.swiss .checks li { color: var(--night-text); }
.formula.swiss .checks svg { color: var(--heron-body); }
.formula .more { margin-top: auto; padding-top: 28px; }
.formula.swiss .more { color: #fff; }
.formula .note { margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--night-line); font-size: .9063rem; color: var(--night-soft); }
@media (max-width: 860px) {
  .formulas { grid-template-columns: 1fr; }
  .formula { padding: 26px 22px; }
}
/* Missions */
.missions { border-top: 1px solid var(--line-2); }
.mission { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); }
.mission .no { align-self: start; padding-top: 6px; font-family: var(--mono); font-size: .875rem; color: var(--accent); }
.mission h3 { margin-bottom: 12px; font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -0.03em; }
.mission p { color: var(--soft); font-size: 1.0313rem; max-width: 34em; }
.mission p + p { margin-top: 10px; }
.mission .viz { margin-top: 0; background: var(--surface); }
@media (max-width: 900px) {
  .mission { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
  .mission .no { padding-top: 0; }
}
/* Options */
.opt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.option { padding: 26px; border-radius: 18px; border: 1px dashed var(--line-2); background: var(--surface); }
.option .mono { font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.option h3 { margin: 12px 0 8px; }
.option p { color: var(--soft); font-size: .9375rem; }
.option q, .quote-inline { quotes: "« " " »"; color: var(--ink); }
@media (max-width: 1000px) {
  .opt-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .opt-grid { grid-template-columns: 1fr; }
}
/* Tableau comparatif */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9688rem; }
.compare caption { text-align: left; padding: 18px 22px 0; color: var(--faint); font-size: .875rem; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; background: var(--paper); font-weight: 600; color: var(--ink); }
.compare thead td { border-top: 0; background: var(--paper); }
.compare thead .ft { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.compare tbody th { width: 26%; font-weight: 500; color: var(--faint); }
.compare td { color: var(--ink); }
.ch-mark { display: inline-flex; align-items: center; gap: 8px; }
.ch-mark::before { content: "CH"; padding: 1px 6px; border-radius: 5px; font-family: var(--mono); font-size: .625rem; font-weight: 600; letter-spacing: .05em; background: var(--accent-tint); color: var(--accent-strong); }
/* Encadré */
.callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: 16px; padding: 28px 32px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.callout h3 { margin-bottom: 6px; font-size: 1.25rem; letter-spacing: -0.02em; }
.callout p { color: var(--soft); }
.callout.dark { background: var(--night); border-color: var(--night); }
.callout.dark h3 { color: #fff; }
.callout.dark p { color: var(--night-soft); }
@media (max-width: 760px) {
  .callout { grid-template-columns: 1fr; padding: 24px 22px; }
}
/* Grilles de fonctionnalités */
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feat-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feat { padding: 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.feat .mono { font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.feat h3 { margin: 12px 0 8px; font-size: 1.1875rem; letter-spacing: -0.02em; }
.feat p { color: var(--soft); font-size: .9688rem; }
@media (max-width: 1000px) {
  .feat-grid.four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .feat-grid, .feat-grid.four { grid-template-columns: 1fr; }
}
.simple { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.simple .mono { font-size: .75rem; color: var(--accent); }
.simple h3 { margin: 10px 0 6px; }
.simple p { color: var(--soft); font-size: .9688rem; }
@media (max-width: 860px) {
  .simple { grid-template-columns: 1fr; gap: 24px; }
}
/* Engagements sécurité */
.sec .no { float: right; font-family: var(--mono); font-size: .75rem; color: var(--faint); }
.sec-grid.seven .sec:last-child { grid-column: span 3; }
@media (max-width: 980px) {
  .sec-grid.seven .sec:last-child { grid-column: span 2; }
}
@media (max-width: 620px) {
  .sec-grid.seven .sec:last-child { grid-column: span 1; }
}
/* Où sont vos données */
.where { display: grid; gap: 16px; }
.where-row { display: grid; grid-template-columns: 220px repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.where-row .wf { align-self: center; }
.where-row .wf .mono { display: block; font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.where-row .wf b { font-size: 1.125rem; letter-spacing: -0.02em; }
.node { position: relative; padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); }
.node .what { display: block; margin-bottom: 4px; font-size: .8125rem; color: var(--faint); }
.node b { font-weight: 500; color: var(--ink); }
.node.ch { background: var(--accent-tint); border-color: #cfdcea; }
.node.ch::after { content: "CH"; position: absolute; top: 12px; right: 12px; padding: 1px 6px; border-radius: 5px; font-family: var(--mono); font-size: .625rem; font-weight: 600; background: var(--accent); color: #fff; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: .875rem; color: var(--soft); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; border: 1px solid var(--line-2); background: var(--paper); }
.legend i.ch { background: var(--accent-tint); border-color: #cfdcea; }
@media (max-width: 860px) {
  .where-row { grid-template-columns: 1fr; }
}
/* Déroulé */
.timeline li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; padding-bottom: 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 21px; top: 52px; bottom: 8px; width: 1px; background: var(--line-2); }
.timeline li:last-child::before { display: none; }
.step-no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-family: var(--mono); font-size: .875rem; color: var(--accent-strong); background: var(--accent-tint); border: 1px solid #cfdcea; }
.timeline h3 { margin: 8px 0; font-size: 1.25rem; letter-spacing: -0.02em; }
.timeline .dur { margin-left: 8px; font-family: var(--mono); font-size: .75rem; font-weight: 400; letter-spacing: 0; color: var(--faint); }
.timeline p { color: var(--soft); max-width: 44em; }
/* Tarifs */
.pricing { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; }
.pricing .price .amount { font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.1; }
.pricing .price p { margin-bottom: 28px; color: var(--night-soft); }
.included { padding: 32px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.included h3 { margin-bottom: 4px; font-size: 1.25rem; letter-spacing: -0.02em; }
.included .checks { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
@media (max-width: 900px) {
  .pricing { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .included .checks { grid-template-columns: 1fr; }
  .included { padding: 26px 22px; }
}
/* Contact (page) */
.contact-page { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px; align-items: start; }
.contact-page .form { box-shadow: none; border: 1px solid var(--line); }
.coords { padding: 30px; border-radius: 18px; background: var(--night); color: var(--night-soft); }
.coords h2 { margin-bottom: 18px; font-size: 1.375rem; color: #fff; }
.coords .contact-list { margin-top: 0; }
.coords .contact-list li { padding: 12px 0; border-top: 1px solid var(--night-line); }
.coords .contact-list li:first-child { padding-top: 0; border-top: 0; }
.coords .note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--night-line); font-size: .9375rem; }
.choices { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; min-width: 0; }
.choices legend { margin-bottom: 8px; padding: 0; font-size: .875rem; font-weight: 500; color: var(--ink); }
.choices .opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choices label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--paper); font-size: .9375rem; cursor: pointer; transition: border-color .15s, background-color .15s; }
.choices label:hover { border-color: #b3bfcc; }
.choices input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.choices label:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
@media (max-width: 960px) {
  .contact-page { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .choices .opts { grid-template-columns: 1fr; }
}
/* À propos */
.founder { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; }
.founder .portrait { position: sticky; top: 100px; }
.founder h3 { margin-bottom: 4px; font-size: 1.375rem; letter-spacing: -0.02em; }
.founder .role { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.founder blockquote { margin: 24px 0 0; padding: 0 0 0 20px; border-left: 2px solid var(--heron-body); font-size: 1.125rem; line-height: 1.65; color: var(--ink); }
.founder .base { margin-top: 28px; color: var(--soft); }
@media (max-width: 820px) {
  .founder { grid-template-columns: 1fr; gap: 28px; }
  .founder .portrait { position: static; max-width: 220px; }
}
.faq.full { max-width: 860px; }
.caption { margin-top: 14px; text-align: right; font-family: var(--mono); font-size: .6875rem; color: var(--faint); }
.honest a, .link-light, .lead a { color: #fff; }
.choices legend .opt { font-weight: 400; color: var(--faint); }
.brand { white-space: nowrap; }
.chat-badge { padding: 2px 8px; border-radius: 999px; background: var(--accent-tint); color: var(--accent); font-size: .6875rem; font-weight: 600; }
.chat-badge { white-space: nowrap; }
/* Thème « app HeronFlow » : variante claire alignée sur l'application (bleu #1e40af, Inter, cartes blanches).
   Se charge après site.css et ne fait que surcharger. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}
:root { --night: #ffffff; --night-2: #ffffff; --night-line: #e2e8f0; --night-line-2: #cbd5e1; --night-text: #0f172a; --night-soft: #64748b; --night-faint: #94a3b8; --paper: #f8fafc; --line: #e2e8f0; --line-2: #cbd5e1; --ink: #0a0a0a; --soft: #64748b; --faint: #94a3b8; --accent: #1e40af; --accent-strong: #1e3a8a; --accent-tint: #eff6ff; --heron-body: #1e40af; --heron-mist: #dbeafe; --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "Inter", system-ui, sans-serif; }
body { background: #fff; }
h1, h2, h3 { letter-spacing: -0.025em; }
h1 { letter-spacing: -0.035em; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--ink); }
/* Libellés : petites capitales bleues, sans police mono */
.label, .feat .mono, .option .mono, .sec .mono, .formula .f-tag, .price .mono, .simple .mono { font-family: var(--font); letter-spacing: .08em; font-weight: 600; font-size: .6875rem; }
.label .n { display: none; }
/* En-tête blanc */
.site-header { background: rgba(255, 255, 255, .85); border-bottom-color: #e2e8f0; }
.nav-links a { color: #64748b; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #0f172a; background: #f1f5f9; }
.on-dark .brand, .on-dark .brand:hover { color: #0f172a; }
.on-dark .brand .wm-flow { color: #1e40af; }
.brand-mark { box-shadow: none; background: transparent; }
.menu-toggle { color: #0f172a !important; background: #fff !important; border-color: #cbd5e1 !important; }
@media (max-width: 1100px) {
  .nav { background: #fff; }
  .nav-links a { color: #0f172a; }
}
/* Boutons */
.btn { border-radius: 8px; }
.btn-light, .btn-dark { background: #1e40af; color: #fff; box-shadow: 0 6px 18px -8px rgba(30, 64, 175, .55); }
.btn-light:hover, .btn-dark:hover { background: #1e3a8a; color: #fff; }
.btn-outline-dark { background: #fff; color: #0f172a; border-color: #e2e8f0; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); }
.btn-outline-dark:hover { background: #f8fafc; color: #0f172a; border-color: #cbd5e1; }
.formula.swiss .more, .honest a, .link-light, .lead a { color: #1e40af; }
/* Sections « sombres » devenues claires, avec le halo bleu de l'app */
.on-dark { background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%); color: var(--ink); }
.page-hero { background: radial-gradient(ellipse 50% 60% at 20% 20%, rgba(147, 197, 253, .35), transparent 70%), radial-gradient(ellipse 50% 60% at 85% 10%, rgba(165, 180, 252, .3), transparent 70%), linear-gradient(180deg, #eef2ff 0%, #ffffff 100%); }
.page-hero::before, .cockpit-section::before { display: none; }
.page-hero::after { display: none; }
.crumb a:hover { color: #0f172a; }
/* Cartes : coins plus doux, ombre légère */
.formula, .feat, .sec-grid, .option, .included, .callout, .table-wrap, .where-row, .form { border-radius: 12px; }
.feat, .formula, .option, .included, .where-row { box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.chip.blue { background: #dbeafe; color: #1e40af; }
.bar .a { background: #1e40af; }
.bar .c { background: #60a5fa; }
.bar .d { background: #cbd5e1; }
.bg-white { background: #fff; }
.section:not(.on-dark):not(.bg-white) { background: #f8fafc; }
/* Formule 100 % suisse : carte mise en avant comme le plan « Populaire » de l'app */
.formula.swiss { background: #fff; border: 2px solid #1e40af; color: var(--soft); }
.formula.swiss::after { display: none; }
.formula.swiss h3 { color: var(--ink); }
.formula.swiss .for { color: var(--soft); }
.formula.swiss .checks li { color: var(--ink); }
.formula.swiss .checks svg, .formula.swiss .f-tag { color: #1e40af; }
.ch-badge { background: #1e40af; color: #fff; }
.formula .note { background: #eff6ff; border-color: #dbeafe; color: #1e3a8a; }
/* Blocs autrefois sombres */
.price, .honest, .coords, .callout.dark { background: #eff6ff; color: #1e3a8a; border: 1px solid #dbeafe; }
.price .amount, .honest strong, .coords h2, .callout.dark h3 { color: #0f172a; }
.price li svg, .honest svg { color: #1e40af; }
.price, .pricing .price p, .callout.dark p { color: #475569; }
.price::after { display: none; }
.coords .contact-list li { border-top-color: #dbeafe; color: #0f172a; }
.coords .note { border-top-color: #dbeafe; color: #475569; }
/* Cockpit clair */
.dash { background: #fff; border-color: #e2e8f0; color: #0f172a; box-shadow: 0 30px 60px -30px rgba(30, 64, 175, .3); }
.dash-top { background: #f8fafc; }
.dash-tabs span { color: #64748b; }
.dash-tabs span.on { background: #fff; color: #0f172a; box-shadow: 0 0 0 1px #e2e8f0; }
.dash-grid, .dash-col { background: #e2e8f0; }
.panel { background: #fff; }
.panel-head h3 { color: #0f172a; }
.log b, .pend b, .todo-list .t { color: #0f172a; }
.cnt { background: #f1f5f9; color: #64748b; }
.pend .go { background: #1e40af; color: #fff; }
.cb { border-color: #cbd5e1; }
.cb.done { background: #1e40af; border-color: #1e40af; }
.cb.done::after { border-color: #fff; }
.st.ok { background: #dcfce7; color: #166534; }
.st.wait { background: #fef3c7; color: #92400e; }
.st.info { background: #dbeafe; color: #1e40af; }
.cnt.attn { background: #fef3c7; color: #92400e; }
/* Tableaux et schémas */
.node.ch { background: #eff6ff; border-color: #bfdbfe; }
.node.ch::after { background: #1e40af; }
.step-no { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
/* Pied de page clair, centré comme dans l'app */
.site-footer { background: #fff; color: #64748b; border-top: 1px solid #e2e8f0; }
.site-footer .brand, .site-footer .brand:hover { color: #0f172a; }
.footer-top, .footer-bottom { border-color: #e2e8f0; }
.footer-tagline { color: #64748b; }
.footer-links a { color: #475569; }
.footer-links a:hover { color: #0f172a; }
.a-btn.primary { background: #1e40af; border-color: #1e40af; color: #fff; }
.skip-link { background: #1e40af; color: #fff; }
/* =========================================================
   Titres de section : le libellé gris disparaît, le titre prend son style
   ========================================================= */
.label { display: none; }
.head h2, .h-head h2 { font-family: var(--font); font-size: .875rem; font-weight: 600; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: #64748b; max-width: 60ch; }
.head p, .h-head p { margin-top: 10px; }
.head { margin-bottom: 40px; }
/* =========================================================
   Accueil, même disposition que l'app HeronFlow
   ========================================================= */
.h-hero { position: relative; overflow: hidden; min-height: calc(100svh - 64px); display: flex; align-items: center; padding: 56px 0 48px; background: radial-gradient(closest-side, rgba(30, 64, 175, .14), transparent) 8% 18% / 420px 420px no-repeat, radial-gradient(closest-side, rgba(96, 165, 250, .14), transparent) 92% 82% / 520px 520px no-repeat, linear-gradient(180deg, #eef2ff 0%, #f8fafc 70%, #ffffff 100%); }
@media (prefers-reduced-motion: no-preference) {
  .h-hero { animation: blobs 14s ease-in-out infinite alternate; }
}
@keyframes blobs { to { background-position: 14% 26%, 86% 74%, 0 0; } }
.h-hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 900px; }
.h-title { font-size: clamp(1.75rem, 4.6vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; color: #0a0a0a; }
.h-title-1, .h-title-2 { display: block; }
.h-title-2 { color: #1e40af; }
.h-lead { margin-top: 18px; max-width: 36em; font-size: 1rem; color: #64748b; }
.h-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.h-actions .btn { min-height: 44px; border-radius: 12px; font-weight: 600; font-size: .9063rem; }
/* Carte Heron compacte */
.heron-card { width: 100%; max-width: 512px; margin-top: 30px; padding: 18px 20px 14px; text-align: left; border-radius: 16px; border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 10px 30px -12px rgba(30, 58, 138, .18); }
.hc-top { display: flex; gap: 12px; align-items: flex-start; }
.hc-avatar { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 4px 12px -4px rgba(30, 64, 175, .35); }
.hc-avatar img { width: 22px; height: auto; }
.hc-avatar::after { content: ""; position: absolute; top: -2px; right: -2px; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }
.hc-body { flex: 1; min-width: 0; }
.hc-name { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 700; color: #0a0a0a; }
.hc-name .chat-badge { font-size: .625rem; }
.hc-desc { margin-top: 3px; font-size: .75rem; line-height: 1.55; color: #64748b; }
.hc-desc b { font-weight: 600; color: #0a0a0a; }
.hc-ex-wrap { display: grid; margin-top: 12px; }
.hc-ex { grid-area: 1 / 1; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.9); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .4s, transform .4s, visibility .4s; }
.hc-ex.on { opacity: 1; visibility: visible; transform: none; }
.hc-q, .hc-a { display: flex; gap: 8px; font-size: .7188rem; line-height: 1.55; }
.hc-q { font-style: italic; color: #64748b; }
.hc-a { margin-top: 6px; font-weight: 500; color: #0a0a0a; }
.hc-q svg, .hc-a svg { flex: none; width: 13px; height: 13px; margin-top: 2px; }
.hc-q svg { color: rgba(30, 64, 175, .6); }
.hc-a svg { color: #1e40af; }
.hc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-left: 52px; }
.hc-dots { display: flex; gap: 6px; }
.hc-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: #cbd5e1; cursor: pointer; transition: width .25s, background-color .25s; }
.hc-dots button.on { width: 18px; background: #1e40af; }
.hc-dots button:focus-visible { outline-offset: 2px; }
.hc-note { font-size: .6875rem; color: #94a3b8; }
/* Barre des missions */
.steps-bar { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; max-width: 672px; margin-top: 22px; padding: 14px 20px; border-radius: 16px; border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.4); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 6px 20px -10px rgba(30, 58, 138, .15); }
.steps-bar li { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 1; font-size: .6875rem; font-weight: 600; color: #0a0a0a; white-space: nowrap; position: relative; }
.steps-bar li + li::before { content: ""; position: absolute; left: -10px; top: 15px; width: 8px; height: 8px; border-top: 1.5px solid rgba(30, 64, 175, .3); border-right: 1.5px solid rgba(30, 64, 175, .3); transform: rotate(45deg); }
.sb-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.75); color: #1e40af; box-shadow: 0 1px 3px rgba(15, 23, 42, .08); transition: transform .2s; }
.sb-ic:hover { transform: scale(1.08); }
.sb-ic svg { width: 19px; height: 19px; }
.trustline { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; margin-top: 18px; font-size: .75rem; color: #64748b; }
.trustline span { display: inline-flex; align-items: center; gap: 6px; }
.trustline svg { width: 14px; height: 14px; color: rgba(30, 64, 175, .6); }
.trustline .sep { color: #e2e8f0; }
@media (max-width: 560px) {
  .h-hero { min-height: 0; padding: 36px 0 40px; }
  .h-actions { flex-direction: row; }
  .h-actions .btn { flex: 1 1 auto; padding: 0 1rem; }
  .steps-bar { gap: 0; padding: 12px 8px; }
  .steps-bar li { font-size: .5625rem; }
  .steps-bar li + li::before { display: none; }
  .sb-ic { width: 34px; height: 34px; border-radius: 10px; }
  .sb-ic svg { width: 16px; height: 16px; }
  .hc-foot { padding-left: 0; }
}
/* Sections de l'accueil */
.h-section { background: #fff !important; border-top: 1px solid #f1f5f9; }
.h-section.alt { background: #f8fafc !important; }
.h-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.h-head h2 { margin: 0 auto; }
.h-head p { font-size: 1rem; color: #64748b; }
.heron-feature { display: flex; gap: 28px; align-items: flex-start; max-width: 720px; margin: 0 auto; padding: 32px; border-radius: 20px; border: 1px solid #e2e8f0; background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%); }
.hf-avatar { flex: none; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 22px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 10px 24px -12px rgba(30, 64, 175, .4); }
.hf-avatar img { width: 54px; height: auto; }
.heron-feature .hc-name { font-size: 1.25rem; }
.hf-desc { margin-top: 8px; font-size: .9375rem; color: #64748b; }
.hf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.hf-grid li { padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid #e2e8f0; }
.hf-grid b { display: block; font-size: .8125rem; font-weight: 600; color: #0a0a0a; }
.hf-grid span { display: block; margin-top: 2px; font-size: .75rem; color: #64748b; }
@media (max-width: 640px) {
  .heron-feature { flex-direction: column; padding: 24px 20px; }
  .hf-avatar { width: 64px; height: 64px; border-radius: 16px; }
  .hf-avatar img { width: 40px; }
  .hf-grid { grid-template-columns: 1fr; }
}
.m-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 980px; margin: 0 auto; }
.m-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 14px; background: #fff; border: 1px solid #e2e8f0; transition: box-shadow .2s, transform .2s; }
.m-card:hover { box-shadow: 0 10px 28px -16px rgba(30, 64, 175, .3); transform: translateY(-2px); }
.m-card > div { display: flex; flex-direction: column; }
.m-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: center; }
.m-card p { grid-column: 1 / -1; font-size: .875rem; color: #64748b; }
.m-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; }
.m-ic svg { width: 19px; height: 19px; }
.m-ic.blue { background: #eff6ff; color: #1d4ed8; }
.m-ic.violet { background: #f5f3ff; color: #7c3aed; }
.m-ic.green { background: #f0fdf4; color: #16a34a; }
.m-ic.amber { background: #fffbeb; color: #d97706; }
.m-ic.sky { background: #f0f9ff; color: #0284c7; }
.m-k { font-size: .625rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; }
.m-card h3 { font-size: .9375rem; font-weight: 600; letter-spacing: -0.01em; color: #0a0a0a; }
@media (max-width: 900px) {
  .m-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .m-grid { grid-template-columns: 1fr; }
}
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 820px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: 14px; background: #fff; border: 1px solid #e2e8f0; }
.plan.featured { border: 2px solid #1e40af; box-shadow: 0 16px 40px -24px rgba(30, 64, 175, .5); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; background: #1e40af; color: #fff; font-size: .6875rem; font-weight: 600; white-space: nowrap; }
.plan h3 { font-size: 1.125rem; font-weight: 700; color: #0a0a0a; }
.plan-for { margin-top: 6px; font-size: .875rem; color: #64748b; }
.plan .checks { margin: 18px 0 24px; gap: 8px; }
.plan .checks li { font-size: .875rem; color: #0a0a0a; }
.plan .btn { margin-top: auto; width: 100%; border-radius: 10px; }
@media (max-width: 700px) {
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .h-title { font-size: 1.55rem; }
  .h-title-1 { white-space: nowrap; }
}
/* Réassurance sous les boutons */
.h-risk { margin-top: 14px; font-size: .75rem; color: #64748b; }
.plans-note { max-width: 820px; margin: 22px auto 0; text-align: center; font-size: .875rem; color: #64748b; }
/* Prix des formules */
.plan-price { margin-top: 16px; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; color: #0a0a0a; }
.plan-price small { margin-left: 2px; font-size: .875rem; font-weight: 500; color: #64748b; }
.plan-price .todo { font-size: 1rem; }
.plan-setup { font-size: .8125rem; color: #64748b; }
.price-setup { margin: -12px 0 14px; font-size: .875rem; }
.pricing .price .amount .todo { font-size: 1.25rem; }
/* Bouton de rendez-vous sur la page Contact */
.page-hero .lead + .btn { margin-top: 26px; }
/* Calculateur */
.calc-section { background: #f8fafc !important; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; max-width: 900px; margin: 0 auto; border-radius: 20px; border: 1px solid #e2e8f0; background: #fff; overflow: hidden; box-shadow: 0 20px 50px -30px rgba(30, 64, 175, .35); }
.calc-inputs { display: grid; gap: 30px; padding: 34px; }
.calc-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; row-gap: 12px; }
.calc-field label { font-size: .9375rem; font-weight: 500; color: #0a0a0a; }
.calc-field output { font-size: 1.375rem; font-weight: 700; color: #1e40af; font-variant-numeric: tabular-nums; }
.calc-field input[type="range"] { grid-column: 1 / -1; width: 100%; height: 6px; margin: 0; appearance: none; -webkit-appearance: none; border-radius: 99px; background: linear-gradient(#1e40af, #1e40af) 0 / var(--fill, 50%) 100% no-repeat, #e2e8f0; cursor: pointer; }
.calc-field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid #1e40af; box-shadow: 0 2px 8px rgba(30, 64, 175, .35); }
.calc-field input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid #1e40af; box-shadow: 0 2px 8px rgba(30, 64, 175, .35); }
.calc-field input[type="range"]:focus-visible { outline: 2px solid #1e40af; outline-offset: 6px; }
.calc-scale { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: -4px; font-size: .75rem; color: #94a3b8; }
.calc-result { display: flex; flex-direction: column; justify-content: center; padding: 34px; background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%); border-left: 1px solid #e2e8f0; }
.calc-k { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #64748b; }
.calc-big { margin-top: 6px; font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: #1e40af; font-variant-numeric: tabular-nums; }
.calc-unit { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: #1e3a8a; }
.calc-sub { margin-top: 10px; font-size: .9375rem; color: #475569; }
.calc-sub b { color: #0a0a0a; }
.calc-result .btn { align-self: flex-start; margin-top: 22px; }
.calc-note { margin-top: 16px; font-size: .75rem; line-height: 1.5; color: #64748b; }
@media (max-width: 760px) {
  .calc { grid-template-columns: 1fr; }
  .calc-inputs, .calc-result { padding: 24px 20px; }
  .calc-result { border-left: 0; border-top: 1px solid #e2e8f0; }
  .calc-result .btn { align-self: stretch; }
}
/* Vidéo de démonstration (à activer) */
.demo-video { display: block; width: 100%; max-width: 900px; margin: 0 auto; border-radius: 16px; border: 1px solid #e2e8f0; box-shadow: 0 20px 50px -30px rgba(30, 64, 175, .35); background: #0f172a; }
@media (max-width: 560px) {
  .h-title-1 { white-space: normal; }
}
/* =========================================================
   Ajustements : boutons discrets, menu compact, calculateur fin
   ========================================================= */
/* Boutons : taille unique et discrète, jamais en pleine largeur */
.btn, .h-actions .btn { min-height: 40px; padding: 0 18px; font-size: .875rem; font-weight: 600; border-radius: 10px; }
.btn-small { min-height: 34px; padding: 0 14px; font-size: .8125rem; border-radius: 8px; }
.hero-actions .btn, .h-actions .btn, .form-actions .btn, .calc-result .btn, .plan .btn, .price .btn, .callout .btn { width: auto; flex: 0 0 auto; align-self: flex-start; }
.plan .btn { align-self: stretch; }
.form-actions .btn { min-width: 0; }
@media (max-width: 560px) {
  .hero-actions .btn, .h-actions .btn, .form-actions .btn, .calc-result .btn, .callout .btn { width: auto; flex: 0 0 auto; }
  .h-actions { gap: 8px; }
  .calc-result .btn { align-self: flex-start; }
}
/* Menu mobile : petite fenêtre dans le coin droit */
@media (max-width: 1100px) {
  .site-header .header-inner { position: relative; }
  .nav { position: absolute; top: 56px; right: var(--gutter); left: auto; width: 230px; padding: 6px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: 0 16px 40px -16px rgba(15, 23, 42, .25); }
  .nav-links { flex-direction: column; gap: 1px; }
  .nav-links a { padding: 9px 12px; border: 0; border-radius: 8px; font-size: .9063rem; color: #334155; }
  .nav-links a:hover, .nav-links a[aria-current="page"] { background: #f1f5f9; color: #0f172a; }
  .nav .btn { margin: 6px 0 0; min-height: 36px; font-size: .8438rem; }
  .menu-toggle { min-height: 34px; padding: 0 10px; font-size: .8438rem; }
}
/* Titre de page en style libellé (page Formules) */
.section-title { font-family: var(--font); font-size: .875rem; font-weight: 600; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: #64748b; }
.top-section { padding-top: 72px; }
@media (max-width: 760px) {
  .top-section { padding-top: 48px; }
}
/* Encadrés « Quelle formule choisir ? » et « Une question de sécurité ? » */
.callout { padding: 20px 24px; gap: 16px; }
.callout h3, .callout.dark h3 { margin-bottom: 4px; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #64748b; }
.callout p, .callout.dark p { font-size: .9063rem; }
@media (max-width: 760px) {
  .callout { padding: 18px; }
}
/* Calculateur plus fin */
.calc { max-width: 760px; border-radius: 16px; box-shadow: 0 12px 32px -24px rgba(30, 64, 175, .35); }
.calc-inputs { gap: 20px; padding: 22px 24px; }
.calc-field { row-gap: 8px; }
.calc-field label { font-size: .8438rem; }
.calc-field output { font-size: 1rem; }
.calc-field input[type="range"] { height: 4px; }
.calc-field input[type="range"]::-webkit-slider-thumb { width: 16px; height: 16px; }
.calc-field input[type="range"]::-moz-range-thumb { width: 13px; height: 13px; }
.calc-scale { font-size: .6875rem; }
.calc-result { padding: 22px 24px; }
.calc-k { font-size: .6875rem; }
.calc-big { margin-top: 4px; font-size: clamp(1.9rem, 4vw, 2.4rem); font-weight: 700; }
.calc-unit { font-size: .875rem; }
.calc-sub { margin-top: 6px; font-size: .8438rem; }
.calc-result .btn { margin-top: 14px; }
.calc-note { margin-top: 10px; font-size: .6875rem; }
@media (max-width: 760px) {
  .calc-inputs, .calc-result { padding: 18px; }
}
/* =========================================================
   Tous les titres en gris (style libellé)
   ========================================================= */
.page-hero h1, .legal h1, .mission h3, .timeline h3, .formula h3, .founder h3 { font-family: var(--font); font-size: .875rem; font-weight: 600; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: #64748b; max-width: none; }
.timeline h3 .dur { text-transform: none; letter-spacing: 0; }
.mission h3, .timeline h3, .formula h3, .founder h3 { margin-bottom: 8px; }
.timeline h3 { margin-top: 12px; }
.formula h3 { margin-top: 14px; }
/* Sous le titre gris, la phrase d'introduction porte le message */
.page-hero { padding: 72px 0 64px; }
.page-hero .lead { margin-top: 14px; max-width: 34em; font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; color: #0f172a; }
.page-hero .lead a { color: #1e40af; }
@media (max-width: 760px) {
  .page-hero { padding: 48px 0 44px; }
}
.legal h1 { margin-bottom: 6px; }
/* Compétences */
.opt-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) {
  .opt-grid.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .opt-grid.three { grid-template-columns: 1fr; }
}
.m-ic.rose { background: #fdf2f8; color: #db2777; }
.m-link { margin-top: 8px; text-align: center; }
.m-link .more { margin-top: 18px; }
.mission .viz .hc-q, .mission .viz .hc-a { font-size: .8438rem; }
.mission .viz .hc-q svg, .mission .viz .hc-a svg { width: 14px; height: 14px; }
@media (max-width: 560px) {
  .steps-bar li { font-size: .5rem; }
  .sb-ic { width: 30px; height: 30px; }
}
.mission { align-items: start; }
.mission .no { padding-top: 2px; }
.mission q, .m-card q { quotes: "« " " »"; }
/* =========================================================
   Accessibilité : contrastes AA et tailles minimales
   ========================================================= */
:root { --faint: #5b6a80; --night-faint: #5b6a80; }
.crumb, .crumb a, .caption, .dash-caption, .hc-note, .m-k, .calc-scale, .compare tbody th, .sec .no, .node .what, .field .opt, .choices legend .opt, .contact-list .k, .legal dt, .legal .updated, .timeline .dur, .trustline .sep { color: #5b6a80; }
.crumb span:last-child { color: #5b6a80; }
.callout h3, .callout.dark h3 { color: #475569; }
.chat-badge, .hc-name .chat-badge { font-size: .6875rem; }
.m-k { font-size: .6875rem; }
@media (max-width: 560px) {
  .steps-bar { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 12px; padding: 14px 10px; }
  .steps-bar li { font-size: .6875rem; }
  .sb-ic { width: 34px; height: 34px; }
}
/* Ligne d'action en fin de page */
.end-cta { padding: 40px 0 56px; border-top: 1px solid #e2e8f0; background: #fff; }
.end-cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; text-align: center; }
.end-cta p { font-size: .9375rem; color: #475569; }
/* Mini-aperçus des compétences avancées */
.opt-viz { display: grid; gap: 6px; margin-top: 16px; padding: 12px; border-radius: 10px; background: #f8fafc; border: 1px solid #e2e8f0; font-size: .75rem; color: #475569; }
.ov-file, .ov-path { display: block; padding: 6px 8px; border-radius: 6px; background: #fff; border: 1px solid #e2e8f0; color: #0f172a; overflow-wrap: anywhere; }
.ov-arrow { justify-self: center; color: #1e40af; line-height: 1; }
.ov-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ov-row b { font-weight: 600; color: #0f172a; }
.ov-quote { font-style: italic; color: #0f172a; }
.option { display: flex; flex-direction: column; }
.option .opt-viz { margin-top: auto; }
.option > p { margin-bottom: 16px; }
