@property --p { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --n { syntax: '<integer>'; inherits: false; initial-value: 0; }

.cnt { counter-reset: c var(--n); }
.cnt::after { content: counter(c); }
.nav__links a { white-space: nowrap; }
@media (min-width: 56.01rem) and (max-width: 75rem) { .nav__client { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 7rem); }
.hero::before { content: ""; position: absolute; inset-inline-end: -14rem; inset-block-start: -12rem; width: 44rem; height: 44rem; background: radial-gradient(closest-side, rgba(236, 122, 44, 0.26), transparent); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__copy { display: grid; gap: 1.25rem; justify-items: start; }
.hero__title { font-size: clamp(2.25rem, 5.2vw, 4.25rem); line-height: 1.05; font-weight: 600; letter-spacing: -0.025em; max-width: 17ch; }
.hero__sub { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.55; color: var(--graphite-300); max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 0.75rem; color: var(--graphite-300); font-size: 0.875rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__trust .icon { width: 1rem; height: 1rem; color: var(--success); }
.hero__copy > * { animation: rise 0.8s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.hero__copy > :nth-child(4) { animation-delay: 0.24s; }
.hero__copy > :nth-child(5) { animation-delay: 0.32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.hero__stage { position: relative; padding: 1.5rem 0.5rem 2.5rem; perspective: 1200px; }
.dash { position: relative; background: linear-gradient(180deg, var(--graphite-900), #181e23); border: 1px solid var(--graphite-600); border-radius: 0.75rem; padding: 1.25rem; display: grid; gap: 1.1rem; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(236, 122, 44, 0.12); transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform 0.25s ease-out; animation: rise 1s var(--ease) 0.2s both; }
.dash::before { content: ""; position: absolute; inset-inline: 1.25rem; top: -1px; height: 2px; background: linear-gradient(90deg, var(--orange), transparent); }
.dash__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: 0.9375rem; }
.dash__live { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.75rem; font-weight: 500; color: var(--success); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }
.dash__live i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--success); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(92, 197, 147, 0.6); } 50% { box-shadow: 0 0 0 0.45rem rgba(92, 197, 147, 0); } }
.dash__main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: center; }
.dash__side { display: grid; gap: 0.75rem; }
.dash__cap { font-size: 0.8125rem; color: var(--graphite-300); }
.dash__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.dash__kpis li { display: grid; gap: 0.1rem; padding: 0.6rem 0.7rem; background: rgba(243, 245, 247, 0.05); border: 1px solid var(--graphite-700); border-radius: 0.4rem; font-size: 0.6875rem; line-height: 1.25; color: var(--graphite-300); }
.dash__kpis b { font-size: 1.5rem; line-height: 1.1; color: var(--survey); font-weight: 600; }
.dash__kpis .is-warn b { color: var(--warning); }
.dash__feed { display: grid; gap: 0.5rem; }
.dash__feed li { display: flex; align-items: center; gap: 0.65rem; padding: 0.6rem 0.8rem; background: rgba(243, 245, 247, 0.04); border: 1px solid var(--graphite-700); border-radius: 0.4rem; font-size: 0.8125rem; animation: feedIn 0.6s var(--ease) both; animation-delay: calc(1.1s + var(--i) * 0.55s); }
.dash__feed .icon { width: 1.1rem; height: 1.1rem; color: var(--orange); }
.dash__feed .is-ok { border-color: rgba(92, 197, 147, 0.5); }
.dash__feed .is-ok .icon { color: var(--success); }
@keyframes feedIn { from { opacity: 0; transform: translateX(-14px); } }
[dir="rtl"] .dash__feed li { animation-name: feedInRtl; }
@keyframes feedInRtl { from { opacity: 0; transform: translateX(14px); } }
.dash__demo { font-size: 0.6875rem; color: var(--graphite-400); }

.ring { position: relative; width: 8.5rem; height: 8.5rem; --p: 0; }
.ring svg { width: 100%; height: 100%; }
.ring__bg { fill: none; stroke: rgba(243, 245, 247, 0.1); stroke-width: 10; }
.ring__fg { fill: none; stroke: var(--orange); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: calc(327 - 327 * var(--p) / 100); animation: ringFrom 1.8s var(--ease) 0.4s both; }
@keyframes ringFrom { from { --p: 0; } }
.ring__n { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.1rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ring__n small { font-size: 0.9rem; font-weight: 500; margin-inline-start: 0.1rem; color: var(--graphite-300); }
.ring--sm { width: 5.5rem; height: 5.5rem; }
.ring--sm .ring__n { font-size: 1.35rem; }

.float { position: absolute; z-index: 2; background: var(--graphite-800); border: 1px solid var(--graphite-500); border-radius: 0.5rem; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.8); animation: bob 6s ease-in-out infinite; }
.float--photos { inset-inline-end: 1.5rem; bottom: -0.2rem; display: flex; gap: 0.35rem; padding: 0.45rem; animation-delay: -2s; }
.float--photos i { width: 2.6rem; height: 2.6rem; border-radius: 0.3rem; background: linear-gradient(160deg, #8fa3b3 0 45%, #6b5a46 45% 62%, #4b4034 62%); position: relative; overflow: hidden; }
.float--photos i:nth-child(2) { background: linear-gradient(160deg, #a7b6c2 0 40%, #7c6c58 40% 60%, #54483a 60%); }
.float--photos i:nth-child(3) { background: linear-gradient(160deg, #7c92a4 0 50%, #5e4f3d 50%); }
.float--photos i::after { content: ""; position: absolute; inset-inline: 0.3rem; bottom: 0.3rem; height: 0.7rem; background: repeating-linear-gradient(90deg, #d8cfc2 0 0.35rem, #bdb2a2 0.35rem 0.4rem); border-radius: 1px; }
.float--ok { inset-inline-end: -0.25rem; top: 0.25rem; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.8rem; font-size: 0.8125rem; font-weight: 600; color: var(--success); border-color: rgba(92, 197, 147, 0.55); animation-delay: -4s; }
.float--ok .icon { width: 1rem; height: 1rem; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Problème ---------- */
.pain { background: var(--survey); }
.pain__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.9rem, 2vw, 1.5rem); }
.pain__card { background: #fff; display: grid; align-content: start; gap: 1rem; padding: clamp(1.25rem, 2vw, 1.75rem); }
.pain__n { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--graphite-500); }
.pain__card h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.25; font-weight: 600; }
.pain__a { display: grid; gap: 0.4rem; padding: 1rem; margin-top: 0.25rem; border-inline-start: 3px solid var(--orange); background: rgba(236, 122, 44, 0.08); border-radius: 0 0.4rem 0.4rem 0; }
[dir="rtl"] .pain__a { border-radius: 0.4rem 0 0 0.4rem; }
.pain__tag { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-text); font-weight: 500; }
.pain__a p { color: var(--graphite-700); font-size: 0.9688rem; }

/* ---------- Valeur ---------- */
.value { background: #fff; }
.value__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.9rem, 2vw, 1.25rem); }
.vcard { background: var(--survey); display: grid; align-content: start; gap: 0.7rem; padding: clamp(1.25rem, 2vw, 1.6rem); --cut-bg: #fff; }
.vcard h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 600; }
.vcard p:not(.vcard__k) { color: var(--graphite-600); font-size: 0.9688rem; }
.vcard__k { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-text); font-weight: 500; }
.vcard__viz { height: 5.5rem; display: flex; align-items: flex-end; gap: 0.4rem; margin-bottom: 0.4rem; }
.viz--bars i { flex: 1; background: var(--graphite-300); border-radius: 2px 2px 0 0; transform: scaleY(0); transform-origin: bottom; transition: transform 0.7s var(--ease); }
.viz--bars i:nth-child(1) { height: 40%; } .viz--bars i:nth-child(2) { height: 62%; } .viz--bars i:nth-child(3) { height: 50%; } .viz--bars i:nth-child(4) { height: 78%; } .viz--bars i:nth-child(5) { height: 100%; background: var(--orange); }
.vcard.is-in .viz--bars i { transform: none; }
.viz--bars i:nth-child(2) { transition-delay: 0.1s; } .viz--bars i:nth-child(3) { transition-delay: 0.2s; } .viz--bars i:nth-child(4) { transition-delay: 0.3s; } .viz--bars i:nth-child(5) { transition-delay: 0.4s; }
.viz--proof { align-items: center; }
.viz--proof .ring__fg { animation: none; stroke-dashoffset: 327; transition: stroke-dashoffset 1.2s var(--ease) 0.2s; stroke: var(--success); }
.viz--proof .ring__bg { stroke: var(--graphite-200); }
.viz--proof .ring__n { color: var(--success); }
.vcard.is-in .viz--proof .ring__fg { stroke-dashoffset: 0; }
.viz--proof .icon { width: 1.6rem; height: 1.6rem; stroke-width: 2.4; }
.viz--docs { position: relative; align-items: center; }
.viz--docs i { position: absolute; width: 4rem; height: 4.8rem; inset-inline-start: 0.5rem; background: #fff; border: 1px solid var(--graphite-300); border-radius: 0.3rem; transition: transform 0.7s var(--ease); background-image: linear-gradient(var(--graphite-200) 2px, transparent 2px); background-size: 100% 0.7rem; background-position: 0 0.9rem; }
.viz--docs i:nth-child(3) { border-color: var(--orange); }
.vcard.is-in .viz--docs i:nth-child(1) { transform: translateX(0) rotate(-6deg); }
.vcard.is-in .viz--docs i:nth-child(2) { transform: translateX(1.7rem) rotate(0deg); }
.vcard.is-in .viz--docs i:nth-child(3) { transform: translateX(3.4rem) rotate(6deg); }
[dir="rtl"] .vcard.is-in .viz--docs i:nth-child(2) { transform: translateX(-1.7rem); }
[dir="rtl"] .vcard.is-in .viz--docs i:nth-child(3) { transform: translateX(-3.4rem) rotate(-6deg); }
[dir="rtl"] .vcard.is-in .viz--docs i:nth-child(1) { transform: rotate(6deg); }
.viz--sites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; align-items: stretch; }
.viz--sites i { background: var(--graphite-200); border-radius: 0.3rem; position: relative; transition: background-color 0.4s; }
.vcard.is-in .viz--sites i { background: var(--success); }
.vcard.is-in .viz--sites i:nth-child(5) { background: var(--warning); }
.viz--sites i:nth-child(1) { transition-delay: 0.1s; } .viz--sites i:nth-child(2) { transition-delay: 0.25s; } .viz--sites i:nth-child(3) { transition-delay: 0.4s; } .viz--sites i:nth-child(4) { transition-delay: 0.55s; } .viz--sites i:nth-child(5) { transition-delay: 0.7s; } .viz--sites i:nth-child(6) { transition-delay: 0.85s; }

/* ---------- Rôles ---------- */
.roles { background: var(--survey); }
.roles__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.roles__tab { min-height: 2.75rem; padding: 0.5rem 1.1rem; border: 1px solid var(--graphite-300); border-radius: 999px; background: #fff; font-weight: 600; font-size: 0.9375rem; color: var(--graphite-700); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.roles__tab:hover { border-color: var(--graphite-600); }
.roles__tab[aria-selected="true"] { background: var(--graphite-900); border-color: var(--graphite-900); color: var(--survey); }
.roles__panel { background: #fff; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); padding: clamp(1.5rem, 3vw, 2.5rem); animation: panelIn 0.45s var(--ease); }
.roles__panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.roles__ico { width: clamp(4rem, 8vw, 6rem); height: clamp(4rem, 8vw, 6rem); display: grid; place-items: center; background: var(--graphite-900); color: var(--orange); border-radius: 0.75rem; }
.roles__ico .icon { width: 55%; height: 55%; stroke-width: 1.5; }
.roles__body { display: grid; gap: 1rem; align-content: start; }
.roles__body h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.2; font-weight: 600; max-width: 30ch; }
.roles__list { display: grid; gap: 0.6rem; }
.roles__list li { position: relative; padding-inline-start: 1.6rem; color: var(--graphite-700); }
.roles__list li::before { content: ""; position: absolute; inset-inline-start: 0.15rem; top: 0.55em; width: 0.5rem; height: 0.5rem; background: var(--orange); transform: rotate(45deg); }
.roles__res { display: grid; gap: 0.2rem; padding: 0.9rem 1rem; background: rgba(92, 197, 147, 0.14); border-inline-start: 3px solid var(--success); }
.roles__res span { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: #2d7a55; font-weight: 500; }
.roles__res b { font-weight: 600; }

/* ---------- Calculateur ---------- */
.roi__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.roi__copy { display: grid; gap: 1rem; }
.roi__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--graphite-900); --cut-bg: var(--graphite-950); }
.roi__fields { display: grid; gap: 1.4rem; padding: clamp(1.25rem, 2.5vw, 2rem); border-inline-end: 1px solid var(--graphite-700); align-content: start; }
.roi__f { display: grid; gap: 0.5rem; }
.roi__f label { font-size: 0.875rem; font-weight: 500; color: var(--graphite-300); }
.roi__in { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem; gap: 0.75rem; align-items: center; }
.roi__in output { text-align: end; font-weight: 600; font-size: 1.0625rem; direction: ltr; }
.roi__in input[type="range"] { width: 100%; accent-color: var(--orange); height: 2rem; direction: ltr; }
.roi__out { display: grid; gap: 0.5rem; padding: clamp(1.25rem, 2.5vw, 2rem); align-content: start; }
.roi__lab { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--graphite-400); margin-top: 0.4rem; }
.roi__loss { font-size: 1.5rem; font-weight: 600; color: var(--graphite-300); }
.roi__meter { height: 0.6rem; border-radius: 99px; background: rgba(242, 164, 157, 0.35); overflow: hidden; margin-block: 0.4rem; }
.roi__meter i { display: block; height: 100%; width: 30%; background: var(--success); border-radius: 99px; transition: width 0.5s var(--ease); }
.roi__big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; }
.roi__big .mono { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--survey); }
.roi__big small { font-size: 1.125rem; color: var(--orange); font-weight: 600; }
.roi__detail { font-size: 0.75rem; color: var(--graphite-400); line-height: 1.5; direction: inherit; text-align: start; }
.roi__note { font-size: 0.8125rem; color: var(--graphite-300); margin-block: 0.4rem 0.75rem; }
.roi__out .btn { justify-self: start; }

/* ---------- Démarrage ---------- */
.start { background: #fff; }
.start__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); position: relative; counter-reset: s; }
.start__steps::before { content: ""; position: absolute; inset-inline: 2rem 34%; top: 1.6rem; height: 2px; background: repeating-linear-gradient(90deg, var(--graphite-300) 0 8px, transparent 8px 14px); }
.start__step { position: relative; display: grid; gap: 0.6rem; align-content: start; }
.start__n { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; background: var(--graphite-900); color: var(--orange); font-size: 1.25rem; font-weight: 600; clip-path: polygon(0 0, calc(100% - 0.8rem) 0, 100% 0.8rem, 100% 100%, 0 100%); }
[dir="rtl"] .start__n { clip-path: polygon(0.8rem 0, 100% 0, 100% 100%, 0 100%, 0 0.8rem); }
.start__step h3 { font-size: 1.3rem; font-weight: 600; margin-top: 0.5rem; }
.start__step p { color: var(--graphite-600); max-width: 34ch; }
.start__cta { margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------- Tarifs / FAQ / démo ---------- */
.pricing { background: var(--survey); padding-block: clamp(3rem, 7vw, 5.5rem); }
.pricing .plans { margin-top: 0; }
.faq-sec { background: #fff; }
.faq--light { margin-top: 0; }
.faq--light .faq__title { margin-bottom: 1rem; font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
.faq--light .faq__list { border-top-color: var(--graphite-200); max-width: 54rem; }
.faq--light details { border-bottom-color: var(--graphite-200); }
.faq--light summary { color: var(--graphite-900); }
.faq--light summary::after { border-color: var(--graphite-600); }
.faq--light details p { color: var(--graphite-600); }
.faq--light details[open] summary { color: var(--orange-text); }
.demo__copy { display: grid; gap: 1.1rem; align-content: start; }
.demo__pts { display: grid; gap: 0.6rem; margin-top: 0.5rem; }
.demo__pts li { display: flex; align-items: center; gap: 0.7rem; color: var(--graphite-300); }
.demo__pts .icon { color: var(--success); width: 1.1rem; height: 1.1rem; stroke-width: 2.2; }

/* ---------- CTA collant mobile ---------- */
.sticky-cta { display: none; }
@media (max-width: 47.99rem) {
  .sticky-cta { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: flex; gap: 0.5rem; padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(20, 25, 29, 0.96); border-top: 1px solid var(--graphite-700); transform: translateY(110%); transition: transform 0.3s var(--ease); }
  .sticky-cta .btn { flex: 1; min-height: 2.75rem; }
  .sticky-cta.is-on { transform: none; }
  .footer { padding-bottom: 5rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 70rem) {
  .value__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 62rem) {
  .hero__grid, .roi__grid { grid-template-columns: 1fr; }
  .hero__stage { max-width: 34rem; }
  .pain__grid, .start__steps { grid-template-columns: 1fr; }
  .start__steps::before { display: none; }
  .roi__card { grid-template-columns: 1fr; }
  .roi__fields { border-inline-end: 0; border-bottom: 1px solid var(--graphite-700); }
}
@media (max-width: 40rem) {
  .value__grid { grid-template-columns: 1fr; }
  .roles__panel { grid-template-columns: 1fr; }
  .dash__main { grid-template-columns: 1fr; justify-items: center; }
  .dash__side { width: 100%; }
  .float--photos { inset-inline-end: 0.5rem; }
  .float--ok { inset-inline-end: 0; }
}
