/* Revworks — feuille de style. Mise en page éditoriale, Inter Tight + Inter, un seul accent. */
:root {
  color-scheme: light;
  --paper: #f6f5f1;
  --white: #ffffff;
  --ink: #111418;
  --ink-2: #474c54;
  --ink-3: #7b8189;
  --line: rgba(17, 20, 24, .12);
  --line-2: rgba(17, 20, 24, .22);
  --accent: #1b3bd1;
  --accent-dark: #142ea6;
  --accent-soft: #e5e9fb;
  --ok: #1a7f4b;
  --ok-soft: #e3f3ea;
  --warn: #a35a00;
  --warn-soft: #fbefd9;
  --bad: #b4322a;
  --bad-soft: #fbe9e7;
  --display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  --text: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 4.5vw, 56px);
  --ease: cubic-bezier(.22, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Liens et boutons ---------- */
.link { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: color .2s; }
.link::after { content: "→"; transition: transform .3s var(--ease); }
.link:hover { color: var(--accent); }
.link:hover::after { transform: translateX(4px); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 1px solid var(--accent); border-radius: 10px; background: var(--accent); color: #fff; font: 500 16px/1 var(--text); letter-spacing: -.005em; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .3s, transform .2s var(--ease); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); box-shadow: 0 10px 24px -12px rgba(27, 59, 209, .7); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: 9px; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: var(--accent-soft); border-color: var(--accent-soft); box-shadow: none; }
button.btn:disabled { opacity: .6; cursor: progress; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(246, 245, 241, .86); backdrop-filter: blur(12px) saturate(150%); -webkit-backdrop-filter: blur(12px) saturate(150%); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 20px/1 var(--display); letter-spacing: -.04em; }
.brand svg { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { position: relative; font-size: 15.5px; color: var(--ink-2); padding: 6px 0; transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu { display: none; }

@media (max-width: 760px) {
  .menu { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; background: transparent; color: var(--ink); border: 1px solid var(--line-2); border-radius: 9px; font: 500 15px/1 var(--text); cursor: pointer; }
  .menu i { position: relative; width: 16px; height: 9px; }
  .menu i::before, .menu i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
  .menu i::before { top: 0; } .menu i::after { top: 7.5px; }
  .menu[aria-expanded="true"] i::before { top: 4px; transform: rotate(45deg); }
  .menu[aria-expanded="true"] i::after { top: 4px; transform: rotate(-45deg); }
  .nav { position: fixed; inset: 72px 0 auto 0; height: calc(100dvh - 72px); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 32px; background: var(--paper); border-top: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { font: 600 30px/1 var(--display); letter-spacing: -.03em; color: var(--ink); padding: 22px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 28px; min-height: 56px; font-size: 17px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Repères éditoriaux ---------- */
.mark { display: flex; align-items: baseline; gap: 12px; font-size: 14px; color: var(--ink-3); letter-spacing: .01em; }
.mark b { font: 600 14px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.mark::after { content: ""; flex: 0 0 32px; height: 1px; background: var(--line-2); align-self: center; order: 1; }
.mark span { order: 2; }

.sec { padding: clamp(72px, 10vw, 136px) 0; }
.sec.tight { padding-top: 0; }
section[id] { scroll-margin-top: 104px; }
.cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.cols > .mark { position: sticky; top: 104px; }
.h2 { font-size: clamp(32px, 4.6vw, 60px); }
.h2 em { font-style: normal; color: var(--ink-3); }
.lede { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 34em; }

/* ---------- Héros ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(42px, 6.3vw, 88px); letter-spacing: -.045em; line-height: .97; margin: 22px 0 26px; }
.hero h1 span { color: var(--ink-3); }
.hero .lede { margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-note { margin-top: 30px; font-size: 14.5px; color: var(--ink-3); }

/* Scène avant / après */
.ba { display: grid; gap: 16px; }
.ba-switch { justify-self: start; display: inline-grid; grid-template-columns: 1fr 1fr; position: relative; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); }
.ba-switch button { position: relative; z-index: 1; border: 0; background: none; padding: 9px 20px; border-radius: 999px; font: 500 14.5px/1 var(--text); color: var(--ink-2); cursor: pointer; transition: color .3s; }
.ba-switch button[aria-pressed="true"] { color: #fff; }
.ba-switch::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease); }
.ba.apres .ba-switch::before { transform: translateX(100%); }
.scene { position: relative; height: 430px; }
.scene-head { position: absolute; left: 0; right: 0; top: 0; height: 62px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease); }
.scene-head strong { font: 600 22px/1 var(--display); letter-spacing: -.03em; }
.scene-head span { font-size: 14px; color: var(--ok); font-weight: 500; }
.ba.apres .scene-head { opacity: 1; transform: none; transition-delay: .5s; }
.it { position: absolute; left: var(--l); top: var(--t); width: var(--w); height: var(--h); transform: rotate(var(--r)); z-index: var(--z, 1); overflow: hidden; border-radius: 4px; background: var(--bg, #fff); border: 1px solid var(--bd, var(--line)); box-shadow: 0 14px 30px -18px rgba(17, 20, 24, .45); font-size: 13.5px; line-height: 1.35; transition: left .9s var(--ease), top .9s var(--ease), width .9s var(--ease), height .9s var(--ease), transform .9s var(--ease), background .6s, border-color .6s, box-shadow .6s, border-radius .6s; transition-delay: calc(var(--i) * 70ms); }
.lanes { position: absolute; left: 0; right: 0; top: 78px; bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 1.6%; opacity: 0; transition: opacity .5s; }
.lanes > div { border-radius: 10px; background: rgba(17, 20, 24, .045); padding: 11px 10px; display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; font: 600 12.5px/1.2 var(--text); white-space: nowrap; }
.lanes b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.lanes span { color: var(--ink-3); font-weight: 500; }
.lanes > div:last-child { background: var(--ok-soft); }
.ba.apres .lanes { opacity: 1; transition-delay: .35s; }
.ba.apres .it { left: calc(var(--c) * 25.4% + 6px); top: calc(116px + var(--row, 0) * 110px); width: calc(23.8% - 12px); height: 102px; transform: none; background: var(--white); border-color: var(--line); border-radius: 8px; box-shadow: 0 1px 2px rgba(17, 20, 24, .08); }
.it .m, .it .t { position: absolute; inset: 0; transition: opacity .35s; }
.it .m { padding: 12px 14px; }
.it .t { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 9px 8px; opacity: 0; font-size: 13px; line-height: 1.25; }
.it .t b { font-weight: 600; }
.it .t i { font-style: normal; color: var(--ink-3); font-size: 12.5px; white-space: nowrap; }
.it .t .tagp { margin-top: auto; padding: 3px 6px; font-size: 10.5px; white-space: nowrap; }
.ba.apres .it .m { opacity: 0; }
.ba.apres .it .t { opacity: 1; transition-delay: calc(.45s + var(--i) * 70ms); }
.tagp { flex: none; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; }
.tagp.ok { background: var(--ok-soft); color: var(--ok); }
.tagp.wait { background: var(--accent-soft); color: var(--accent-dark); }
.tagp.todo { background: var(--warn-soft); color: var(--warn); }
.it.postit { --bg: #f7e58a; --bd: #ecd765; }
.it.postit .m { font: 600 17px/1.25 var(--display); letter-spacing: -.01em; }
.it.postit .m small { display: block; margin-top: 8px; font: 400 13px/1.3 var(--text); opacity: .75; }
.it.sheet .m { padding: 0; }
.it.sheet .bar { padding: 8px 12px; background: #e9efe9; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it.sheet table { width: 100%; border-collapse: collapse; font-size: 12px; }
.it.sheet td { padding: 5px 8px; border: 1px solid rgba(17, 20, 24, .08); white-space: nowrap; color: var(--ink-2); }
.it.sheet td.q { background: #fde9e6; color: var(--bad); }
.it.mail .m b { display: block; margin-bottom: 4px; }
.it.mail .m span { color: var(--ink-3); }
.it.missed { --bg: #fbe9e7; --bd: #f3cdc8; }
.it.missed .m { display: flex; flex-direction: column; justify-content: center; color: var(--bad); font-weight: 600; }
.it.missed .m span { font-weight: 400; color: var(--ink-2); }
.it.note { --bg: #fffdf6; }
.it.note .m { font-style: italic; font-size: 15px; color: var(--ink-2); }
.it.note .m b { font-style: normal; color: var(--ink); }
.ba-cap { font-size: 13px; color: var(--ink-3); }

/* ---------- Constat ---------- */
.statement { font: 500 clamp(26px, 3.3vw, 44px)/1.16 var(--display); letter-spacing: -.03em; max-width: 21em; text-wrap: pretty; }
.statement span { color: var(--ink-3); }
.signs { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ink); counter-reset: s; }
.signs li { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(18px, 1.7vw, 22px); letter-spacing: -.01em; counter-increment: s; }
.signs li::before { content: counter(s, decimal-leading-zero); font: 500 14px/1 var(--display); color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------- Parcours d'une affaire ---------- */
.rail-head { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px 64px; align-items: end; margin: 28px 0 clamp(48px, 6vw, 80px); }
.rail { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 28px; padding-top: 34px; }
.rail-line { position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--line-2); }
.rail-line i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.rail-line b { position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(27, 59, 209, .16); }
.stop { position: relative; display: grid; gap: 10px; align-content: start; }
.stop::before { content: ""; position: absolute; left: 0; top: -31px; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-2); transition: border-color .4s, background .4s; }
.stop.on::before { border-color: var(--accent); background: var(--accent); }
.stop h3 { font-size: 21px; letter-spacing: -.025em; color: var(--ink-3); transition: color .4s; }
.stop.on h3 { color: var(--ink); }
.stop p { font-size: 15px; line-height: 1.5; color: var(--ink-2); opacity: .45; transition: opacity .4s; }
.stop.on p { opacity: 1; }
.rail-foot { margin-top: 36px; font-size: 13px; color: var(--ink-3); }

/* ---------- Domaines ---------- */
.domains { border-top: 1px solid var(--ink); }
.domains > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 12px 40px; padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); }
.domains dt { font: 600 clamp(22px, 2.3vw, 30px)/1.1 var(--display); letter-spacing: -.03em; }
.domains dd { color: var(--ink-2); max-width: 34em; }
.domains dd strong { color: var(--ink); font-weight: 500; }

/* ---------- Méthode ---------- */
.steps { border-top: 1px solid var(--ink); }
.steps li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 7fr) minmax(0, 3fr); gap: 16px 40px; align-items: start; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.steps .n { font: 600 clamp(56px, 8vw, 112px)/.8 var(--display); letter-spacing: -.06em; color: var(--accent); }
.steps h3 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 12px; }
.steps p { color: var(--ink-2); max-width: 32em; }
.steps .when { font-size: 15px; color: var(--ink-3); text-align: right; padding-top: 8px; }
.steps .when b { display: block; font: 600 18px/1.2 var(--display); color: var(--ink); letter-spacing: -.02em; }



/* ---------- Engagements ---------- */
.vows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); border-top: 1px solid var(--ink); padding-top: 28px; }
.vows h3 { font-size: 22px; margin-bottom: 10px; }
.vows p { color: var(--ink-2); font-size: 16px; }

/* ---------- Appel final ---------- */
.call { background: var(--ink); color: #fff; border-radius: 22px; padding: clamp(36px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: end; }
.call h2 { font-size: clamp(38px, 6vw, 84px); letter-spacing: -.045em; line-height: .98; }
.call p { margin-top: 22px; color: rgba(255, 255, 255, .7); max-width: 30em; font-size: 18px; }
.call .btn { justify-self: end; }

/* ---------- Pied de page ---------- */
.foot { padding: clamp(48px, 6vw, 80px) 0 32px; font-size: 15px; color: var(--ink-2); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 32px; }
.foot p { max-width: 26em; margin-top: 14px; }
.foot nav { display: grid; gap: 10px; align-content: start; }
.foot nav a { justify-self: start; transition: color .2s; }
.foot nav a:hover { color: var(--accent); }
.foot .end { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }

/* ---------- Pages intérieures ---------- */
.page-head { padding: clamp(48px, 8vw, 112px) 0 clamp(40px, 6vw, 72px); }
.page-head h1 { font-size: clamp(40px, 6vw, 84px); letter-spacing: -.045em; line-height: .98; margin: 20px 0 24px; max-width: 13em; }
.page-head h1 span { color: var(--ink-3); }


.plain { display: grid; gap: 12px; color: var(--ink-2); max-width: 36em; }
.plain li { padding-left: 22px; position: relative; }
.plain li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1.5px; background: var(--accent); }
.plain.no li::before { background: var(--ink-3); }
.plain strong { color: var(--ink); font-weight: 500; }
.sub { font: 600 clamp(22px, 2.3vw, 30px)/1.1 var(--display); letter-spacing: -.03em; margin: 0 0 18px; }
.block + .block { margin-top: clamp(40px, 5vw, 64px); }

.care { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 96px); padding: clamp(28px, 4vw, 56px) 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.care > div:first-child { position: sticky; top: 104px; align-self: start; }
.muted { color: var(--ink-2); }
.care .price { font: 600 clamp(44px, 5.4vw, 72px)/.9 var(--display); letter-spacing: -.05em; margin-top: 14px; }
.care .price small { font: 400 15px/1 var(--text); letter-spacing: 0; color: var(--ink-3); margin-left: 6px; }

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; font: 600 clamp(19px, 1.9vw, 23px)/1.25 var(--display); letter-spacing: -.02em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 26px/1 var(--display); color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 40em; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(40px, 7vw, 112px); align-items: start; }
.expect { border-top: 1px solid var(--ink); margin-top: 32px; }
.expect li { display: grid; grid-template-columns: 72px minmax(0, 1fr); padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.expect li b { font: 600 15px/1.7 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.form { display: grid; gap: 20px; padding: clamp(22px, 3.4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14.5px; font-weight: 500; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.form input:not([type="checkbox"]), .form select, .form textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--paper); color: var(--ink); font: 400 16px/1.4 var(--text); transition: border-color .2s, box-shadow .2s, background .2s; }
.form textarea { min-height: 104px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(27, 59, 209, .14); }
.form ::placeholder { color: var(--ink-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.check a, .prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.form-status { padding: 14px 16px; border-radius: 10px; font-weight: 500; font-size: 15.5px; }
.form-status.ok { background: var(--ok-soft); color: var(--ok); }
.form-status.err { background: var(--bad-soft); color: var(--bad); }
.form .btn { justify-self: start; }

.prose > * { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { color: var(--ink-2); margin: 0 0 14px; }
.prose ul { padding-left: 22px; list-style: disc; display: grid; gap: 6px; }
.todo { background: var(--warn-soft); color: var(--warn); border-radius: 4px; padding: 0 4px; }

/* ---------- Apparitions ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .rv.in { opacity: 1; transform: none; }
/* Le haut de page s'affiche sans attendre le défilement */
.js .hero .rv, .js .page-head .rv { animation: rise .7s var(--ease) both; animation-delay: calc(var(--d, 0) * 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .ba { max-width: 560px; }
  .cols { grid-template-columns: 1fr; }
  .cols > .mark { position: static; }
  .rail-head { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr; gap: 0; padding: 0 0 0 34px; }
  .rail-line { left: 6px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .rail-line i { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .rail-line b { left: 50%; top: calc(var(--p, 0) * 100%); }
  .stop { padding-bottom: 28px; grid-template-columns: minmax(0, 1fr); }
  .stop::before { left: -31px; top: 8px; }
  .stop p { max-width: 30em; }
  .steps li { grid-template-columns: 72px minmax(0, 1fr); }
  .steps .n { font-size: 56px; }
  .steps .when { grid-column: 2; text-align: left; padding-top: 0; }
  .steps .when b { display: inline; margin-right: 8px; }
  .care, .contact { grid-template-columns: 1fr; }
  .care > div:first-child { position: static; }
  .call { grid-template-columns: 1fr; }
  .call .btn { justify-self: start; }
  .vows { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .cta-row .btn { width: 100%; }
  .scene { height: 420px; }
  .it { font-size: 12.5px; }
  .lanes > div { padding: 10px 6px; font-size: 11px; }
  .lanes span { display: none; }
  .ba.apres .it { left: calc(var(--c) * 25.4% + 3px); width: calc(23.8% - 6px); height: 84px; top: calc(112px + var(--row, 0) * 90px); }
  .it .t { font-size: 12px; padding: 8px 6px; }
  .it .t i { font-size: 11.5px; }
  .it .t .tagp { display: none; }
  .signs li { grid-template-columns: 40px minmax(0, 1fr); }
  .domains > div { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .form .btn, .call .btn { width: 100%; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot .wrap > :first-child { grid-column: 1 / -1; }
  .faq p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; }
}
