/* Site de Luka Gironde — feuille de style unique.
   Couleurs et polices : modifier les variables ci-dessous. */
:root {
  --bg: #09090a;
  --bg-2: #101012;
  --bg-3: #17171a;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f3efe8;
  --muted: #a6a19a;
  --soft: #6f6b66;
  --accent: #ff6a3d;
  --accent-2: #ffb08a;
  --accent-glow: rgba(255, 106, 61, .35);
  --radius: 22px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --sans: "Segoe UI Variable Display", "Segoe UI Variable Text", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--accent-2); }
strong { font-weight: 600; color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #140a05; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Grain très léger sur toute la page */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Boutons ---------- */
.btn {
  --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--h); padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px;
  letter-spacing: -.01em; white-space: nowrap; position: relative; isolation: isolate;
  transition: transform .35s var(--ease-out), background-color .3s, border-color .3s, box-shadow .35s, color .3s;
}
.btn span { transition: transform .35s var(--ease-out); }
.btn:hover span { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #170b06; box-shadow: 0 10px 40px -10px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(255,106,61,.6), inset 0 1px 0 rgba(255,255,255,.35); background: #ff7a50; }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.03); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.07); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 0; transition: padding .4s var(--ease); }
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: rgba(9,9,10,.72); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav.is-scrolled { padding: 8px 0; }
.nav.is-scrolled::before { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -.02em; min-height: 44px; }
.brand-mark {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; font-size: 13px; font-weight: 700; letter-spacing: .02em;
  background: linear-gradient(140deg, #ff8a5c, #ff5a2a 60%, #c63d17); color: #1a0c06;
  box-shadow: 0 6px 24px -6px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.4);
}
.menu { display: flex; align-items: center; gap: 4px; }
.menu a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px;
  color: var(--muted); font-size: 15px; font-weight: 500; transition: color .25s, background-color .25s;
}
.menu a:hover, .menu a.is-active { color: var(--text); background: rgba(255,255,255,.06); }
.menu .menu-cta { color: var(--text); border: 1px solid var(--line-2); margin-left: 8px; }
.menu .menu-cta:hover { border-color: var(--accent); background: rgba(255,106,61,.12); }
.nav-toggle { display: none; }

/* ---------- Accueil ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; }
.hero-glow {
  position: absolute; width: 900px; height: 900px; left: 50%; top: 40%; z-index: -1;
  transform: translate(calc(-50% + var(--gx, 0px)), calc(-50% + var(--gy, 0px)));
  background: radial-gradient(circle, rgba(255,106,61,.22), rgba(255,106,61,.06) 40%, transparent 65%);
  filter: blur(10px); transition: transform 1.2s var(--ease-out);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,106,61,.18), 0 0 18px var(--accent); }
.hero-title {
  margin: 22px 0 26px; font-size: clamp(2.5rem, 5.5vw, 5.4rem); line-height: .98; font-weight: 600; letter-spacing: -.045em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-size: 1.04em; letter-spacing: -.03em; }
.hero-lead { max-width: 33em; color: var(--muted); font-size: clamp(1.05rem, 1.35vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; color: var(--muted); font-size: 14.5px; }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; }
.hero-points li::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%;
  background: rgba(255,106,61,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%23ffb08a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* Animation d'entrée */
.intro { opacity: 0; transform: translateY(26px); animation: monte 1.1s var(--ease-out) forwards; }
.hero-title .intro { transform: translateY(105%); opacity: 1; animation-name: glisse; }
.intro-1 { animation-delay: .05s; } .intro-2 { animation-delay: .15s; } .intro-3 { animation-delay: .25s; }
.intro-4 { animation-delay: .35s; } .intro-5 { animation-delay: .55s; } .intro-6 { animation-delay: .68s; } .intro-7 { animation-delay: .8s; }
@keyframes monte { to { opacity: 1; transform: none; } }
@keyframes glisse { to { transform: none; } }

/* Scène 3D de l'accueil */
.hero-stage { position: relative; perspective: 1800px; height: clamp(380px, 46vw, 600px); }
.stage {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(calc(10deg + var(--ry, 0deg))) rotateY(calc(-22deg + var(--rx, 0deg))) rotateZ(2deg);
  transition: transform 1s var(--ease-out);
  opacity: 0; animation: apparait 1.6s .3s var(--ease-out) forwards;
}
@keyframes apparait { from { opacity: 0; transform: rotateX(24deg) rotateY(-38deg) translateY(60px) scale(.92); } to { opacity: 1; } }
.win {
  position: absolute; margin: 0; width: 74%; border-radius: 12px; overflow: hidden; background: #1a1a1d;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08);
}
.win img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.win-bar { display: flex; gap: 6px; align-items: center; height: 22px; padding: 0 10px; background: #1d1d20; border-bottom: 1px solid rgba(255,255,255,.06); }
.win-bar i { width: 7px; height: 7px; border-radius: 50%; background: #3a3a3f; }
.win-1 { left: 2%; top: 8%; transform: translateZ(40px); z-index: 3; animation: flotte 9s ease-in-out infinite; }
.win-2 { left: 24%; top: 0; transform: translateZ(-80px); z-index: 2; filter: brightness(.72); animation: flotte 11s -3s ease-in-out infinite; }
.win-3 { left: 18%; top: 44%; transform: translateZ(-20px); z-index: 2; filter: brightness(.85); animation: flotte 10s -6s ease-in-out infinite; }
.nowrap { white-space: nowrap; }
.trait { margin-left: -.07em; margin-right: -.02em; }
.stage .phone-hero { position: absolute; right: 2%; bottom: 2%; width: 23%; transform: translateZ(140px); z-index: 4; animation: flotte 8s -2s ease-in-out infinite; }
@keyframes flotte { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.stage-note {
  position: absolute; left: 0; bottom: -6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft);
}
.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line-2); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--muted); animation: molette 2.2s ease-in-out infinite; }
@keyframes molette { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ---------- Appareils (ordinateur, téléphone) ---------- */
.laptop { position: relative; }
.laptop-screen {
  position: relative; border-radius: 14px 14px 4px 4px; padding: 2.2%; background: linear-gradient(#232327, #151517);
  border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.laptop-screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 3px; background: #0d0d0f; }
.laptop-base {
  position: relative; height: 0; padding-bottom: 3.4%; margin: 0 -7%;
  background: linear-gradient(#3a3a3f, #1c1c1f 60%, #121214); border-radius: 0 0 14px 14px / 0 0 60% 60%;
  box-shadow: 0 30px 50px -20px rgba(0,0,0,.9);
}
.laptop-base::before { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 40%; background: #111113; border-radius: 0 0 8px 8px; }
.phone {
  position: relative; border-radius: 15% / 7%; padding: 3.2%; background: linear-gradient(145deg, #2b2b30, #121214);
  border: 1px solid rgba(255,255,255,.16); box-shadow: 0 30px 60px -18px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.12);
}
.phone::after { content: ""; position: absolute; left: 50%; top: 4.6%; width: 26%; height: 2.6%; transform: translateX(-50%); background: #050506; border-radius: 99px; z-index: 2; }
.phone-screen { border-radius: 12.5% / 5.8%; overflow: hidden; background: #0d0d0f; aspect-ratio: 390 / 844; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(96px, 13vw, 170px) 0; }
.section-head { max-width: 860px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2, .contact h2, .clients h2 {
  margin-top: 18px; font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: 1.04; font-weight: 600; letter-spacing: -.04em;
}
.section-lead { margin-top: 22px; color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.15rem); max-width: 40em; }
.services { background: linear-gradient(var(--bg), var(--bg-2) 40%, var(--bg)); }
.section::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(var(--wrap), 92vw); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}
.hero + .section::before { display: none; }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Cartes de services */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; padding: 34px 30px 32px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); border: 1px solid var(--line);
  transition: border-color .4s, transform .5s var(--ease-out);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--px, 50%) var(--py, 0%), rgba(255,106,61,.14), transparent 60%);
}
.card:hover { border-color: rgba(255,255,255,.16); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card-wide { grid-column: span 2; background: linear-gradient(135deg, rgba(255,106,61,.13), rgba(255,255,255,.02) 55%); }
.card-full { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; padding-bottom: 0; }
.card-full > div:first-child { padding-bottom: 32px; }
.card-devices { display: flex; justify-content: center; align-items: flex-end; gap: 4%; height: 230px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.card-devices .phone { width: 26%; flex: none; transform: translateY(18%); transition: transform .8s var(--ease-out); }
.card-devices .phone:nth-child(2) { transform: translateY(6%); }
.card-full:hover .card-devices .phone { transform: translateY(4%); }
.card-full:hover .card-devices .phone:nth-child(2) { transform: translateY(-4%); }
.card h3 { margin: 26px 0 10px; font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
.card-wide h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.card p { color: var(--muted); font-size: 15.5px; max-width: 34em; }
.ico { width: 44px; height: 44px; padding: 10px; border-radius: 13px; fill: none; stroke: var(--accent-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; background: rgba(255,106,61,.1); border: 1px solid rgba(255,106,61,.22); }

.benefits { margin-top: 16px; padding: clamp(30px, 4vw, 48px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-3); }
.benefits-title { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.benefits ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 26px; }
.benefits li { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; border-left: 1px solid rgba(255,106,61,.4); }
.benefits strong { font-size: 1.08rem; letter-spacing: -.01em; }
.benefits span { color: var(--muted); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(60px, 8vw, 110px); counter-reset: s; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-2); }
.step::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--accent); transition: width 1.4s var(--ease-out) .2s; }
.step.is-in::before { width: 46%; }
.step-n { font-family: var(--serif); font-style: italic; font-size: 2.2rem; color: var(--accent-2); line-height: 1; }
.step h3 { margin: 18px 0 8px; font-size: 1.15rem; font-weight: 600; letter-spacing: -.015em; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Réalisations ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: 15px; font-weight: 500; transition: all .3s; }
.filter:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.filter.is-on { background: var(--text); color: var(--bg); border-color: var(--text); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.work { min-width: 0; }
.work[hidden] { display: none; }
.work-open {
  display: block; width: 100%; text-align: left; border-radius: var(--radius); overflow: hidden; position: relative; isolation: isolate;
  background: radial-gradient(120% 90% at 30% 0%, #1d1d21, #111113 70%); border: 1px solid var(--line);
  transition: border-color .4s, transform .6s var(--ease-out);
}
.work-open::after {
  content: "Agrandir"; position: absolute; top: 18px; right: 18px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(9,9,10,.7); backdrop-filter: blur(10px); border: 1px solid var(--line-2);
  opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .45s var(--ease-out);
}
.work-open:hover, .work-open:focus-visible { border-color: rgba(255,255,255,.18); }
.work-open:hover::after, .work-open:focus-visible::after { opacity: 1; transform: none; }
.work-stage, .work-stage span { display: block; }
.work-stage { position: relative; padding: 9% 13% 11% 7%; }
.work-stage .laptop { transition: transform .8s var(--ease-out); }
.work-stage .phone { position: absolute; right: 6%; bottom: 7%; width: 19%; transition: transform .8s var(--ease-out); }
.work-stage .phone-screen img { transition: object-position 2.8s var(--ease); }
.work-open:hover .laptop { transform: translateY(-6px) scale(1.015); }
.work-open:hover .phone { transform: translateY(-14px) rotate(-2deg); }
.work-open:hover .phone-screen img { object-position: center 60%; }
.work-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 18px 6px 0; }
.work-meta h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; }
.work-meta p { color: var(--muted); font-size: 15px; }
.tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); background: rgba(255,106,61,.1); border: 1px solid rgba(255,106,61,.25); }
.work-meta .tag { order: 3; }
.more-wrap { display: flex; justify-content: center; margin-top: 48px; }
.more[hidden] { display: none; }

/* ---------- Clients ---------- */
.clients-empty {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px); border: 1px solid var(--line);
  padding: clamp(36px, 6vw, 80px); background: linear-gradient(145deg, var(--bg-3), var(--bg) 70%);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center;
}
.clients-empty::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,61,.16), transparent 65%); pointer-events: none; }
.clients-empty .section-lead { margin-top: 18px; }
.promise { display: grid; gap: 14px; }
.promise li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.025); color: var(--muted); font-size: 15px; }
.promise li strong { display: block; color: var(--text); font-size: 15.5px; margin-bottom: 2px; }
.promise li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.counter-row { display: flex; flex-wrap: wrap; gap: 16px; margin: 10px 0 48px; }
.counter { flex: 1 1 220px; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-3); }
.counter b { display: block; font-size: clamp(3rem, 7vw, 5rem); line-height: 1; font-weight: 600; letter-spacing: -.05em; background: linear-gradient(180deg, #fff, #c9c3bb); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.counter span { color: var(--muted); }
.client-list, .site-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.client, .site { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.025); transition: border-color .3s, transform .5s var(--ease-out); }
.client:hover, .site:hover { border-color: var(--line-2); transform: translateY(-3px); }
.client h3, .site h3 { font-size: 1.15rem; letter-spacing: -.015em; }
.client p, .site p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.client a, .site a { display: inline-flex; margin-top: 14px; color: var(--accent-2); font-weight: 600; font-size: 15px; min-height: 32px; align-items: center; }
.site img { border-radius: 12px; margin-bottom: 18px; border: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.sub-title { margin: 56px 0 22px; font-size: 1.5rem; letter-spacing: -.02em; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact-glow { position: absolute; left: 50%; bottom: -380px; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(255,106,61,.2), transparent 62%); pointer-events: none; }
.contact-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact h2 { font-size: clamp(2.5rem, 6vw, 5.2rem); }
.contact-links { display: grid; gap: 12px; margin-top: 40px; }
.contact-link {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 18px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03); font-size: clamp(1rem, 2.2vw, 1.3rem); font-weight: 500; letter-spacing: -.015em; overflow-wrap: anywhere;
  transition: border-color .3s, background-color .3s, transform .5s var(--ease-out);
}
.contact-link small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.contact-link svg { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 14px; fill: none; stroke: var(--accent-2); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; background: rgba(255,106,61,.1); }
.contact-link:hover { border-color: var(--accent); background: rgba(255,106,61,.08); transform: translateX(4px); }
.form { padding: clamp(26px, 3.5vw, 40px); border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line-2); background: rgba(16,16,18,.75); backdrop-filter: blur(14px); box-shadow: 0 40px 100px -40px rgba(0,0,0,.8); }
.form h3 { font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.opt { color: var(--soft); font-weight: 400; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(0,0,0,.35);
  color: var(--text); font: inherit; font-size: 16px; transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--soft); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,106,61,.16); }
.field.is-error input, .field.is-error textarea { border-color: #ff5d5d; }
.form-note { margin-top: 14px; color: var(--muted); font-size: 13.5px; }
.form-note.is-error { color: #ff8f8f; }
.form-note.is-ok { color: #9fe3b0; }

/* ---------- Pied de page ---------- */
.footer { border-top: 1px solid var(--line); padding: 38px 0 calc(38px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 14.5px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 500; }
.footer-brand .brand-mark { width: 30px; height: 30px; font-size: 11px; border-radius: 9px; }
.footer-note { flex: 1 1 320px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { min-height: 32px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--text); }

/* ---------- Agrandissement ---------- */
.lightbox {
  width: min(1320px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid var(--line-2); border-radius: 26px; background: #0e0e10; color: var(--text); overflow: auto;
  overscroll-behavior: contain;
}
.lightbox::backdrop { background: rgba(4,4,5,.82); backdrop-filter: blur(10px); }
.lightbox[open] { animation: lb-in .5s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.lb-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; padding: clamp(20px, 3vw, 40px); align-items: center; }
.lb-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1; background: rgba(255,255,255,.07); border: 1px solid var(--line-2); transition: background-color .25s, transform .3s; }
.lb-close:hover { background: rgba(255,255,255,.14); transform: rotate(90deg); }
.lb-stage { position: relative; padding: 2% 15% 4% 0; }
.lb-scroll { overflow-y: auto; scrollbar-width: thin; }
.laptop-lg .lb-scroll { aspect-ratio: 16 / 10; border-radius: 3px; }
.laptop-lg .lb-scroll img { aspect-ratio: auto; }
.phone-lg { position: absolute; right: 0; bottom: 0; width: 23%; }
.phone-lg .phone-screen img { height: auto; }
.lb-meta h3 { margin: 16px 0 4px; font-size: 1.8rem; letter-spacing: -.03em; line-height: 1.1; }
.lb-metier { color: var(--accent-2); font-weight: 500; margin-bottom: 14px !important; }
#lb-desc { color: var(--muted); }
.lb-nav { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.lb-nav .btn { --h: 44px; padding: 0 18px; font-size: 15px; }

/* ---------- Autres pages ---------- */
.page { padding: 140px 0 100px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.04em; line-height: 1.05; margin-bottom: 30px; }
.page h2 { font-size: 1.35rem; letter-spacing: -.02em; margin: 44px 0 12px; }
.page p, .page li { color: var(--muted); max-width: 46em; }
.page p + p { margin-top: 12px; }
.page ul { list-style: disc; padding-left: 1.2em; margin-top: 10px; }
.page a:not(.btn) { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.page .btn { margin-top: 36px; }
.todo { color: var(--accent-2) !important; }

/* ---------- Tablettes ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; min-height: auto; }
  .hero-stage { height: clamp(320px, 62vw, 560px); margin-top: 20px; }
  .scroll-hint { display: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits ul, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-inner, .clients-empty { grid-template-columns: 1fr; }
  .lb-inner { grid-template-columns: 1fr; }
  .lb-meta { padding-right: 50px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); align-items: center; background: rgba(9,9,10,.6); backdrop-filter: blur(10px); position: relative; z-index: 2; }
  .nav-toggle i { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease-out); }
  .nav-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }
  .menu {
    position: fixed; inset: 0; flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; padding: 90px 24px 40px;
    background: rgba(9,9,10,.97); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .menu.is-open { opacity: 1; visibility: visible; }
  .menu a { font-size: 1.9rem; min-height: 60px; padding: 0 12px; color: var(--text); letter-spacing: -.03em; font-weight: 600; justify-content: center; }
  .menu .menu-cta { margin: 16px 0 0; justify-content: center; border-color: var(--accent); }
  .gallery { grid-template-columns: 1fr; }
}
/* ---------- Téléphones ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 110px 0 60px; }
  .hero-title { margin: 18px 0 20px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stage { height: 92vw; margin-top: 10px; }
  .stage { transform: rotateX(8deg) rotateY(-14deg) rotateZ(1deg); }
  .win { width: 82%; }
  .win-2 { left: 16%; } .win-3 { left: 8%; top: 46%; }
  .stage .phone-hero { width: 27%; right: 0; }
  .cards, .benefits ul, .steps { grid-template-columns: 1fr; }
  .card-wide { grid-column: auto; }
  .card-full { grid-template-columns: 1fr; gap: 0; }
  .card-full > div:first-child { padding-bottom: 8px; }
  .card-devices { height: 190px; }
  .card { padding: 28px 24px; }
  .benefits ul { gap: 22px; }
  .work-stage { padding: 8% 12% 10% 5%; }
  .work-open::after { opacity: 1; transform: none; top: 12px; right: 12px; padding: 5px 11px; font-size: 12px; }
  .lightbox { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 20px; }
  .lb-inner { padding: 56px 16px 22px; gap: 20px; }
  .lb-meta { padding-right: 0; }
  .lb-meta h3 { font-size: 1.45rem; }
  .lb-nav .btn { flex: 1; }
  .contact-link svg { width: 40px; height: 40px; padding: 9px; }
  .contact-link { padding: 14px 16px; gap: 14px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Moins d'animations si demandé ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (hover: none) {
  .card:hover, .work-open:hover .laptop, .work-open:hover .phone, .contact-link:hover { transform: none; }
}
