/* SOGX Labs — feuille de style du site.
   Direction : les deux faces de la carte d'affaires (bandes noires et blanches pleine largeur),
   traits nets façon dessin technique, une seule signature : la trajectoire orange du logo
   (un trait plat qui se relève à 32°). Aucun dégradé, aucune ombre douce, aucun gris sur fond sombre. */
:root {
  --ink: #0A0A0A;        /* noir de la marque */
  --paper: #FFFFFF;      /* blanc */
  --signal: #FF5A1F;     /* orange du X */
  --steel: #C9CDD2;      /* argent de la puce : traits sur fond noir */
  --trace: #FDD704;      /* or des pistes de la puce : micro-accent */
  --raised: #161616;     /* panneau sur fond noir */
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1600px;
  --gutter: clamp(20px, 5vw, 80px);
  --rise: 32deg;         /* angle du trait orange du logo */
  color-scheme: light;
}

*, *::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-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--signal); color: var(--ink); padding: 10px 16px; font-weight: 700; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- bandes ---------- */
.band { padding: clamp(72px, 9vw, 140px) 0; }
.band--dark { background: var(--ink); color: var(--paper); }
.band--light { background: var(--paper); color: var(--ink); }
.band--signal { background: var(--signal); color: var(--ink); }
.band--tight { padding: clamp(48px, 6vw, 88px) 0; }

/* ---------- typographie ---------- */
.display-xl { font-size: clamp(40px, 5.8vw, 92px); font-weight: 700; letter-spacing: -0.035em; }
.display-l { font-size: clamp(34px, 4.2vw, 64px); }
.display-m { font-size: clamp(26px, 2.6vw, 40px); }
.display-s { font-size: clamp(21px, 1.7vw, 26px); line-height: 1.2; }
.lead { font-size: clamp(19px, 1.45vw, 23px); line-height: 1.55; max-width: 62ch; font-weight: 500; }
.small { font-size: 16px; }
.strong { font-weight: 700; }
.measure { max-width: 64ch; }
.stack > * + * { margin-top: 20px; }
.stack-l > * + * { margin-top: 32px; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px;
  font-family: var(--body); font-size: 17px; font-weight: 800; letter-spacing: 0.01em;
  text-decoration: none; border: 2px solid transparent; border-radius: 4px;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover { background: var(--paper); }
.band--light .btn--signal:hover { background: var(--ink); color: var(--paper); }
.btn--line { border-color: currentColor; color: inherit; background: transparent; }
.btn--line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.band--light .btn--line:hover, .band--signal .btn--line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--paper); color: var(--ink); }
.btn svg { width: 22px; height: 22px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- en-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--paper); border-bottom: 1px solid var(--steel); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); margin-left: auto; }
.nav a { text-decoration: none; font-weight: 700; font-size: 16px; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--signal); }
.header-tools { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--steel); border-radius: 4px; overflow: hidden; }
.lang a, .lang span { display: inline-block; padding: 6px 10px; font-size: 14px; font-weight: 800; text-decoration: none; line-height: 1.2; }
.lang span { background: var(--paper); color: var(--ink); }
.lang a:hover { background: var(--signal); color: var(--ink); }
.header-cta { min-height: 46px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 1px solid var(--steel); color: var(--paper); border-radius: 4px; width: 46px; height: 46px; padding: 0; cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; margin: auto; }

@media (max-width: 1180px) {
  .nav { position: fixed; inset: 77px 0 0 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 24px var(--gutter) 40px; margin: 0; overflow-y: auto; display: none; }
  .nav.is-open { display: flex; }
  .nav a { font-family: var(--display); font-size: 26px; font-weight: 600; padding: 18px 0; border-bottom: 1px solid var(--steel); }
  .nav a[aria-current="page"] { color: var(--signal); border-bottom-color: var(--steel); }
  .header-tools { margin-left: auto; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 640px) {
  .brand img { height: 30px; }
  .header-cta { display: none; }
  .site-header .wrap { gap: 12px; min-height: 68px; }
  .nav { inset: 69px 0 0 0; }
}

/* ---------- la trajectoire (signature) ---------- */
.trajectory { display: flex; align-items: flex-end; width: 100%; height: 96px; color: var(--signal); }
.trajectory__flat { flex: 1; height: 10px; background: currentColor; transform-origin: left center; }
.trajectory__rise { flex: none; width: 150px; height: 96px; margin-left: -1px; overflow: visible; }
.trajectory__rise path { stroke: currentColor; stroke-width: 10; fill: none; stroke-linejoin: miter; stroke-miterlimit: 10; }
.trajectory--small { height: 52px; }
.trajectory--small .trajectory__flat { height: 6px; }
.trajectory--small .trajectory__rise { width: 82px; height: 52px; }
.trajectory--small .trajectory__rise path { stroke-width: 6; }

/* ---------- héros ---------- */
.hero { padding-top: clamp(56px, 7vw, 110px); padding-bottom: 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 96px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; }
.hero__note { font-size: 16px; font-weight: 600; }
.hero__trail { margin-top: clamp(48px, 6vw, 96px); }
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } }

/* panneau d'exemple : une matinée avec un agent */
.demo { background: var(--raised); border: 1px solid var(--steel); border-radius: 6px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.demo__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--steel); }
.demo__head strong { font-size: 15px; }
.demo__tag { font-size: 13px; font-weight: 800; padding: 4px 10px; border: 1px solid var(--steel); border-radius: 999px; }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 10px; font-size: 16px; line-height: 1.45; }
.msg small { display: block; font-size: 13px; font-weight: 800; margin-bottom: 4px; }
.msg--client { background: var(--paper); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 2px; }
.msg--agent { background: transparent; color: var(--paper); border: 1px solid var(--steel); align-self: flex-end; border-bottom-right-radius: 2px; }
.msg--owner { background: var(--signal); color: var(--ink); align-self: flex-end; font-weight: 800; border-bottom-right-radius: 2px; }
.msg--done { align-self: stretch; max-width: none; display: flex; gap: 10px; align-items: center; border: 1px dashed var(--steel); color: var(--paper); font-weight: 700; }
.msg--done svg { width: 22px; height: 22px; color: var(--trace); flex: none; }

/* ---------- liste « ce qu'on retire de vos journées » ---------- */
.rows { border-top: 2px solid currentColor; }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 72px); padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid currentColor; align-items: baseline; }
.row h3 { font-size: clamp(22px, 2.1vw, 32px); }
.row p { font-size: 18px; }
.row p b { font-weight: 800; }
@media (max-width: 800px) { .row { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- section titre + intro ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- piliers ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--steel); border-left: 1px solid var(--steel); }
.pillar { padding: clamp(24px, 2.4vw, 40px); border-right: 1px solid var(--steel); border-bottom: 1px solid var(--steel); display: flex; flex-direction: column; gap: 16px; }
.pillar__icon { width: 44px; height: 44px; color: var(--signal); }
.pillar h3 { font-size: clamp(21px, 1.6vw, 26px); }
.pillar ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 16px; font-weight: 600; }
.pillar li { padding-left: 18px; position: relative; }
.pillar li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; background: var(--signal); }
.pillar a.more { margin-top: auto; font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--signal); align-self: flex-start; }
@media (max-width: 1100px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pillars { grid-template-columns: 1fr; } }

.also { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; font-weight: 700; font-size: 17px; }
.also span { display: inline-flex; align-items: center; gap: 10px; }
.also span::before { content: ""; width: 10px; height: 10px; border: 2px solid var(--signal); }

/* ---------- méthode (séquence réelle) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.step { padding: 28px clamp(16px, 2vw, 32px) 0 0; border-top: 6px solid var(--ink); position: relative; display: flex; flex-direction: column; gap: 12px; }
.step:last-child { border-top-color: var(--signal); }
.step__n { font-family: var(--display); font-size: 15px; font-weight: 700; }
.step h3 { font-size: clamp(20px, 1.6vw, 26px); }
.step p { font-size: 17px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- étude de cas ---------- */
.case { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.quote { font-family: var(--display); font-size: clamp(22px, 2.2vw, 34px); font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; border-left: 6px solid var(--signal); padding-left: clamp(18px, 2vw, 30px); }
.quote footer { margin-top: 18px; font-family: var(--body); font-size: 16px; font-weight: 700; letter-spacing: 0; }
.facts { margin: 0; padding: 0; list-style: none; border-top: 1px solid currentColor; }
.facts li { padding: 16px 0; border-bottom: 1px solid currentColor; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-weight: 600; }
.facts svg { width: 24px; height: 24px; color: var(--signal); margin-top: 3px; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } }

/* ---------- offres ---------- */
.offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.offer { border: 2px solid var(--ink); border-radius: 6px; padding: clamp(22px, 2vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.offer--key { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.offer h3 { font-size: clamp(20px, 1.5vw, 24px); }
.offer__price { font-family: var(--display); font-size: 20px; font-weight: 700; }
.offer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 16px; font-weight: 600; }
.offer li { padding-left: 18px; position: relative; }
.offer li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; background: var(--signal); }
.offer .btn { margin-top: auto; align-self: stretch; padding: 0 16px; text-align: center; }
@media (max-width: 1200px) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .offers { grid-template-columns: 1fr; } }

/* ---------- fondateur ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.founder__mark { aspect-ratio: 1 / 1; max-width: 360px; width: 100%; border: 1px solid var(--steel); border-radius: 6px; padding: 12%; background: var(--raised); }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .founder__mark { max-width: 220px; } }

/* ---------- appel final ---------- */
.cta-final { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; }
.cta-final p { font-weight: 600; }
@media (max-width: 900px) { .cta-final { grid-template-columns: 1fr; } }

/* ---------- pages intérieures ---------- */
.page-hero { padding: clamp(56px, 7vw, 112px) 0 0; }
.page-hero .lead { margin-top: 24px; }
.page-hero .trajectory { margin-top: clamp(40px, 5vw, 72px); }
.crumbs { font-size: 15px; font-weight: 700; margin-bottom: 22px; }
.crumbs a { text-decoration: none; border-bottom: 1px solid currentColor; }

.service { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 96px); padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid currentColor; scroll-margin-top: 90px; }
.service:first-child { border-top: 2px solid currentColor; }
.service__head { display: flex; flex-direction: column; gap: 16px; }
.service__head .pillar__icon { margin-bottom: 4px; }
.service__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.service__body h4 { font-family: var(--body); font-size: 15px; font-weight: 800; letter-spacing: 0.02em; margin-bottom: 8px; }
.service__body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-weight: 600; font-size: 17px; }
.service__body li { padding-left: 18px; position: relative; }
.service__body li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; background: var(--signal); }
.service__body .full { grid-column: 1 / -1; }
.service--minor .display-m { font-size: clamp(22px, 2vw, 30px); }
@media (max-width: 900px) { .service, .service__body { grid-template-columns: 1fr; } }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.panel { border: 1px solid currentColor; border-radius: 6px; padding: clamp(22px, 2.4vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.band--dark .panel { border-color: var(--steel); }
.panel h3 { font-size: clamp(20px, 1.6vw, 26px); }

.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-weight: 600; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.ticks svg { width: 22px; height: 22px; color: var(--signal); margin-top: 3px; }

/* réalisations */
.work { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 80px); padding: clamp(36px, 4vw, 60px) 0; border-top: 1px solid currentColor; }
.work:first-of-type { border-top: 2px solid currentColor; }
.work__meta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; padding: 5px 12px; border-radius: 999px; border: 1.5px solid currentColor; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--live { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.status--live::before { background: var(--ink); }
.work__body { display: flex; flex-direction: column; gap: 18px; }
.work__body .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
@media (max-width: 900px) { .work, .work__body .ticks { grid-template-columns: 1fr; } }

/* guides */
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.guide { border: 2px solid var(--ink); border-radius: 6px; padding: 26px; display: flex; flex-direction: column; gap: 12px; min-height: 230px; }
.guide__n { font-family: var(--display); font-weight: 700; font-size: 15px; }
.guide h3 { font-size: 22px; }
.guide .status { margin-top: auto; align-self: flex-start; }
@media (max-width: 1000px) { .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .guides { grid-template-columns: 1fr; } }

/* parcours */
.timeline { border-left: 6px solid var(--signal); padding-left: clamp(18px, 3vw, 40px); display: grid; gap: 32px; }
.timeline__item h3 { font-size: clamp(20px, 1.6vw, 26px); margin-top: 6px; }
.timeline__date { font-family: var(--display); font-size: 15px; font-weight: 700; }
.todo { border: 2px dashed var(--signal); border-radius: 6px; padding: 22px; font-weight: 700; }

/* à propos : récit par chapitres, puis les quatre lettres */
.chapter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 5vw, 96px); padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid currentColor; }
.chapter:first-child { border-top: 2px solid currentColor; padding-top: clamp(28px, 3vw, 44px); }
.chapter:last-child { padding-bottom: 0; }
.chapter__body { max-width: 66ch; }
.chapter__body > * + * { margin-top: 18px; }
.chapter__body .btn { margin-top: 8px; }
@media (max-width: 900px) { .chapter { grid-template-columns: 1fr; } }
.letters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--steel); border-left: 1px solid var(--steel); }
.letter { padding: clamp(18px, 2.4vw, 40px); border-right: 1px solid var(--steel); border-bottom: 1px solid var(--steel); display: flex; flex-direction: column; gap: 14px; }
.letter__l { font-family: var(--display); font-weight: 700; font-size: clamp(84px, 12vw, 190px); line-height: .86; letter-spacing: -0.04em; }
.letter__w { font-family: var(--display); font-weight: 600; font-size: clamp(17px, 1.6vw, 26px); }
.letter--x .letter__l { color: var(--signal); }
@media (max-width: 700px) { .letters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.symbol { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; margin-top: clamp(36px, 4vw, 64px); max-width: 980px; }
.symbol img { width: 150px; height: 150px; }
@media (max-width: 600px) { .symbol { grid-template-columns: 1fr; } .symbol img { width: 110px; height: 110px; } }

/* FAQ */
.faq { border-top: 2px solid currentColor; }
.faq details { border-bottom: 1px solid currentColor; padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--display); font-weight: 600; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; border-right: 3px solid var(--signal); border-bottom: 3px solid var(--signal); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { padding: 0 0 22px; max-width: 72ch; font-weight: 500; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); }
.channel { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 22px 0; border-bottom: 1px solid currentColor; }
.channel:first-child { border-top: 2px solid currentColor; }
.channel svg { width: 34px; height: 34px; color: var(--signal); }
.channel strong { display: block; font-size: 15px; font-weight: 800; }
.channel span { font-family: var(--display); font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; word-break: break-word; }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 800; font-size: 15px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 17px; font-weight: 600; color: var(--ink); background: var(--paper);
  border: 2px solid var(--ink); border-radius: 4px; padding: 14px 16px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .form__row, .contact-grid { grid-template-columns: 1fr; } }
.form__hint { font-size: 15px; font-weight: 600; }

.wa-preview { white-space: pre-wrap; font: inherit; font-size: 16px; font-weight: 600; border: 2px dashed var(--ink); border-radius: 4px; padding: 14px 16px; margin: 0; min-height: 90px; }
.channel__cta { margin-top: 14px; }

/* textes légaux */
.legal { max-width: 78ch; }
.legal h2 { font-size: clamp(22px, 2vw, 30px); margin-top: 48px; margin-bottom: 14px; }
.legal p, .legal li { font-size: 17px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }

/* ---------- pied de page ---------- */
.site-footer { background: var(--ink); color: var(--paper); border-top: 1px solid var(--steel); padding: clamp(56px, 6vw, 88px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: clamp(28px, 4vw, 64px); }
.footer-grid h2 { font-family: var(--body); font-size: 15px; font-weight: 800; letter-spacing: 0.02em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-weight: 600; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 4px; }
.footer-brand img { height: 46px; width: auto; }
.footer-brand p { margin-top: 18px; font-weight: 600; max-width: 42ch; }
.slogan { font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: 0.01em; }
.footer-legal { margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--steel); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: 15px; font-weight: 600; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- haute technologie : circuits, démo vivante, flux, bandeau ---------- */
.hero { position: relative; overflow: hidden; }
.hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.5) 38%, #000 72%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.5) 38%, #000 72%); }
.hero > .wrap, .hero > .hero__trail, .hero > .ticker { position: relative; z-index: 1; }
@media (max-width: 980px) { .hero__fx { opacity: .55; } .demo { box-shadow: 0 0 0 1px var(--steel), 6px 6px 0 var(--signal); margin-right: 6px; } }

.demo { background: var(--ink); box-shadow: 0 0 0 1px var(--steel), 10px 10px 0 var(--signal); border: 0; }
.demo__body { display: flex; flex-direction: column; gap: 12px; min-height: 372px; }
.demo .msg { font-size: 15.5px; }
.msg--in { animation: pop .4s cubic-bezier(.2,.7,.2,1) both; }
.typing { display: inline-flex; gap: 6px; align-items: center; align-self: flex-end; padding: 14px 16px; border: 1px solid var(--steel); border-radius: 10px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); animation: blink 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.demo__tabs { display: flex; gap: 8px; padding-top: 6px; }
.demo__tabs button { flex: 1; height: 24px; padding: 10px 0; background: none; border: 0; cursor: pointer; position: relative; }
.demo__tabs button::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 2px; background: var(--steel); opacity: .45; }
.demo__tabs button::after { content: ""; position: absolute; left: 0; top: 10px; height: 4px; width: 100%; border-radius: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; }
.demo__tabs button.is-done::after { transform: scaleX(1); }
.demo__tabs button.is-on::after { animation: fill var(--dur, 9s) linear forwards; }

.ticker { overflow: hidden; border-top: 1px solid var(--steel); border-bottom: 1px solid var(--steel); padding: 16px 0; margin-top: clamp(44px, 5vw, 80px); background: var(--ink); }
.ticker__track { display: flex; width: max-content; }
.ticker__group { display: flex; gap: 44px; padding-right: 44px; font-weight: 700; font-size: 16px; white-space: nowrap; }
.ticker__group span { display: inline-flex; align-items: center; gap: 10px; }
.ticker__group svg { width: 18px; height: 18px; color: var(--trace); }
.ticker.is-live .ticker__track { animation: tick 40s linear infinite; }
.ticker + .hero__trail { margin-top: 28px; }

.band--flow { padding-bottom: clamp(40px, 5vw, 72px); }
.band--joined { padding-top: clamp(40px, 5vw, 72px); }
.flow { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: var(--steel); opacity: .45; }
.flow__pulse { position: absolute; top: 16px; left: 0; width: 110px; height: 12px; margin-left: -110px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,90,31,0), var(--signal) 70%, var(--trace)); display: none; }
.flow__node { position: relative; padding-right: 22px; display: flex; flex-direction: column; gap: 12px; }
.flow__dot { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--steel); background: var(--ink); color: var(--paper); display: grid; place-items: center; position: relative; z-index: 1; }
.flow__dot svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; row-gap: 26px; }
  .flow::before { left: 21px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .flow__pulse { left: 16px; top: 0; width: 12px; height: 90px; margin: -90px 0 0; background: linear-gradient(180deg, rgba(255,90,31,0), var(--signal) 70%, var(--trace)); }
  .flow__node { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 4px; padding-right: 0; }
  .flow__node .flow__dot { grid-row: 1 / span 2; }
}

.pillar { position: relative; overflow: hidden; }
.pillar::before { content: ""; position: absolute; inset: 0; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255,90,31,.2), rgba(255,90,31,0) 70%); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.pillar:hover::before { opacity: 1; }
.pillar > * { position: relative; }
.pillar__icon { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.pillar:hover .pillar__icon { transform: translateY(-4px) scale(1.08); }
.offer { transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s ease; }
.offer:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--signal); }
.row { position: relative; transition: padding-left .25s ease; }
.row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--signal); transform: scaleY(0); transform-origin: top; transition: transform .25s ease; }
.row:hover { padding-left: 24px; }
.row:hover::before { transform: scaleY(1); }
.site-header .wrap { transition: min-height .25s ease; }
.site-header.is-scrolled .wrap { min-height: 60px; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--signal); transform: scaleX(0); transform-origin: left; z-index: 60; pointer-events: none; }

/* ---------- mouvement ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js main > section:first-child .trajectory__flat { animation: draw 1.1s cubic-bezier(.65,0,.35,1) .35s both; }
  .js main > section:first-child .trajectory__rise path { stroke-dasharray: 190; animation: rise .55s cubic-bezier(.3,0,.2,1) 1.4s both; }
  .anim .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em 0 .14em; margin: -.12em 0 -.14em; }
  .anim .split .w > span { display: inline-block; transform: translateY(115%); animation: wordUp .75s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i) * 55ms + 80ms); }
  .anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
  .anim .reveal.is-in { opacity: 1; transform: none; }
  .flow__pulse { display: block; animation: flowX 6s linear infinite; }
  .flow__dot { animation: nodeOn 6s linear infinite; animation-delay: calc(var(--n) * 1.2s + .1s); }
  @media (max-width: 900px) { .flow__pulse { animation-name: flowY; } }
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { stroke-dashoffset: 190; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes wordUp { to { transform: none; } }
@keyframes flowX { from { left: 0; } to { left: calc(100% + 110px); } }
@keyframes flowY { from { top: 0; } to { top: calc(100% + 90px); } }
@keyframes nodeOn { 0% { border-color: var(--steel); background: var(--ink); color: var(--paper); box-shadow: 0 0 0 0 rgba(255,90,31,0); } 3%, 14% { border-color: var(--signal); background: var(--signal); color: var(--ink); box-shadow: 0 0 0 9px rgba(255,90,31,.22); } 24%, 100% { border-color: var(--steel); background: var(--ink); color: var(--paper); box-shadow: 0 0 0 0 rgba(255,90,31,0); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
