/* ==========================================================================
   Continuum Signature — Design Agency · Agadir
   ========================================================================== */

/* ---------- Charte ---------- */
:root {
  --ink: #09090a;
  --ink-2: #111113;
  --ink-3: #1a1a1d;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);
  --text: #ece8e1;
  --muted: #9a958c;
  --paper: #f2ede4;
  --paper-ink: #141210;
  --paper-muted: #6f685d;
  /* or échantillonné sur le logo */
  --gold: #bea064;
  --gold-hi: #e3d5b3;
  --gold-lo: #7a6643;
  --gold-rgb: 190, 160, 100;
  --brushed: url(../img/gold-brushed.jpg);

  --f-display: 'Syne', 'Manrope', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;

  --navh: 76px;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 22px;
}
html[lang="ar"] {
  --f-display: 'Alexandria', 'Syne', sans-serif;
  --f-body: 'Alexandria', 'Manrope', sans-serif;
  --f-serif: 'Alexandria', serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--navh); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 300; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.gold {
  background: var(--brushed) center / 600px auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.gold-dark { font-style: normal; color: var(--gold-lo); }
.gold.is-split { background: none; animation: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; font-weight: 500; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(var(--gold-rgb), .15); }

.sec-head { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sec-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sec-title {
  margin-top: 22px;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(40px, 6.4vw, 104px); line-height: .98; letter-spacing: -.035em;
}
.sec-title em { font-family: var(--f-serif); font-weight: 400; font-style: italic; letter-spacing: -.02em; }
html[lang="ar"] .sec-title { letter-spacing: 0; line-height: 1.25; font-size: clamp(36px, 5.4vw, 88px); }
html[lang="ar"] .sec-title em { font-style: normal; font-weight: 700; }
.sec-lead { margin-top: 22px; max-width: 560px; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); }

/* découpe des titres en mots */
.js-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js-split .w-in { display: inline-block; will-change: transform; }
.js-split em .w { padding-inline-end: .04em; }

/* reflet qui balaie le logo (masqué sur sa forme) */
.shine { position: relative; display: inline-block; line-height: 0; }
.shine img { width: 100%; height: auto; }
.shine::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 248, 228, 0) 40%, rgba(255, 248, 228, .5) 50%, rgba(255, 248, 228, 0) 60%) no-repeat;
  background-size: 260% 100%; background-position: 160% 0;
  -webkit-mask: url(../img/continuum-logo.png) center / 100% 100% no-repeat; mask: url(../img/continuum-logo.png) center / 100% 100% no-repeat;
  animation: shine 4.8s var(--ease) infinite 1.2s;
}
@keyframes shine { 0% { background-position: 160% 0; } 45%, 100% { background-position: -60% 0; } }

/* ---------- Le logo qui se dessine ---------- */
.logo-draw, .logo-lines { display: block; width: 100%; height: auto; overflow: visible; }
.logo-draw__line { fill: none; stroke: #f1e3bf; stroke-width: 1.8; stroke-linecap: round; }
.logo-draw__tip { fill: #fff8e6; filter: drop-shadow(0 0 4px #f1e3bf) drop-shadow(0 0 12px rgba(var(--gold-rgb), .95)); }
.logo-lines path { fill: none; stroke-linecap: round; }
.logo-lines__band--gold { stroke: rgba(var(--gold-rgb), .08); }
.logo-lines__band--black { stroke: rgba(236, 232, 225, .035); }
.logo-lines__line--gold { stroke: rgba(var(--gold-rgb), .6); }
.logo-lines__line--black { stroke: rgba(236, 232, 225, .22); }
.logo-lines__glint { stroke: rgba(246, 228, 184, .75); }
.logo-lines .logo-outline__band--gold { fill: rgba(var(--gold-rgb), .075); }
.logo-lines .logo-outline__band--black { fill: rgba(236, 232, 225, .032); }
.logo-outline path { stroke-linejoin: round; }
.logo-lines--thin .logo-outline__band { display: none; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  transition: transform .5s var(--ease), background-color .3s, color .3s, border-color .3s;
  isolation: isolate; overflow: hidden; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
html[dir="rtl"] .btn svg, html[dir="rtl"] .cta__btn svg { transform: scaleX(-1); }
.btn:hover svg { transform: translateX(4px); }
html[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(4px); }
.btn--gold, .cta__btn, .reel__playbtn, .chip input:checked + span { background: var(--brushed) center / 520px auto; }
.btn--gold { color: var(--ink); box-shadow: 0 10px 40px -14px rgba(var(--gold-rgb), .6), inset 0 1px 0 rgba(255, 255, 255, .35); }
/* reflet qui traverse le bouton au survol (le même que sur le logo) */
.btn--gold::after, .cta__btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 248, 228, 0) 35%, rgba(255, 248, 228, .65) 50%, rgba(255, 248, 228, 0) 65%) no-repeat;
  background-size: 260% 100%; background-position: 160% 0; transition: background-position .9s var(--ease);
}
.btn--gold:hover::after, .cta__btn:hover::after { background-position: -60% 0; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: rgba(var(--gold-rgb), .7); color: var(--gold-hi); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--wide { width: 100%; }
.btn > * { position: relative; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 250; background: var(--ink);
  display: grid; place-content: center; justify-items: center; gap: 18px;
}
.loader__mark { width: min(260px, 60vw); aspect-ratio: 418 / 252; }
.loader__word { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .45em; text-transform: uppercase; color: var(--text); padding-inline-start: .45em; }
.loader__count { position: absolute; bottom: 28px; inset-inline-end: var(--gutter); font-family: 'Syne', sans-serif; font-size: clamp(48px, 9vw, 120px); font-weight: 700; line-height: 1; color: rgba(255, 255, 255, .08); letter-spacing: -.04em; }
.loader__count span { color: rgba(255, 255, 255, .14); }

/* ---------- Curseur ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 240; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor body, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
.cursor__mark { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), opacity .25s; }
.cursor__mark img { position: relative; width: 28px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); transition: transform .45s var(--ease), opacity .25s; }
.cursor__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(var(--gold-rgb), 0); transition: border-color .3s, background-color .3s; }
.cursor__label { position: absolute; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .25s; }
.cursor.is-link .cursor__mark { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
.cursor.is-link .cursor__ring { border-color: rgba(var(--gold-rgb), .85); }
.cursor.is-link .cursor__mark img { opacity: 0; transform: scale(.4) rotate(-20deg); }
.cursor.is-label .cursor__mark { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
.cursor.is-label .cursor__ring { background: var(--brushed) center / 300px auto; border-color: transparent; }
.cursor.is-label .cursor__mark img { opacity: 0; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-text .cursor__mark { opacity: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100; height: var(--navh);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--gutter);
  transition: transform .6s var(--ease), background-color .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(9, 9, 10, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: inline-flex; align-items: center; gap: 12px; }
.nav__mark { width: auto; height: 34px; transition: transform .8s var(--ease); }
.nav__brand:hover .nav__mark { transform: scale(1.08) rotate(-4deg); }
.nav__word { display: flex; flex-direction: column; gap: 3px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.1; }
.nav__word small { font-family: 'Manrope', sans-serif; font-size: 8.5px; font-weight: 700; letter-spacing: .5em; color: var(--gold); }
.nav__links { display: flex; gap: 34px; }
.nav__links a { position: relative; font-size: 14px; font-weight: 600; color: rgba(236, 232, 225, .78); transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { min-width: 36px; height: 32px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--muted); transition: color .3s, background-color .3s; }
.lang button[lang="ar"] { font-family: 'Alexandria', sans-serif; font-size: 14px; }
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--text); color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 90; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: calc(var(--navh) + 20px) var(--gutter) 40px;
}
.mnav[hidden] { display: none; }
.mnav nav { display: flex; flex-direction: column; gap: 6px; }
.mnav nav a { display: flex; align-items: baseline; gap: 16px; font-family: var(--f-display); font-weight: 700; font-size: clamp(38px, 11vw, 64px); line-height: 1.15; letter-spacing: -.03em; }
html[lang="ar"] .mnav nav a { letter-spacing: 0; }
.mnav nav a i { font-style: normal; font-family: 'Manrope', sans-serif; font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .1em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: calc(var(--navh) + 40px) var(--gutter) 110px;
  text-align: center;
}
.hero__glow { position: absolute; width: 60vmax; height: 60vmax; left: 50%; top: 50%; margin: -30vmax 0 0 -30vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--gold-rgb), .16), rgba(var(--gold-rgb), 0)); pointer-events: none; }
.hero__stage { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; perspective: 1200px; }
.hero__lines { width: min(1400px, 150vw); aspect-ratio: 418 / 252; opacity: .5; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(9, 9, 10, .7), rgba(9, 9, 10, 0) 70%), linear-gradient(to bottom, rgba(9, 9, 10, 0) 70%, var(--ink)); }
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero__logo { width: clamp(130px, 14vw, 220px); margin-bottom: clamp(18px, 3vh, 30px); perspective: 900px; }
.hero__tilt { width: 100%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 40px rgba(var(--gold-rgb), .18)); will-change: transform; }
.hero__title { margin-top: 22px; font-family: var(--f-display); font-weight: 700; font-size: clamp(46px, 9vw, 150px); line-height: .92; letter-spacing: -.045em; }
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__line > * , .hero__line .w-in { display: inline-block; }
.hero__line--accent em { font-family: var(--f-serif); font-weight: 400; font-style: italic; letter-spacing: -.02em; padding: 0 .06em; }
html[lang="ar"] .hero__title { letter-spacing: 0; line-height: 1.22; font-size: clamp(42px, 8vw, 128px); }
html[lang="ar"] .hero__line--accent em { font-style: normal; font-weight: 800; }
.hero__sub { margin-top: 28px; max-width: 520px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(236, 232, 225, .78); }
.hero__ctas { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__foot {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
html[lang="ar"] .hero__foot { letter-spacing: 0; font-size: 13px; }
.hero__scroll { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__scroll i { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); transform-origin: top; animation: drip 2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: var(--ink); }
.marquee__row { display: flex; width: max-content; }
.marquee__track { display: flex; align-items: center; flex-shrink: 0; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2.6vw, 36px); letter-spacing: -.02em; white-space: nowrap; padding: 0 30px; }
.marquee__track span.alt { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--gold); }
html[lang="ar"] .marquee__track span { letter-spacing: 0; }
html[lang="ar"] .marquee__track span.alt { font-style: normal; }
.marquee__track i { flex-shrink: 0; width: 40px; height: 24px; background: url(../img/continuum-logo-sm.png) center / contain no-repeat; }
@keyframes marquee { to { transform: translateX(-100%); } }
html[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(100%); } }

/* ---------- Manifeste ---------- */
.mani { max-width: var(--maxw); margin: 0 auto; padding: clamp(110px, 16vw, 220px) var(--gutter); }
.mani__text { margin-top: 34px; font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 4.2vw, 64px); line-height: 1.12; letter-spacing: -.03em; }
html[lang="ar"] .mani__text { letter-spacing: 0; line-height: 1.5; font-weight: 500; }
.mani__text .mw { opacity: .14; transition: none; }
.mani__text .mw.is-key { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--gold-hi); }
html[lang="ar"] .mani__text .mw.is-key { font-family: inherit; font-style: normal; font-weight: 700; }

/* ---------- Services ---------- */
.svcs { padding: 40px 0 clamp(80px, 10vw, 140px); }
.svcs__stack { max-width: var(--maxw); margin: clamp(50px, 7vw, 90px) auto 0; padding: 0 var(--gutter); display: flex; flex-direction: column; gap: 28px; }
.svc {
  position: sticky; top: calc(var(--navh) + 20px + var(--i) * 18px);
  display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(24px, 4vw, 60px);
  min-height: min(620px, 72vh);
  padding: clamp(28px, 4.5vw, 64px);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(var(--gold-rgb), .09), rgba(var(--gold-rgb), 0) 55%),
    linear-gradient(160deg, #18181b, #0f0f11 70%);
  border: 1px solid var(--line);
  box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, .8);
  transform-origin: 50% 0;
  will-change: transform;
}
.svc::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: #050506; opacity: var(--dim, 0); pointer-events: none; }
html[dir="rtl"] .svc { background: radial-gradient(120% 90% at 0% 0%, rgba(var(--gold-rgb), .09), rgba(var(--gold-rgb), 0) 55%), linear-gradient(200deg, #18181b, #0f0f11 70%); }
.svc__num { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .1em; color: var(--gold); }
.svc__num::after { content: " / 05"; color: var(--muted); }
html[dir="rtl"] .svc__num { direction: ltr; text-align: right; } /* « 04 / 05 » se lit dans le bon ordre en arabe */
.svc__title { margin-top: 26px; font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 4.6vw, 72px); line-height: 1; letter-spacing: -.035em; }
html[lang="ar"] .svc__title { letter-spacing: 0; line-height: 1.3; }
.svc__desc { margin-top: 22px; max-width: 460px; color: rgba(236, 232, 225, .72); font-size: clamp(16px, 1.35vw, 19px); }
.tags { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 600; color: rgba(236, 232, 225, .85); }
.svc__art { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 16px; border: 1px solid var(--line); background: radial-gradient(closest-side, rgba(var(--gold-rgb), .08), transparent), repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, .025) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, .025) 39px 40px), #121214; isolation: isolate; }

/* 01 — identité : jeu de cartes */
.deck { position: absolute; inset: 8% 0 10%; display: grid; place-items: center; }
.deck__card { position: absolute; width: 36%; aspect-ratio: 3 / 4; margin: 0; border-radius: 10px; overflow: hidden; background: #0d0d0e; box-shadow: 0 26px 50px -18px rgba(0, 0, 0, .85), 0 0 0 1px rgba(var(--gold-rgb), .35); will-change: transform; }
.deck__card img { width: 100%; height: 100%; object-fit: cover; }
.deck__card figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 26px 10px 8px; background: linear-gradient(to top, rgba(9, 9, 10, .85), rgba(9, 9, 10, 0)); font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; color: var(--gold-hi); letter-spacing: .02em; }
/* état de repos (sans animation) */
.deck__card:nth-child(2) { transform: translateX(62%) translateY(4%) rotate(8deg) scale(.86); }
.deck__card:nth-child(3) { transform: translateX(-62%) translateY(4%) rotate(-8deg) scale(.86); }
.deck__card:nth-child(n+4) { opacity: 0; }
.deck__card:nth-child(1) { z-index: 4; }

/* 02 — 3D : du plan au rendu */
.plan { position: absolute; inset: 7%; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(var(--gold-rgb), .3), 0 30px 60px -30px rgba(0, 0, 0, .9); background: #131315; }
.plan__item { position: absolute; inset: 0; }
.plan__item + .plan__item { opacity: 0; visibility: hidden; } /* état de repos : un seul plan visible */
.plan__item img, .plan__item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plan__client { position: absolute; left: 12px; bottom: 10px; z-index: 3; padding: 5px 10px; border-radius: 999px; background: rgba(9, 9, 10, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; color: var(--text); }
.plan__scan { position: absolute; top: 0; bottom: 0; left: 0; z-index: 4; width: 2px; margin-left: -1px; background: #fff3d6; box-shadow: 0 0 14px 3px rgba(var(--gold-rgb), .85), 0 0 40px 10px rgba(var(--gold-rgb), .3); opacity: 0; pointer-events: none; }
.plan__tag { position: absolute; top: 10px; right: 12px; z-index: 5; direction: ltr; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 9px; border-radius: 999px; background: rgba(9, 9, 10, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
html[lang="ar"] .plan__tag { letter-spacing: 0; font-size: 12px; }
.plan__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .25); }

/* 03 — réseaux sociaux : téléphone et fil */
.phone { position: absolute; left: 50%; top: 50%; height: 92%; aspect-ratio: 9 / 18.5; transform: translate(-50%, -50%); padding: 7px; border-radius: 30px; background: #0b0b0c; box-shadow: 0 0 0 1px rgba(var(--gold-rgb), .55), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 60px -22px rgba(0, 0, 0, .95); }
.phone__screen { position: relative; height: 100%; border-radius: 23px; overflow: hidden; background: #141416; display: flex; flex-direction: column; }
.phone__head { display: flex; align-items: center; gap: 8px; padding: 14px 10px 10px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.phone__avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #0b0b0c; box-shadow: 0 0 0 1.5px var(--gold); }
.phone__avatar img { width: 20px; height: auto; }
.phone__name { display: flex; flex-direction: column; font-size: 11px; font-weight: 800; color: var(--text); line-height: 1.15; direction: ltr; }
.phone__name small { font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.phone__feed { position: relative; flex: 1; overflow: hidden; }
.phone__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding-bottom: 2px; animation: feed 42s linear infinite; animation-play-state: paused; }
.svc__art--phone.is-live .phone__track { animation-play-state: running; }
.phone__track img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@keyframes feed { to { transform: translateY(-50%); } }
.hearts { position: absolute; left: 50%; top: 62%; margin-left: 22%; width: 0; height: 0; pointer-events: none; }
html[dir="rtl"] .hearts { margin-left: -22%; }
.heart { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; }
.heart svg { width: 100%; height: 100%; fill: var(--gold); filter: drop-shadow(0 0 8px rgba(var(--gold-rgb), .6)); }

/* 05 — motion design : lecteur vidéo */
.player { position: absolute; inset: 7% 6%; display: flex; flex-direction: column; gap: 10px; }
.player__screen { position: relative; flex: 1; border-radius: 12px; overflow: hidden; background: #0b0b0c; box-shadow: 0 0 0 1px rgba(var(--gold-rgb), .45), 0 30px 60px -26px rgba(0, 0, 0, .95); }
.player__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__screen video:not(:first-child) { opacity: 0; }
.player__badge { position: absolute; bottom: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(9, 9, 10, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgba(var(--gold-rgb), .6); }
.player__badge img { width: 22px; height: auto; }
.player__info { display: flex; align-items: baseline; gap: 10px; min-height: 20px; white-space: nowrap; overflow: hidden; }
.player__n { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--gold); }
.player__client { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; color: var(--text); }
.player__cap { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.player__chapters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.player__chapters i { position: relative; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.player__chapters b { position: absolute; inset: 0; background: var(--brushed) center / 300px auto; transform-origin: left; transform: scaleX(0); }
html[dir="rtl"] .player__chapters b { transform-origin: right; }

/* 04 — sites web : maquette filaire -> design final (ordinateur + téléphone) */
.site-desk { position: absolute; left: 5%; top: 10%; width: 76%; border-radius: 10px; overflow: hidden; background: #0b0b0c; box-shadow: 0 0 0 1px rgba(var(--gold-rgb), .45), 0 30px 60px -26px rgba(0, 0, 0, .95); }
.site-phone { position: absolute; right: 5%; bottom: 6%; width: 21%; padding: 5px; border-radius: 20px; background: #0b0b0c; box-shadow: 0 0 0 1px rgba(var(--gold-rgb), .6), 0 24px 50px -16px rgba(0, 0, 0, .95); z-index: 2; }
.site-screen { position: relative; overflow: hidden; background-color: #0f0f11; background-image: repeating-linear-gradient(0deg, transparent 0 15px, rgba(255, 255, 255, .03) 15px 16px), repeating-linear-gradient(90deg, transparent 0 15px, rgba(255, 255, 255, .03) 15px 16px); }
.site-desk .site-screen { aspect-ratio: 16 / 10; }
.site-phone .site-screen { aspect-ratio: 390 / 844; border-radius: 15px; }
.site-render { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.site-slide { position: absolute; inset: 0; }
.site-screen .site-slide:not(:first-child) { opacity: 0; visibility: hidden; }
.site-url { font: inherit; }
.site-client { left: 5%; bottom: 6%; }
.site-wire { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; overflow: visible; }
.site-wire .w { fill: none; stroke: #d9bf86; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.site-wire .w.t { stroke: #f1e3bf; stroke-width: 3.6; }
.site-wire .w.lg { stroke-width: 8; }
.site-wire .g line { stroke: rgba(255, 255, 255, .09); stroke-width: 1.5; stroke-dasharray: 6 10; }
.site-scan { position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 2px; margin-top: -1px; background: #fff3d6; box-shadow: 0 0 14px 3px rgba(var(--gold-rgb), .85), 0 0 40px 10px rgba(var(--gold-rgb), .3); opacity: 0; pointer-events: none; }
.site-tag { top: 3%; right: 5%; }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #17171a; border-bottom: 1px solid rgba(255, 255, 255, .06); direction: ltr; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.browser__bar i:first-child { background: var(--gold); }
.browser__url { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto; padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); font-size: 11px; font-weight: 700; color: rgba(236, 232, 225, .7); }
.browser__url svg { width: 11px; height: 11px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.browser__cursor { position: absolute; left: 70%; top: 76%; z-index: 5; width: 30px; margin: -9px 0 0 -15px; display: grid; place-items: center; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .7)); }
.browser__cursor img { width: 100%; height: auto; }
.browser__ripple { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1.5px solid var(--gold-hi); opacity: 0; }

/* ---------- Réalisations ---------- */
.work { padding: clamp(80px, 10vw, 140px) 0 clamp(90px, 11vw, 160px); }
.reel { max-width: 1440px; margin: clamp(46px, 6vw, 80px) auto 0; padding: 0 var(--gutter); }
.reel__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden;
  background: radial-gradient(70% 90% at 50% 50%, #17171a, #0b0b0c);
  border: 1px solid var(--line);
  transform-origin: 50% 30%;
}
.reel__frame::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(246, 227, 172, .55), rgba(var(--gold-rgb), 0) 35%, rgba(var(--gold-rgb), 0) 65%, rgba(246, 227, 172, .4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__soon[hidden] { display: none; }
.reel__soon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 20px; }
.reel__logo { width: min(30%, 300px); aspect-ratio: 418 / 252; }
.reel__label { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(26px, 4vw, 56px); letter-spacing: -.03em; }
.reel__note { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .reel__note { letter-spacing: 0; font-size: 15px; }
.reel__play { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: flex-start; padding: clamp(16px, 3vw, 40px); text-align: start; background: linear-gradient(to top, rgba(9, 9, 10, .72), rgba(9, 9, 10, 0) 40%); transition: opacity .4s; }
.reel__play[hidden] { display: none; }
.reel__play::before { /* pendant l'aperçu : un voile sombre sous la commande masque les légendes du film */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(58% 52% at 0% 100%, rgba(9, 9, 10, .95), rgba(9, 9, 10, .7) 42%, rgba(9, 9, 10, 0) 100%);
}
html[dir="rtl"] .reel__play::before { background: radial-gradient(58% 52% at 100% 100%, rgba(9, 9, 10, .95), rgba(9, 9, 10, .7) 42%, rgba(9, 9, 10, 0) 100%); }
.reel.is-preview .reel__play::before { opacity: 1; }
.reel__cta { position: relative; display: inline-flex; align-items: center; gap: clamp(12px, 1.4vw, 18px); }
.reel__playbtn { flex: none; width: clamp(54px, 5.4vw, 78px); height: clamp(54px, 5.4vw, 78px); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 14px 40px -12px rgba(var(--gold-rgb), .6); transition: transform .5s var(--ease); }
.reel__playbtn svg { width: 36%; height: 36%; fill: var(--ink); margin-left: 7%; }
.reel__txt { display: flex; flex-direction: column; gap: 5px; }
.reel__txt b { font-size: clamp(12px, 1vw, 14px); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.reel__txt i { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--gold-hi); opacity: .8; font-variant-numeric: tabular-nums; }
html[lang="ar"] .reel__txt b { letter-spacing: 0; font-size: 15px; }
.reel__play:hover .reel__playbtn, .reel__play:focus-visible .reel__playbtn { transform: scale(1.08); }
.reel.is-playing .reel__play { opacity: 0; pointer-events: none; }

/* ---------- Nos vidéos (bande défilante) ---------- */
.vids { max-width: 1440px; margin: clamp(64px, 8vw, 120px) auto 0; }
.vids__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 0 var(--gutter); }
.vids__title { margin-top: 16px; font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.02; letter-spacing: -.03em; }
.vids__title em { font-family: var(--f-serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
html[lang="ar"] .vids__title { letter-spacing: 0; line-height: 1.3; }
html[lang="ar"] .vids__title em { font-style: normal; font-weight: 700; }
.vids__lead { margin-top: 14px; max-width: 520px; color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); }
.vids__nav { display: flex; gap: 10px; flex: none; }
.vids__arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text); transition: background-color .3s, color .3s, border-color .3s, opacity .3s; }
.vids__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .vids__arrow svg { transform: scaleX(-1); }
.vids__arrow:hover:not(:disabled) { background: var(--brushed) center / 520px auto; color: var(--ink); border-color: transparent; }
.vids__arrow:disabled { opacity: .28; cursor: default; }
.vids__track { display: flex; gap: clamp(12px, 1.4vw, 20px); margin: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: clamp(22px, 3vw, 34px) var(--gutter) 6px; scrollbar-width: none; }
.vids__track::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) { .vids__track { cursor: grab; } }
.vids__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.vids__track.is-dragging .vcard__btn { pointer-events: none; }
.vcard { --vh: clamp(230px, 24vw, 340px); flex: none; height: var(--vh); width: calc(var(--vh) * var(--ar, 1)); scroll-snap-align: start; }
.vcard__btn { position: relative; display: block; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; isolation: isolate; text-align: start; }
.vcard__media { position: absolute; inset: 0; display: block; }
.vcard__media img, .vcard__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard__media img { transition: transform 1.1s var(--ease); }
.vcard__preview { opacity: 0; transition: opacity .45s; }
.vcard.is-previewing .vcard__preview { opacity: 1; }
.vcard__btn::after { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; border: 1px solid var(--line); pointer-events: none; transition: border-color .5s, inset .6s var(--ease), border-radius .6s var(--ease); }
.vcard__play { position: absolute; top: 50%; left: 50%; z-index: 3; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: rgba(9, 9, 10, .45); border: 1px solid rgba(246, 227, 172, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .5s var(--ease), opacity .4s; }
.vcard__play svg { width: 20px; height: 20px; fill: var(--gold-hi); margin-left: 3px; }
.vcard.is-previewing .vcard__play { opacity: 0; transform: scale(.8); }
.vcard__meta { position: absolute; inset-inline: 0; bottom: 0; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 46px 14px 12px; background: linear-gradient(to top, rgba(9, 9, 10, .85), rgba(9, 9, 10, 0)); }
.vcard__meta b { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--f-display); font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.vcard__meta i { flex: none; font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
@media (hover: hover) {
  .vcard__btn:hover .vcard__media img { transform: scale(1.05); }
  .vcard__btn:hover::after, .vcard__btn:focus-visible::after { inset: 8px; border-radius: 10px; border-color: rgba(var(--gold-rgb), .85); }
}
.vids__foot { display: flex; align-items: center; gap: 24px; padding: 22px var(--gutter) 0; }
.vids__bar { position: relative; flex: 1; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.vids__bar b { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 20%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }
.vids__all { flex: none; display: inline-flex; align-items: baseline; gap: 6px; min-height: 40px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.vids__all sup { font-size: 10px; opacity: .7; }
.vids__all:hover span { text-decoration: underline; text-underline-offset: 4px; }
html[lang="ar"] .vids__all { letter-spacing: 0; font-size: 15px; }

/* ---------- Galerie des réalisations ---------- */
.gal { max-width: 1440px; margin: clamp(56px, 7vw, 100px) auto 0; padding: 0 var(--gutter); }
.gal__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: clamp(22px, 3vw, 36px); }
.gal__filters { position: relative; display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; }
.gal__filters button { position: relative; z-index: 1; display: inline-flex; align-items: baseline; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: rgba(236, 232, 225, .7); transition: color .4s; white-space: nowrap; }
.gal__filters button sup { font-size: 10px; font-weight: 800; opacity: .65; }
.gal__filters button:hover { color: var(--text); }
.gal__filters button[aria-selected="true"] { color: var(--ink); }
.gal__pill { position: absolute; top: 0; left: 0; width: 0; height: 0; border-radius: 999px; background: var(--brushed) center / 520px auto; box-shadow: 0 8px 26px -10px rgba(var(--gold-rgb), .6); pointer-events: none; }
.gal__count { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .gal__count { letter-spacing: 0; font-size: 14px; }
.gal__grid { position: relative; margin: 0; transition: height .6s var(--ease); }
.tile { position: absolute; top: 0; left: 0; will-change: transform; }
.tile[hidden] { display: none; }
.tile__btn { position: relative; display: block; width: 100%; height: 100%; border-radius: 14px; overflow: hidden; isolation: isolate; text-align: start; }
.tile__media { position: absolute; inset: 0; display: block; }
.tile__media img, .tile__preview { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.tile__preview { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.tile.is-previewing .tile__preview { opacity: 1; }
.tile__btn::after { /* même reflet que le logo */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 248, 228, 0) 38%, rgba(255, 248, 228, .28) 50%, rgba(255, 248, 228, 0) 62%) no-repeat;
  background-size: 260% 100%; background-position: 160% 0; transition: background-position 1.1s var(--ease);
}
.tile__meta {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; gap: 2px;
  padding: 40px 14px 12px; background: linear-gradient(to top, rgba(9, 9, 10, .85), rgba(9, 9, 10, 0));
  transform: translateY(6px); opacity: .92; transition: transform .6s var(--ease), opacity .4s;
}
.tile__meta b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--f-display); font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.tile__meta i { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-hi); }
html[lang="ar"] .tile__meta i { letter-spacing: 0; font-size: 12px; }
.tile__frame { position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none; border: 1px solid rgba(var(--gold-rgb), .0); transition: border-color .5s, inset .6s var(--ease); }
.tile__play { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 8px; border-radius: 999px; background: rgba(9, 9, 10, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 12px; font-weight: 800; color: var(--text); }
.tile__play svg { width: 14px; height: 14px; fill: var(--gold); }
.tile__play i { font-style: normal; }
@media (hover: hover) {
  .tile__btn:hover .tile__media img { transform: scale(1.05); }
  .tile__btn:hover::after { background-position: -60% 0; }
  .tile__btn:hover .tile__frame { inset: 8px; border-color: rgba(var(--gold-rgb), .85); }
  .tile__btn:hover .tile__meta { transform: none; opacity: 1; }
}
.tile__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gal__foot { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 48px); }
.gal__more[hidden] { display: none; }

/* Visionneuse */
.lb { position: fixed; inset: 0; z-index: 260; display: grid; place-items: center; }
.lb[hidden] { display: none; }
.lb__bg { position: absolute; inset: 0; background: rgba(6, 6, 7, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lb__stage { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: calc(100vw - 2 * var(--gutter) - 120px); }
.lb__media { display: grid; place-items: center; touch-action: pan-y; }
.lb__media img, .lb__media video { display: block; max-width: calc(100vw - 2 * var(--gutter) - 120px); max-height: calc(100svh - 150px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); background: #000; }
.lb__cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px 14px; text-align: center; }
.lb__client { font-family: var(--f-display); font-size: 18px; font-weight: 700; }
.lb__cat { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
html[lang="ar"] .lb__cat { letter-spacing: 0; font-size: 13px; }
.lb__num { font-size: 12px; font-weight: 700; color: var(--muted); }
.lb__btn { position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 20, 22, .8); box-shadow: 0 0 0 1px rgba(var(--gold-rgb), .55); color: var(--gold-hi); transition: transform .4s var(--ease), background-color .3s; }
.lb__btn:hover { transform: scale(1.08); background: rgba(var(--gold-rgb), .15); }
.lb__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb__prev { left: var(--gutter); top: 50%; margin-top: -26px; }
.lb__next { right: var(--gutter); top: 50%; margin-top: -26px; }
html[dir="rtl"] .lb__prev { left: auto; right: var(--gutter); }
html[dir="rtl"] .lb__next { right: auto; left: var(--gutter); }
html[dir="rtl"] .lb__prev svg, html[dir="rtl"] .lb__next svg { transform: scaleX(-1); }
.lb__close { top: 18px; inset-inline-end: var(--gutter); }
.lb-open .wa, .lb-open .cursor { display: none; }
.lb-open .lb, .lb-open .lb * { cursor: auto; }

/* ---------- Méthode (section claire) : chaque étape dessine une partie du logo ---------- */
.method { background: var(--paper); color: var(--paper-ink); }
.method__pin { min-height: 100svh; padding: calc(var(--navh) + 10px) 0 clamp(30px, 5vh, 60px); display: flex; flex-direction: column; justify-content: center; }
.method .sec-title { font-size: clamp(40px, min(6vw, 8.5vh), 100px); }
.method .eyebrow { color: var(--paper-muted); }
.method .sec-lead { color: var(--paper-muted); }
.method__body { max-width: var(--maxw); width: 100%; margin: clamp(22px, 4vh, 54px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
/* étapes : un fil doré se remplit à mesure que la partie du logo se dessine */
.steps { display: grid; gap: clamp(10px, 2vh, 22px); }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; padding-inline-start: 22px; opacity: .38; transition: opacity .5s; }
.step.is-on { opacity: 1; }
.step__bar { position: absolute; inset-inline-start: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: rgba(20, 18, 16, .12); overflow: hidden; }
.step__bar b { position: absolute; inset: 0; background: var(--brushed) center / 40px 400px; transform-origin: top; transform: scaleY(var(--p, 0)); }
.step__n { padding-top: 6px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .1em; color: rgba(20, 18, 16, .45); transition: color .4s; }
.step.is-on .step__n { color: #8a6a33; }
.step h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, min(2.2vw, 3.6vh), 32px); letter-spacing: -.03em; line-height: 1.15; }
html[lang="ar"] .step h3 { letter-spacing: 0; line-height: 1.45; }
.step p { margin-top: 4px; color: var(--paper-muted); font-size: clamp(14px, min(1.15vw, 1.9vh), 16px); line-height: 1.5; }
.step.is-done h3::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-start: 10px; border-radius: 50%; background: var(--gold); vertical-align: middle; box-shadow: 0 0 0 4px rgba(var(--gold-rgb), .18); }
/* le logo */
.method__loop { position: relative; display: flex; flex-direction: column; align-items: center; gap: clamp(10px, 2vh, 20px); }
.method__art { position: relative; width: min(100%, 64vh); aspect-ratio: 418 / 252; }
.method__svg { display: block; width: 100%; height: auto; overflow: visible; }
.method__ghost { opacity: calc(.13 * (1 - var(--done, 0))); filter: grayscale(1) contrast(.8); }
.method__guide { fill: none; stroke: rgba(20, 18, 16, .22); stroke-width: .8; stroke-dasharray: 2 4; stroke-linecap: round; opacity: calc(1 - var(--done, 0)); }
.method__pen { fill: none; stroke: #7a5a26; stroke-width: 1.6; stroke-linecap: round; opacity: calc(1 - var(--done, 0)); }
.method__tip { fill: #fff6dc; stroke: #8a6a33; stroke-width: 1.2; filter: drop-shadow(0 0 5px rgba(var(--gold-rgb), .95)); }
.method__nodes .halo { fill: rgba(var(--gold-rgb), .0); transition: fill .5s; }
.method__nodes .ring { fill: var(--paper); stroke: rgba(20, 18, 16, .3); stroke-width: 1.2; transition: fill .45s, stroke .45s; }
.method__nodes text { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 9.5px; fill: rgba(20, 18, 16, .55); text-anchor: middle; dominant-baseline: central; transition: fill .45s; }
.method__nodes g.is-on .halo { fill: rgba(var(--gold-rgb), .28); animation: halo 2.4s var(--ease) infinite; }
.method__nodes g.is-on .ring { fill: var(--paper-ink); stroke: var(--gold); }
.method__nodes g.is-on text { fill: var(--gold-hi); }
@keyframes halo { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
.method__nodes g { transition: opacity .6s; }
.method__loop.is-done .method__nodes g { opacity: 0; }
/* une fois le logo complet : le même reflet que dans le hero */
.method__art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, rgba(255, 248, 228, 0) 40%, rgba(255, 248, 228, .6) 50%, rgba(255, 248, 228, 0) 60%) no-repeat;
  background-size: 260% 100%; background-position: 160% 0;
  -webkit-mask: url(../img/continuum-logo.png) center / 100% 100% no-repeat; mask: url(../img/continuum-logo.png) center / 100% 100% no-repeat;
}
.method__loop.is-done .method__art::after { opacity: 1; animation: shine 3.6s var(--ease) infinite .2s; }
.method__caption { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(20, 18, 16, .05); font-weight: 700; font-size: 14px; }
html[dir="rtl"] .method__caption { padding: 8px 8px 8px 16px; }
.method__capn { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 999px; background: var(--paper-ink); color: var(--gold-hi); font-family: 'Syne', sans-serif; font-size: 12px; }

/* ---------- Appel ---------- */
.cta { position: relative; padding: clamp(100px, 13vw, 180px) 0; overflow: hidden; isolation: isolate; }
.cta__glow { position: absolute; left: 50%; top: 58%; width: min(900px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--gold-rgb), .16), rgba(var(--gold-rgb), 0)); pointer-events: none; z-index: -1; }
.cta__lines { position: absolute; left: 50%; top: 50%; width: min(1500px, 170vw); aspect-ratio: 418 / 252; transform: translate(-50%, -50%); pointer-events: none; z-index: -1; -webkit-mask: radial-gradient(closest-side, #000 55%, transparent); mask: radial-gradient(closest-side, #000 55%, transparent); }
.logo-lines--thin .logo-lines__band { display: none; }
.logo-lines--thin .logo-lines__line--gold { stroke: rgba(var(--gold-rgb), .55); }
.logo-lines--thin .logo-lines__line--black { stroke: rgba(236, 232, 225, .16); }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: clamp(26px, 3.4vw, 40px); text-align: center; padding: 0 var(--gutter); }
.cta__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(44px, 8vw, 130px); line-height: .98; letter-spacing: -.045em; }
.cta__title em { font-family: var(--f-serif); font-weight: 400; font-style: italic; }
html[lang="ar"] .cta__title { letter-spacing: 0; line-height: 1.3; }
html[lang="ar"] .cta__title em { font-style: normal; font-weight: 800; }
/* disque or brossé entouré d'un texte qui tourne */
.cta__orb { position: relative; width: clamp(230px, 22vw, 300px); aspect-ratio: 1; display: grid; place-items: center; }
.cta__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 26s linear infinite; }
.cta__ring text { direction: ltr; unicode-bidi: plaintext; font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; fill: var(--gold-hi); }
html[lang="ar"] .cta__ring text { font-family: 'Alexandria', sans-serif; letter-spacing: 0; font-size: 16px; text-transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta__orb:hover .cta__ring { animation-duration: 9s; }
.cta__btn {
  position: relative; overflow: hidden;
  width: 66%; aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: var(--ink); font-weight: 800; font-size: 15px; letter-spacing: .04em;
  box-shadow: 0 24px 70px -20px rgba(var(--gold-rgb), .75), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -10px 30px rgba(80, 55, 15, .25);
  transition: transform .6s var(--ease);
}
.cta__btn:hover { transform: scale(1.05); }
.cta__mark { width: 46%; height: auto; filter: brightness(.2) sepia(.4) drop-shadow(0 1px 0 rgba(255, 245, 215, .5)); opacity: .85; margin-bottom: 2px; }
.cta__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.cta__btn:hover svg { transform: translateX(4px); }
html[dir="rtl"] .cta__btn:hover svg { transform: scaleX(-1) translateX(4px); }
.cta__direct { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 12px; font-size: 15px; color: var(--muted); }
.cta__direct i { font-style: normal; color: rgba(var(--gold-rgb), .6); }

/* ---------- Contact ---------- */
.contact { padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 11vw, 150px); }
.contact__grid { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; column-gap: clamp(40px, 6vw, 100px); row-gap: 0; align-items: start; }
/* ordinateur : accroche et coordonnées à gauche, formulaire à droite ; téléphone : le formulaire suit l'accroche */
.contact__info { grid-column: 1; grid-row: 1; }
.contact__grid > .form { grid-column: 2; grid-row: 1 / span 2; }
.contact__grid > .coords { grid-column: 1; grid-row: 2; }
.coords { margin: 46px 0 0; display: grid; gap: 0; }
.coords > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.coords dt { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
html[lang="ar"] .coords dt { letter-spacing: 0; font-size: 14px; }
.coords dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.link { position: relative; color: var(--gold); font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
html[dir="rtl"] .link { background-position: 100% 100%; }
.link:hover { background-size: 100% 1px; }
.link--big { font-family: var(--f-body); font-size: clamp(20px, 2vw, 28px); font-weight: 700; color: var(--text); letter-spacing: -.01em; }

.form {
  padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius);
  background: linear-gradient(160deg, #17171a, #0f0f11 70%); border: 1px solid var(--line);
  display: grid; gap: 22px;
}
.field { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: rgba(236, 232, 225, .85); padding: 0; }
.field small { font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 15px 16px; transition: border-color .3s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(var(--gold-rgb), .05); }
.field.is-invalid input { border-color: #e0806b; }
.field__err { color: #f0a08e; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; transition: background-color .3s, color .3s, border-color .3s; }
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.form__legal { font-size: 13px; color: var(--muted); }
.form__done { padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(var(--gold-rgb), .4); background: rgba(var(--gold-rgb), .07); }
.form__doneT { font-weight: 800; color: var(--gold-hi); margin-bottom: 4px; }

/* ---------- Pied de page ---------- */
.foot { position: relative; border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 100px) var(--gutter) 26px; overflow: hidden; background: radial-gradient(80% 60% at 50% 100%, rgba(var(--gold-rgb), .08), rgba(var(--gold-rgb), 0) 70%), var(--ink); }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; max-width: var(--maxw); margin: 0 auto; }
.foot__brand { display: inline-flex; align-items: center; gap: 18px; }
.foot__mark { display: block; width: clamp(96px, 9vw, 130px); aspect-ratio: 418 / 252; }
.foot__lock { display: flex; flex-direction: column; gap: 6px; direction: ltr; text-align: left; font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(16px, 1.6vw, 22px); letter-spacing: .26em; text-transform: uppercase; line-height: 1.1; }
.foot__lock small { font-family: 'Manrope', sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .5em; color: var(--gold); }
html[dir="rtl"] .foot__lock { text-align: right; align-items: flex-end; }
.foot__tag { max-width: 420px; color: var(--muted); font-size: 16px; }
.foot__cols { max-width: var(--maxw); margin: clamp(40px, 5vw, 64px) auto 0; padding: clamp(28px, 3.5vw, 40px) 0; border-block: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.3fr 1fr auto; gap: 28px 40px; }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; color: rgba(236, 232, 225, .8); }
.foot__h { margin-bottom: 4px; font-size: 11px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .foot__h { letter-spacing: 0; font-size: 13px; }
.foot__col a { position: relative; color: var(--text); font-weight: 600; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
html[dir="rtl"] .foot__col a { background-position: 100% 100%; }
.foot__col a:hover { color: var(--gold-hi); background-size: 100% 1px; }
.foot__col--end { justify-content: flex-start; align-items: flex-end; }
.foot__top-btn { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
html[lang="ar"] .foot__top-btn { letter-spacing: 0; }
.foot__top-btn svg { width: 46px; height: 46px; padding: 12px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(var(--gold-rgb), .6); fill: none; stroke: var(--gold-hi); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease), background-color .3s; }
.foot__top-btn:hover svg { transform: translateY(-4px); background: rgba(var(--gold-rgb), .14); }
/* l'identité animée : le logo se dessine à la plume, puis une lumière parcourt son ruban, sans fin */
.foot__big { display: flex; justify-content: center; max-width: var(--maxw); margin: clamp(30px, 4.5vw, 60px) auto 0; padding: clamp(6px, 1.2vw, 16px) 0; }
.foot__logo { position: relative; display: block; width: clamp(170px, 21vw, 290px); line-height: 0; }
.foot__lg .logo-draw { filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .55)) drop-shadow(0 0 34px rgba(var(--gold-rgb), .14)); }
.foot__gl { position: absolute; inset: 0; pointer-events: none; }
.foot__gl .logo-lines__band, .foot__gl .logo-lines__line { display: none; }
.foot__gl .logo-lines__glint { stroke: rgba(255, 247, 226, .95); stroke-linecap: round; filter: drop-shadow(0 0 2px rgba(255, 240, 205, .95)) drop-shadow(0 0 7px rgba(var(--gold-rgb), .9)); }
.foot__logo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, rgba(255, 248, 228, 0) 40%, rgba(255, 248, 228, .55) 50%, rgba(255, 248, 228, 0) 60%) no-repeat;
  background-size: 260% 100%; background-position: 160% 0;
  -webkit-mask: url(../img/continuum-logo.png) center / 100% 100% no-repeat; mask: url(../img/continuum-logo.png) center / 100% 100% no-repeat;
}
.foot__logo.is-lit::after { opacity: 1; animation: footsheen-logo 2.2s var(--ease) forwards; }
@keyframes footsheen-logo { to { background-position: -60% 0; } }

.foot__bar { max-width: var(--maxw); margin: 18px auto 0; padding-inline-end: 90px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 30px; font-size: 13px; color: var(--muted); }
.foot__music { font-size: 12px; color: rgba(154, 149, 140, .7); }

/* ---------- Bouton WhatsApp ---------- */
.wa {
  position: fixed; z-index: 95; bottom: 26px; inset-inline-end: 26px;
  width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center; perspective: 400px;
  background: radial-gradient(circle at 50% 35%, #1d1d20, #0b0b0c 70%);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .8), 0 0 0 1px rgba(var(--gold-rgb), .55), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.wa[hidden] { display: none; }
.wa__card { position: relative; width: 44px; height: 44px; transform-style: preserve-3d; }
.wa__face { position: absolute; inset: 0; display: grid; place-items: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.wa__face--logo img { width: 42px; height: auto; }
.wa__face--back { transform: rotateY(180deg); color: var(--gold); }
.wa__ico { width: 28px; height: 28px; fill: currentColor; display: none; }
.wa.is-wa .wa__ico--wa, .wa:not(.is-wa) .wa__ico--quote { display: block; }
.wa__ico--quote { fill: none; }
.wa__ring { position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(var(--gold-rgb), .7); animation: ring 3.2s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 60%, 100% { transform: scale(1.55); opacity: 0; } }
.wa__tip { position: absolute; inset-inline-end: calc(100% + 14px); top: 50%; transform: translateY(-50%) translateX(8px); white-space: nowrap; padding: 9px 14px; border-radius: 10px; background: var(--text); color: var(--ink); font-size: 13px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
html[dir="rtl"] .wa__tip { transform: translateY(-50%) translateX(-8px); }
.wa:hover .wa__tip, .wa:focus-visible .wa__tip { opacity: 1; transform: translateY(-50%); }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  .nav__sig { display: none; }
}
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .gal__bar { flex-direction: column; align-items: stretch; }
  .gal__filters { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; align-self: flex-start; }
  .gal__filters::-webkit-scrollbar { display: none; }
  .burger { display: block; }
}
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; min-height: 0; top: calc(var(--navh) + 12px + var(--i) * 12px); }
  .svc__art { order: -1; }
  .method__body { grid-template-columns: 1fr; gap: 26px; }
  .method__loop { position: sticky; top: var(--navh); z-index: 2; order: -1; padding: 12px 0 14px; background: var(--paper); }
  .method__loop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 28px; background: linear-gradient(var(--paper), rgba(242, 237, 228, 0)); pointer-events: none; }
  .method__loop::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: calc(var(--navh) + 2px); background: var(--paper); opacity: 0; pointer-events: none; }
  .method__loop.is-stuck::before { opacity: 1; }
  .steps { gap: 0; }
  .step { min-height: 34vh; align-content: start; padding-top: 14px; }
  .method__art { width: min(100%, 420px); }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__col--end { align-items: flex-start; }
  .contact__grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 40px; }
  .contact__info, .contact__grid > .form, .contact__grid > .coords { grid-column: auto; grid-row: auto; }
  .contact__grid > .coords { margin-top: 0; }

}
@media (max-width: 640px) {
  :root { --navh: 66px; }
  body { font-size: 16px; }
  .nav__cta { display: none; }
  .nav__word { font-size: 12px; letter-spacing: .18em; }
  .nav__word small, .nav__sig { display: none; }
  .nav__mark { height: 28px; }
  .lang button { min-width: 32px; height: 30px; padding: 0 6px; }
  .hero { padding-bottom: 100px; }
  .hero__lines { width: 230vw; opacity: .4; }
  .hero__ctas { flex-direction: column; width: 100%; max-width: 340px; }
  .hero__ctas .btn { width: 100%; }
  .hero__foot > span:last-child { display: none; }
  .hero__foot { justify-content: center; gap: 0; }
  .hero__foot > span:first-child { display: none; }
  .svc { padding: 22px; gap: 22px; }
  .svc__title { margin-top: 14px; }
  .svc__desc { margin-top: 14px; }
  .tags { margin-top: 18px; }
  .reel__frame { border-radius: 16px; }
  .reel__soon { gap: 6px; padding: 12px; }
  .reel__logo { width: 34%; }
  .reel__label { font-size: 22px; }
  .reel__note { font-size: 11px; }
  .reel__playbtn { width: 46px; height: 46px; }
  .reel__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* le film porte déjà son titre : sur téléphone, seul le bouton reste visible */
  .reel__play { padding: 12px; background: none; }
  .vids__head { flex-direction: column; align-items: flex-start; }
  .vids__nav { display: none; }
  .vcard { --vh: 200px; scroll-snap-align: center; }
  .vcard__play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .vcard__play svg { width: 17px; height: 17px; }
  .vids__foot { gap: 16px; }
  .tile__meta { padding: 28px 10px 8px; }
  .tile__meta b { font-size: 13px; }
  .tile__meta i { font-size: 9.5px; }
  .lb__stage, .lb__media img, .lb__media video { max-width: calc(100vw - 24px); }
  .lb__media img, .lb__media video { max-height: calc(100svh - 190px); }
  .lb__prev, .lb__next { top: auto; bottom: 22px; margin-top: 0; }
  .lb__prev { left: 24px; }
  .lb__next { right: 24px; }
  html[dir="rtl"] .lb__prev { right: 24px; left: auto; }
  html[dir="rtl"] .lb__next { left: 24px; right: auto; }
  .foot__cols { grid-template-columns: 1fr; }
  .foot__bar { justify-content: center; text-align: center; padding-inline-end: 0; padding-bottom: 70px; }
  .cta__orb { width: 230px; }
  .cta__direct { display: flex; flex-direction: column; align-items: center; gap: 6px; } /* téléphone : un moyen de contact par ligne */
  .cta__direct > i { display: none; }
  .coords > div { grid-template-columns: 1fr; gap: 6px; }
  .wa { bottom: 18px; inset-inline-end: 18px; width: 58px; height: 58px; }
  .wa__card { width: 38px; height: 38px; }
  .wa__face--logo img { width: 36px; }
  .wa__tip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .grain { display: none; }
  .mani__text .mw { opacity: 1; }
  .step { opacity: 1; }
}

/* ==========================================================================
   v70 — conversion : à qui on s'adresse, offre, formulaire enregistré, barre mobile, consentement
   ========================================================================== */
.hero__for { margin-top: 26px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(236, 232, 225, .6); }
html[lang="ar"] .hero__for { letter-spacing: 0; font-size: 15px; }

.field--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); appearance: none; -webkit-appearance: none;
  background: rgba(255, 255, 255, .03) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bea064' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
  border: 1px solid var(--line-2); border-radius: 14px; padding: 15px 44px 15px 16px; transition: border-color .3s, background-color .3s;
}
html[dir="rtl"] .field select { background-position: left 14px center; padding: 15px 16px 15px 44px; }
.field select:focus { outline: none; border-color: var(--gold); }
.field select option { color: #111; }
.field.is-invalid input { border-color: #e0806b; }
/* champ piège : hors de vue sans décalage (un décalage à gauche élargirait la page en arabe) */
.form__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: rgba(236, 232, 225, .82); cursor: pointer; }
.form__consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); }
.form__consent a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.form__consent.is-invalid { color: #f0a08e; }
.form__alt { text-align: center; margin-top: -8px; }
.form__alt a { font-size: 14px; font-weight: 700; color: var(--gold-hi); text-decoration: underline; text-underline-offset: 4px; }
.form__fail { padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(224, 128, 107, .5); background: rgba(224, 128, 107, .08); }
.form__fail .form__doneT { color: #f0a08e; }
.form__wa { margin-top: 14px; min-height: 48px; }
.form__done:focus { outline: none; }
button[type="submit"][disabled] { opacity: .7; cursor: progress; }

/* barre d'action mobile */
.mbar { display: none; }
@media (max-width: 899px) {
  .mbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
    display: flex; gap: 10px; padding: 8px; border-radius: 20px;
    background: rgba(14, 14, 16, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(var(--gold-rgb), .35); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7);
    transform: translateY(130%); opacity: 0; transition: transform .5s var(--ease), opacity .4s; pointer-events: none;
  }
  .mbar.is-on { transform: none; opacity: 1; pointer-events: auto; }
  .mbar__quote {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: 14px;
    background: var(--brushed) center / 520px auto; color: var(--ink); font-weight: 800; font-size: 16px;
  }
  .mbar__quote svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
  html[dir="rtl"] .mbar__quote svg { transform: scaleX(-1); }
  .mbar__wa { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; border: 1px solid rgba(var(--gold-rgb), .55); color: var(--gold); }
  .mbar__wa svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
  .mbar__wa svg path:last-child { fill: currentColor; stroke: none; }
  html.has-mbar .wa { opacity: 0; visibility: hidden; pointer-events: none; }
  .wa { transition: opacity .35s, visibility .35s; }
  .field--pair { grid-template-columns: 1fr; }
}

/* consentement */
.consent {
  position: fixed; z-index: 120; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: min(420px, calc(100vw - 32px));
  padding: 20px 20px 18px; border-radius: 20px; background: rgba(16, 16, 18, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(var(--gold-rgb), .35); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .8);
  transform: translateY(20px); opacity: 0; transition: transform .5s var(--ease), opacity .4s;
}
html[dir="rtl"] .consent { left: auto; right: 16px; }
.consent.is-in { transform: none; opacity: 1; }
.consent__t { font-weight: 800; color: var(--gold-hi); margin-bottom: 6px; }
.consent__d { font-size: 14px; line-height: 1.5; color: rgba(236, 232, 225, .82); }
.consent__d a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.consent__btns { display: flex; gap: 10px; margin-top: 14px; }
.consent__btns .btn { flex: 1; min-height: 46px; padding: 0 16px; justify-content: center; }

.foot__links { font-size: 13px; }
.foot__links a, .foot__cookies { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.foot__cookies { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
