/* =========================================================
   OTCOM — Design system V1
   Layout concept: a 12-col editorial grid on cool paper, punctuated by
   full-bleed ink and ultramarine bands; the recurring motif is the dial
   (a ring + orbiting point) that measures the page from 0° to 360°.
   ========================================================= */
:root {
  /* Couleurs principales */
  --ink: #0c0d12;        /* Encre — texte, sections sombres */
  --paper: #f1f2f4;      /* Papier — fond principal (gris froid, teinté bleu) */
  --blue: #2230ff;       /* OTCOM Blue — couleur signature */
  /* Couleurs secondaires */
  --blue-deep: #1520c9;  /* hover / pressed */
  --saffron: #ffb21a;    /* accent ponctuel (statut, détail) */
  --stone: #d8dae0;      /* filets, bordures sur papier */
  --muted: #5b5e6a;      /* texte secondaire sur papier */
  --muted-ink: #9a9dab;  /* texte secondaire sur encre */
  --line-ink: #262833;   /* filets sur encre */
  --white: #ffffff;

  /* Typographies */
  --f-display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Échelle typographique */
  --t-xxl: clamp(3.4rem, 12.4vw, 13.5rem);
  --t-xl: clamp(2.2rem, 4.8vw, 4.6rem);
  --t-l: clamp(1.9rem, 3.6vw, 3.4rem);
  --t-m: clamp(1.35rem, 2vw, 1.9rem);
  --t-s: clamp(1.15rem, 1.4vw, 1.35rem);
  --t-body: 1.0625rem;
  --t-small: .875rem;
  --t-label: .72rem;

  /* Espacement (base 4) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
  --gutter: clamp(1rem, 3.2vw, 3rem);
  --section: clamp(5rem, 11vw, 10rem);
  --maxw: 1520px;

  --radius: 999px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.on-ink :focus-visible, .on-blue :focus-visible { outline-color: var(--saffron); }
::selection { background: var(--blue); color: var(--white); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: var(--s-4); top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: var(--s-3) var(--s-4); border-radius: var(--radius); transition: top .2s; }
.skip:focus { top: var(--s-4); }

/* ---------- Typo utilitaires ---------- */
.display {
  font-family: var(--f-display);
  font-stretch: 108%;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  text-wrap: balance;
  margin: 0;
}
.label {
  font-family: var(--f-mono);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.muted { color: var(--muted); }
.on-ink { background: var(--ink); color: var(--paper); }
.on-ink .muted { color: var(--muted-ink); }
.on-blue { background: var(--blue); color: var(--white); }
.on-blue .muted { color: rgba(255,255,255,.72); }
.lead { font-size: var(--t-s); line-height: 1.45; max-width: 36ch; text-wrap: pretty; }
.deg { color: var(--blue); }
.on-blue .deg, .on-ink .deg { color: var(--saffron); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative;
  display: inline-flex; align-items: center; gap: .7em;
  height: 3.25rem; padding-inline: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 1rem; letter-spacing: -.005em;
  overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--blue);
  transform: translateY(101%); border-radius: inherit;
  transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--white); }
.btn:active { transform: scale(.97); }
.btn .arrow { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--blue { --bg: var(--blue); --fg: var(--white); }
.btn--blue::before { background: var(--ink); }
.on-ink .btn--blue::before { background: var(--paper); }
.on-ink .btn--blue:hover { color: var(--ink); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--paper); }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.btn--light::before { background: var(--saffron); }
.btn--light:hover { color: var(--ink); }
.btn--lg { height: 4.25rem; padding-inline: 2.1rem; font-size: 1.125rem; }

.link-u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.link-u:hover { background-size: 100% 1px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .02em; font-family: var(--f-display); font-stretch: 125%; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.logo .mark { width: 1.02em; height: 1.02em; flex: none; margin-right: .04em; }
.mark .ring { fill: none; stroke: currentColor; stroke-width: 7; }
.mark .sat { fill: var(--blue); stroke: var(--knock, var(--paper)); stroke-width: 3.5; }
.mark .orbit { transform-box: view-box; transform-origin: 24px 24px; transform: rotate(var(--deg, 0deg)); }
.on-ink .mark, .footer .mark { --knock: var(--ink); }
.on-ink .mark .sat { fill: var(--blue); }
.on-blue .mark { --knock: var(--blue); }
.on-blue .mark .sat { fill: var(--saffron); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease);
}
.header.is-solid { background: rgba(241,242,244,.86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--stone); }
.header.is-hidden { transform: translateY(-100%); }
.header__in { height: var(--header-h); display: flex; align-items: center; gap: var(--s-6); transition: height .4s var(--ease); }
.header.is-solid .header__in { height: 64px; }
.header .logo { font-size: 1.55rem; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2.25rem); list-style: none; margin: 0; padding: 0; }
.nav a { font-size: .95rem; font-weight: 500; position: relative; padding-block: .4rem; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header .btn { height: 2.75rem; padding-inline: 1.15rem; font-size: .92rem; }
.burger { display: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--ink); color: var(--paper); position: relative; margin-left: auto; }
.burger span { position: absolute; left: 50%; width: 18px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); translate: -50% 0; }
.burger span:nth-child(1) { top: calc(50% - 4px); }
.burger span:nth-child(2) { top: calc(50% + 3px); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--paper);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + var(--s-6)) var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: var(--s-7);
  clip-path: circle(0% at calc(100% - 2.4rem) 2.4rem);
  visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
  overflow-y: auto;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 2.4rem) 2.4rem); visibility: visible; transition: clip-path .7s var(--ease); }
.menu ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.menu ol a { display: flex; align-items: baseline; gap: var(--s-4); font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(2.2rem, 10vw, 3.4rem); letter-spacing: -.03em; line-height: 1.05; }
.menu ol a .label { color: var(--muted-ink); font-size: .7rem; }
.menu__foot { margin-top: auto; display: grid; gap: var(--s-4); }
.menu__foot p { margin: 0; color: var(--muted-ink); font-size: var(--t-small); }
body.menu-open .header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--paper); }
body.menu-open .header .mark { --knock: var(--ink); }
body.menu-open .burger { background: var(--paper); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(2rem, 5vw, 4.5rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; border-bottom: 1px solid var(--stone); padding-bottom: var(--s-4); position: relative; z-index: 2; }
.status { display: inline-flex; align-items: center; gap: .6em; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 0 rgba(255,178,26,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255,178,26,0); } 100% { box-shadow: 0 0 0 0 rgba(255,178,26,0); } }
.hero__title { position: relative; z-index: 2; margin-top: clamp(2.5rem, 6vw, 5.5rem); font-size: clamp(2.6rem, 7vw, 7.2rem); }
.hero__title .row { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .row > span { display: inline-block; }
.hero__title .small { font-size: .42em; letter-spacing: -.03em; display: block; line-height: 1; margin-bottom: .12em; }
.hero__title .indent { padding-left: 1.1em; }
.hero__foot { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-6) var(--gutter); margin-top: clamp(2rem, 4vw, 3.5rem); align-items: end; }
.hero__foot .lead { grid-column: 1 / span 5; margin: 0; }
.hero__foot { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.hero__ctas { grid-column: 7 / span 6; display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero__scroll { grid-column: 11 / span 2; justify-self: end; text-align: right; display: grid; gap: var(--s-1); }
.hero__scroll .deg-count { font-family: var(--f-display); font-stretch: 125%; font-weight: 700; font-size: 2rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; }

.dial { position: absolute; z-index: 1; right: calc(var(--gutter) * -1 - 6vw); top: 60%; width: min(44vw, 640px); aspect-ratio: 1; translate: 0 -50%; opacity: .85; pointer-events: none; color: var(--ink); }
.dial svg { width: 100%; height: 100%; overflow: visible; }
.dial .tick { stroke: currentColor; stroke-width: 1; opacity: .28; }
.dial .tick.major { opacity: .9; stroke-width: 1.5; }
.dial .big-ring { fill: none; stroke: var(--blue); stroke-width: 1.5; }
.dial .dial-num { font-family: var(--f-mono); font-size: 11px; fill: var(--muted); letter-spacing: .06em; }
.dial .rot { transform-box: view-box; transform-origin: 50% 50%; }
.dial .planet { fill: var(--blue); }
.dial .planet-ring { fill: none; stroke: var(--blue); stroke-width: 1; opacity: .5; }

/* ---------- Marquee ---------- */
.marquee { background: var(--blue); color: var(--white); overflow: hidden; padding-block: clamp(1rem, 2vw, 1.6rem); border-block: 1px solid var(--blue); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { font-family: var(--f-display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 2.3rem); letter-spacing: -.02em; line-height: 1; padding-inline: clamp(1rem, 2vw, 2rem); white-space: nowrap; }
.marquee__item.outline { color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.marquee__sep { width: .7em; height: .7em; font-size: clamp(1.3rem, 2.6vw, 2.3rem); flex: none; }
.marquee__sep circle { fill: none; stroke: var(--saffron); stroke-width: 6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section commun ---------- */
.section { padding-block: var(--section); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-5) var(--gutter); align-items: end; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.sec-head .label { grid-column: 1 / -1; display: flex; gap: var(--s-4); align-items: center; }
.sec-head .label::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .18; }
.sec-head h2 { grid-column: 1 / span 7; font-size: var(--t-xl); max-width: 16ch; }
.sec-head p { grid-column: 9 / span 4; margin: 0; }

/* ---------- Agence ---------- */
.agency__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-7) var(--gutter); }
.agency__text { grid-column: 1 / span 5; display: grid; gap: var(--s-5); align-content: start; }
.agency__text p { margin: 0; max-width: 52ch; }
.agency__text p.big { font-size: var(--t-s); line-height: 1.45; }
.compare { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--stone); border-radius: 22px; overflow: hidden; background: var(--white); }
.compare__col { padding: clamp(1.25rem, 2.6vw, 2.25rem); display: grid; gap: var(--s-5); align-content: start; }
.compare__col + .compare__col { background: var(--ink); color: var(--paper); }
.compare__col h3 { margin: 0; font-size: 1.05rem; font-weight: 600; }
.vendors { position: relative; aspect-ratio: 1; }
.vendors svg { width: 100%; height: 100%; }
.vendors .v-line { stroke: var(--stone); stroke-width: 1.5; stroke-dasharray: 3 4; }
.vendors .v-node { fill: var(--paper); stroke: var(--muted); stroke-width: 1.5; }
.vendors .v-you { fill: var(--ink); }
.vendors text { font-family: var(--f-mono); font-size: 9.5px; fill: var(--muted); letter-spacing: .04em; }
.vendors.hub .v-line { stroke: var(--line-ink); stroke-dasharray: none; }
.vendors.hub .v-hubring { fill: none; stroke: var(--blue); stroke-width: 7; }
.vendors.hub text { fill: var(--muted-ink); }
.vendors.hub .v-node { fill: var(--ink); stroke: var(--muted-ink); }
.vendors.hub .v-you { fill: var(--paper); }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); font-size: var(--t-small); }
.compare li { display: flex; justify-content: space-between; gap: var(--s-3); border-top: 1px solid var(--stone); padding-top: var(--s-2); }
.compare__col + .compare__col li { border-color: var(--line-ink); }
.compare li b { font-family: var(--f-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.compare__col + .compare__col li b { color: var(--saffron); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--ink); }
.stat { padding: var(--s-5) var(--s-5) 0 0; display: grid; gap: var(--s-2); }
.stat + .stat { padding-left: var(--s-5); border-left: 1px solid var(--stone); }
.stat__num { font-family: var(--f-display); font-stretch: 108%; font-weight: 700; font-size: clamp(2.4rem, 4.4vw, 4.2rem); letter-spacing: -.04em; line-height: .95; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .4em; vertical-align: top; position: relative; top: .25em; color: var(--blue); margin-left: .05em; }
.stat p { margin: 0; color: var(--muted); font-size: var(--t-small); max-width: 22ch; }
.footnote { margin-top: var(--s-5); color: var(--muted); }

/* ---------- Services ---------- */
.services { border-top: 1px solid var(--ink); }
.svc { border-bottom: 1px solid var(--ink); position: relative; }
.svc__head {
  width: 100%; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto 3rem; gap: var(--s-4) var(--s-5); align-items: center;
  padding-block: clamp(1.2rem, 2.4vw, 2.1rem); padding-inline: var(--s-2);
  text-align: left; position: relative; isolation: isolate;
  transition: color .35s var(--ease), padding .5s var(--ease);
}
.svc__head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.svc__num { font-family: var(--f-mono); font-size: .85rem; color: var(--muted); transition: color .35s; }
.svc__title { font-family: var(--f-display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.3rem, 2.8vw, 2.5rem); letter-spacing: -.025em; line-height: 1; transition: transform .5s var(--ease); }
.svc__tags { display: flex; gap: var(--s-2); flex-wrap: wrap; justify-content: flex-end; max-width: 28rem; }
.tag { display: inline-flex; align-items: center; height: 1.9rem; padding-inline: .8rem; border-radius: var(--radius); border: 1px solid currentColor; font-size: .78rem; font-weight: 500; white-space: nowrap; }
.svc__tags .tag { opacity: .7; }
.svc__icon { width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid currentColor; position: relative; justify-self: end; transition: transform .5s var(--ease), background-color .35s; }
.svc__icon::before, .svc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.svc__icon::after { rotate: 90deg; transition: rotate .5s var(--ease); }
.svc.is-open .svc__icon::after { rotate: 0deg; }
.svc.is-open .svc__icon { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .svc__head:hover { color: var(--white); padding-inline: var(--s-5); }
  .svc__head:hover::before { transform: scaleY(1); }
  .svc__head:hover .svc__num { color: rgba(255,255,255,.7); }
  .svc__head:hover .svc__title { transform: translateX(.35em); }
  .svc.is-open .svc__head:hover .svc__icon { background: var(--white); color: var(--blue); border-color: var(--white); }
}
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.svc.is-open .svc__body { grid-template-rows: 1fr; }
.svc__inner { overflow: hidden; min-height: 0; }
.svc__content { display: grid; grid-template-columns: 4.5rem repeat(12, minmax(0, 1fr)); gap: var(--s-5) var(--gutter); padding: var(--s-2) var(--s-2) clamp(2rem, 4vw, 3.5rem); }
.svc__content > p { grid-column: 2 / span 5; margin: 0; font-size: var(--t-s); line-height: 1.45; max-width: 38ch; }
.svc__list { grid-column: 8 / span 3; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); font-size: .95rem; }
.svc__list li { display: flex; gap: var(--s-3); align-items: baseline; }
.svc__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; translate: 0 -2px; }
.svc__cta { grid-column: 11 / span 3; align-self: end; justify-self: end; }

/* ---------- 360° ---------- */
.orbit-sec { position: relative; overflow: hidden; }
.orbit-sec__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-7) var(--gutter); align-items: center; }
.orbit-sec__text { grid-column: 1 / span 4; display: grid; gap: var(--s-5); align-content: center; }
.orbit-sec__text h2 { font-size: var(--t-l); }
.orbit-sec__text p { margin: 0; max-width: 40ch; }
.orbit-hint { color: var(--muted-ink); }
.orbit { grid-column: 5 / span 8; position: relative; width: 100%; max-width: 820px; justify-self: end; aspect-ratio: 1; --spin: 0deg; --r: 41%; }
.orbit__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit__svg .o-tick { stroke: var(--paper); opacity: .22; stroke-width: 1; }
.orbit__svg .o-tick.major { opacity: .7; }
.orbit__svg .o-ring { fill: none; stroke: var(--line-ink); stroke-width: 1; }
.orbit__svg .o-ring.accent { stroke: var(--blue); stroke-width: 2; }
.orbit__svg .rot { transform-box: view-box; transform-origin: 50% 50%; transform: rotate(var(--spin)); }
.orbit__needle { position: absolute; left: 50%; top: 50%; width: var(--r); height: 2px; background: linear-gradient(90deg, transparent 0 34%, var(--blue) 34%); transform-origin: 0 50%; transform: rotate(calc(var(--needle, -90deg) + var(--spin))); translate: 0 -50%; transition: --needle .6s var(--ease); }
.orbit__center { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 54%; text-align: center; display: grid; gap: var(--s-3); justify-items: center; }
.orbit__big { font-family: var(--f-display); font-stretch: 108%; font-weight: 700; font-size: clamp(3.6rem, 10vw, 9rem); letter-spacing: -.05em; line-height: .85; }
.orbit__big sup { color: var(--blue); font-size: .55em; vertical-align: top; position: relative; top: -.02em; margin-left: -.02em; }
.orbit__desc { min-height: 3.2em; max-width: 26ch; color: var(--paper); font-size: clamp(.9rem, 1.3vw, 1.05rem); line-height: 1.4; transition: opacity .3s; }
.orbit__desc b { display: block; font-family: var(--f-mono); font-weight: 500; font-size: var(--t-label); letter-spacing: .1em; text-transform: uppercase; color: var(--saffron); margin-bottom: .3em; }
.orbit__label {
  position: absolute; left: 50%; top: 50%;
  transform: rotate(calc(var(--a) + var(--spin))) translateX(var(--rpx, 300px)) rotate(calc(-1 * (var(--a) + var(--spin))));
  translate: -50% -50%;
  font-family: var(--f-mono); font-size: clamp(.64rem, 1vw, .8rem); letter-spacing: .08em; text-transform: uppercase;
  padding: .5em .9em; border-radius: var(--radius); background: var(--ink); color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-ink);
  transition: background-color .3s, color .3s, box-shadow .3s;
  white-space: nowrap;
}
.orbit__label:hover, .orbit__label.is-active { background: var(--blue); color: var(--white); box-shadow: inset 0 0 0 1px var(--blue); }
@property --needle { syntax: "<angle>"; inherits: true; initial-value: -90deg; }

/* ---------- Méthode ---------- */
.method { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.steps::before, .steps__fill { content: ""; position: absolute; left: 0; right: 0; top: 2.25rem; height: 1px; background: var(--stone); }
.steps__fill { background: var(--blue); height: 2px; top: calc(2.25rem - .5px); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { padding-right: var(--s-5); display: grid; gap: var(--s-4); align-content: start; position: relative; }
.step__pie { width: 4.5rem; height: 4.5rem; background: var(--paper); border-radius: 50%; position: relative; z-index: 1; }
.step__pie svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.step__pie .bg { fill: var(--paper); stroke: var(--stone); stroke-width: 2; }
.step__pie .fg { fill: none; stroke: var(--blue); stroke-width: 8; stroke-linecap: butt; stroke-dasharray: 0 100; transition: stroke-dasharray 1.1s var(--ease); }
.step.is-on .step__pie .fg { stroke-dasharray: var(--frac) 100; }
.step__deg { font-family: var(--f-mono); font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.step.is-on .step__deg { color: var(--blue); }
.step h3 { margin: 0; font-family: var(--f-display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 2.1rem); letter-spacing: -.03em; line-height: 1; }
.step p { margin: 0; color: var(--muted); max-width: 26ch; font-size: .98rem; }

/* ---------- Pourquoi ---------- */
.why__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-7) var(--gutter); }
.why__side { grid-column: 1 / span 4; }
.why__sticky { position: sticky; top: calc(var(--header-h) + var(--s-6)); display: grid; gap: var(--s-5); }
.why__sticky h2 { font-size: var(--t-l); }
.why__sticky p { margin: 0; max-width: 34ch; }
.why__list { grid-column: 6 / span 7; list-style: none; margin: 0; padding: 0; }
.why__item { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: var(--s-4) var(--s-6); padding-block: clamp(2rem, 4vw, 3.25rem); border-top: 1px solid rgba(255,255,255,.28); }
.why__item:last-child { border-bottom: 1px solid rgba(255,255,255,.28); }
.why__glyph { width: 5.5rem; height: 5.5rem; }
.why__glyph * { fill: none; stroke: var(--white); stroke-width: 3; }
.why__glyph .fill { fill: var(--saffron); stroke: none; }
.why__item h3 { margin: 0 0 var(--s-3); font-family: var(--f-display); font-stretch: 108%; font-weight: 700; font-size: var(--t-m); letter-spacing: -.03em; line-height: 1; }
.why__item p { margin: 0; max-width: 46ch; color: rgba(255,255,255,.82); }
.why__glyph .spin { transform-box: view-box; transform-origin: 50% 50%; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- CTA final + contact ---------- */
.cta { position: relative; overflow: hidden; padding-block: var(--section) calc(var(--section) * .75); }
.cta__ring { position: absolute; width: min(90vw, 1100px); aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; pointer-events: none; transform: translate3d(var(--mx, 0px), var(--my, 0px), 0); transition: transform 1.2s var(--ease); opacity: .9; }
.cta__ring svg { width: 100%; height: 100%; }
.cta__ring .r1 { fill: none; stroke: var(--line-ink); stroke-width: 1; }
.cta__ring .r2 { fill: none; stroke: var(--blue); stroke-width: 1.5; }
.cta__ring .rot { transform-box: view-box; transform-origin: 50% 50%; animation: spin 40s linear infinite; }
.cta__ring .sat { fill: var(--blue); }
.cta__in { position: relative; z-index: 1; display: grid; gap: var(--s-6); justify-items: start; }
.cta__q { font-size: var(--t-m); color: var(--muted-ink); font-weight: 600; }
.cta__title { font-size: clamp(3rem, 9vw, 9rem); }
.cta__title .dot { color: var(--blue); }
.cta__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5) var(--s-7); margin-top: var(--s-4); }
.magnet { display: inline-block; transition: transform .6s var(--ease); }

.contact { margin-top: clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-7) var(--gutter); position: relative; z-index: 1; border-top: 1px solid var(--line-ink); padding-top: clamp(2.5rem, 5vw, 4rem); }
.contact__info { grid-column: 1 / span 4; display: grid; gap: var(--s-5); align-content: start; }
.contact__info dl { margin: 0; display: grid; gap: var(--s-4); }
.contact__info dt { color: var(--muted-ink); margin-bottom: .25rem; }
.contact__info dd { margin: 0; font-size: 1.15rem; display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; }
.copy { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .65rem; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line-ink); color: var(--muted-ink); transition: color .3s, box-shadow .3s; }
.copy:hover { color: var(--paper); box-shadow: inset 0 0 0 1px var(--paper); }
.form { grid-column: 6 / span 7; display: grid; gap: var(--s-5); }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.form legend { color: var(--muted-ink); margin-bottom: var(--s-3); padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 2.5rem; padding-inline: 1rem; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line-ink); font-size: .92rem; cursor: pointer; transition: background-color .3s, box-shadow .3s, color .3s; user-select: none; }
.chip span:hover { box-shadow: inset 0 0 0 1px var(--paper); }
.chip input:checked + span { background: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--saffron); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-5); }
.field { display: grid; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted-ink); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--paper); background: transparent; border: 0; border-bottom: 1px solid var(--line-ink);
  padding: .55rem 0 .7rem; font-size: 1.1rem; border-radius: 0; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input::placeholder, .field textarea::placeholder { color: #5d606d; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); justify-content: space-between; }
.form__note { margin: 0; font-size: var(--t-small); color: var(--muted-ink); max-width: 40ch; }
.form__status { margin: 0; font-size: .95rem; color: var(--saffron); min-height: 1.4em; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: calc(var(--s-5) + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-6) var(--gutter); border-top: 1px solid var(--line-ink); padding-top: clamp(2.5rem, 5vw, 4rem); }
.footer__brand { grid-column: 1 / span 4; display: grid; gap: var(--s-3); align-content: start; }
.footer__brand .logo { font-size: 2rem; }
.footer__brand p { margin: 0; color: var(--muted-ink); }
.footer__col { grid-column: span 2; display: grid; gap: var(--s-3); align-content: start; }
.footer__col:nth-of-type(2) { grid-column: 6 / span 2; }
.footer__col:last-child { grid-column: 10 / span 3; }
.footer__col h3 { margin: 0 0 var(--s-2); color: var(--muted-ink); font-weight: 500; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.footer__col address { font-style: normal; display: grid; gap: var(--s-2); }
.footer__word { margin-top: clamp(3rem, 7vw, 6rem); font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(3.2rem, 19.6vw, 19rem); letter-spacing: -.05em; line-height: .78; display: flex; align-items: center; user-select: none; }
.footer__word .mark { flex: none; width: .86em; height: .86em; margin-right: .02em; }
.footer__word .mark .ring { stroke-width: 7; }
.footer__bottom { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; color: var(--muted-ink); font-size: var(--t-small); }
.footer__bottom button { text-decoration: underline; text-underline-offset: 3px; color: var(--paper); font-size: var(--t-small); }

/* ---------- Brand sheet (identité V1) ---------- */
.v1-badge { position: fixed; left: var(--s-4); bottom: calc(var(--s-4) + env(safe-area-inset-bottom, 0px)); z-index: 70; display: inline-flex; gap: .55rem; align-items: center; background: var(--white); color: var(--ink); border: 1px solid var(--stone); padding: .55rem .9rem .55rem .6rem; border-radius: var(--radius); font-size: .8rem; font-weight: 500; box-shadow: 0 10px 30px rgba(12,13,18,.2); transition: transform .4s var(--ease), opacity .4s; }
.v1-badge b { background: var(--saffron); color: var(--ink); font-family: var(--f-mono); font-size: .65rem; padding: .2rem .45rem; border-radius: var(--radius); }
.v1-badge:hover { transform: translateY(-2px); }
.v1-badge.is-away { opacity: 0; pointer-events: none; transform: translateY(12px); }
.brand { width: min(1180px, calc(100% - 2 * var(--s-4))); max-height: calc(100% - 2 * var(--s-4)); border: 0; padding: 0; border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 120px rgba(0,0,0,.35); overflow: auto; }
.brand::backdrop { background: rgba(12,13,18,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.brand__head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-4) clamp(1rem, 3vw, 2.5rem); background: var(--paper); border-bottom: 1px solid var(--stone); }
.brand__close { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 1.2rem; line-height: 1; }
.brand__body { padding: clamp(1.25rem, 3vw, 2.5rem); display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.brand__sec { display: grid; gap: var(--s-5); }
.brand__sec > h3 { margin: 0; display: flex; gap: var(--s-4); align-items: center; }
.brand__sec > h3::after { content: ""; flex: 1; height: 1px; background: var(--stone); }
.brand__intro { font-size: var(--t-s); line-height: 1.45; max-width: 60ch; margin: 0; }
.logos { display: grid; grid-template-columns: 2fr 2fr 1fr 1fr; gap: var(--s-3); }
.logo-tile { border-radius: 14px; min-height: 10rem; display: grid; place-items: center; padding: var(--s-5); position: relative; }
.logo-tile .label { position: absolute; left: var(--s-3); bottom: var(--s-3); opacity: .7; }
.logo-tile .logo { font-size: clamp(2rem, 4vw, 3rem); }
.logo-tile.paper { background: var(--white); box-shadow: inset 0 0 0 1px var(--stone); }
.logo-tile.paper .mark { --knock: var(--white); }
.avatar { width: 4.5rem; height: 4.5rem; border-radius: 50%; display: grid; place-items: center; }
.avatar .mark { width: 2.6rem; height: 2.6rem; }
.swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-3); }
.swatch { border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--stone); background: var(--white); }
.swatch i { display: block; height: 6.5rem; background: var(--c); }
.swatch div { padding: var(--s-3); display: grid; gap: .15rem; font-size: .85rem; }
.swatch code { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }
.type-rows { display: grid; gap: var(--s-4); }
.type-row { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: var(--s-5); align-items: baseline; border-top: 1px solid var(--stone); padding-top: var(--s-4); }
.type-row .spec { font-size: clamp(1.5rem, 4vw, 3rem); line-height: 1.05; overflow-wrap: anywhere; }
.brand-demo { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.space-scale { display: grid; gap: .4rem; }
.space-scale div { display: grid; grid-template-columns: 3.5rem 4rem minmax(0, 1fr); gap: var(--s-3); align-items: center; font-family: var(--f-mono); font-size: .75rem; color: var(--muted); }
.space-scale i { display: block; height: 10px; background: var(--blue); width: var(--w); max-width: 100%; border-radius: 2px; }
.demo-input { display: grid; gap: .4rem; max-width: 20rem; }
.demo-input input { font: inherit; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: .5rem 0; }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-line > span { transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv-line.is-in > span { transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav, .header .btn.desk { display: none; }
  .burger { display: block; }
  .hero__foot .lead { grid-column: 1 / span 7; }
  .hero__ctas { grid-column: 1 / -1; grid-row: 2; }
  .hero__scroll { grid-column: 10 / span 3; grid-row: 2; }
  .sec-head h2 { grid-column: 1 / -1; }
  .sec-head p { grid-column: 1 / span 8; }
  .agency__text { grid-column: 1 / -1; }
  .agency__text p { max-width: 62ch; }
  .compare { grid-column: 1 / -1; }
  .orbit-sec__text { grid-column: 1 / -1; }
  .orbit { grid-column: 1 / -1; justify-self: center; }
  .svc__tags { display: none; }
  .svc__head { grid-template-columns: 3.5rem minmax(0, 1fr) 3rem; }
  .svc__content { grid-template-columns: 3.5rem repeat(6, minmax(0, 1fr)); }
  .svc__content > p { grid-column: 2 / span 6; }
  .svc__list { grid-column: 2 / span 4; }
  .svc__cta { grid-column: 6 / span 2; }
  .why__side, .why__list { grid-column: 1 / -1; }
  .why__sticky { position: static; }
  .contact__info, .form { grid-column: 1 / -1; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col, .footer__col:nth-of-type(2), .footer__col:last-child { grid-column: span 4; }
  .logos { grid-template-columns: 1fr 1fr; }
  .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .steps::before, .steps__fill { left: 2.25rem; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps__fill { width: 2px; left: calc(2.25rem - .5px); transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step { grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: var(--s-5); row-gap: var(--s-2); padding: 0 0 var(--s-7); }
  .step__pie { grid-row: 1 / span 3; }
  .step:last-child { padding-bottom: 0; }
  .step p { max-width: 40ch; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--stone); margin-top: var(--s-5); }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .header .logo { font-size: 1.35rem; }
  .hero__meta .coords { display: none; }
  .hero__title { font-size: clamp(2.1rem, 10.2vw, 3.8rem); margin-top: var(--s-7); }
  .hero__title .small { font-size: .5em; }
  .hero__title .indent { padding-left: 0; }
  .dial { width: 118vw; right: -58vw; top: 30%; opacity: .75; }
  .hero__foot { grid-template-columns: 1fr; }
  .hero__foot .lead, .hero__ctas, .hero__scroll { grid-column: 1; grid-row: auto; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .hero__scroll { justify-self: start; text-align: left; grid-template-columns: auto auto; align-items: baseline; gap: var(--s-3); }
  .compare { grid-template-columns: 1fr; }
  .vendors { max-width: 16rem; justify-self: center; width: 100%; }
  .stat { padding-right: var(--s-3); }
  .stat + .stat { padding-left: var(--s-3); }
  .svc__head { grid-template-columns: 2.25rem minmax(0, 1fr) 2.5rem; gap: var(--s-3); padding-inline: 0; }
  .svc__icon { width: 2.5rem; height: 2.5rem; }
  .svc__title { font-size: clamp(1.15rem, 5.4vw, 1.6rem); }
  .svc__content { grid-template-columns: 1fr; padding-inline: 0; }
  .svc__content > p, .svc__list, .svc__cta { grid-column: 1; justify-self: start; }
  .orbit { --r: 38%; }
  .orbit__center { width: 58%; }
  .orbit__desc { font-size: .82rem; min-height: 4.2em; }
  .why__item { grid-template-columns: 1fr; }
  .why__glyph { width: 3.5rem; height: 3.5rem; }
  .cta__title { font-size: clamp(2.4rem, 12vw, 4.4rem); }
  .cta__row .btn { width: 100%; justify-content: center; }
  .magnet { width: 100%; }
  .fields { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; justify-content: center; }
  .footer__col, .footer__col:nth-of-type(2), .footer__col:last-child { grid-column: 1 / -1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__col:nth-of-type(2), .footer__col:nth-of-type(3) { grid-column: span 1; }
  .logos { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: 1fr 1fr; }
  .type-row { grid-template-columns: 1fr; gap: var(--s-2); }
  .v1-badge span { display: none; }
  .v1-badge { padding: .55rem; left: auto; right: var(--s-4); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee__group[aria-hidden] { display: none; }
  .js .rv, .js .rv-line > span { opacity: 1; transform: none; }
}
