/* =============================================================
   Achraf's Lab Solutions – feuille de style
   Idée : le bleu Majorelle et le citron du jardin de Marrakech,
   l'étoile à huit branches comme signe, et une typographie
   large (Archivo étendu) pour une agence nette et sûre d'elle.
   ============================================================= */

/* ---------- Polices (hébergées sur le site) ---------- */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("/fonts/archivo-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("/fonts/archivo-latin-ext.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alexandria"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/alexandria-arabic.woff2") format("woff2-variations");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/plex-arabic-400.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/plex-arabic-600.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* ---------- Jetons ---------- */
:root {
  --bg: #F5F6FA;
  --bg-alt: #ECEEF8;
  --surface: #FFFFFF;
  --surface-2: #F0F2FA;
  --ink: #0D1030;
  --ink-2: #2A2F5A;
  --muted: #555B80;
  --line: #DFE2EE;
  --line-2: #CBD0E4;
  --primary: #3442E0;          /* bleu Majorelle */
  --primary-2: #2531B8;
  --primary-ink: #FFFFFF;
  --primary-soft: #E6E8FF;
  --citron: #F3D635;           /* citron Majorelle */
  --citron-ink: #2B2600;
  --band: #0D1030;             /* bandeau sombre */
  --band-ink: #E9EBFF;
  --band-muted: #A9AED3;
  --wa: #128C4A;
  --wa-hover: #0E7a3f;
  --ok: #138A4D;
  --bad: #C42B3E;
  --shadow: 0 1px 2px rgba(13, 16, 48, .05), 0 12px 32px -14px rgba(13, 16, 48, .22);
  --shadow-lg: 0 2px 6px rgba(13, 16, 48, .05), 0 30px 60px -28px rgba(13, 16, 48, .35);

  --f-body: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --display-stretch: 116%;
  --display-track: -0.022em;

  --wrap: 1200px;
  --gutter: 20px;
  --header-h: 72px;
  --r-card: 22px;
  --r-ctl: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #090B1F;
  --bg-alt: #0D1029;
  --surface: #11143A;
  --surface-2: #171B45;
  --ink: #ECEEFF;
  --ink-2: #CDD1F5;
  --muted: #A3A8CC;
  --line: #232856;
  --line-2: #323870;
  --primary: #7C86FF;
  --primary-2: #9AA2FF;
  --primary-ink: #0A0C24;
  --primary-soft: #1D2257;
  --band: #11143A;
  --band-ink: #ECEEFF;
  --band-muted: #A3A8CC;
  --wa: #25B866;
  --wa-hover: #2fcb73;
  --ok: #3ad08a;
  --bad: #ff7085;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -16px rgba(0, 0, 0, .7);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .3), 0 30px 60px -26px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
html[dir="rtl"] {
  --f-body: "Plex Arabic", "Archivo", "Segoe UI", Tahoma, sans-serif;
  --f-display: "Alexandria", "Archivo", "Segoe UI", Tahoma, sans-serif;
  --display-stretch: 100%;
  --display-track: 0;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.62 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[dir="rtl"] body { font-size: 1.09rem; line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-stretch: var(--display-stretch); letter-spacing: var(--display-track); color: var(--ink); margin: 0 0 .5em; line-height: 1.08; font-weight: 760; }
html[dir="rtl"] :is(h1, h2, h3, h4) { line-height: 1.35; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 4.3vw, 3.6rem); font-weight: 820; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.22rem; line-height: 1.25; letter-spacing: -0.01em; }
html[dir="rtl"] h3 { letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--citron); color: var(--citron-ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--primary); color: var(--primary-ink); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2 * var(--gutter)); }
.center { text-align: center; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- Boutons ---------- */
.btn {
  --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 20px; border-radius: var(--r-ctl);
  background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bd);
  font: 600 1rem/1.1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .18s, border-color .18s, color .18s, transform .18s var(--ease), box-shadow .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { --b-bg: var(--primary); --b-fg: var(--primary-ink); --b-bd: var(--primary); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--primary) 70%, transparent); }
.btn-primary:hover { --b-bg: var(--primary-2); --b-bd: var(--primary-2); }
.btn-ghost { --b-bg: var(--surface); }
.btn-ghost:hover { --b-bd: var(--ink); }
.btn-light { --b-bg: #fff; --b-fg: #1A1F70; --b-bd: #fff; }
.btn-light:hover { --b-bg: var(--citron); --b-bd: var(--citron); --b-fg: var(--citron-ink); }
.btn-wa { --b-bg: var(--wa); --b-fg: #fff; --b-bd: var(--wa); }
.btn-wa:hover { --b-bg: var(--wa-hover); --b-bd: var(--wa-hover); }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: .94rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-ctl); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--line-2); }
.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 11px; font-size: .82rem; font-weight: 600; }
.chip-soft { background: var(--primary-soft); color: var(--primary); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link .ico { width: 1em; height: 1em; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-in { height: 100%; display: flex; align-items: center; gap: 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.logo-mark svg { width: 34px; height: 34px; display: block; fill: none; stroke: var(--primary); stroke-width: 2.6; }
.logo-mark circle { fill: var(--citron); stroke: none; }
.logo-text { display: grid; line-height: 1; }
.logo-text b { font: 800 1.06rem/1 var(--f-display); font-family: "Archivo", sans-serif; font-stretch: 118%; letter-spacing: -0.02em; }
.logo-text small { font: 600 .74rem/1.3 "Archivo", sans-serif; font-stretch: 125%; color: var(--muted); letter-spacing: .02em; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .97rem; }
.main-nav a:hover, .main-nav a[aria-current="true"] { color: var(--ink); background: var(--surface-2); }
.nav-extra { display: none; }
.header-tools { display: flex; align-items: center; gap: 8px; }
[data-theme="light"] .ico-sun, [data-theme="dark"] .ico-moon { display: none; }
.burger { display: none; }
.burger .ico-x { display: none; }
.burger[aria-expanded="true"] .ico-x { display: block; }
.burger[aria-expanded="true"] .ico-menu { display: none; }

/* ---------- Héros ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.kicker .ico { color: var(--primary); }
.hero h1 { max-width: 17ch; margin-bottom: 22px; }
html[dir="rtl"] .hero h1 { max-width: 18ch; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero-actions.center { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-weight: 550; font-size: .97rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ico { color: var(--ok); stroke-width: 2.4; }

/* La composition « système » */
.system { position: relative; height: clamp(380px, 40vw, 500px); isolation: isolate; }
.sys-star { position: absolute; z-index: -1; inset: 50% auto auto 50%; width: 86%; height: auto; transform: translate(-50%, -50%); }
.sys-star rect { fill: var(--primary-soft); }
.sys-star circle { fill: var(--citron); }
.system > :not(.sys-star) { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); animation: rise .8s var(--ease) both; }
.sys-browser { inset-inline-start: 0; top: 7%; width: 76%; overflow: hidden; animation-delay: .05s; }
.sys-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.sys-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.sys-bar span { margin-inline-start: 8px; flex: 1; font: 500 .74rem/1 var(--f-body); color: var(--muted); background: var(--surface); border-radius: 6px; padding: 6px 9px; direction: ltr; text-align: start; }
.sys-page { padding: 16px 18px 20px; }
.sys-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.sys-logo { width: 22px; height: 22px; border-radius: 6px; background: var(--primary); }
.sys-nav s { height: 7px; width: 34px; border-radius: 4px; background: var(--line); }
.sys-nav s:first-of-type { margin-inline-start: auto; }
.sys-title { font: 780 1.35rem/1.1 var(--f-display); font-stretch: var(--display-stretch); letter-spacing: var(--display-track); margin: 0 0 10px; max-width: 13ch; }
.sys-lines { display: grid; gap: 6px; margin: 0 0 14px; }
.sys-lines s { height: 7px; border-radius: 4px; background: var(--line); width: 86%; }
.sys-lines s + s { width: 62%; }
.sys-cta { display: inline-block; background: var(--primary); color: var(--primary-ink); border-radius: 9px; padding: 8px 12px; font-size: .78rem; font-weight: 700; }
.sys-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.sys-tiles i { height: 48px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.sys-post { inset-inline-end: 0; top: 0; width: 36%; padding: 8px; animation-delay: .22s; }
.sys-post-img { aspect-ratio: 1; border-radius: 12px; background:
  radial-gradient(circle at 70% 30%, var(--citron) 0 18%, transparent 19%),
  linear-gradient(140deg, var(--primary), color-mix(in srgb, var(--primary) 55%, #000)); }
.sys-post p { display: flex; align-items: center; gap: 6px; margin: 8px 2px 2px; font-size: .74rem; font-weight: 600; color: var(--ink-2); line-height: 1.3; }
.sys-post .ico { width: 1.1em; height: 1.1em; color: var(--primary); }
.sys-chat { inset-inline-end: 2%; top: 49%; width: 52%; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-start-start-radius: 4px; animation-delay: .4s; background: color-mix(in srgb, var(--wa) 10%, var(--surface)); border-color: color-mix(in srgb, var(--wa) 30%, var(--line)); }
.sys-chat-ico { color: var(--wa); display: inline-flex; }
.sys-chat p { margin: 0; font-size: .82rem; font-weight: 550; line-height: 1.4; }
.sys-notif { inset-inline-start: 5%; bottom: 4%; display: flex; align-items: center; gap: 12px; padding: 12px 16px; animation-delay: .6s; }
.sys-notif b { display: block; font-size: .86rem; }
.sys-notif small { color: var(--muted); font-size: .76rem; }
.sys-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ok) 22%, transparent); animation: ping 1.6s ease-out 1.4s 2; }
.sys-stat { inset-inline-end: 0; bottom: 0; width: 34%; padding: 10px 12px 8px; animation-delay: .78s; }
.sys-stat small { font-size: .7rem; color: var(--muted); font-weight: 600; }
.sys-stat svg { display: block; width: 100%; height: 40px; margin-top: 4px; }
.sys-stat path { fill: none; stroke: var(--primary); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1.1s var(--ease) 1.1s forwards; }
html[dir="rtl"] .sys-stat svg { transform: scaleX(-1); }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 45%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8.5vw, 112px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-intro { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
.section-head.center .section-intro { margin-inline: auto; }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }

/* Problèmes → solution */
.problems { padding-bottom: clamp(40px, 6vw, 72px); }
.problem-list { display: grid; gap: 4px; }
.problem-list li { padding: 20px 0 18px; border-top: 1px solid var(--line); }
.problem-list li:last-child { border-bottom: 1px solid var(--line); }
.problem-list h3 { margin-bottom: 6px; }
.problem-list p { margin: 0; color: var(--muted); }
.solution { margin-top: clamp(40px, 6vw, 72px); display: flex; gap: clamp(18px, 3vw, 32px); align-items: flex-start; padding: clamp(26px, 4vw, 44px); border-radius: var(--r-card); background: var(--primary); color: var(--primary-ink); }
.solution h2 { color: inherit; font-size: clamp(1.5rem, 2.8vw, 2.25rem); margin-bottom: 12px; max-width: 24ch; }
.solution p { margin: 0; font-size: 1.12rem; opacity: .92; max-width: 60ch; }
.solution-mark svg { width: clamp(48px, 6vw, 72px); height: auto; display: block; fill: none; stroke: currentColor; stroke-width: 2.4; }
.solution-mark circle { fill: var(--citron); stroke: none; }
:root[data-theme="dark"] .solution { background: var(--primary-soft); color: var(--ink); }

/* Services */
#services { background: var(--surface); }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); }
.service { display: flex; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.service h3 { margin-bottom: 6px; }
.service p { margin: 0; color: var(--muted); }
.service-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--primary-soft); color: var(--primary); }
.service-ico .ico { width: 24px; height: 24px; }
.service.is-separate .service-ico { background: color-mix(in srgb, var(--citron) 30%, var(--surface)); color: var(--ink); }
.service .chip { margin-top: 12px; }

/* Packs */
.packs-section { background: var(--bg-alt); }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.pack { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 32px); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pack-flag { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--citron); color: var(--citron-ink); border-radius: 999px; padding: 5px 12px; font-size: .8rem; font-weight: 750; }
.pack-name { font-size: clamp(1.6rem, 2.2vw, 1.95rem); margin-bottom: 8px; }
.pack-tag { color: var(--muted); min-height: calc(3 * 1.62em); margin-bottom: 18px; }
.pack-price { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.pack-price b { font: 820 clamp(2.1rem, 3vw, 2.6rem)/1 "Archivo", sans-serif; font-stretch: 112%; letter-spacing: -0.03em; }
html[dir="rtl"] .pack-price b { font-family: "Alexandria", "Archivo", sans-serif; letter-spacing: 0; }
.pack-price small { color: var(--muted); font-weight: 600; font-size: .86rem; }
.pack-delay { padding: 14px 0 16px; border-block: 1px solid var(--line); margin-bottom: 18px; }
.pack-delay-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.pack-delay-row span { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); }
.pack-delay-row b { font-size: 1.05rem; }
.meter { height: 8px; border-radius: 999px; background: var(--surface-2); margin: 10px 0 8px; overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--primary); }
.pack-delay small { color: var(--muted); font-size: .84rem; }
.pack-inc { font-weight: 700; font-size: .9rem; margin-bottom: 10px; color: var(--ink-2); }
.pack-items { display: grid; gap: 10px; margin-bottom: 20px; }
.pack-items li, .pack-perks li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; line-height: 1.45; }
.pack-items .ico { color: var(--primary); stroke-width: 2.4; margin-top: 1px; }
.pack-perks { display: grid; gap: 10px; margin: auto 0 22px; padding: 14px; border-radius: 14px; background: var(--surface-2); }
.pack-perks li { font-weight: 600; font-size: .92rem; }
.pack-perks .ico { color: var(--ok); }
.pack.is-featured { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); box-shadow: 0 30px 60px -26px color-mix(in srgb, var(--primary) 75%, transparent); }
.pack.is-featured :is(.pack-name, .pack-price b, .pack-delay-row b) { color: inherit; }
.pack.is-featured :is(.pack-tag, .pack-price small, .pack-delay small, .pack-delay-row span, .pack-inc) { color: color-mix(in srgb, var(--primary-ink) 80%, transparent); }
.pack.is-featured .pack-delay { border-color: color-mix(in srgb, var(--primary-ink) 22%, transparent); }
.pack.is-featured .meter { background: color-mix(in srgb, var(--primary-ink) 18%, transparent); }
.pack.is-featured .meter i { background: var(--citron); }
.pack.is-featured .pack-items .ico { color: var(--citron); }
.pack.is-featured .pack-perks { background: color-mix(in srgb, var(--primary-ink) 12%, transparent); }
.pack.is-featured .pack-perks .ico { color: var(--citron); }
:root[data-theme="dark"] .pack.is-featured .pack-items .ico, :root[data-theme="dark"] .pack.is-featured .pack-perks .ico { color: var(--primary-ink); }
:root[data-theme="dark"] .pack.is-featured .meter i { background: var(--primary-ink); }
.packs-note { text-align: center; color: var(--muted); max-width: 70ch; margin: 26px auto 0; font-size: .97rem; }
.extras { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.extras-title { grid-column: 1 / -1; font-size: 1.3rem; margin-bottom: 0; }
.extra { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 18px; border: 1.5px dashed var(--line-2); background: var(--surface); }
.extra h4 { font-size: 1.08rem; margin-bottom: 4px; }
.extra p { margin: 0; color: var(--muted); font-size: .95rem; }
.extra > div { flex: 1; }
.extra .btn { flex: none; }

/* Engagements (bandeau) */
.commitments { background: var(--band); color: var(--band-ink); padding: clamp(48px, 6vw, 72px) 0; }
.commit-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.commit-list h3 { color: var(--band-ink); font-size: 1.12rem; margin: 14px 0 6px; }
.commit-list p { color: var(--band-muted); margin: 0; font-size: .97rem; }
.commit-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--citron) 16%, transparent); color: var(--citron); }
.commit-ico .ico { width: 24px; height: 24px; }

/* Méthode */
#process { background: var(--surface); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 23px; inset-inline: 24px; height: 2px; background: linear-gradient(to right, var(--primary) 0 40%, var(--line) 40%); }
html[dir="rtl"] .steps::before { background: linear-gradient(to left, var(--primary) 0 40%, var(--line) 40%); }
.step { position: relative; }
.step-n { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--primary); color: var(--primary); font: 800 1.1rem/1 "Archivo", sans-serif; font-stretch: 120%; margin-bottom: 18px; }
.step:first-child .step-n, .step:nth-child(2) .step-n { background: var(--primary); color: var(--primary-ink); }
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Réalisations */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.work { border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.work img { aspect-ratio: 16 / 11; object-fit: cover; width: 100%; background: var(--surface-2); }
.work-body { padding: 20px; display: grid; gap: 8px; justify-items: start; }
.work-body h3 { margin: 0; }
.work-body p { margin: 0; color: var(--muted); }

/* À propos */
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: center 25%; border-radius: var(--r-card); }
.about-photo::after { content: ""; position: absolute; width: 38%; aspect-ratio: 1; inset-inline-end: -6%; bottom: -6%; z-index: -1; border-radius: 22px; background: var(--citron); transform: rotate(45deg); }
.about-photo { isolation: isolate; }
/* si la photo ne se charge pas : monogramme à la place, jamais d'image cassée */
.about-photo.no-photo::before { content: attr(data-initials); display: grid; place-items: center; aspect-ratio: 5 / 6; border-radius: var(--r-card); background: var(--primary); color: #fff; font-family: var(--f-display); font-size: clamp(4.5rem, 9vw, 7.5rem); font-weight: 820; font-stretch: var(--display-stretch); letter-spacing: -.04em; }
.about-name { display: grid; gap: 2px; margin-bottom: 16px; }
.about-name b { font-size: 1.15rem; }
.about-name span { color: var(--primary); font-weight: 600; }
.about-copy > p { color: var(--ink-2); max-width: 62ch; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 26px 0 22px; }
.stats div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.stats dd { margin: 0; font: 820 2rem/1 "Archivo", sans-serif; font-stretch: 116%; color: var(--primary); }
.stats dt { color: var(--muted); font-size: .9rem; font-weight: 550; }
.creds { display: grid; gap: 8px; }
.creds li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink-2); }
.creds .ico { color: var(--primary); }

/* Avis */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review { margin: 0; padding: 26px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.review-q { width: 32px; height: 32px; color: var(--primary); }
.review blockquote { margin: 0; font-size: 1.04rem; color: var(--ink-2); }
.review figcaption { display: grid; }
.review figcaption span { color: var(--muted); font-size: .92rem; }

/* FAQ */
.faq-section { background: var(--surface); }
.faq-section .btn { margin-top: 8px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 700 1.08rem/1.35 var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--surface-2); color: var(--ink); transition: transform .25s var(--ease), background .2s; }
.faq details[open] .faq-ico { transform: rotate(45deg); background: var(--primary); color: var(--primary-ink); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 64ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-info .btn-wa { margin: 6px 0 28px; }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { width: 22px; height: 22px; color: var(--primary); margin-top: 3px; }
.contact-list small { display: block; color: var(--muted); font-size: .84rem; font-weight: 600; }
.contact-list a, .contact-list span { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.contact-list a:hover { color: var(--primary); }
.contact-promise { display: flex; gap: 10px; align-items: center; margin-top: 28px; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--citron) 22%, var(--surface)); font-weight: 600; color: var(--ink); }
:root[data-theme="dark"] .contact-promise { background: color-mix(in srgb, var(--citron) 12%, var(--surface)); }
.form-card { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.span-2 { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > span, .field legend { font-weight: 600; font-size: .93rem; color: var(--ink-2); padding: 0; }
.field em { color: var(--bad); font-style: normal; }
.field small { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; border-radius: var(--r-ctl); border: 1.5px solid var(--line-2); background: var(--bg);
  color: var(--ink); font: 400 1rem/1.4 var(--f-body); padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-inline-end: 38px; }
html[dir="rtl"] .field select { background-position: 20px 22px, 14px 22px; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--bad); }
.field-err { color: var(--bad); font-size: .86rem; font-weight: 600; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios legend { margin-bottom: 8px; width: 100%; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 600; font-size: .94rem; cursor: pointer; }
.radio input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.radio input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--primary); flex: none; }
.check.is-invalid span { color: var(--bad); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
.form-error { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--bad) 10%, var(--surface)); color: var(--bad); font-weight: 600; }
.lead-form .btn-block { margin-top: 20px; }
.form-success { text-align: center; padding: 24px 8px; display: grid; justify-items: center; gap: 6px; }
.form-success p { color: var(--ink-2); max-width: 46ch; }
.success-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 16%, var(--surface)); color: var(--ok); margin-bottom: 10px; }
.success-ico .ico { width: 30px; height: 30px; stroke-width: 2.6; }
.success-ico.big { width: 84px; height: 84px; margin: 0 auto 22px; }

/* Pages simples */
.simple { min-height: 56vh; }
.simple h1 { font-size: clamp(2rem, 4vw, 3rem); }
.simple .lead { margin-inline: auto; }
.prose h1 { margin-bottom: 28px; }
.prose h2 { font-size: 1.3rem; margin: 30px 0 8px; }
.prose p { color: var(--ink-2); }
.big-404 { font: 860 clamp(5rem, 16vw, 9rem)/1 "Archivo", sans-serif; font-stretch: 125%; color: var(--primary); margin: 0 0 8px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--band); color: var(--band-muted); padding: 56px 0 28px; }
:root[data-theme="dark"] .site-footer { background: #070918; border-top: 1px solid var(--line); }
.site-footer .logo { color: var(--band-ink); }
.site-footer .logo-text small { color: var(--band-muted); }
.site-footer .logo-mark svg { stroke: #9AA2FF; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr .8fr; gap: 32px; }
.footer-brand p { margin: 16px 0 0; max-width: 36ch; }
.footer-h { color: var(--band-ink); font: 700 .98rem/1.3 var(--f-body); letter-spacing: 0; margin-bottom: 14px; font-stretch: 100%; }
.footer-list { display: grid; gap: 10px; }
.footer-list a, .footer-list li { display: inline-flex; align-items: center; gap: 9px; color: var(--band-muted); text-decoration: none; }
.footer-list a:hover { color: var(--band-ink); }
.footer-list .ico { width: 1.1em; height: 1.1em; }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--band-muted) 30%, transparent); color: var(--band-ink); }
.social a:hover { background: color-mix(in srgb, var(--band-ink) 10%, transparent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--band-muted) 22%, transparent); font-size: .9rem; }
.footer-bottom a { color: var(--band-muted); }
.footer-bottom a:hover { color: var(--band-ink); }

/* WhatsApp flottant */
.wa-float { position: fixed; z-index: 40; inset-inline-end: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(10, 80, 40, .6); transition: transform .2s var(--ease); }
.wa-float .ico { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); }

/* ---------- Écrans moyens ---------- */
@media (max-width: 1080px) {
  .main-nav a { padding: 8px 9px; font-size: .93rem; }
  .header-cta { display: none; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .steps::before { display: none; }
  .commit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .burger { display: inline-grid; }
  .header-tools { margin-inline-start: auto; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0; margin: 0; padding: 18px var(--gutter) 32px; background: var(--bg); overflow-y: auto; display: none; flex-direction: column; gap: 22px; border-top: 1px solid var(--line); }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { font-size: 1.25rem; padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; font-weight: 650; }
  .main-nav a:hover { background: none; }
  .nav-extra { display: grid; gap: 10px; }
  .hero-grid, .split, .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 18ch; }
  .system { height: 420px; max-width: 560px; width: 100%; margin-inline: auto; }
  .services, .packs { grid-template-columns: minmax(0, 1fr); }
  .packs { max-width: 560px; margin-inline: auto; }
  .pack-tag { min-height: 0; }
  .extras { grid-template-columns: minmax(0, 1fr); }
  .about-photo { max-width: 420px; }
}
/* ---------- Téléphone ---------- */
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 1.02rem; }
  .logo-text small { display: none; }
  .logo-mark svg { width: 30px; height: 30px; }
  .icon-btn { width: 40px; height: 40px; }
  .header-tools { gap: 6px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .system { height: 360px; }
  .sys-browser { width: 84%; }
  .sys-post { width: 38%; top: -2%; }
  .sys-chat { width: 70%; top: 58%; }
  .sys-notif { bottom: -2%; }
  .sys-stat { display: none; }
  .sys-notif { inset-inline-start: 0; }
  .sys-tiles i { height: 36px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; }
  .step-n { grid-row: span 2; margin: 0; }
  .commit-list { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stats div { padding: 12px 10px; }
  .stats dd { font-size: 1.5rem; }
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .extra { flex-wrap: wrap; }
  .extra .btn { width: 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .solution { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .sys-stat path { stroke-dashoffset: 0; }
}
.about { overflow-x: clip; }
@media (max-width: 400px) {
  .header-in { gap: 10px; }
  .logo { gap: 8px; }
  .logo-text b { font-size: .95rem; font-stretch: 108%; }
  .header-tools { gap: 5px; }
  .icon-btn { width: 36px; height: 36px; }
}
@media (max-width: 340px) { .logo-text { display: none; } }
