/* =========================================================
   HELCA — L'empreinte digitale · site one-page plein écran
   ========================================================= */
@font-face { font-family: "Jost"; font-weight: 300; font-display: swap; src: url(../fonts/jost-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url(../fonts/jost-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-display: swap; src: url(../fonts/jost-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-display: swap; src: url(../fonts/jost-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 700; font-display: swap; src: url(../fonts/jost-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 800; font-display: swap; src: url(../fonts/jost-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-display: swap; src: url(../fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-display: swap; src: url(../fonts/instrument-serif-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(../fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(../fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --ink: #07070d; --ink-2: #0f0f18; --ink-3: #171723;
  --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16);
  --text: #f3f1ec; --muted: #9a99a6; --dim: #5f5e6b;
  --red: #d30746; --red-2: #ff2d6b; --red-glow: rgba(211,7,70,.45);
  --wa: #25d366; --wa-2: #1fb457;
  --sans: "Jost", system-ui, sans-serif; --serif: "Instrument Serif", Georgia, serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad-x: clamp(20px, 5.2vw, 96px);
  --top-h: clamp(64px, 9vh, 92px);
  --hud-h: clamp(48px, 7vh, 72px);
  --ease: cubic-bezier(.7,0,.2,1);
  --u: min(1vw, 1.75vh); /* unité qui respecte la hauteur → pas de scroll */
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--ink); color: var(--text); }
body { font-family: var(--sans); font-weight: 400; font-size: clamp(14px, calc(var(--u) * 1.05), 17px); line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow: hidden; overscroll-behavior: none; touch-action: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { max-width: 100%; display: block; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; border-radius: 4px; }

/* ---------- ambiance ---------- */
.print { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.grain { position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .07; animation: grain 1s steps(6) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-4%)} 60%{transform:translate(-4%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.glow { position: fixed; z-index: 0; pointer-events: none; width: 70vmax; height: 70vmax; left: 50%; top: 50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(211,7,70,.20), rgba(211,7,70,0) 60%); transform: translate(-50%,-50%); filter: blur(10px); }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--ink); display: grid; place-items: center; }
.loader__mark { position: relative; width: clamp(140px, 22vmin, 220px); aspect-ratio: 1; }
.loader__mark img { position: absolute; inset: 0; width: 100%; }
.loader__l { transform: translateX(-40%); opacity: 0; } .loader__k { transform: translateX(40%); opacity: 0; }
.loader__count { position: absolute; bottom: 7vh; left: var(--pad-x); font: 500 clamp(40px, 9vmin, 110px)/1 var(--sans); letter-spacing: -.04em; color: var(--ink-3); }
.loader__count span { color: var(--text); }
.loader__tag { position: absolute; bottom: 8vh; right: var(--pad-x); font: italic 400 clamp(18px, 2.6vmin, 28px) var(--serif); color: var(--red-2); }
body:not(.is-loading) .loader { pointer-events: none; }

/* ---------- header ---------- */
.top { position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: var(--top-h); display: flex; align-items: center; gap: 2vw; padding: 0 var(--pad-x); }
.top__logo { display: flex; align-items: center; gap: 12px; }
.top__logo img { height: clamp(38px, 5.4vh, 52px); width: auto; }
.top__name { display: flex; flex-direction: column; line-height: 1.15; }
.top__name b { font-weight: 600; letter-spacing: .02em; font-size: .95em; }
.top__name small { color: var(--muted); font-size: .78em; }
.top__nav { margin-left: auto; display: flex; gap: clamp(10px, 2vw, 34px); }
.top__nav a { position: relative; font-size: .92em; color: var(--muted); transition: color .3s; padding: 6px 0; display: flex; align-items: baseline; gap: 6px; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--red-2); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.top__nav a:hover, .top__nav a.is-on { color: var(--text); }
.top__nav a.is-on::after, .top__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.top__cta { font-size: .85em; }
.top__burger { display: none; width: 44px; height: 44px; border-radius: 0; border: 1px solid var(--line-2); position: relative; margin-left: auto; }
.top__burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease); }
.top__burger i:first-child { top: 18px; } .top__burger i:last-child { top: 25px; }
.top__burger[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.top__burger[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 35; background: var(--ink-2); display: flex; flex-direction: column; justify-content: center; padding: var(--top-h) var(--pad-x) 40px;
  clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .8s var(--ease); }
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); }
.menu a { font: 600 clamp(34px, 9vw, 64px)/1.15 var(--sans); letter-spacing: -.03em; display: flex; align-items: baseline; gap: 12px; }
.menu a small { font: 400 13px var(--mono); color: var(--red-2); }
.menu__foot { margin-top: 30px; display: flex; flex-direction: column; gap: 6px; }
.menu__foot a { font: 400 15px var(--sans); color: var(--muted); }

/* ---------- dots ---------- */
.dots { position: fixed; z-index: 30; right: clamp(14px, 1.8vw, 30px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; }
.dots button { width: 10px; height: 10px; border-radius: 0; border: 1px solid var(--line-2); position: relative; transition: all .5s var(--ease); }
.dots button span { position: absolute; right: 22px; top: 50%; transform: translate(10px,-50%); white-space: nowrap; font-size: 12px; color: var(--muted); opacity: 0; transition: all .4s var(--ease); pointer-events: none; }
.dots button:hover span { opacity: 1; transform: translate(0,-50%); }
.dots button.is-on { background: var(--red); border-color: var(--red); height: 28px; border-radius: 0; box-shadow: 0 0 18px var(--red-glow); }

/* ---------- deck / slides ---------- */
.deck { position: fixed; inset: 0; z-index: 10; }
.slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; display: flex; }
.slide.is-active { visibility: visible; opacity: 1; z-index: 2; }
.slide__inner { position: relative; width: 100%; height: 100%; padding: calc(var(--top-h) + 1.5vh) calc(var(--pad-x) + 24px) calc(var(--hud-h) + 1.5vh) var(--pad-x); display: grid; align-items: center; }

/* ---------- typo ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 clamp(10px, 2vh, 22px); font: 500 clamp(11px, calc(var(--u)*.78), 13px) var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.kicker .num { color: var(--red-2); }
.kicker .num::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--red-2); vertical-align: middle; margin-left: 10px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: live 2s infinite; display: inline-block; flex: none; }
@keyframes live { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.6)} 70%{box-shadow:0 0 0 10px rgba(37,211,102,0)} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0)} }
.h2 { margin: 0; font: 600 calc(var(--u) * 4.4)/1.02 var(--sans); letter-spacing: -.035em; max-width: 16ch; }
.h2--sm { font-size: calc(var(--u) * 3.4); max-width: 20ch; }
.h2--xl { font-size: calc(var(--u) * 5.6); max-width: none; }
.h2 em, .hero__title em { color: var(--red-2); font-size: 1.08em; letter-spacing: -.01em; }
.line { display: block; }
.lead { color: var(--muted); font-size: calc(var(--u) * 1.22); max-width: 44ch; margin: clamp(12px, 2.4vh, 26px) 0 0; font-weight: 300; }
.split-line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- boutons ---------- */
.btn { --bg: transparent; position: relative; display: inline-flex; align-items: center; gap: 10px; padding: clamp(11px, 1.7vh, 16px) clamp(18px, 1.8vw, 28px); border-radius: 0; font-weight: 500; font-size: .98em; isolation: isolate; overflow: hidden; white-space: nowrap; transition: color .4s, border-color .4s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; transition: transform .45s var(--ease); }
.btn svg.wa-ico { fill: currentColor; stroke: none; width: 20px; height: 20px; }
.btn:hover svg:not(.wa-ico) { transform: translateX(4px); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 40px -10px var(--red-glow); }
.btn--primary::before { background: var(--text); } .btn--primary:hover { color: var(--ink); }
.btn--wa { background: var(--wa); color: #06210f; font-weight: 600; box-shadow: 0 10px 40px -12px rgba(37,211,102,.55); }
.btn--wa::before { background: #fff; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); gap: 10px; }
.btn--ghost::before { background: rgba(255,255,255,.08); }
.btn--sm { padding: 11px 20px; font-size: .9em; }
.btn--full { width: 100%; justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: clamp(14px, 2.6vh, 28px); font-weight: 500; color: var(--text); border-bottom: 1px solid var(--red-2); padding-bottom: 4px; }
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: var(--red-2); stroke-width: 2; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translate(3px,-3px); }

/* =================== 01 HERO =================== */
.hero { grid-template-columns: 1.15fr .85fr; gap: 3vw; padding-bottom: calc(var(--hud-h) + 7vh); }
.hero__title { margin: 0; font: 700 calc(var(--u) * 6.6)/.95 var(--sans); letter-spacing: -.045em; }
.hero__title .line--accent { font-size: 1.04em; }
.hero__intro { color: var(--muted); font-size: calc(var(--u) * 1.3); font-weight: 300; max-width: 46ch; margin: clamp(14px, 3vh, 32px) 0 clamp(18px, 3.6vh, 38px); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__visual { position: relative; height: min(74vh, 100%); align-self: center; display: grid; place-items: end center; }
.hero__frame { position: relative; height: 100%; aspect-ratio: .82; max-width: 100%; }
.hero__l, .hero__k { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero__l { opacity: .12; transform: translate(-6%, 2%) scale(1.04); }
.hero__k { opacity: .95; transform: translate(6%, -2%) scale(1.04); filter: drop-shadow(0 0 30px rgba(211,7,70,.35)); }
.hero__photo { position: absolute; left: 8%; right: 8%; bottom: 0; height: 86%; width: 84%; object-fit: cover; object-position: top center;
  -webkit-mask-image: radial-gradient(ellipse 62% 78% at 50% 34%, #000 58%, rgba(0,0,0,.55) 74%, transparent 92%); mask-image: radial-gradient(ellipse 62% 78% at 50% 34%, #000 58%, rgba(0,0,0,.55) 74%, transparent 92%); filter: contrast(1.04) saturate(.95); }
.badge-rot { position: absolute; left: -4%; bottom: 30%; width: clamp(96px, 13vmin, 150px); aspect-ratio: 1; display: grid; place-items: center; background: rgba(7,7,13,.6); backdrop-filter: blur(8px); border-radius: 50%; border: 1px solid var(--line); }
.badge-rot svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-rot text { fill: var(--text); font: 500 13.5px var(--mono); letter-spacing: 2.4px; }
.badge-rot img { width: 34%; }
@keyframes spin { to { transform: rotate(360deg); } }
.proof { position: absolute; right: -6%; bottom: 8%; width: clamp(190px, 18vw, 260px); padding: 18px 20px; border-color: rgba(255,45,107,.45); background: linear-gradient(150deg, rgba(211,7,70,.55), rgba(15,15,24,.8) 70%); border-radius: 16px; background: rgba(15,15,24,.72); backdrop-filter: blur(14px); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.proof b { display: block; font: 700 clamp(40px, calc(var(--u)*4.6), 64px)/1 var(--sans); color: #fff; letter-spacing: -.03em; }
.proof span { display: block; margin-top: 6px; font-size: .95em; color: #ffd6e1; line-height: 1.35; }
.hero__sign { position: absolute; left: 0; bottom: 4%; display: flex; flex-direction: column; padding: 10px 14px; border-left: 2px solid var(--red); background: linear-gradient(90deg, rgba(7,7,13,.85), rgba(7,7,13,0)); }
.hero__sign b { font-weight: 600; } .hero__sign span { font-size: .8em; color: var(--muted); }
.marquee { position: absolute; left: 0; right: 0; bottom: calc(var(--hud-h) + .5vh); overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(8px, 1.4vh, 14px) 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font: 500 clamp(13px, calc(var(--u)*1.1), 17px) var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); align-items: center; }
.marquee__track i { color: var(--red-2); font-style: normal; font-size: .8em; }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* =================== 02 RÉSULTATS =================== */
.results { grid-template-columns: .8fr 1.2fr; gap: 4vw; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.stat { position: relative; padding: clamp(14px, 2.6vh, 28px) clamp(14px, 1.4vw, 24px); border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid var(--line); overflow: hidden; transform-style: preserve-3d; transition: border-color .4s; }
.stat:hover { border-color: var(--line-2); }
.stat--hot { background: linear-gradient(160deg, rgba(211,7,70,.28), rgba(211,7,70,.06)); border-color: rgba(255,45,107,.35); }
.stat--hot::after { content: ""; position: absolute; width: 160px; height: 160px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(255,45,107,.45), transparent 65%); }
.stat__value { font: 700 calc(var(--u) * 4.8)/1 var(--sans); letter-spacing: -.045em; white-space: nowrap; }
.stat--hot .stat__value { color: #fff; }
.stat__value b { font-weight: inherit; font-variant-numeric: tabular-nums; }
.stat__label { margin: clamp(6px, 1.2vh, 12px) 0 0; font-size: calc(var(--u) * 1.08); line-height: 1.3; }
.stat__ctx { margin: 6px 0 0; font: 400 clamp(10px, calc(var(--u)*.78), 12px) var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.stat--hot .stat__ctx { color: #ffb3c9; }
.stat__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--red-2); transform: scaleX(0); transform-origin: left; }

/* ---------- références clients ---------- */
.slide--results .slide__inner { padding-bottom: calc(var(--hud-h) + clamp(72px, 11vh, 104px)); }
.clients { position: absolute; left: var(--pad-x); right: calc(var(--pad-x) + 24px); bottom: calc(var(--hud-h) + 1vh); display: flex; align-items: center; gap: 22px; }
.clients__t { flex: none; font: 500 clamp(10px, calc(var(--u)*.75), 12px) var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); max-width: 120px; line-height: 1.4; }
.clients__view { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.clients__track { display: flex; gap: 12px; width: max-content; animation: marquee-half 45s linear infinite; }
.clients__view:hover .clients__track { animation-play-state: paused; }
.client { flex: none; box-sizing: border-box; height: clamp(52px, 8vh, 78px); padding: clamp(6px, 1vh, 10px) 16px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.client img { display: block; height: 100%; max-height: 100%; width: auto; max-width: 170px; object-fit: contain; }
.client:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -10px var(--red-glow); }
@keyframes marquee-half { to { transform: translateX(calc(-50% - 6px)); } }

/* =================== 03 EXPERTISES =================== */
.services { grid-template-rows: auto 1fr; align-content: center; gap: clamp(16px, 4vh, 44px); }
.services .h2 { max-width: 24ch; }
.svc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4vw; align-items: stretch; }
.svc__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc__list li { display: grid; grid-template-columns: 54px 1fr 24px; align-items: center; gap: 10px; padding: clamp(10px, 2vh, 20px) 0; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; transition: padding .5s var(--ease), color .4s; color: var(--muted); }
.svc__list li::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--red-2); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.svc__n { font: 400 .8em var(--mono); color: var(--dim); }
.svc__t { font: 500 calc(var(--u) * 2.2)/1.1 var(--sans); letter-spacing: -.02em; }
.svc__list svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; opacity: 0; transform: translate(-8px, 8px); transition: all .5s var(--ease); }
.svc__list li.is-on, .svc__list li:hover { color: var(--text); padding-left: 12px; }
.svc__list li.is-on::before { transform: scaleX(1); }
.svc__list li.is-on .svc__n { color: var(--red-2); }
.svc__list li.is-on svg { opacity: 1; transform: none; color: var(--red-2); }
.svc__panel { position: relative; border-radius: 24px; padding: clamp(20px, 3.6vh, 40px) clamp(20px, 2.4vw, 40px); background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01)); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
.svc__panel::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -20%; top: -30%; background: radial-gradient(circle, rgba(211,7,70,.35), transparent 60%); }
.svc__item { position: absolute; inset: clamp(20px, 3.6vh, 40px) clamp(20px, 2.4vw, 40px) 90px; opacity: 0; visibility: hidden; }
.svc__item.is-on { position: relative; inset: auto; opacity: 1; visibility: visible; flex: 1; }
.svc__big { font: 800 calc(var(--u) * 9)/0.8 var(--sans); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); letter-spacing: -.05em; display: block; }
.svc__item h3 { margin: clamp(10px, 2vh, 20px) 0 10px; font: 600 calc(var(--u) * 2.4)/1.1 var(--sans); letter-spacing: -.02em; }
.svc__item p { color: var(--muted); font-weight: 300; font-size: calc(var(--u) * 1.18); margin: 0; max-width: 40ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(12px, 2.4vh, 24px); }
.tags span { font: 400 clamp(11px, calc(var(--u)*.8), 13px) var(--mono); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); }
.svc__panel .btn { align-self: flex-start; margin-top: clamp(14px, 2.6vh, 26px); position: relative; }

/* =================== 04 RÉALISATIONS =================== */
.cases { grid-template-rows: auto minmax(0, 1fr) auto; align-content: stretch; align-items: stretch; gap: clamp(12px, 2.4vh, 26px); }
.cases__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 3vw; }
.cases__top .kicker { margin-bottom: 8px; }
.cases__tabs { display: flex; gap: 6px; padding: 5px; border-radius: 0; border: 1px solid var(--line); background: rgba(255,255,255,.03); flex: none; }
.cases__tabs button { padding: 10px 14px; border-radius: 0; font-size: .88em; color: var(--muted); display: flex; gap: 8px; align-items: baseline; transition: all .45s var(--ease); white-space: nowrap; }
.cases__tabs button small { font: 400 .78em var(--mono); color: var(--dim); }
.cases__tabs button.is-on { background: var(--text); color: var(--ink); }
.cases__tabs button.is-on small { color: var(--red); }
.cases__stage { position: relative; min-height: 0; }
.case { position: absolute; inset: 0; display: grid; grid-template-columns: 1.25fr .75fr; gap: 3.4vw; align-items: center; opacity: 0; visibility: hidden; }
.case.is-on { opacity: 1; visibility: visible; }
.case__visual { position: relative; height: 100%; min-height: 0; display: flex; align-items: center; }
.browser { position: relative; width: 88%; height: 94%; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.04); display: flex; flex-direction: column; transform-style: preserve-3d; }
.browser__bar { flex: none; height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #1b1b26; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a48; }
.browser__bar i:nth-child(1) { background: #ff5f57; } .browser__bar i:nth-child(2) { background: #febc2e; } .browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span { margin-left: 10px; flex: 1; max-width: 70%; font: 400 11px var(--mono); color: #a7a6b3; background: #262633; border-radius: 6px; padding: 4px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__view { position: relative; flex: 1; overflow: hidden; background: #fff; }
.browser__view img { width: 100%; position: absolute; top: 0; left: 0; will-change: transform; }
.browser__view--still img { position: static; }
.browser--float { position: absolute; right: 0; bottom: 2%; width: 46%; height: 52%; box-shadow: 0 40px 80px -20px rgba(0,0,0,.9); border-color: rgba(255,255,255,.25); }
.case__info { align-self: center; }
.case__client { margin: 0; font: 500 clamp(11px, calc(var(--u)*.8), 13px) var(--mono); letter-spacing: .14em; color: var(--red-2); }
.case__info h3 { margin: 10px 0 6px; font: 600 calc(var(--u) * 3)/1.05 var(--sans); letter-spacing: -.03em; }
.case__type { margin: 0; color: var(--text); opacity: .7; font-size: .92em; }
.case__sum { color: var(--muted); font-weight: 300; margin: clamp(10px, 2vh, 18px) 0; font-size: calc(var(--u) * 1.08); }
.case__kpis { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.case__kpis li { padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: .95em; display: flex; align-items: center; gap: 10px; }
.case__kpis li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red-2); flex: none; }
.case__kpis li.is-main { background: linear-gradient(90deg, rgba(211,7,70,.4), rgba(211,7,70,.08)); border-color: rgba(255,45,107,.4); font-weight: 600; font-size: 1.05em; }
.others { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.others__t { font: 500 clamp(10px, calc(var(--u)*.75), 12px) var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-right: 8px; }
.others a { display: inline-flex; align-items: center; gap: 6px; font-size: .86em; padding: 7px 13px; border-radius: 0; border: 1px solid var(--line-2); transition: all .4s var(--ease); }
.others a svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.others a:hover { background: var(--text); color: var(--ink); }

/* =================== 05 MÉTHODE =================== */
.method { align-content: center; gap: clamp(20px, 5vh, 56px); grid-template-rows: auto auto auto; }
.method .h2 { max-width: 22ch; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2vw; padding-top: 34px; }
.timeline__line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 40px; overflow: visible; }
.timeline__line path { fill: none; stroke: var(--red-2); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.step { position: relative; padding-top: 30px; }
.step__dot { position: absolute; top: -22px; left: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 1px solid var(--red-2); font: 500 13px var(--mono); color: var(--red-2); box-shadow: 0 0 0 6px var(--ink); }
.step__time { font: 400 clamp(10px, calc(var(--u)*.78), 12px) var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.step h3 { margin: 8px 0 8px; font: 600 calc(var(--u) * 2.2)/1.1 var(--sans); letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); font-weight: 300; font-size: calc(var(--u) * 1.08); max-width: 28ch; }
.method__cta { display: flex; align-items: center; justify-content: space-between; gap: 3vw; padding: clamp(16px, 3vh, 30px) clamp(18px, 2.4vw, 38px); border-radius: 22px; border: 1px solid rgba(255,45,107,.35); background: linear-gradient(100deg, rgba(211,7,70,.22), rgba(211,7,70,.02)); }
.method__cta p { margin: 0; font: 500 calc(var(--u) * 2.1)/1.15 var(--sans); letter-spacing: -.02em; }
.method__cta em { color: var(--red-2); }

/* =================== 06 CONTACT =================== */
.contact { grid-template-columns: 1fr 1fr; gap: 4.5vw; }
.contact .h2 .line--accent { margin-top: .05em; }
.direct { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(16px, 3.4vh, 36px); }
.direct a { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 0; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); transition: border-color .4s, background .4s; }
.direct a:hover { border-color: var(--text); }
.direct svg { width: 42px; height: 42px; padding: 10px; border-radius: 0; flex: none; }
.direct__wa svg { background: var(--wa); color: #06210f; }
.direct__tel svg { background: var(--red); fill: none; stroke: #fff; stroke-width: 1.8; }
.direct span { display: flex; flex-direction: column; font-weight: 600; line-height: 1.2; }
.direct small { font: 400 11px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 3px; }
.contact__meta { margin-top: clamp(14px, 2.6vh, 26px); color: var(--muted); font-size: .88em; }
.contact__meta a { border-bottom: 1px solid var(--line-2); }

.form { position: relative; padding: clamp(18px, 3.2vh, 34px) clamp(18px, 2.2vw, 34px); border-radius: 26px; background: rgba(15,15,24,.72); backdrop-filter: blur(16px); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -40px rgba(0,0,0,.9); display: grid; gap: clamp(8px, 1.4vh, 14px); overflow: hidden; }
.form::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(255,45,107,.7), transparent 40%, transparent 70%, rgba(37,211,102,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hp { position: absolute; left: -9999px; }
.field { position: relative; display: block; }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: 12px; padding: clamp(18px, 2.4vh, 22px) 14px clamp(6px, .9vh, 8px); outline: none; transition: border-color .3s, background .3s; resize: none; }
.field select { padding: clamp(12px, 1.8vh, 15px) 14px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a99a6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.field select option { background: var(--ink-2); }
.field span { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; transition: all .3s var(--ease); font-size: .95em; }
.field--area span { top: 22px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red-2); background: rgba(255,255,255,.07); }
.field input:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { top: 13px; font-size: .7em; color: var(--red-2); letter-spacing: .04em; }
.field--area textarea:focus + span, .field--area textarea:not(:placeholder-shown) + span { top: 11px; }
.field--tel b { position: absolute; left: 14px; bottom: clamp(7px, 1vh, 9px); font-weight: 500; color: var(--muted); font-size: .95em; }
.field--tel input { padding-left: 56px; }
.field--tel span { left: 56px; }
.field.is-error input { border-color: #ff4d6d; animation: shake .4s; }
@keyframes shake { 25%{transform:translateX(-4px)} 75%{transform:translateX(4px)} }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.chips legend { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 8px; padding: 0; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 0; border: 1px solid var(--line-2); font-size: .86em; transition: all .35s var(--ease); }
.chips span::before { content: "+"; color: var(--red-2); font-weight: 600; transition: transform .35s var(--ease); }
.chips input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chips input:checked + span::before { content: "✓"; color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--red-2); outline-offset: 2px; }
.chips.is-error span { border-color: #ff4d6d; }
.form__msg { margin: 0; font-size: .85em; color: #ff8aa4; min-height: 0; }
.form__msg:empty { display: none; }
.form__done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 30px; background: var(--ink-2); opacity: 0; visibility: hidden; }
.form__done svg { width: 72px; height: 72px; fill: none; stroke: var(--wa); stroke-width: 2.5; stroke-linecap: round; }
.form__done circle { stroke-dasharray: 160; stroke-dashoffset: 160; } .form__done path { stroke-dasharray: 50; stroke-dashoffset: 50; }
.form__done p { margin: 0; font-size: 1.1em; max-width: 30ch; }
.form.is-done .form__done { opacity: 1; visibility: visible; transition: opacity .5s; }
.form.is-done .form__done circle { stroke-dashoffset: 0; transition: stroke-dashoffset .8s var(--ease) .1s; }
.form.is-done .form__done path { stroke-dashoffset: 0; transition: stroke-dashoffset .5s var(--ease) .7s; }
.form.is-sending button[type=submit] { opacity: .6; pointer-events: none; }

/* ---------- transition « empreinte » ---------- */
.wipe { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.wipe__a, .wipe__b { position: absolute; top: -30vh; bottom: -30vh; left: -20vw; width: 140vw; transform: translateX(110%) skewX(-14deg); }
.wipe__a { background: var(--red); }
.wipe__b { background: var(--ink-2); display: grid; place-items: center; overflow: hidden; }
.wipe__label { transform: skewX(14deg); font: 700 clamp(60px, 13vw, 220px)/1 var(--sans); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); white-space: nowrap; }

/* ---------- HUD ---------- */
.hud { position: fixed; z-index: 30; left: var(--pad-x); right: calc(var(--pad-x) + 90px); bottom: 0; height: var(--hud-h); display: flex; align-items: center; gap: 22px; font: 400 12px var(--mono); color: var(--muted); }
.hud__count b { color: var(--text); font-weight: 500; font-size: 15px; }
.hud__bar { flex: 0 1 220px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.hud__bar i { position: absolute; inset: 0; background: var(--red-2); transform-origin: left; transform: scaleX(.1667); transition: transform .9s var(--ease); }
.hud__label { text-transform: uppercase; letter-spacing: .14em; }
.hud__next { margin-left: auto; display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font: 400 12px var(--mono); }
.hud__next svg { width: 34px; height: 34px; padding: 8px; border-radius: 0; border: 1px solid var(--line-2); fill: none; stroke: var(--text); stroke-width: 1.6; animation: bob 2s var(--ease) infinite; }
.hud__next:hover { color: var(--text); }
body.is-last .hud__next svg { transform: rotate(180deg); animation: none; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ---------- WhatsApp flottant ---------- */
.wa-float { position: fixed; z-index: 45; right: clamp(16px, 2vw, 30px); bottom: clamp(16px, 2.4vh, 28px); width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 40px -8px rgba(37,211,102,.6); transition: transform .4s var(--ease); }
.wa-float svg { width: 34px; height: 34px; position: relative; z-index: 1; }
.wa-float__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite; }
.wa-float__ring + .wa-float__ring { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }
.wa-float__tip { position: absolute; right: 74px; white-space: nowrap; padding: 9px 14px; border-radius: 10px; background: #fff; color: #0b1a10; font-size: 13.5px; font-weight: 500; opacity: 0; transform: translateX(10px); transition: all .4s var(--ease); pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.wa-float__tip::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; background: #fff; transform: translateY(-50%) rotate(45deg); }
.wa-float:hover { transform: scale(1.08); } .wa-float:hover .wa-float__tip, .wa-float.show-tip .wa-float__tip { opacity: 1; transform: none; }

/* ---------- curseur ---------- */
.cursor { position: fixed; z-index: 99; inset: 0; pointer-events: none; }
.cursor i { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--red-2); }
.cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s; }
.cursor__ring span { font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink); opacity: 0; transition: opacity .3s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255,45,107,.12); border-color: var(--red-2); }
.cursor.is-view .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--text); border-color: var(--text); }
.cursor.is-view .cursor__ring span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body, a, button, label, [data-svc] { cursor: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .top__nav { display: none; }
  .top__cta { margin-left: auto; }
  .hero__title { font-size: calc(var(--u) * 7); }
}
@media (max-width: 860px), (max-aspect-ratio: 4/5) {
  :root { --u: min(2.3vw, 1.3vh); --top-h: 68px; --hud-h: 56px; }
  body { font-size: 15px; }
  .top__cta, .top__name small, .dots { display: none; }
  .top__burger { display: block; }
  .slide__inner { display: flex; flex-direction: column; gap: 24px; align-items: stretch; padding: calc(var(--top-h) + 6px) 20px calc(var(--hud-h) + 24px); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; -webkit-overflow-scrolling: touch; align-content: start; scrollbar-width: none; }
  .slide__inner::-webkit-scrollbar { display: none; }
  .slide__inner > *, .cases__top > *, .case > * { min-width: 0; flex-shrink: 0; }
  .marquee, .hud__next span { display: none; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .hero { padding-bottom: calc(var(--hud-h) + 24px); gap: 14px; }
  .hero__title { font-size: clamp(40px, 12vw, 64px); }
  .hero__intro { font-size: 15.5px; margin: 14px 0 18px; }
  .hero__visual { order: -1; height: 36vh; min-height: 230px; flex: none; }
  .proof { right: 0; bottom: -4%; width: 150px; padding: 10px 12px; } .proof b { font-size: 34px; } .proof span { font-size: .75em; }
  .badge-rot { width: 82px; left: 0; top: 4%; }
  .hero__sign { display: none; }
  .marquee { bottom: calc(var(--hud-h) + 2px); }
  .results, .contact, .svc, .case { grid-template-columns: 1fr; }
  .results { gap: 22px; }
  .h2 { font-size: clamp(30px, 8.6vw, 46px); }
  .h2--xl { font-size: clamp(36px, 10vw, 56px); }
  .lead, .svc__item p, .case__sum, .step p { font-size: 15px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .slide--results .slide__inner { padding-bottom: calc(var(--hud-h) + 24px); }
  .clients { position: static; flex-direction: column; align-items: stretch; gap: 10px; }
  .clients__t { max-width: none; }
  .stat__value { font-size: clamp(32px, 10vw, 48px); } .stat__label { font-size: 14px; }
  .svc__t { font-size: 19px; } .svc__item h3 { font-size: 22px; } .svc__big { font-size: 64px; }
  .svc__panel { min-height: 300px; }
  .cases { gap: 18px; }
  .cases__top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cases__tabs { overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .cases__stage { min-height: 0; }
  .case { position: relative; inset: auto; display: none; gap: 18px; }
  .case.is-on { display: grid; }
  .case__visual { height: 46vh; flex: none; } .browser { width: 100%; } .browser--float { width: 58%; height: 46%; right: -4px; bottom: -14px; }
  .case { display: none; } .case.is-on { display: flex; flex-direction: column; }
  .svc__item { inset: 22px 20px 90px; } .case__info h3 { font-size: 26px; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline__line { display: none; }
  .step h3 { font-size: 20px; }
  .method__cta { flex-direction: column; align-items: flex-start; } .method__cta p { font-size: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .hud { left: 0; right: 0; padding: 0 90px 0 20px; gap: 12px; background: linear-gradient(to bottom, rgba(7,7,13,0), rgba(7,7,13,.92) 55%); }
  .top { background: linear-gradient(to top, rgba(7,7,13,0), rgba(7,7,13,.92) 45%); } .hud__bar, .hud__label { display: none; }
  .wa-float { width: 56px; height: 56px; } .wa-float svg { width: 30px; height: 30px; }
}
@media (max-height: 640px) and (min-width: 861px) { .marquee { display: none; } .hero { padding-bottom: calc(var(--hud-h) + 2vh); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- sans JavaScript : sections empilées ---------- */
.no-js body { overflow: auto; touch-action: auto; }
.no-js .loader, .no-js .wipe, .no-js .hud, .no-js .dots, .no-js .cursor { display: none; }
.no-js .deck { position: static; } .no-js .slide { position: relative; visibility: visible; opacity: 1; min-height: 100vh; }

/* ---------- Boutons à angles droits ---------- */
.btn, .top__burger, .cases__tabs, .cases__tabs button, .others a, .direct a, .direct svg, .chips span,
.hud__next svg, .menu a, .form .field input, .form .field select, .form .field textarea { border-radius: 0 !important; }
