/* ============================================================
   Trivan v3 — produit fintech : schémas animés, routeur live
   Display : Space Grotesk · Corps : Instrument Sans · Mono : Spline Sans Mono
   Hero & contact sombres (vert-noir), sections claires.
   ============================================================ */

:root {
  --ink0: #0b100d;            /* fond sombre */
  --ink1: #121a15;            /* panneaux sombres */
  --ink2: #1a2620;
  --d-line: rgba(255,255,255,.1);
  --d-line2: rgba(255,255,255,.18);
  --d-text: #eef3ef;
  --d-muted: #8fa098;

  --bg: #f5f7f4;              /* fond clair */
  --surface: #ffffff;
  --line: #e2e6e0;
  --ink: #141915;
  --ink-soft: #3d463f;
  --muted: #6b766e;

  --accent: #1aa56f;          /* émeraude (tweakable) */
  --accent-deep: color-mix(in oklab, var(--accent) 70%, #0a3322);
  --accent-text: color-mix(in oklab, var(--accent) 72%, black);
  --accent-glow: color-mix(in oklab, var(--accent) 45%, transparent);
  --accent-soft: color-mix(in oklab, var(--accent) 10%, var(--surface));

  --display: "Space Grotesk", "Helvetica Neue", sans-serif;
  --sans: "Instrument Sans", "Helvetica Neue", sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, monospace;
  --r: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: color-mix(in oklab, var(--accent) 30%, transparent); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

.mono-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---------- Boutons ---------- */
.btn3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0;
  border-radius: 12px;
  padding: 14px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn3:active { transform: scale(.97); }
.btn3.primary {
  background: var(--accent-text);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(10,20,14,.15);
}
.btn3.primary:hover { box-shadow: 0 8px 26px var(--accent-glow); transform: translateY(-1px); }
.btn3.outline-d {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}
.btn3.outline-d:hover { border-color: var(--ink-soft); }
.btn3.outline-l {
  border-color: var(--line);
  color: var(--ink);
  background: var(--surface);
}
.btn3.outline-l:hover { border-color: var(--ink-soft); }
.btn3 .arr { transition: transform .2s ease; }
.btn3:hover .arr { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav3 {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, #ffffff 84%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav3-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 70px;
}
.brand3 {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  color: var(--ink);
}
.brand3 .bmark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--accent-text);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 16px;
}
.nav3-links { display: flex; gap: 4px; }
.nav3-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 10px;
  transition: color .15s ease, background .15s ease;
}
.nav3-links a:hover { color: var(--ink); background: rgba(16,24,18,.05); }
.nav3 .btn3 { padding: 10px 20px; font-size: 14.5px; }

/* ---------- Hero ---------- */
.hero3 {
  background:
    radial-gradient(820px 460px at 78% -8%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%),
    linear-gradient(rgba(20,25,21,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,25,21,.035) 1px, transparent 1px),
    #ffffff;
  background-size: auto, 36px 36px, 36px 36px, auto;
  color: var(--ink);
  overflow: hidden;
  position: relative;
}
.hero3::after { content: none; }
.hero3-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
  padding-block: 72px 84px;
  position: relative;
  z-index: 1;
}
.hero3-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero3-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-text);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, #ffffff);
  background: color-mix(in srgb, var(--accent) 7%, #ffffff);
  border-radius: 999px;
  padding: 8px 16px;
}
.hero3-eyebrow .live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .hero3-eyebrow .live-dot { animation: live-blink 1.8s ease-in-out infinite; }
  @keyframes live-blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
}
.hero3 h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  color: var(--ink);
}
.hero3 h1 .hl { color: var(--accent-text); }
.hero3-sub {
  color: var(--muted);
  font-size: 18px;
  max-width: 480px;
}
.hero3-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero3-proof {
  display: flex;
  gap: 28px;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.proof-item .pv {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
}
.proof-item .pl { font-size: 13px; color: var(--muted); }

/* ---------- Schéma SVG hero ---------- */
.schema-wrap { position: relative; }
.schema-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(16,24,18,.09), 0 4px 14px rgba(16,24,18,.04);
  overflow: hidden;
}
.schema-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.schema-panel-top .sp-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.schema-panel-top .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.schema-panel-top .sp-dots { display: flex; gap: 6px; }
.schema-panel-top .sp-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.schema {
  width: 100%;
  height: auto;
  display: block;
  padding: 10px 8px 4px;
}
.schema .node-box {
  fill: #ffffff;
  stroke: var(--line);
  stroke-width: 1.2;
}
.schema .node-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  fill: var(--ink);
}
.schema .node-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  fill: var(--muted);
  text-transform: uppercase;
}
.schema .psp-name {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  fill: var(--ink-soft);
}
.schema .wire {
  fill: none;
  stroke: #d4dad3;
  stroke-width: 1.4;
}
.schema .hub-box {
  fill: var(--accent-text);
  stroke: none;
}
.schema .hub-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  fill: #ffffff;
}
.schema .packet { fill: var(--accent-text); }
.schema .packet-glow { fill: var(--accent); opacity: .3; }
.schema .ok-chip { fill: var(--accent-soft); stroke: color-mix(in srgb, var(--accent) 38%, #ffffff); }
.schema .ok-txt { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; fill: var(--accent-text); }
.schema .card-shape { fill: #f0f2ef; stroke: var(--line); }

/* légende sous le schéma */
.schema-legend {
  display: flex;
  justify-content: center;
  gap: 26px;
  padding: 0 20px 18px;
  flex-wrap: wrap;
}
.schema-legend .lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.schema-legend .lg i {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- Bande logos ---------- */
.band3 {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.band3-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.band3 .lbl { color: var(--muted); font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; margin-right: 12px; }
.psp-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  transition: color .2s ease, border-color .2s ease;
}
.psp-pill img { width: 16px; height: 16px; display: block; }
.psp-pill:hover { color: var(--ink); border-color: var(--ink-soft); }

/* ---------- Sections claires ---------- */
.sec3 { padding: 104px 0; }
.sec3-head { max-width: 640px; margin-bottom: 56px; }
.kicker3 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.kicker3::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.sec3-head h2 { font-size: clamp(30px, 3.8vw, 44px); margin-bottom: 14px; }
.sec3-head p { color: var(--muted); font-size: 17.5px; }

/* ---------- Routeur live ---------- */
.router-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.router-steps { display: flex; flex-direction: column; gap: 0; }
.router-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  transition: opacity .3s ease;
}
.router-step:last-child { border-bottom: 1px solid var(--line); }
.router-step .sn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  transition: all .3s ease;
}
.router-step.active .sn {
  background: var(--accent);
  border-color: var(--accent);
  color: #06120c;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 16%, transparent);
}
.router-step h3 { font-size: 18.5px; margin-bottom: 5px; transition: color .3s ease; }
.router-step p { color: var(--muted); font-size: 15.5px; }
.router-step.dim { opacity: .45; }

/* console du routeur */
.router-console {
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(16,24,18,.08);
  overflow: hidden;
  color: var(--ink);
}
.rc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
}
.rc-top .rc-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.rc-top .rc-title .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.rc-dots { display: flex; gap: 6px; }
.rc-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.rc-body { padding: 22px; display: flex; flex-direction: column; gap: 16px; }

.rc-tx {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 18px;
}
.rc-tx .tx-id { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.rc-tx .tx-amt { font-family: var(--display); font-weight: 700; font-size: 22px; }
.rc-tx .tx-state {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all .3s ease;
  white-space: nowrap;
}
.rc-tx .tx-state.ok {
  color: var(--accent-text);
  border-color: color-mix(in srgb, var(--accent) 40%, #ffffff);
  background: var(--accent-soft);
}

.rc-routes { display: flex; flex-direction: column; gap: 9px; }
.rc-route {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 18px;
  transition: border-color .35s ease, background .35s ease, opacity .35s ease;
}
.rc-route .rr-name { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; }
.rc-route .rr-meta { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.rc-route .rr-pick {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-text);
  opacity: 0;
  transition: opacity .3s ease;
}
.rc-route.picked {
  border-color: color-mix(in srgb, var(--accent) 50%, #ffffff);
  background: var(--accent-soft);
}
.rc-route.picked .rr-pick { opacity: 1; }
.rc-route.dimmed { opacity: .45; }

.rc-bar {
  height: 4px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.rc-bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
  transition: width .5s cubic-bezier(.2,.7,.2,1);
}
.rc-log {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  min-height: 18px;
}
.rc-log .ok { color: var(--accent-text); }

/* ---------- Features ---------- */
.feat3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feat3.wide { grid-column: span 2; }
.feat3.tall { grid-row: span 2; }
.feat3 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feat3:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(16,24,18,.08);
  border-color: color-mix(in oklab, var(--accent) 30%, var(--line));
}
.feat3 h3 { font-size: 20px; }
.feat3 > p { color: var(--muted); font-size: 15.5px; }
.feat3-visual {
  margin-top: 14px;
  border-top: 1px dashed var(--line);
  padding-top: 20px;
}

/* mini-schéma : bascule automatique */
.failover {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0 14px;
  align-items: center;
}
.fo-hub, .fo-psp {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--bg);
  text-align: center;
  white-space: nowrap;
  transition: all .4s ease;
}
.fo-hub { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fo-col { display: flex; flex-direction: column; gap: 10px; }
.fo-psp.down {
  color: #b3402e;
  border-color: #e4b8af;
  background: #faf0ee;
  text-decoration: line-through;
}
.fo-psp.up-active {
  border-color: color-mix(in oklab, var(--accent) 50%, var(--line));
  background: var(--accent-soft);
  color: var(--accent-text);
}
.fo-lines { position: relative; height: 64px; }
.fo-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--line-strong, #c9cfc8) 0 5px, transparent 5px 10px);
  background-size: 10px 2px;
  transition: opacity .4s ease;
}
.fo-line.a { top: 14px; }
.fo-line.b { bottom: 14px; }
.fo-line.flowing {
  background-image: repeating-linear-gradient(90deg, var(--accent) 0 5px, transparent 5px 10px);
}
@media (prefers-reduced-motion: no-preference) {
  .fo-line.flowing { animation: fo-dash 0.9s linear infinite; }
  @keyframes fo-dash { to { background-position: 10px 0; } }
}
.fo-line.cut { opacity: .25; }

/* mini-visuel : barres de routage */
.bars3 { display: flex; flex-direction: column; gap: 9px; }
.bars3 .br {
  display: grid;
  grid-template-columns: 64px 1fr 40px;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}
.bars3 .tr { height: 6px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.bars3 .fl {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 999px;
  transition: width 1.2s cubic-bezier(.2,.7,.2,1) .3s;
}
[data-reveal].in .bars3 .fl { width: var(--w2, 50%); }

/* mini-visuel : registre */
.ledger3 { display: flex; flex-direction: column; }
.ledger3 .lr {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 12px;
  align-items: center;
  font-size: 13.5px;
  padding: 9px 4px;
  border-top: 1px solid var(--line);
}
.ledger3 .lr:first-child { border-top: none; }
.ledger3 .lr .src {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 9px;
}
.ledger3 .lr .am { font-weight: 600; font-variant-numeric: tabular-nums; }
.ledger3 .lr .st { color: var(--accent-text); font-size: 12.5px; }

/* mini-visuel : plateformes */
.plat3 { display: flex; flex-wrap: wrap; gap: 10px; }
.plat3 span {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 10px;
  padding: 9px 16px;
}

/* ---------- Étapes ---------- */
.steps3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step3 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  position: relative;
}
.step3 .sn3 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--accent-text);
}
.step3 h3 { font-size: 19px; margin: 12px 0 8px; }
.step3 p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq3 { max-width: 780px; }
.faq3-item { border-bottom: 1px solid var(--line); }
.faq3-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: none;
  border: none;
  font: inherit;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18.5px;
  color: var(--ink);
  text-align: left;
  padding: 24px 4px;
  cursor: pointer;
  transition: color .15s ease;
}
.faq3-q:hover { color: var(--accent-text); }
.faq3-t {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .2s ease, color .2s ease, border-color .2s ease;
}
.faq3-item.open .faq3-t {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #06120c;
}
.faq3-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1);
}
.faq3-item.open .faq3-a { grid-template-rows: 1fr; }
.faq3-a > div { overflow: hidden; }
.faq3-a p { color: var(--muted); font-size: 15.5px; padding: 0 40px 24px 4px; max-width: 640px; }

/* ---------- Contact ---------- */
.contact3 {
  background:
    radial-gradient(700px 400px at 50% 130%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    var(--surface);
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-align: center;
  padding: 110px 32px;
}
.contact3 .kicker3 { color: var(--accent-text); justify-content: center; display: flex; }
.contact3 h2 { font-size: clamp(34px, 4.6vw, 56px); margin: 18px 0 16px; }
.contact3 p { color: var(--muted); max-width: 460px; margin: 0 auto 36px; font-size: 17px; }
.contact3-points {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.contact3-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--muted);
}
.contact3-points .ck { color: var(--accent-text); font-weight: 700; }

/* ---------- Footer ---------- */
.footer3 {
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 28px 0;
}
.footer3-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}
.footer3 a:hover { color: var(--ink); }
.footer3 .brand3 { font-size: 17px; }
.footer3 .brand3 .bmark { width: 24px; height: 24px; font-size: 13px; border-radius: 7px; }

/* ---------- Révélation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s cubic-bezier(.2,.7,.3,1), transform .75s cubic-bezier(.2,.7,.3,1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }

[data-reveal="split"] { opacity: 1; transform: none; }
.sw { display: inline-block; }
.sww {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  filter: blur(7px);
  transition:
    opacity .6s cubic-bezier(.22,.7,.2,1),
    transform .85s cubic-bezier(.22,.7,.2,1),
    filter .65s cubic-bezier(.22,.7,.2,1);
  transition-delay: calc(var(--w, 0) * 50ms + var(--reveal-delay, 0ms));
}
[data-reveal].in .sww { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .sww { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ---------- Logo ---------- */
.brand3 .bmark2 { display: block; flex-shrink: 0; }
.wordmark3 { display: block; width: auto; }
.auth3-head .wordmark3 { margin: 0 auto 18px; }

/* ---------- Hero : ligne secondaire + rotation de mots ---------- */
.hero3 h1 .h1-sub {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.58em;
}
.wr { display: inline-grid; }
.wr .wr-w {
  grid-area: 1 / 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.4em);
  filter: blur(5px);
  transition:
    opacity .45s cubic-bezier(.2,.7,.2,1),
    transform .6s cubic-bezier(.2,.7,.2,1),
    filter .5s cubic-bezier(.2,.7,.2,1);
}
.wr .wr-w.on { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .wr .wr-w { transition: none; }
}

/* ---------- Marquee (boucle continue) ---------- */
.marq {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marq-track {
  display: flex;
  width: max-content;
  animation: marq-scroll var(--marq-dur, 40s) linear infinite;
}
.marq:hover .marq-track { animation-play-state: paused; }
.marq-seg { display: flex; align-items: stretch; }
@keyframes marq-scroll { to { transform: translateX(calc(-100% / 3)); } }
@media (prefers-reduced-motion: reduce) {
  .marq-track { animation: none; }
}

/* ---------- Clients ---------- */
.clients3 { padding: 64px 0 0; }
.clients3-lbl {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 26px;
}
.client3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: color-mix(in srgb, var(--muted) 62%, transparent);
  padding: 0 30px;
  white-space: nowrap;
  user-select: none;
}

/* ---------- Features : stats du grand bloc + règles ---------- */
.feat3-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.bars3.lg .br { grid-template-columns: 86px 1fr 44px; }
.rules3 { display: flex; flex-direction: column; }
.rules3 .rl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-soft);
  padding: 9px 4px;
  border-top: 1px solid var(--line);
}
.rules3 .rl:first-child { border-top: none; }
.rules3 .rl .ra { color: var(--accent-text); white-space: nowrap; }

/* ---------- Chiffres ---------- */
.nums3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.num3 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 22px 28px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.num3:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(16,24,18,.07);
  border-color: color-mix(in oklab, var(--accent) 28%, var(--line));
}
.num3 .nv {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 42px);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.num3 .nl {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
}
.num3 .nd { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------- Intégrations ---------- */
.int3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.int3 .int3-title { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.int3 .int3-sub { color: var(--muted); font-size: 16.5px; max-width: 46ch; }
.int3-stats { display: flex; gap: 28px; margin: 28px 0 26px; flex-wrap: wrap; }
.link3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--accent-text);
}
.link3 .arr { transition: transform .2s ease; }
.link3:hover .arr { transform: translateX(3px); }
.int3-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.int3-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14.5px;
  transition: border-color .2s ease, transform .2s ease;
}
.int3-pill:hover {
  border-color: color-mix(in oklab, var(--accent) 32%, var(--line));
  transform: translateY(-1px);
}
.int3-pill .int3-name { display: inline-flex; align-items: center; gap: 10px; }
.int3-pill .int3-name img { width: 18px; height: 18px; display: block; }
.int3-pill .tag {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Témoignages ---------- */
.tmarq { display: flex; flex-direction: column; gap: 16px; }
.tcard {
  width: 360px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 24px 20px;
  margin: 0 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tcard-stars {
  color: var(--accent-text);
  font-size: 13px;
  letter-spacing: 3px;
}
.tcard-text {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}
.tcard-who { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.tcard-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, #ffffff);
  color: var(--accent-text);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .02em;
}
.tcard-who .tn { display: block; font-weight: 600; font-size: 13.5px; color: var(--ink); }
.tcard-who .tr2 { display: block; font-size: 12px; color: var(--muted); }

/* ---------- Contact : double CTA ---------- */
.contact3-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   Sous-pages (tarifs, connexion, démarrer, contact, docs, légal)
   ============================================================ */

/* nav : connexion + démarrer */
.nav3 { position: sticky; }
.nav3-cta { display: flex; align-items: center; gap: 18px; }
.nav3-login {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s ease;
  white-space: nowrap;
}
.nav3-login:hover { color: var(--ink); }
.nav3-links a.on { color: var(--accent-text); background: var(--accent-soft); }

/* burger (mobile) */
.nav3-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
}
.nav3-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.nav3.open .nav3-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav3.open .nav3-burger span:nth-child(2) { opacity: 0; }
.nav3.open .nav3-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* menu mobile déroulant */
.nav3-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 20px 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 38px rgba(16,24,18,.08);
}
.nav3-mobile > a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  padding: 12px 12px;
  border-radius: 11px;
  transition: background .15s ease;
}
.nav3-mobile > a:hover { background: var(--bg); }
.nav3-mobile > a.btn3 {
  justify-content: center;
  color: #ffffff;
  margin-top: 6px;
}
.nav3-mobile-sep { height: 1px; background: var(--line); margin: 8px 12px; }

/* coquille de page */
.pagewrap { padding-bottom: 104px; }
.page3-head {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 76px 0 56px;
}
.page3-head .kicker3 { justify-content: center; display: inline-flex; }
.page3-head h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  margin: 14px 0 16px;
}
.page3-head p { color: var(--muted); font-size: 17.5px; max-width: 56ch; margin: 0 auto; }
.narrow3 { max-width: 980px; }

/* rangée "inclus partout" */
.inc3 {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.inc3 span { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); }
.inc3 .ck { color: var(--accent-text); font-weight: 700; }

/* plans tarifaires */
.plans3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1020px;
  margin: 0 auto 72px;
  align-items: stretch;
}
.plan3 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}
.plan3.hl {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: 0 18px 46px color-mix(in srgb, var(--accent) 12%, transparent);
}
.plan3-badge {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, #ffffff);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 14px;
}
.plan3 h3 { font-size: 21px; }
.plan3-desc { color: var(--muted); font-size: 14px; margin-top: 4px; }
.plan3-price { margin: 22px 0 8px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan3-price .rate {
  font-family: var(--display);
  font-weight: 700;
  font-size: 38px;
  letter-spacing: -0.02em;
}
.plan3-price .fee { color: var(--muted); font-size: 13.5px; }
.plan3-extra {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 10px;
  margin-bottom: 18px;
}
.plan3-feats {
  list-style: none;
  margin: 0 0 26px;
  padding: 18px 0 0;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plan3-feats li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); }
.plan3-feats .ck { color: var(--accent-text); font-weight: 700; }
.plan3 .btn3 { width: 100%; }

/* carte CTA générique */
.cta3-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  max-width: 640px;
  margin: 0 auto;
  padding: 42px 38px;
  text-align: center;
}
.cta3-card h3 { font-size: 23px; margin-bottom: 10px; }
.cta3-card p { color: var(--muted); font-size: 15.5px; max-width: 46ch; margin: 0 auto 24px; }

/* formulaires */
.form3 { display: flex; flex-direction: column; gap: 16px; }
.f3-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f3-field { display: flex; flex-direction: column; gap: 7px; }
.f3-field label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
}
.f3-field input,
.f3-field select,
.f3-field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}
.f3-field textarea { resize: vertical; min-height: 90px; }
.f3-field input::placeholder,
.f3-field textarea::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.f3-field input:focus,
.f3-field select:focus,
.f3-field textarea:focus {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.f3-submit { align-self: flex-start; }
.f3-error {
  font-size: 14px;
  color: #b3402e;
  background: #faf0ee;
  border: 1px solid #e4b8af;
  border-radius: 10px;
  padding: 10px 14px;
}
.f3-error a { color: inherit; text-decoration: underline; }
.f3-ok {
  font-size: 14px;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, #ffffff);
  border-radius: 10px;
  padding: 10px 14px;
}
.f3-note { font-size: 13.5px; color: var(--muted); }
.f3-note a { color: var(--accent-text); font-weight: 600; }

/* connexion / cartes formulaire */
.auth3-wrap { display: flex; justify-content: center; padding-top: 76px; }
.auth3 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 38px 36px;
  width: 100%;
  max-width: 440px;
}
.auth3.wide { max-width: none; }
.auth3-head { text-align: center; margin-bottom: 28px; }
.auth3-head .bmark2 { margin: 0 auto 16px; display: block; }
.auth3-head h1 { font-size: 28px; margin-bottom: 8px; }
.auth3-head p { color: var(--muted); font-size: 15px; }
.auth3 .f3-submit { align-self: stretch; width: 100%; }
.auth3-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.auth3-foot a { color: var(--accent-text); font-weight: 600; }

/* page démarrer */
.start3 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
  max-width: 1020px;
  margin: 0 auto;
}
.start3 .auth3.wide .f3-submit { width: auto; }
.start3-side .router-step:first-child { border-top: none; padding-top: 0; }

/* à propos */
.about3-mission {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 64px;
}
.about3-mission h2 { font-size: 21px; margin-bottom: 10px; }
.about3-mission p { color: var(--muted); font-size: 15.5px; }
.about3-h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 0 0 28px; }
.timeline3 { margin-bottom: 64px; }
.tl3-item {
  display: grid;
  grid-template-columns: 72px 14px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.tl3-item:last-child { border-bottom: 1px solid var(--line); }
.tl3-year {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  color: var(--accent-text);
}
.tl3-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.tl3-item p { color: var(--ink-soft); font-size: 15.5px; }
.offers3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 64px;
}
.offer3 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
}
.offer3 h3 { font-size: 16px; margin-bottom: 6px; }
.offer3 p { color: var(--muted); font-size: 13.5px; }
.info3-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.info3-card h3 { font-size: 15.5px; margin-bottom: 8px; }
.info3-card p { color: var(--muted); font-size: 14px; }
.info3-card a { color: var(--accent-text); }

/* contact */
.ccards3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 64px;
}
.ccard3 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.ccard3 h3 { font-size: 15.5px; margin-bottom: 6px; }
.ccard3 a, .ccard3 .v { color: var(--accent-text); font-weight: 600; font-size: 14.5px; }
.ccard3 p { color: var(--muted); font-size: 13px; margin-top: 6px; }
.contact3-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}
.sub3-h2 { font-size: 23px; margin-bottom: 8px; }
.sub3-p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.sub3-h3 { font-size: 16.5px; margin-bottom: 12px; }
.faq3-q.sm { font-size: 16px; padding: 18px 4px; }
.lcard3 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
}
.lcard3 p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.lcard3 strong { color: var(--ink); }
.lcard3 a { color: var(--accent-text); }

/* documentation */
.code3 {
  max-width: 640px;
  margin: 0 auto 56px;
  background: var(--ink0);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ink2);
  box-shadow: 0 24px 60px rgba(16,24,18,.18);
}
.code3-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--d-line);
}
.code3-file {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--d-muted);
}
.code3-copy {
  font: inherit;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--d-muted);
  background: none;
  border: 1px solid var(--d-line);
  border-radius: 8px;
  padding: 5px 12px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.code3-copy:hover { color: var(--d-text); border-color: var(--d-line2); }
.code3 pre {
  margin: 0;
  padding: 20px 22px;
  overflow-x: auto;
}
.code3 code {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--d-text);
}
.docs3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 64px;
}
.doc3 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.doc3:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(16,24,18,.07);
  border-color: color-mix(in oklab, var(--accent) 28%, var(--line));
}
.doc3 h3 { font-size: 17px; margin-bottom: 6px; }
.doc3 > p { color: var(--muted); font-size: 13.5px; margin-bottom: 14px; }
.doc3 ul {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.doc3 li {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-soft);
}
.doc3 li::before { content: "→ "; color: var(--accent-text); }

/* pages légales */
.legal3-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 48px;
  align-items: start;
  padding-top: 64px;
}
.legal3-aside { position: sticky; top: 94px; }
.legal3-nav {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.legal3-navtitle {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 10px 10px;
}
.legal3-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 9px;
  padding: 9px 10px;
  transition: background .15s ease, color .15s ease;
}
.legal3-nav a:hover { background: var(--bg); color: var(--ink); }
.legal3-nav a.on { background: var(--accent-soft); color: var(--accent-text); font-weight: 600; }
.legal3 { min-width: 0; max-width: 70ch; }
.legal3 h1 { font-size: clamp(30px, 3.6vw, 42px); margin: 14px 0 8px; }
.legal3-date { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 32px; }
.legal3 .lead { font-size: 16.5px; color: var(--ink-soft); margin-bottom: 12px; }
.legal3 h2 { font-size: 20px; margin: 34px 0 10px; }
.legal3 p { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 10px; }
.legal3 p strong { color: var(--ink); }
.legal3 a { color: var(--accent-text); }
.legal3 a:hover { text-decoration: underline; }
.legal3 .lcard3 { margin: 14px 0 18px; }

/* footer complet */
.footer3 { padding: 56px 0 28px; }
.footer3-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 36px;
  padding-bottom: 40px;
}
.footer3-brandcol p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 34ch;
  margin: 16px 0 18px;
}
.footer3-coords { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; }
.footer3-coords a:hover { color: var(--ink); }
.footer3-col h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin: 4px 0 14px;
}
.footer3-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer3-col a { font-size: 13.5px; transition: color .15s ease; }
.footer3-col a:hover { color: var(--ink); }
.footer3-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .container { padding: 0 20px; }
  .hero3-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 48px 64px; }

  /* nav mobile : burger + menu déroulant */
  .nav3-links { display: none; }
  .nav3-login { display: none; }
  .nav3-burger { display: flex; }
  .nav3-cta { gap: 10px; }
  .nav3 .btn3.nav3-start { padding: 10px 16px; font-size: 14px; }
  .nav3.open .nav3-mobile { display: flex; }

  .router-grid { grid-template-columns: 1fr; gap: 36px; }
  .feat3-grid { grid-template-columns: 1fr; }
  .feat3.wide { grid-column: auto; }
  .feat3.tall { grid-row: auto; }
  .steps3 { grid-template-columns: 1fr; }
  .nums3 { grid-template-columns: repeat(2, 1fr); }
  .int3 { grid-template-columns: 1fr; gap: 36px; }
  .clients3 { padding-top: 48px; }
  .tcard { width: 300px; }
  .sec3 { padding: 68px 0; }
  .hero3-proof { gap: 20px; flex-wrap: wrap; }
  .feat3-stats { gap: 22px; }
  .contact3 { padding: 80px 20px; }

  /* sous-pages */
  .page3-head { padding: 52px 0 44px; }
  .pagewrap { padding-bottom: 76px; }
  .plans3 { grid-template-columns: 1fr; max-width: 460px; }
  .start3 { grid-template-columns: 1fr; gap: 36px; }
  .f3-row { grid-template-columns: 1fr; }
  .about3-mission { grid-template-columns: 1fr; padding: 28px; gap: 26px; }
  .offers3 { grid-template-columns: 1fr 1fr; }
  .info3-card { grid-template-columns: 1fr; padding: 26px; }
  .ccards3 { grid-template-columns: 1fr 1fr; }
  .contact3-grid { grid-template-columns: 1fr; gap: 44px; }
  .docs3 { grid-template-columns: 1fr; }
  .legal3-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; }
  .legal3-aside { position: static; }
  .footer3-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer3-brandcol { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .offers3 { grid-template-columns: 1fr; }
  .ccards3 { grid-template-columns: 1fr; }
  .footer3-grid { grid-template-columns: 1fr; }
  .int3-grid { grid-template-columns: 1fr; }
  .nums3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .num3 { padding: 24px 14px 22px; }
  .auth3 { padding: 30px 22px; }
  .cta3-card { padding: 32px 24px; }
  .hero3-ctas .btn3 { width: 100%; }
  .contact3-ctas .btn3 { width: 100%; }
  .footer3-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}
