/* ==========================================================================
   Dz1 — site vitrine 2026
   Design : dark futuriste néon · glassmorphism · animations légères
   Zéro framework · zéro CDN · polices auto-hébergées
   ========================================================================== */

/* ----------------------------- Fontes ------------------------------------ */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/tajawal-400-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897,
    U+08A0-08FF, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB,
    U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EEFF;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/tajawal-500-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897,
    U+08A0-08FF, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB,
    U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EEFF;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/tajawal-700-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897,
    U+08A0-08FF, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB,
    U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EEFF;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/tajawal-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/tajawal-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/tajawal-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ----------------------------- Tokens ------------------------------------ */
:root {
  --bg: #05060a;
  --bg-soft: #0a0c14;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.09);
  --stroke-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f8;
  --muted: #98a2b8;
  --lime: #c8ff4d;
  --cyan: #2ee6d6;
  --violet: #8b5cff;
  --pink: #ff5cae;
  --grad: linear-gradient(120deg, var(--lime) 0%, var(--cyan) 38%, var(--violet) 72%, var(--pink) 100%);
  --grad-soft: linear-gradient(135deg, rgba(200, 255, 77, 0.16), rgba(46, 230, 214, 0.1) 40%, rgba(139, 92, 255, 0.16) 70%, rgba(255, 92, 174, 0.14));
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --nav-h: 74px;
}

/* ----------------------------- Reset ------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: rgba(200, 255, 77, 0.28); color: #fff; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

html[dir="rtl"] body,
html[lang="ar"] body { font-family: "Tajawal", var(--font-body); }
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .display { font-family: "Tajawal", var(--font-display); }

/* ----------------------------- Layout ------------------------------------ */
.container { width: min(1180px, 100% - 44px); margin-inline: auto; }
[id] { scroll-margin-top: 92px; }
.section { padding-block: clamp(72px, 10vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; inset-block-start: -100px; inset-inline-start: 16px; z-index: 200;
  background: var(--lime); color: #0a0d05; padding: 10px 16px; border-radius: 10px;
  font-weight: 700; transition: inset-block-start 0.2s var(--ease);
}
.skip-link:focus { inset-block-start: 16px; }

/* ----------------------------- Décor global ------------------------------ */
.bg-decor {
  position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
}
.bg-decor .grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 35%, transparent 78%);
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(64px); opacity: 0.4;
  will-change: transform;
}
.orb--1 {
  width: 620px; height: 620px; inset-block-start: -240px; inset-inline-start: -180px;
  background: radial-gradient(circle, rgba(139, 92, 255, 0.75), transparent 68%);
  animation: orbFloat1 22s ease-in-out infinite alternate;
}
.orb--2 {
  width: 540px; height: 540px; inset-block-start: 12%; inset-inline-end: -200px;
  background: radial-gradient(circle, rgba(46, 230, 214, 0.55), transparent 68%);
  animation: orbFloat2 26s ease-in-out infinite alternate;
}
.orb--3 {
  width: 480px; height: 480px; inset-block-end: -180px; inset-inline-start: 34%;
  background: radial-gradient(circle, rgba(255, 92, 174, 0.4), transparent 68%);
  animation: orbFloat3 30s ease-in-out infinite alternate;
}
.noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.spotlight {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 20%), rgba(139, 92, 255, 0.09), transparent 65%);
  transition: background 0.3s linear;
}

/* ----------------------------- Typographie ------------------------------- */
.display, h1, h2, h3 {
  font-family: var(--font-display); font-weight: 700; line-height: 1.04;
  letter-spacing: -0.03em; text-wrap: pretty;
}
/* `balance` est coûteux en mise en page : réservé aux grands titres. */
h1, h2, .display { text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 8.2vw, 4.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.1; }
h3 { font-size: 1.22rem; line-height: 1.3; letter-spacing: -0.015em; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.14rem); max-width: 60ch; }
.grad-text {
  background: var(--grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 7s ease-in-out infinite alternate;
  padding-inline-end: 0.06em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 0 4px rgba(200, 255, 77, 0.12);
  animation: pulse 2.4s ease-in-out infinite;
}
.section-head { max-width: 760px; margin-block-end: clamp(36px, 5vw, 56px); }
.section-head .eyebrow { margin-block-end: 16px; }
.section-head h2 { margin-block-end: 16px; }
.section-head .lead { margin: 0; }

/* ----------------------------- Navigation -------------------------------- */
.progress {
  position: fixed; inset-block-start: 0; inset-inline-start: 0; z-index: 120;
  height: 2px; width: 0; background: var(--grad);
  box-shadow: 0 0 12px rgba(46, 230, 214, 0.7);
  transition: width 0.08s linear;
}
.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 110;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), height 0.35s var(--ease);
  border-block-end: 1px solid transparent;
}
.nav.is-scrolled {
  height: 64px;
  background: rgba(5, 6, 10, 0.72);
  border-block-end-color: var(--stroke);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -0.03em; }
.brand__mark {
  position: relative; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(140deg, rgba(200, 255, 77, 0.16), rgba(139, 92, 255, 0.22));
  border: 1px solid var(--stroke-strong);
  box-shadow: inset 0 0 18px rgba(46, 230, 214, 0.15), 0 6px 22px rgba(0, 0, 0, 0.4);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__mark::after {
  content: ""; position: absolute; inset: -60%; z-index: -1;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(200, 255, 77, 0.7), transparent);
  animation: spin 6s linear infinite;
}
.brand sup { font-size: 0.62rem; color: var(--lime); font-family: var(--font-body); font-weight: 700; letter-spacing: 0.06em; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 0.92rem; font-weight: 500; color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover, .nav__links a:focus-visible { color: var(--text); background: rgba(255, 255, 255, 0.055); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; align-items: center; padding: 4px; gap: 2px;
  border: 1px solid var(--stroke); border-radius: 999px; background: rgba(255, 255, 255, 0.03);
}
.lang a {
  padding: 4px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  color: var(--muted); letter-spacing: 0.04em; transition: color 0.2s, background 0.2s;
}
.lang a.is-active { color: #0a0d05; background: var(--lime); }
.lang a:not(.is-active):hover { color: var(--text); }

.burger {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.04);
  place-items: center;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform 0.3s var(--ease), opacity 0.2s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; inset-inline-start: 0; width: 18px; height: 2px;
  background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), inset-block 0.3s var(--ease);
}
.burger span::before { inset-block-start: -6px; }
.burger span::after { inset-block-start: 6px; }
.nav.is-open .burger span { transform: rotate(45deg); }
.nav.is-open .burger span::before { inset-block-start: 0; transform: rotate(90deg); }
.nav.is-open .burger span::after { inset-block-start: 0; opacity: 0; }

/* ----------------------------- Boutons ----------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 0.94rem; letter-spacing: -0.01em;
  border: 1px solid transparent; overflow: hidden; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn--primary {
  background: linear-gradient(120deg, var(--lime), #9df0a3 42%, var(--cyan));
  color: #07100a;
  box-shadow: 0 10px 34px -10px rgba(200, 255, 77, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(46, 230, 214, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.04); border-color: var(--stroke-strong); color: var(--text);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.26); transform: translateY(-2px); }
.btn--wa { background: #1fbe5c; color: #fff; box-shadow: 0 10px 30px -10px rgba(31, 190, 92, 0.6); }
.btn--wa:hover { transform: translateY(-2px); background: #25d366; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform 0.65s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn > * { position: relative; z-index: 1; }
.btn--sm { min-height: 40px; padding: 8px 17px; font-size: 0.84rem; }

/* ----------------------------- Hero -------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-block: calc(var(--nav-h) + 46px) 64px;
}
.hero__grid {
  display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 600;
  color: var(--muted); border: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.035);
}
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.chip:nth-child(2) i { background: var(--violet); box-shadow: 0 0 8px var(--violet); }
.chip:nth-child(3) i { background: var(--pink); box-shadow: 0 0 8px var(--pink); }
.hero h1 { margin-block-end: 22px; }
.hero h1 .line { display: block; }
.rotator { display: inline-block; position: relative; min-width: 5ch; }
.rotator__word {
  display: inline-block;
  background: var(--grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 7s ease-in-out infinite alternate;
}
.rotator__word.is-out { animation: wordOut 0.32s var(--ease) forwards; }
.rotator__word.is-in { animation: wordIn 0.45s var(--ease) both, gradShift 7s ease-in-out infinite alternate; }
.hero__lead { margin-block-end: 30px; max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block-end: 30px; }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; color: var(--muted); font-size: 0.83rem; }
.hero__proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero__proof svg { width: 16px; height: 16px; color: var(--lime); }
.hero__proof .sep { width: 1px; height: 14px; background: var(--stroke); }

/* Visuel hero : mini dashboard en verre */
.hero__visual { position: relative; perspective: 1200px; }
.dash {
  position: relative; border-radius: 26px; padding: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02) 45%, rgba(139, 92, 255, 0.08));
  border: 1px solid var(--stroke-strong);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transform: rotateY(-7deg) rotateX(3deg);
  animation: dashFloat 8s ease-in-out infinite;
}
.dash::before {
  content: ""; position: absolute; inset: -1px; border-radius: 27px; padding: 1px;
  background: linear-gradient(145deg, rgba(200, 255, 77, 0.5), transparent 30%, transparent 70%, rgba(139, 92, 255, 0.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.dash__bar { display: flex; align-items: center; gap: 7px; padding: 4px 6px 14px; }
.dash__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; opacity: 0.85; }
.dash__bar i:nth-child(2) { background: #febc2e; }
.dash__bar i:nth-child(3) { background: #28c840; }
.dash__url {
  margin-inline-start: 8px; flex: 1; text-align: center;
  font-size: 0.68rem; color: var(--muted); padding: 4px 10px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--stroke);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
}
.dash__body { border-radius: 18px; background: rgba(6, 8, 14, 0.72); border: 1px solid var(--stroke); padding: 16px; }
.dash__head { display: flex; align-items: center; justify-content: space-between; margin-block-end: 14px; }
.dash__head strong { font-size: 0.82rem; letter-spacing: 0.02em; }
.dash__head span { font-size: 0.64rem; color: var(--lime); background: rgba(200, 255, 77, 0.1); padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(200, 255, 77, 0.25); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-block-end: 14px; }
.kpi { background: rgba(255, 255, 255, 0.035); border: 1px solid var(--stroke); border-radius: 10px; padding: 9px 10px; }
.kpi small { display: block; font-size: 0.6rem; color: var(--muted); letter-spacing: 0.03em; text-transform: uppercase; }
.kpi b { font-family: var(--font-display); font-size: 1.02rem; letter-spacing: -0.02em; }
.kpi:nth-child(2) b { color: var(--lime); }
.chart { position: relative; border-radius: 12px; border: 1px solid var(--stroke); background: linear-gradient(180deg, rgba(46, 230, 214, 0.08), transparent 70%); padding: 10px 6px 4px; overflow: hidden; }
.chart svg { width: 100%; height: 96px; overflow: visible; }
.chart .area { fill: url(#chartFill); opacity: 0.5; }
.chart .line { fill: none; stroke: url(#chartStroke); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.4s var(--ease) 0.4s forwards; filter: drop-shadow(0 0 6px rgba(46, 230, 214, 0.55)); }
.chart .dot { fill: #c8ff4d; filter: drop-shadow(0 0 6px #c8ff4d); }
.chart__legend { display: flex; justify-content: space-between; font-size: 0.58rem; color: var(--muted); padding: 2px 4px 0; }
.dash__orders { margin-block-start: 12px; display: grid; gap: 6px; }
.order { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 9px; background: rgba(255, 255, 255, 0.028); border: 1px solid rgba(255, 255, 255, 0.05); font-size: 0.68rem; }
.order .av { width: 22px; height: 22px; border-radius: 50%; background: var(--grad-soft); border: 1px solid var(--stroke); display: grid; place-items: center; font-size: 0.58rem; font-weight: 700; }
.order .meta { flex: 1; min-width: 0; }
.order .meta b { display: block; font-size: 0.7rem; font-weight: 600; }
.order .meta small { color: var(--muted); font-size: 0.6rem; }
.order .amt { font-weight: 700; font-size: 0.7rem; color: var(--lime); }

/* cartes flottantes */
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 15px;
  background: rgba(10, 12, 20, 0.82); border: 1px solid var(--stroke-strong);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-size: 0.76rem; animation: floatCard 6s ease-in-out infinite;
}
.float-card--wa { inset-block-end: 34px; inset-inline-start: -34px; animation-delay: -2s; }
.float-card--sale { inset-block-start: -26px; inset-inline-end: -16px; }
.float-card .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; }
.float-card .ico svg { width: 18px; height: 18px; }
.float-card--wa .ico { background: rgba(37, 211, 102, 0.16); color: #25d366; }
.float-card--sale .ico { background: rgba(200, 255, 77, 0.14); color: var(--lime); }
.float-card b { display: block; font-size: 0.76rem; }
.float-card small { color: var(--muted); font-size: 0.64rem; }
.float-card .pulse { width: 7px; height: 7px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); animation: ping 2s infinite; }

/* ----------------------------- Marquee ----------------------------------- */
.marquee {
  position: relative; overflow: hidden; padding-block: 18px;
  border-block: 1px solid var(--stroke);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.015), rgba(139, 92, 255, 0.04), rgba(255, 255, 255, 0.015));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; gap: 0; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 0; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 18px; padding-inline: 22px;
  font-family: var(--font-display); font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(238, 241, 248, 0.62);
  white-space: nowrap;
}
.marquee__item::after { content: "✦"; color: var(--lime); font-size: 0.8rem; opacity: 0.8; }

/* ----------------------------- Cartes / services ------------------------- */
.card {
  position: relative; border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018) 55%);
  border: 1px solid var(--stroke); overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(340px circle at var(--cx, 50%) var(--cy, 0%), rgba(139, 92, 255, 0.16), transparent 70%);
  transition: opacity 0.35s;
}
.card:hover { border-color: rgba(255, 255, 255, 0.2); transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.card:hover::before { opacity: 1; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; min-height: 250px; }
.service__icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--stroke-strong); color: var(--lime);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.35s var(--ease), color 0.3s;
}
.service:hover .service__icon { transform: translateY(-3px) rotate(-4deg) scale(1.05); color: var(--cyan); }
.service__icon svg { width: 23px; height: 23px; }
.service p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 4px; }
.tag {
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.03em; color: var(--muted);
  padding: 3px 9px; border-radius: 999px; border: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.03);
}
.service--wide { grid-column: span 1; }
.service--accent { background: linear-gradient(160deg, rgba(200, 255, 77, 0.09), rgba(46, 230, 214, 0.04) 50%, rgba(139, 92, 255, 0.08)); }

/* ----------------------------- Portfolio --------------------------------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work { display: flex; flex-direction: column; min-height: 330px; }
.work__art {
  position: relative; height: 200px; overflow: hidden; flex: 0 0 auto;
  border-block-end: 1px solid var(--stroke);
}
.work__art::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
  opacity: 0.5;
}
.work__art .browser {
  position: absolute; inset: 24px 22px; border-radius: 12px 12px 0 0;
  background: rgba(6, 8, 14, 0.6); border: 1px solid rgba(255, 255, 255, 0.18);
  border-block-end: 0; overflow: hidden; transform: translateY(8px);
  transition: transform 0.5s var(--ease); box-shadow: 0 20px 40px -20px #000;
}
.work:hover .work__art .browser { transform: translateY(0); }
.browser__top { display: flex; gap: 4px; padding: 6px 8px; border-block-end: 1px solid rgba(255, 255, 255, 0.08); background: rgba(0, 0, 0, 0.3); }
.browser__top i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); }
.browser__body { padding: 12px; display: grid; gap: 6px; }
.skel { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); }
.skel.w70 { width: 70%; } .skel.w50 { width: 50%; } .skel.w35 { width: 35%; }
.skel--big { height: 34px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); }
.skel--accent { background: linear-gradient(90deg, rgba(200, 255, 77, 0.5), rgba(46, 230, 214, 0.4)); }
.work__art--a { background: radial-gradient(120% 130% at 20% 0%, rgba(139, 92, 255, 0.55), transparent 55%), radial-gradient(110% 110% at 90% 90%, rgba(255, 92, 174, 0.45), transparent 55%), #0c0a18; }
.work__art--b { background: radial-gradient(120% 130% at 80% 0%, rgba(46, 230, 214, 0.5), transparent 55%), radial-gradient(110% 120% at 10% 90%, rgba(200, 255, 77, 0.38), transparent 55%), #071210; }
.work__art--c { background: radial-gradient(120% 130% at 30% 0%, rgba(255, 159, 67, 0.5), transparent 55%), radial-gradient(110% 120% at 90% 90%, rgba(255, 92, 174, 0.42), transparent 55%), #170d0a; }
.work__art--d { background: radial-gradient(120% 130% at 70% 0%, rgba(37, 211, 102, 0.45), transparent 55%), radial-gradient(110% 120% at 10% 90%, rgba(46, 230, 214, 0.35), transparent 55%), #08130d; }
.work__art--e { background: radial-gradient(120% 130% at 20% 10%, rgba(255, 92, 174, 0.55), transparent 55%), radial-gradient(110% 120% at 90% 90%, rgba(139, 92, 255, 0.5), transparent 55%), #150a17; }
.work__art--f { background: radial-gradient(120% 130% at 80% 0%, rgba(59, 130, 246, 0.5), transparent 55%), radial-gradient(110% 120% at 10% 90%, rgba(46, 230, 214, 0.45), transparent 55%), #080d18; }
.work__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.work__body h3 { font-size: 1.05rem; }
.work__body p { color: var(--muted); font-size: 0.82rem; }
.work__result {
  margin-block-start: auto; padding-block-start: 8px; display: flex; align-items: center; gap: 7px;
  color: var(--lime); font-size: 0.76rem; font-weight: 700;
}
.work__result svg { width: 14px; height: 14px; }
.work__result::before { content: ""; width: 16px; height: 1px; background: rgba(200, 255, 77, 0.4); }
.work__meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.work__meta span:last-child { color: var(--cyan); }
.note { margin-block-start: 18px; color: rgba(152, 162, 184, 0.88); font-size: 0.72rem; text-align: center; }

/* ----------------------------- Process ----------------------------------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process::before {
  content: ""; position: absolute; inset-block-start: 38px; inset-inline: 8%;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(200, 255, 77, 0.5), rgba(139, 92, 255, 0.5), transparent);
}
.step { position: relative; padding: 0 6px; }
.step__num {
  position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; margin-block-end: 20px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  color: var(--lime); background: #0a0c12; border: 1px solid var(--stroke-strong);
  box-shadow: 0 0 0 6px rgba(5, 6, 10, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.step:hover .step__num { color: #0a0d05; background: var(--lime); border-color: var(--lime); box-shadow: 0 0 0 6px rgba(5, 6, 10, 0.9), 0 0 30px rgba(200, 255, 77, 0.35); }
.step h3 { margin-block-end: 8px; font-size: 1.05rem; }
.step p { color: var(--muted); font-size: 0.86rem; line-height: 1.6; }

/* ----------------------------- Stats / atouts ---------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 26px 22px; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1; letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-block-start: 9px; font-size: 0.76rem; color: var(--muted); letter-spacing: 0.04em; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-block-start: 16px; }
.feature { display: flex; align-items: flex-start; gap: 12px; padding: 17px 18px; }
.feature svg { width: 20px; height: 20px; color: var(--cyan); flex: 0 0 auto; margin-block-start: 2px; }
.feature b { display: block; font-size: 0.9rem; margin-block-end: 2px; }
.feature small { color: var(--muted); font-size: 0.78rem; line-height: 1.5; }

/* ----------------------------- Bandeau produits digitaux ----------------- */
.banner {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(30px, 5vw, 56px);
  background: linear-gradient(120deg, rgba(200, 255, 77, 0.12), rgba(46, 230, 214, 0.07) 40%, rgba(139, 92, 255, 0.14) 75%, rgba(255, 92, 174, 0.1));
  border: 1px solid var(--stroke-strong);
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 30px; align-items: center;
}
.banner::before {
  content: ""; position: absolute; inset-inline-end: -120px; inset-block-start: -140px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 255, 0.5), transparent 65%);
  filter: blur(30px); pointer-events: none;
}
.banner h2 { margin-block-end: 14px; }
.banner p { color: var(--muted); max-width: 52ch; }
.banner__cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.banner__cta small { color: var(--muted); font-size: 0.72rem; }

/* ----------------------------- Contact ----------------------------------- */
.contact-panel {
  position: relative; border-radius: 30px; overflow: hidden;
  border: 1px solid var(--stroke-strong);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015) 55%, rgba(139, 92, 255, 0.06));
  padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 60px);
}
.contact-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(500px circle at 85% 15%, rgba(46, 230, 214, 0.13), transparent 60%),
    radial-gradient(420px circle at 10% 90%, rgba(255, 92, 174, 0.1), transparent 60%);
}
.contact-panel > * { position: relative; }
.contact__title { margin-block: 14px 16px; }
.contact__list { display: grid; gap: 10px; margin-block-start: 26px; }
.contact-link {
  display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.035); border: 1px solid var(--stroke);
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.contact-link:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--stroke-strong); transform: translateX(4px); }
html[dir="rtl"] .contact-link:hover { transform: translateX(-4px); }
.contact-link .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--stroke); }
.contact-link .ico svg { width: 20px; height: 20px; }
.contact-link .ico--wa { background: rgba(37, 211, 102, 0.14); color: #25d366; }
.contact-link .ico--mail { background: rgba(200, 255, 77, 0.1); color: var(--lime); }
.contact-link .ico--fb { background: rgba(24, 119, 242, 0.14); color: #4d9bff; }
.contact-link .ico--ig { background: rgba(255, 92, 174, 0.14); color: #ff7bbd; }
.contact-link .ico--tt { background: rgba(255, 255, 255, 0.09); color: #ffffff; }
.contact-link b { display: block; font-size: 0.9rem; }
.contact-link small { color: var(--muted); font-size: 0.78rem; }
.contact-link .arrow { margin-inline-start: auto; color: var(--muted); transition: transform 0.25s, color 0.25s; }
.contact-link:hover .arrow { color: var(--lime); transform: translateX(3px); }
html[dir="rtl"] .contact-link:hover .arrow { transform: translateX(-3px) scaleX(-1); }
.contact-link .arrow svg { width: 16px; height: 16px; }
html[dir="rtl"] .arrow svg { transform: scaleX(-1); }
.contact-link__main { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.contact__socials { margin-block-start: 16px; }
.copy-btn { margin-inline-start: auto; padding: 7px 11px; border-radius: 9px; border: 1px solid var(--stroke); font-size: 0.68rem; font-weight: 600; color: var(--muted); background: rgba(0, 0, 0, 0.2); transition: color 0.2s, border-color 0.2s; }
.copy-btn:hover { color: var(--lime); border-color: rgba(200, 255, 77, 0.4); }

/* formulaire rapide */
.contact__side {
  border-radius: 20px; border: 1px solid var(--stroke); background: rgba(6, 8, 14, 0.45);
  padding: 24px; align-self: start;
}
.contact__side h3 { margin-block-end: 6px; }
.contact__side > p { color: var(--muted); font-size: 0.82rem; margin-block-end: 18px; }
.field { display: grid; gap: 6px; margin-block-end: 12px; }
.field label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04); color: var(--text); font: inherit; font-size: 0.88rem;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(200, 255, 77, 0.5); background: rgba(255, 255, 255, 0.06); }
.contact__side .btn { width: 100%; margin-block-start: 4px; }
.form-note { margin-block-start: 10px; font-size: 0.68rem; color: var(--muted); text-align: center; }

/* toast */
.toast {
  position: fixed; inset-block-end: 24px; inset-inline-start: 50%; transform: translate(-50%, 140%);
  z-index: 150; padding: 12px 20px; border-radius: 999px;
  background: rgba(10, 12, 20, 0.92); border: 1px solid rgba(200, 255, 77, 0.35);
  color: var(--text); font-size: 0.82rem; font-weight: 600;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.8);
  transition: transform 0.4s var(--ease); pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); }

/* ----------------------------- Footer ------------------------------------ */
.footer { border-block-start: 1px solid var(--stroke); padding-block: 40px 30px; margin-block-start: 20px; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding-block-end: 26px; border-block-end: 1px solid var(--stroke); }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 0.84rem; color: var(--muted); }
.footer__tagline { font-size: 0.84rem; margin: 0; }
.banner__title { margin-block-start: 14px; }
.footer__links a:hover { color: var(--text); }
.footer__socials { display: flex; gap: 8px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  border: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.03); color: var(--muted);
  transition: color 0.2s, border-color 0.2s, transform 0.2s, background 0.2s;
}
.social-btn svg { width: 17px; height: 17px; }
.social-btn:hover { color: var(--text); border-color: var(--stroke-strong); background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block-start: 22px; color: var(--muted); font-size: 0.76rem; }
.footer__bottom .made { display: inline-flex; align-items: center; gap: 6px; }
.footer__bottom .bolt { color: var(--lime); }

/* retour en haut */
.to-top {
  position: fixed; inset-block-end: 24px; inset-inline-end: 24px; z-index: 100;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10, 12, 20, 0.8); border: 1px solid var(--stroke-strong); color: var(--text);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, border-color 0.2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: var(--lime); color: var(--lime); }
.to-top svg { width: 18px; height: 18px; }

/* ----------------------------- Révélations ------------------------------- */
/* Visible sans JS (SEO, accessibilité) ; masqué uniquement si JS actif. */
[data-reveal] { opacity: 1; }
html.has-js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
html.has-js [data-reveal="left"] { transform: translateX(-28px); }
html.has-js [data-reveal="right"] { transform: translateX(28px); }
html.has-js [data-reveal="scale"] { transform: scale(0.94); }
html.has-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ----------------------------- RTL --------------------------------------- */
html[dir="rtl"] .marquee__track { animation-direction: reverse; }
html[dir="rtl"] .dash { transform: rotateY(7deg) rotateX(3deg); }
html[dir="rtl"] .float-card--wa { inset-inline-start: auto; inset-inline-end: -34px; }
html[dir="rtl"] .float-card--sale { inset-inline-end: auto; inset-inline-start: -16px; }
html[dir="rtl"] .work__result::before { display: none; }
html[dir="rtl"] .process::before { background: linear-gradient(270deg, transparent, rgba(200, 255, 77, 0.5), rgba(139, 92, 255, 0.5), transparent); }
html[dir="rtl"] .eyebrow { letter-spacing: 0; }
html[dir="rtl"] .step__num { font-family: var(--font-display); }

/* ----------------------------- Responsive -------------------------------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 54px; }
  .hero { min-height: 0; padding-block: calc(var(--nav-h) + 40px) 70px; }
  .hero__visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .process::before { display: none; }
  .banner { grid-template-columns: 1fr; }
  .banner__cta { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .contact-panel { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  /* Version mobile économe : pas de flous plein écran ni de backdrop-filter. */
  .bg-decor .orb { display: none; }
  .noise, .spotlight { display: none; }
  /* Animations qui forcent un repaint continu : statiques sur mobile. */
  .grad-text,
  .rotator__word,
  .eyebrow::before,
  .float-card .pulse { animation: none; }
  .chart .line { animation: none; stroke-dashoffset: 0; }
  .progress { transition: none; }
  body {
    background:
      radial-gradient(900px 520px at 85% -8%, rgba(139, 92, 255, 0.2), transparent 62%),
      radial-gradient(760px 480px at -10% 18%, rgba(46, 230, 214, 0.12), transparent 62%),
      radial-gradient(700px 460px at 50% 110%, rgba(255, 92, 174, 0.1), transparent 62%),
      var(--bg);
  }
  .nav.is-scrolled { background: rgba(5, 6, 10, 0.94); }
  .nav.is-scrolled, .dash, .float-card {
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .nav__links {
    position: fixed; inset-block-start: var(--nav-h); inset-inline: 12px; z-index: 105;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px;
    border-radius: 18px; border: 1px solid var(--stroke-strong);
    background: rgba(8, 10, 16, 0.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px -20px #000;
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(0.98);
    transition: opacity 0.25s var(--ease), visibility 0.25s, transform 0.25s var(--ease);
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 12px 16px; border-radius: 12px; font-size: 1rem; }
  .nav__actions .btn { display: none; }
  .burger { display: grid; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(1180px, 100% - 32px); }
  .marquee { -webkit-mask-image: none; mask-image: none; }  .services, .work-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: 22px; }
  .hero__proof .sep { display: none; }
  .hero__proof { gap: 10px 18px; }
  .float-card--wa { inset-inline-start: -8px; inset-block-end: 18px; }
  .float-card--sale { inset-inline-end: -6px; inset-block-start: -18px; }
  .dash { transform: none; animation: none; }
  html[dir="rtl"] .dash { transform: none; }
  .work__art { height: 180px; }
  .contact-panel { padding: 24px 18px; border-radius: 22px; }
  .banner { border-radius: 22px; }
  .to-top { inset-block-end: 16px; inset-inline-end: 16px; }
  .footer__top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  h1 { font-size: 2rem; }
  .chip { font-size: 0.66rem; padding: 5px 9px; }
  .hero__badges { gap: 6px; }
}

/* ----------------------------- Accessibilité / motion -------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  html.has-js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ----------------------------- Keyframes --------------------------------- */
@keyframes gradShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(200, 255, 77, 0.1); }
  50% { box-shadow: 0 0 0 7px rgba(200, 255, 77, 0.02); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbFloat1 { to { transform: translate3d(80px, 60px, 0) scale(1.12); } }
@keyframes orbFloat2 { to { transform: translate3d(-70px, 90px, 0) scale(1.08); } }
@keyframes orbFloat3 { to { transform: translate3d(60px, -70px, 0) scale(1.15); } }
@keyframes dashFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes floatCard { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); } 70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@keyframes wordOut { to { opacity: 0; transform: translateY(-8px); filter: blur(4px); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
