/* =========================================================
   1. TOKENS DE THÈME
   Couleurs de marque : orange #FA5C03 · noir #171716
   ========================================================= */
:root, :root[data-theme="dark"] {
  --bg: 12 12 11;
  --bg2: 18 18 17;
  --surface: 23 23 22;      /* = noir du logo */
  --fg: 245 244 240;
  --muted: 163 161 155;
  --line: 255 255 255;
  --accent: 255 122 46;     /* orange lisible sur fond sombre */
  --brand: 250 92 3;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: 250 249 246;
  --bg2: 241 240 236;
  --surface: 255 255 255;
  --fg: 23 23 22;
  --muted: 88 86 82;
  --line: 23 23 22;
  --accent: 196 70 0;       /* orange foncé : contraste AA sur fond clair */
  color-scheme: light;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: rgb(var(--bg));
  color: rgb(var(--fg));
  font-family: Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}
::selection { background: #FA5C03; color: #171716; }
section[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 2px solid #FA5C03; outline-offset: 3px; border-radius: 8px; }

/* =========================================================
   2. COMPOSANTS
   ========================================================= */
.container-site { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 640px) { .container-site { padding-inline: 32px; } }

.font-display { font-family: Sora, Inter, sans-serif; }
.text-gradient {
  background: linear-gradient(100deg, #FFB37A 0%, #FA5C03 45%, #FF8A3D 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgb(var(--accent));
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #FA5C03; box-shadow: 0 0 12px #FA5C03; }
.h2 {
  font-family: Sora, Inter, sans-serif; font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.035em;
  text-wrap: balance;
}
.lead { color: rgb(var(--muted)); font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.65; }

/* Boutons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  height: 52px; padding: 0 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: background-color .3s, border-color .3s, box-shadow .3s, color .3s;
  will-change: transform;
}
.btn-primary { background: #FA5C03; color: #171716; box-shadow: 0 8px 30px -8px rgb(250 92 3 / .6), inset 0 1px 0 rgb(255 255 255 / .25); }
.btn-primary:hover { background: #FF6D1A; box-shadow: 0 12px 40px -6px rgb(250 92 3 / .75), inset 0 1px 0 rgb(255 255 255 / .3); }
.btn-ghost { border: 1px solid rgb(var(--line) / .14); background: rgb(var(--surface) / .5); color: rgb(var(--fg)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgb(var(--line) / .3); background: rgb(var(--surface) / .8); }
.btn-wa { background: #25D366; color: #0B2E17; box-shadow: 0 10px 34px -10px rgb(37 211 102 / .7); }
.btn-wa:hover { background: #2EE072; }
.btn-sm { height: 42px; padding: 0 1.1rem; font-size: .875rem; }

/* Navbar glass */
.nav-shell { transition: background-color .4s, border-color .4s, box-shadow .4s; border: 1px solid transparent; }
.is-scrolled .nav-shell {
  background: rgb(var(--bg) / .62);
  border-color: rgb(var(--line) / .08);
  box-shadow: 0 10px 40px -20px rgb(0 0 0 / .5);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.nav-link { position: relative; color: rgb(var(--muted)); font-size: .9rem; font-weight: 500; transition: color .25s; padding: .5rem .2rem; }
.nav-link:hover, .nav-link.is-active { color: rgb(var(--fg)); }
.nav-link::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; border-radius: 50%; background: #FA5C03; transform: translateX(-50%) scale(0); transition: transform .3s; }
.nav-link.is-active::after { transform: translateX(-50%) scale(1); }

/* Cartes : effet lumière qui suit le curseur */
.card {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, rgb(var(--surface) / .9), rgb(var(--surface) / .55));
  border: 1px solid rgb(var(--line) / .08);
  border-radius: 24px;
  transition: border-color .4s, box-shadow .4s;
}
.card::before { /* reflet lumineux */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgb(250 92 3 / .14), transparent 45%),
    radial-gradient(160px circle at var(--mx, 50%) var(--my, 0%), rgb(255 255 255 / .06), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.card::after { /* bordure lumineuse */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgb(250 92 3 / .8), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card:hover { box-shadow: 0 30px 60px -30px rgb(250 92 3 / .35); }
.tilt { transform-style: preserve-3d; will-change: transform; }

.more { display: inline-flex; align-items: center; gap: .4rem; font-size: .875rem; font-weight: 600; color: rgb(var(--accent)); }
.more svg { transition: transform .3s; }
.more:hover svg, .card:hover .more svg { transform: translateX(4px); }

/* Zone d'illustration des services */
.ill-wrap {
  position: relative; height: 172px; border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgb(250 92 3 / .10), transparent 60%),
    rgb(var(--bg2));
  border: 1px solid rgb(var(--line) / .06);
}
.ill-wrap::before { /* grille fine */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgb(var(--line) / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--line) / .05) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
}
.ill-num { position: absolute; top: 12px; right: 14px; font: 600 11px/1 Sora, sans-serif; color: rgb(var(--muted)); letter-spacing: .08em; }
.ill { position: relative; width: 100%; height: 100%; display: block; }
.ill .bx  { fill: rgb(var(--surface)); stroke: rgb(var(--line) / .16); stroke-width: 1.2; }
.ill .ln  { fill: none; stroke: rgb(var(--line) / .18); stroke-width: 1.2; }
.ill .sf  { fill: rgb(var(--fg) / .10); }
.ill .sf2 { fill: rgb(var(--fg) / .22); }
.ill .fgc { fill: rgb(var(--fg)); }
.ill .bgs { stroke: rgb(var(--bg2)); }
.ill .bgf { fill: rgb(var(--bg2)); }
.ill .br  { fill: #FA5C03; }
.ill .brt { fill: rgb(250 92 3 / .18); }
.ill .brs { fill: none; stroke: #FA5C03; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ill .ink { fill: #171716; }

/* Animations des illustrations (CSS pur, très légères) */
@keyframes ill-float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }
@keyframes ill-spin { to { transform: rotate(360deg) } }
@keyframes ill-pulse { 0%,100% { opacity: .35 } 50% { opacity: 1 } }
@keyframes ill-draw { 0% { stroke-dashoffset: var(--len) } 55%,80% { stroke-dashoffset: 0 } 100% { stroke-dashoffset: calc(var(--len) * -1) } }
@keyframes ill-grow { 0%,100% { transform: scaleY(.4) } 50% { transform: scaleY(1) } }
@keyframes ill-pop { 0%,12% { transform: scale(0); opacity: 0 } 22%,78% { transform: scale(1); opacity: 1 } 90%,100% { transform: scale(0); opacity: 0 } }
@keyframes ill-slide { 0%,8% { transform: translateX(36px); opacity: 0 } 20%,72% { transform: translateX(0); opacity: 1 } 85%,100% { transform: translateX(36px); opacity: 0 } }
@keyframes ill-fill { 0% { transform: scaleX(.05) } 60%,100% { transform: scaleX(1) } }
@keyframes ill-blink { 50% { opacity: 0 } }
@keyframes ill-cursor { 0% { transform: translate(70px,34px) } 35% { transform: translate(0,0) } 40% { transform: translate(0,0) scale(.85) } 45% { transform: translate(0,0) } 70% { transform: translate(110px,-30px) } 100% { transform: translate(70px,34px) } }
.a-float { animation: ill-float 4s ease-in-out infinite; }
.a-spin  { transform-box: fill-box; transform-origin: center; animation: ill-spin 9s linear infinite; }
.a-spin-r{ transform-box: fill-box; transform-origin: center; animation: ill-spin 6s linear infinite reverse; }
.a-pulse { animation: ill-pulse 2.4s ease-in-out infinite; }
.a-draw  { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: ill-draw 3.6s ease-in-out infinite; }
.a-grow  { transform-box: fill-box; transform-origin: bottom; animation: ill-grow 3.2s ease-in-out infinite; }
.a-pop   { transform-box: fill-box; transform-origin: center; animation: ill-pop 4.2s ease-in-out infinite; }
.a-slide { animation: ill-slide 4.5s cubic-bezier(.2,.8,.2,1) infinite; }
.a-fill  { transform-box: fill-box; transform-origin: left; animation: ill-fill 3.8s cubic-bezier(.4,0,.2,1) infinite alternate; }
.a-blink { animation: ill-blink 1s steps(1) infinite; }
.a-cursor{ animation: ill-cursor 5s cubic-bezier(.6,0,.3,1) infinite; }
.paused, .paused * { animation-play-state: paused !important; }

/* =========================================================
   3. HERO
   ========================================================= */
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgb(var(--line) / .045) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--line) / .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; pointer-events: none; will-change: transform; }
.blob-1 { width: 60vmax; height: 60vmax; left: -15vmax; top: -25vmax; background: radial-gradient(circle, rgb(250 92 3 / .22), transparent 62%); animation: blob1 18s ease-in-out infinite alternate; }
.blob-2 { width: 50vmax; height: 50vmax; right: -18vmax; bottom: -22vmax; background: radial-gradient(circle, rgb(255 154 92 / .14), transparent 62%); animation: blob2 22s ease-in-out infinite alternate; }
@keyframes blob1 { to { transform: translate(12vmax, 8vmax) scale(1.1); } }
@keyframes blob2 { to { transform: translate(-10vmax, -6vmax) scale(1.15); } }
:root[data-theme="light"] .blob-1 { background: radial-gradient(circle, rgb(250 92 3 / .16), transparent 62%); }
.hero-fade { position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(to bottom, transparent, rgb(var(--bg))); pointer-events: none; }
.pill {
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .9rem .45rem .5rem;
  border-radius: 999px; border: 1px solid rgb(var(--line) / .12); background: rgb(var(--surface) / .55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .8rem; color: rgb(var(--muted));
}
.pill b { font-weight: 600; color: rgb(var(--fg)); }
.pill .dot { position: relative; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgb(250 92 3 / .15); }
.pill .dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #FA5C03; box-shadow: 0 0 10px #FA5C03; animation: ill-pulse 2s infinite; }

/* Bandeau défilant */
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Révélation mot par mot */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wi { display: inline-block; will-change: transform; }
.js-anim [data-split]:not(.is-split) { visibility: hidden; }
.js-anim .reveal { opacity: 0; }
.js-anim [data-hero] { opacity: 0; }

/* =========================================================
   4. INTRO LOGO
   ========================================================= */
.intro { display: none; }
.js-anim:not(.no-intro) .intro {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center;
  background: rgb(var(--bg));
}
.intro-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.intro-mark { width: 104px; height: auto; color: rgb(var(--fg)); overflow: visible; }
.intro-word { display: flex; overflow: hidden; font: 800 30px/1.1 Sora, sans-serif; letter-spacing: .02em; }
.intro-word span { display: inline-block; }
.intro-word .o { color: #FA5C03; }
.intro-line { width: 140px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #FA5C03, transparent); transform: scaleX(0); }
.intro-skip { position: absolute; bottom: 28px; right: 28px; font-size: .8rem; color: rgb(var(--muted)); padding: .5rem .9rem; border-radius: 999px; border: 1px solid rgb(var(--line) / .12); }
.intro-skip:hover { color: rgb(var(--fg)); }

/* =========================================================
   5. CURSEUR PERSONNALISÉ (desktop)
   ========================================================= */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #FA5C03; }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgb(250 92 3 / .55); box-shadow: 0 0 22px rgb(250 92 3 / .28); transition: opacity .3s, background-color .3s, border-color .3s, box-shadow .3s; }
.cursor-ring.is-hover { background: rgb(250 92 3 / .08); border-color: rgb(250 92 3 / .9); box-shadow: 0 0 36px rgb(250 92 3 / .5); }
.has-cursor .cursor-dot, .has-cursor .cursor-ring { opacity: 1; }
.has-cursor .cursor-ring.is-text, .has-cursor .cursor-dot.is-text { opacity: 0; }
.has-cursor body, .has-cursor a, .has-cursor button, .has-cursor [role="button"] { cursor: none; }

/* =========================================================
   6. SECTION VIDÉO (toujours sombre, ambiance cinéma)
   ========================================================= */
.cinema {
  --bg: 7 7 7; --bg2: 14 14 13; --surface: 20 20 19; --fg: 245 244 240; --muted: 160 158 152; --line: 255 255 255; --accent: 255 122 46;
  background: rgb(var(--bg)); color: rgb(var(--fg)); color-scheme: dark;
}
.grain { position: absolute; inset: -50%; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-4%, 3%) } 50% { transform: translate(3%, -5%) } 75% { transform: translate(-2%, 4%) } }
.letterbox { position: absolute; left: 0; right: 0; height: 56px; background: #000; z-index: 2; transform-origin: top; pointer-events: none; }
.letterbox.bottom { bottom: 0; transform-origin: bottom; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 999px; border: 1px solid rgb(var(--line) / .1); background: rgb(var(--surface) / .7); font-size: .85rem; color: rgb(var(--fg) / .9); }
.chip svg { color: #FA5C03; }

/* Mini timeline de montage */
.edit-tl { border: 1px solid rgb(255 255 255 / .08); border-radius: 18px; background: rgb(20 20 19 / .8); padding: 14px; font: 500 11px/1 Inter, sans-serif; color: rgb(160 158 152); }
.tl-row { display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 8px; margin-top: 8px; }
.tl-lane { position: relative; height: 22px; border-radius: 6px; background: rgb(255 255 255 / .04); overflow: hidden; }
.tl-lane i { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; }
.c-brand { background: linear-gradient(90deg, #FA5C03, #FF8A3D); }
.c-soft { background: rgb(255 255 255 / .16); }
.c-wave { background: repeating-linear-gradient(90deg, rgb(250 92 3 / .55) 0 2px, transparent 2px 4px); -webkit-mask: linear-gradient(transparent 0, #000 30%, #000 70%, transparent); mask: linear-gradient(transparent 0, #000 30%, #000 70%, transparent); }
.tl-body { position: relative; }
.tl-playhead { position: absolute; top: -4px; bottom: 0; left: 34px; width: 2px; background: #fff; box-shadow: 0 0 10px #FA5C03; animation: playhead 8s linear infinite; }
.tl-playhead::before { content: ""; position: absolute; top: -5px; left: -4px; width: 10px; height: 8px; background: #fff; clip-path: polygon(0 0, 100% 0, 50% 100%); }
@keyframes playhead { from { left: 34px } to { left: calc(100% - 2px) } }

/* Cartes vidéo */
.video-card { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 20px; text-align: left; background: #111; border: 1px solid rgb(255 255 255 / .08); }
.vc-media { position: absolute; inset: 0; }
.vc-poster, .vc-media video, .vc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .5s; }
.vc-media video { opacity: 0; }
.video-card.is-playing video { opacity: 1; }
.video-card:hover .vc-poster, .video-card:hover video { transform: scale(1.06); }
.vc-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .85), rgb(0 0 0 / .1) 55%, rgb(0 0 0 / .25)); }
.vc-play { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .4s, background-color .4s; }
.video-card:hover .vc-play { transform: scale(1.12); background: #FA5C03; border-color: #FA5C03; }
.video-card:hover .vc-play svg { color: #171716; }
.vc-meta { position: absolute; left: 16px; right: 16px; bottom: 14px; }
.vc-tag { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #FF9A5C; }
.vc-dur { position: absolute; top: 12px; right: 12px; font: 600 .7rem/1 Inter, sans-serif; padding: .35rem .5rem; border-radius: 6px; background: rgb(0 0 0 / .55); color: #fff; }
/* Visuels de remplacement (supprimez-les quand vous ajoutez vos posters) */
.ph-1 { background: radial-gradient(circle at 70% 30%, rgb(250 92 3 / .55), transparent 55%), linear-gradient(135deg, #24130a, #0b0b0a); }
.ph-2 { background: radial-gradient(circle at 25% 70%, rgb(255 154 92 / .45), transparent 55%), linear-gradient(160deg, #1a1a19, #050505); }
.ph-3 { background: radial-gradient(circle at 50% 20%, rgb(250 92 3 / .6), transparent 50%), linear-gradient(180deg, #2b1206, #0a0a0a); }
.ph-4 { background: radial-gradient(circle at 30% 80%, rgb(255 179 122 / .4), transparent 55%), linear-gradient(200deg, #151515, #070707); }
.ph-5 { background: conic-gradient(from 200deg at 60% 40%, #FA5C03, #171716, #FF9A5C, #171716, #FA5C03); filter: saturate(.85); }
.ph-6 { background: radial-gradient(circle at 60% 60%, rgb(250 92 3 / .45), transparent 50%), linear-gradient(120deg, #0f0f0e, #1e1006); }
.vc-poster::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgb(255 255 255 / .025) 0 1px, transparent 1px 3px); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; }
.lb[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lb-panel { position: relative; width: min(1100px, 100%); }
.lb-panel.is-vertical { width: min(420px, 100%); }
.lb-media { position: relative; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 120px -20px rgb(250 92 3 / .35); }
.lb-panel.is-vertical .lb-media { aspect-ratio: 9/16; max-height: 80vh; margin-inline: auto; }
.lb-media video, .lb-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =========================================================
   7. MÉTHODE (timeline)
   ========================================================= */
.mt-list { --p: 1; position: relative; }
.js-anim .mt-list { --p: 0; }
.mt-track, .mt-progress { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; }
.mt-track { background: rgb(var(--line) / .1); }
.mt-progress { background: linear-gradient(180deg, #FF9A5C, #FA5C03); transform-origin: top; transform: scaleY(var(--p)); box-shadow: 0 0 16px rgb(250 92 3 / .6); }
@media (min-width: 1024px) {
  .mt-track, .mt-progress { left: 28px; right: 28px; top: 27px; bottom: auto; width: auto; height: 2px; }
  .mt-progress { background: linear-gradient(90deg, #FF9A5C, #FA5C03); transform-origin: left; transform: scaleX(var(--p)); }
}
.mt-dot { position: relative; z-index: 1; width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--surface)); border: 1px solid rgb(var(--line) / .12); color: rgb(var(--muted)); transition: border-color .5s, color .5s, box-shadow .5s, background-color .5s; }
.mt-step.is-active .mt-dot { border-color: #FA5C03; color: #FA5C03; box-shadow: 0 0 0 6px rgb(250 92 3 / .1), 0 0 30px rgb(250 92 3 / .35); }
.mt-step .mt-num { transition: color .5s; }
.mt-step.is-active .mt-num { color: rgb(var(--accent)); }

/* =========================================================
   8. PROJETS (maquettes de remplacement en CSS)
   ========================================================= */
.pv { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 18px; background: radial-gradient(circle at 25% 15%, rgb(250 92 3 / .35), transparent 55%), linear-gradient(135deg, var(--c1, #1f1f1d), var(--c2, #0d0d0c)); }
.pv > * { transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.project:hover .pv > * { transform: translateY(-6px) scale(1.02); }
.mk { position: absolute; }
.mk i { position: absolute; display: block; }
/* Site web */
.mk-web { inset: 16% 10% -10% 10%; background: var(--mk-bg, #f6f5f1); border-radius: 12px 12px 0 0; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6); }
.mk-web .b { top: 0; left: 0; right: 0; height: 18px; border-radius: 12px 12px 0 0; background: rgb(0 0 0 / .07); }
.mk-web .b::before { content: ""; position: absolute; left: 10px; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: #FA5C03; box-shadow: 10px 0 #c9c6be, 20px 0 #c9c6be; }
.mk-web .h { top: 30%; left: 8%; width: 40%; height: 9%; border-radius: 4px; background: var(--mk-fg, #171716); }
.mk-web .l { top: 44%; left: 8%; width: 32%; height: 4%; border-radius: 3px; background: var(--mk-mu, #cfccc4); }
.mk-web .l2 { top: 51%; width: 24%; }
.mk-web .c { top: 62%; left: 8%; width: 17%; height: 8%; border-radius: 99px; background: #FA5C03; }
.mk-web .im { top: 27%; right: 8%; width: 38%; height: 50%; border-radius: 8px; background: linear-gradient(135deg, #FA5C03, #FFB37A); }
/* Application mobile */
.mk-phone { left: 50%; top: 12%; width: 30%; aspect-ratio: 9/18.5; margin-left: -15%; background: #121211; border: 3px solid #2c2c2a; border-radius: 22px; box-shadow: 0 30px 60px -15px rgb(0 0 0 / .7); overflow: hidden; }
.mk-phone .t { left: 8%; right: 8%; top: 9%; height: 26%; border-radius: 10px; background: linear-gradient(135deg, #FA5C03, #FF9A5C); }
.mk-phone .r { left: 8%; right: 8%; height: 9%; border-radius: 6px; background: #232321; }
.mk-phone .r1 { top: 40% } .mk-phone .r2 { top: 52% } .mk-phone .r3 { top: 64% }
.mk-phone .n { left: 8%; right: 8%; bottom: 5%; height: 8%; border-radius: 99px; background: #1d1d1b; }
.mk-phone.back { margin-left: -38%; transform: rotate(-8deg); opacity: .55; top: 18%; }
/* Tableau de bord / logiciel */
.mk-dash { inset: 14% 8% -8% 8%; background: #141413; border: 1px solid rgb(255 255 255 / .08); border-radius: 12px 12px 0 0; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6); }
.mk-dash .s { top: 0; left: 0; bottom: 0; width: 18%; background: #1b1b1a; border-radius: 12px 0 0 0; }
.mk-dash .s::before { content: ""; position: absolute; left: 22%; top: 10%; width: 56%; height: 6%; border-radius: 3px; background: #FA5C03; box-shadow: 0 18px #2e2e2b, 0 32px #2e2e2b, 0 46px #2e2e2b; }
.mk-dash .k { top: 9%; width: 22%; height: 18%; border-radius: 6px; background: #222220; }
.mk-dash .k1 { left: 23% } .mk-dash .k2 { left: 48% } .mk-dash .k3 { left: 73% }
.mk-dash .k1::after { content: ""; position: absolute; left: 12%; bottom: 20%; width: 50%; height: 22%; border-radius: 3px; background: #FA5C03; }
.mk-dash .g { left: 23%; right: 5%; top: 34%; bottom: 8%; border-radius: 6px; background:
  linear-gradient(#FA5C03,#FA5C03) 4% 100%/9% 45% no-repeat, linear-gradient(#3a3a37,#3a3a37) 18% 100%/9% 62% no-repeat,
  linear-gradient(#3a3a37,#3a3a37) 32% 100%/9% 38% no-repeat, linear-gradient(#FA5C03,#FA5C03) 46% 100%/9% 78% no-repeat,
  linear-gradient(#3a3a37,#3a3a37) 60% 100%/9% 55% no-repeat, linear-gradient(#3a3a37,#3a3a37) 74% 100%/9% 70% no-repeat,
  linear-gradient(#FA5C03,#FA5C03) 88% 100%/9% 92% no-repeat, #1a1a19; }
/* Vidéo */
.mk-video { inset: 0; }
.mk-video .lb1, .mk-video .lb2 { left: 0; right: 0; height: 11%; background: #000; }
.mk-video .lb1 { top: 0 } .mk-video .lb2 { bottom: 0 }
.mk-video .p { left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .3); }
.mk-video .p::after { content: ""; position: absolute; left: 21px; top: 17px; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.mk-video .sc { left: 6%; right: 6%; bottom: 16%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #FA5C03 42%, rgb(255 255 255 / .25) 42%); }
/* IA / chat */
.mk-chat { inset: 14% 16% 10% 16%; display: flex; flex-direction: column; gap: 8%; justify-content: center; }
.mk-chat i { position: relative; height: 16%; border-radius: 14px; }
.mk-chat .u { align-self: flex-end; width: 58%; background: #FA5C03; border-bottom-right-radius: 4px; }
.mk-chat .a { width: 70%; background: #262624; border-bottom-left-radius: 4px; }
.mk-chat .a2 { width: 46%; background: #262624; border-bottom-left-radius: 4px; }

.no-scrollbar { scrollbar-width: none; } .no-scrollbar::-webkit-scrollbar { display: none; }
.ex-link { display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start; margin-top: .9rem; padding: .35rem .7rem; border-radius: 999px; font-size: .78rem; color: rgb(var(--muted)); background: rgb(var(--fg) / .05); border: 1px solid rgb(var(--line) / .08); transition: color .25s, border-color .25s, background-color .25s; }
.ex-link b { font-weight: 600; color: rgb(var(--fg)); }
.ex-link:hover { color: rgb(var(--fg)); border-color: rgb(250 92 3 / .5); background: rgb(250 92 3 / .08); }
.ex-link svg { color: rgb(var(--accent)); }

.group-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid rgb(var(--line) / .1); }
.group-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgb(250 92 3 / .1); color: #FA5C03; }
.group-count { margin-left: auto; flex: none; font-size: .78rem; font-weight: 500; color: rgb(var(--muted)); padding: .3rem .75rem; border-radius: 999px; border: 1px solid rgb(var(--line) / .1); }
.jump-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; font-size: .7rem; font-weight: 600; background: rgb(250 92 3 / .15); color: rgb(var(--accent)); }
.project-group { scroll-margin-top: 96px; }

/* Captures de vrais sites */
.shot { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 18px; background: rgb(var(--surface)); border: 1px solid rgb(var(--line) / .1); box-shadow: 0 30px 60px -32px rgb(0 0 0 / .55); }
.shot-bar { position: absolute; inset: 0 0 auto 0; z-index: 1; height: 30px; display: flex; align-items: center; padding: 0 12px; background: rgb(var(--bg2)); border-bottom: 1px solid rgb(var(--line) / .08); }
.shot-bar i { flex: none; width: 7px; height: 7px; margin-right: 34px; border-radius: 50%; background: #FA5C03; box-shadow: 11px 0 rgb(var(--fg) / .2), 22px 0 rgb(var(--fg) / .2); }
.shot-bar span { flex: 1; max-width: 240px; margin-inline: auto; height: 18px; border-radius: 6px; background: rgb(var(--fg) / .06); font: 500 10.5px/18px Inter, sans-serif; color: rgb(var(--muted)); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 8px; }
.shot img { position: absolute; top: 30px; left: 0; width: 100%; height: calc(100% - 30px); object-fit: cover; object-position: top center; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.project:hover .shot img { transform: scale(1.04); }
.shot-cta { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: .5rem .85rem; border-radius: 999px; background: #FA5C03; color: #171716; font-size: .8rem; font-weight: 600; box-shadow: 0 10px 24px -8px rgb(250 92 3 / .7); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.project:hover .shot-cta, .project a:focus-visible .shot-cta { opacity: 1; transform: none; }
@media (hover: none) { .shot-cta { opacity: 1; transform: none; } }
.live { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: .25rem .7rem; border-radius: 999px; border: 1px solid rgb(37 211 102 / .3); font-size: .75rem; font-weight: 500; color: #34D474; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
:root[data-theme="light"] .live { color: #15803D; }

/* =========================================================
   IMPRESSION & DESIGN (catalogue)
   ========================================================= */
.print-card { display: flex; flex-direction: column; height: 100%; padding: 10px; }
.p-img { position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: 18px; background: #f4f1ec; }
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.print-card:hover .p-img img { transform: scale(1.05); }
.p-num { position: absolute; left: 12px; top: 12px; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #171716; color: #fff; font: 600 .75rem/1 Sora, sans-serif; }
.p-ar { font-family: "Segoe UI", Tahoma, "Geeza Pro", "Noto Sans Arabic", sans-serif; font-size: .95rem; font-weight: 600; color: rgb(var(--accent)); }
.specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.spec { display: inline-flex; align-items: center; gap: 6px; padding: .3rem .65rem; border-radius: 999px; font-size: .75rem; color: rgb(var(--fg) / .85); background: rgb(var(--fg) / .05); border: 1px solid rgb(var(--line) / .08); }
.spec::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #FA5C03; }
.price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px dashed rgb(var(--line) / .14); }
.specs + .price-row { margin-top: 18px; }
.price small { display: block; font-size: .72rem; color: rgb(var(--muted)); }
.price strong { font: 700 1.65rem/1.1 Sora, sans-serif; letter-spacing: -.02em; color: #FA5C03; }
.price strong span { font-size: .9rem; font-weight: 600; margin-left: 3px; }
.price em { display: block; margin-top: 2px; font-style: normal; font-size: .75rem; color: rgb(var(--muted)); }
.btn-order { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 .95rem; border-radius: 999px; background: #25D366; color: #0B2E17; font-size: .82rem; font-weight: 600; transition: background-color .25s, transform .25s; }
.btn-order:hover { background: #2EE072; transform: translateY(-1px); }
.print-perks { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .print-perks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.perk { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: rgb(var(--surface) / .6); border: 1px solid rgb(var(--line) / .08); font-size: .85rem; font-weight: 500; }
.perk svg { flex: none; width: 22px; height: 22px; color: #FA5C03; }
/* Enseignes lumineuses */
.star-card { display: grid; padding: 0; }
@media (min-width: 1024px) { .star-card { grid-template-columns: 1.15fr 1fr; } }
.star-img { position: relative; margin: 10px; overflow: hidden; border-radius: 18px; background: #f4f1ec; aspect-ratio: 1100/829; }
@media (min-width: 1024px) { .star-img { align-self: center; } }
.star-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.star-card:hover .star-img img { transform: scale(1.04); }
.star-badge { display: inline-flex; align-items: center; padding: .35rem .8rem; border-radius: 999px; background: #FA5C03; color: #171716; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.star-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .star-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.star-specs > div { padding: 10px 12px; border-radius: 14px; background: rgb(var(--fg) / .04); border: 1px solid rgb(var(--line) / .08); }
.star-specs dt { font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--muted)); }
.star-specs dd { margin-top: 2px; font-size: .88rem; font-weight: 600; }
.star-price { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, rgb(250 92 3 / .16), rgb(250 92 3 / .04)); border: 1px solid rgb(250 92 3 / .3); }
.star-price small { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--muted)); }
.star-price strong { display: block; font: 800 2.6rem/1 Sora, sans-serif; letter-spacing: -.03em; color: #FA5C03; }
.star-price strong span { font-size: 1rem; margin-left: 4px; vertical-align: super; }
.star-price p { max-width: 300px; margin-top: 6px; font-size: .8rem; color: rgb(var(--muted)); }
.ens-mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; aspect-ratio: 1/1; overflow: hidden; border-radius: 18px; }
.ens-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.ens-mosaic img:first-child { grid-row: span 2; }
.print-card:hover .ens-mosaic img { transform: scale(1.04); }
.models { display: grid; gap: 6px; font-size: .84rem; color: rgb(var(--fg) / .88); }
.models li { display: flex; align-items: center; gap: 8px; }
.models li::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: rgb(250 92 3 / .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FA5C03' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 9px no-repeat; }
.models + .price-row { margin-top: 18px; }
.opt-t { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--accent)); }
.ens-steps { counter-reset: st; display: grid; gap: 16px; }
.ens-steps li { counter-increment: st; position: relative; padding-left: 46px; font-size: .85rem; color: rgb(var(--muted)); }
.ens-steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgb(250 92 3 / .5); color: #FA5C03; font: 600 .72rem/1 Sora, sans-serif; }
.ens-steps b { display: block; font-weight: 600; color: rgb(var(--fg)); }

/* Photos agrandissables + galerie */
button.p-img, button.star-img, .ens-mosaic button { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; text-align: left; }
.ens-mosaic button { position: relative; overflow: hidden; border-radius: 12px; min-height: 0; }
.ens-mosaic button:first-child { grid-row: span 2; }
.ens-mosaic button img { border-radius: 0; }
.zoomable { position: relative; }
.zoomable::after { content: ""; position: absolute; right: 10px; top: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: rgb(23 23 22 / .72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 16px no-repeat; backdrop-filter: blur(6px); opacity: 0; transform: scale(.85); transition: opacity .3s, transform .3s; }
.zoomable:hover::after, .zoomable:focus-visible::after { opacity: 1; transform: none; }
@media (hover: none) { .p-img.zoomable::after, .star-img.zoomable::after { opacity: 1; transform: none; } }
.ens-mosaic .zoomable::after { width: 28px; height: 28px; right: 8px; top: 8px; background-size: 13px; }
.zoomable:focus-visible { outline: 2px solid #FA5C03; outline-offset: 2px; }
.more-badge { position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: .3rem .6rem; border-radius: 999px; background: rgb(23 23 22 / .78); color: #fff; font-size: .72rem; font-weight: 600; backdrop-filter: blur(6px); }
.gl { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 64px 72px 24px; }
.gl[hidden] { display: none; }
.gl-backdrop { position: absolute; inset: 0; background: rgb(8 8 7 / .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.gl-stage { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.gl-stage img { display: block; max-width: min(1200px, 100%); max-height: calc(100svh - 150px); width: auto; height: auto; border-radius: 16px; box-shadow: 0 40px 120px -30px rgb(250 92 3 / .35); background: #1d1d1b; transition: opacity .25s; }
.gl.is-loading .gl-stage img { opacity: .35; }
.gl-spin { position: absolute; left: 50%; top: 45%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 3px solid rgb(255 255 255 / .2); border-top-color: #FA5C03; animation: gl-spin .8s linear infinite; opacity: 0; transition: opacity .2s; pointer-events: none; }
.gl.is-loading .gl-spin { opacity: 1; }
@keyframes gl-spin { to { transform: rotate(360deg); } }
.gl-cap { display: flex; align-items: center; gap: 14px; margin-top: 14px; color: #fff; font-size: .9rem; font-weight: 500; text-align: center; }
.gl-count { white-space: nowrap; color: rgb(255 255 255 / .55); font-size: .8rem; font-variant-numeric: tabular-nums; }
.gl-btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .16); transition: background-color .25s, border-color .25s; }
.gl-btn:hover { background: #FA5C03; border-color: #FA5C03; color: #171716; }
.gl-close { top: 14px; right: 14px; }
.gl-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.gl-next { right: 14px; top: 50%; transform: translateY(-50%); }
.gl.is-single .gl-prev, .gl.is-single .gl-next { display: none; }
@media (max-width: 640px) {
  .gl { padding: 64px 12px 84px; }
  .gl-stage img { max-height: calc(100svh - 190px); }
  .gl-prev, .gl-next { top: auto; bottom: 18px; transform: none; }
  .gl-prev { left: calc(50% - 60px); } .gl-next { right: calc(50% - 60px); }
}

.svc-wide-thumbs { display: flex; }
.svc-wide-thumbs img { width: 92px; height: 92px; border-radius: 16px; object-fit: cover; border: 3px solid rgb(var(--surface)); box-shadow: 0 14px 30px -14px rgb(0 0 0 / .6); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.svc-wide-thumbs img + img { margin-left: -22px; }
.card:hover .svc-wide-thumbs img:nth-child(1) { transform: rotate(-6deg) translateY(-4px); }
.card:hover .svc-wide-thumbs img:nth-child(3) { transform: rotate(6deg) translateY(-4px); }

.filter-btn { height: 40px; padding: 0 1rem; border-radius: 999px; font-size: .875rem; font-weight: 500; white-space: nowrap; color: rgb(var(--muted)); border: 1px solid rgb(var(--line) / .1); transition: color .3s, background-color .3s, border-color .3s; }
.filter-btn:hover { color: rgb(var(--fg)); border-color: rgb(var(--line) / .25); }
.filter-btn[aria-pressed="true"] { background: rgb(var(--fg)); color: rgb(var(--bg)); border-color: transparent; }

/* =========================================================
   9. FORMULAIRE
   ========================================================= */
.field label { display: block; font-size: .8rem; font-weight: 500; color: rgb(var(--muted)); margin-bottom: .45rem; }
.input { width: 100%; height: 50px; padding: 0 1rem; border-radius: 14px; background: rgb(var(--bg2)); border: 1px solid rgb(var(--line) / .1); color: rgb(var(--fg)); font-size: .95rem; transition: border-color .25s, box-shadow .25s; }
textarea.input { height: auto; min-height: 130px; padding: .85rem 1rem; resize: vertical; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23FA5C03' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.input::placeholder { color: rgb(var(--muted) / .7); }
.input:focus { outline: none; border-color: #FA5C03; box-shadow: 0 0 0 4px rgb(250 92 3 / .15); }
.input[aria-invalid="true"] { border-color: #ef4444; }
.err { font-size: .75rem; color: #f87171; margin-top: .35rem; min-height: 1em; }

/* Carte (map) de remplacement */
.map-ph { position: relative; overflow: hidden; border-radius: 20px; min-height: 200px; background: rgb(var(--bg2)); border: 1px solid rgb(var(--line) / .08); }
.map-ph svg.streets { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); }
.map-pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; border: 2px solid #FA5C03; transform: translateY(50%) scale(.3); opacity: 0; animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0% { transform: translateY(50%) scale(.3); opacity: .9 } 100% { transform: translateY(50%) scale(2); opacity: 0 } }

/* WhatsApp flottant */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 30px -8px rgb(37 211 102 / .7); transition: transform .3s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: wa-ring 2.4s ease-out infinite; }
@keyframes wa-ring { from { transform: scale(1); opacity: .8 } to { transform: scale(1.7); opacity: 0 } }
.wa-tip { position: absolute; right: 70px; white-space: nowrap; font-size: .8rem; font-weight: 500; padding: .5rem .75rem; border-radius: 10px; background: rgb(var(--surface)); color: rgb(var(--fg)); border: 1px solid rgb(var(--line) / .1); opacity: 0; transform: translateX(8px); transition: .3s; pointer-events: none; }
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: none; }

/* Barre de progression de scroll */
#progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #FF9A5C, #FA5C03); }

/* Menu mobile */
#mobile-menu { position: fixed; inset: 0; z-index: 45; padding: 96px 24px 32px; background: rgb(var(--bg) / .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
#mobile-menu.is-open { opacity: 1; visibility: visible; }
#mobile-menu .m-link { font: 600 2rem/1.2 Sora, sans-serif; letter-spacing: -.02em; padding: .45rem 0; border-bottom: 1px solid rgb(var(--line) / .08); display: flex; justify-content: space-between; align-items: center; transform: translateY(16px); opacity: 0; transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .5s; }
#mobile-menu.is-open .m-link { transform: none; opacity: 1; }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .35s, opacity .35s; }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Lien d'évitement (accessibilité) */
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: .6rem 1rem; border-radius: 10px; background: #FA5C03; color: #171716; font-weight: 600; }
.skip:focus { top: 12px; }

.theme-ico-sun { display: none; }
:root[data-theme="light"] .theme-ico-sun { display: block; }
:root[data-theme="light"] .theme-ico-moon { display: none; }

/* =========================================================
   10. MOUVEMENT RÉDUIT
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .a-draw { stroke-dashoffset: 0 !important; }
}

/* =========================================================
   SITE MULTI-PAGES
   ========================================================= */
/* Fil d'Ariane en tête de page */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: .8rem; color: rgb(var(--muted)); }
.crumbs a { transition: color .25s; }
.crumbs a:hover { color: rgb(var(--fg)); }
.crumbs .sep { opacity: .45; }
.crumbs [aria-current] { color: rgb(var(--fg)); font-weight: 500; }

/* Transition entre les pages */
main, footer { transition: opacity .22s ease, transform .22s ease; }
.is-leaving main, .is-leaving footer { opacity: 0; transform: translateY(-10px); }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js-anim main { animation: page-in .55s cubic-bezier(.2,.8,.2,1) both; }

/* Accueil : les 4 univers */
.tile { display: flex; flex-direction: column; height: 100%; padding: 10px; }
.tile-img { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 18px; background: rgb(var(--bg2)); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.tile:hover .tile-img img { transform: scale(1.06); }
.tile .more svg { transition: transform .3s; }
.tile:hover .more svg { transform: translateX(4px); }

/* Bandeau d'appel à l'action (bas de page) */
.cta-band { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 28px; padding: 36px 28px; border-radius: 28px;
  background: radial-gradient(600px circle at 100% 0%, rgb(250 92 3 / .22), transparent 60%), linear-gradient(180deg, rgb(var(--surface) / .95), rgb(var(--surface) / .6));
  border: 1px solid rgb(250 92 3 / .25); }
@media (min-width: 900px) { .cta-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 52px 56px; } }

/* Page courante dans le menu mobile */
#mobile-menu .m-link[aria-current="page"] { color: #FA5C03; }

/* =========================================================
   PORTFOLIO — enseignes réalisées (photos dans /realisations)
   ========================================================= */
.pf-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
@media (min-width: 768px) { .pf-grid { gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 215px; } }
.pf-item { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; grid-row: span 2; border-radius: 22px; border: 1px solid rgb(var(--line) / .08); background: rgb(var(--bg2)); text-align: left; cursor: zoom-in; isolation: isolate; }
.pf-item.is-xl { grid-column: span 2; }
.pf-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.8,.2,1); }
.pf-item:hover img { transform: scale(1.06); }
.pf-item::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgb(8 8 7 / .9), rgb(8 8 7 / .35) 38%, transparent 62%); transition: opacity .4s; }
.pf-meta { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; color: #fff; }
.pf-tag { padding: .22rem .6rem; border-radius: 999px; background: #FA5C03; color: #171716; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pf-name { margin-top: 4px; font: 600 1rem/1.2 Sora, sans-serif; letter-spacing: -.01em; }
.pf-what { font-size: .78rem; line-height: 1.35; color: rgb(255 255 255 / .75); }
.pf-item.is-xl .pf-name { font-size: 1.25rem; }
@media (max-width: 767px) { .pf-what { display: none; } .pf-item.is-xl .pf-what { display: block; } .pf-name { font-size: .9rem; } }
.pf-item:focus-visible { outline: 2px solid #FA5C03; outline-offset: 3px; }
.pf-sectors { display: flex; flex-wrap: wrap; gap: 8px; }
