/* ═══ fonts.css ═══ */
/* Polices auto-hébergées (blocs latin + latin-ext, arabe pour Readex Pro ; aucune requête tierce).
   Syne 500–800 (H1/H2 courts) · Geist 300–700 (texte, titres longs, chiffres) · Geist Mono 400–500 (repères HUD)
   Montserrat 500–700 (latin) : RÉSERVÉE au mot-symbole du logo « NEXUS IA » (exception de marque).
   Readex Pro 160–700 (variable, SIL OFL, blocs arabic + latin) : titres et texte des pages en arabe
   (activée par html[lang="ar"] dans main.css ; le latin des pages arabes suit la même police). */
/* arabic — pages en arabe */
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 160 700;
  font-display: swap;
  src: url(../fonts/readex-pro-arabic.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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin — pages en arabe (chiffres, sigles, marques) */
@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 160 700;
  font-display: swap;
  src: url(../fonts/readex-pro-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin — logo uniquement */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(../fonts/syne-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(../fonts/syne-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/geist-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/geist-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/geist-mono-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/geist-mono-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ═══ main.css ═══ */
/* ==========================================================================
   NEXUS IA — socle v2 « Sovereign Orbit »
   Palette alignée sur le logo : bleu nuit · bleu · cyan · turquoise · argent · or (accent rare).
   Code couleur : cyan/turquoise = technique & structure (eyebrows, icônes, filets) ;
   or = action & Afrique (CTA principal, points d'attention). Dégradés hiérarchisés :
   1) H1 + 2–3 titres clés (.t-grad) · 2) bouton or · 3) halos · 4) voiles photo.
   Ordre : jetons · base · typographie · boutons · fonds · mise en page · verre & cartes ·
   en-tête · héros · bandeaux · listes · formulaires · pré-diagnostic · pied · WhatsApp ·
   404/porte · animations · responsive · reduced-motion · impression.
   home.css et pages.css (concaténés après) restent libres d'ajouter ou de surcharger.
   ========================================================================== */
:root {
  --night-0: #040914;
  --night-1: #081229;
  --night-2: #0C1A38;
  --night-3: #122448;
  --blue: #2563EB;
  --blue-2: #3B82F6;
  --cyan: #22D3EE;
  --teal: #2DD4BF;
  --teal-2: #5EEAD4;
  --silver: #CBD5E1;
  --silver-2: #C7CEDB;
  --gold: #C8A46A;
  --gold-2: #E2C48F;
  --gold-deep: #9A7A45;
  --ink: #EEF3FA;
  --mute: #B9C3D6;
  --dim: #7E8CA6;
  --line: rgba(148, 190, 230, 0.14);
  --line-2: rgba(148, 190, 230, 0.28);
  --wa: #25D366;
  --ok: #34D399;
  --warn: #F87171;
  --cat-terrain: var(--gold);
  --cat-legal: var(--cyan);
  --cat-human: #C4B5FD;
  --cat-economy: var(--teal-2);
  --cat-security: #FCA5A5;

  --f-display: "Syne", "Avenir Next", "Helvetica Neue", sans-serif;
  --f-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --f-logo: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font: var(--f-body);
  --mono: var(--f-mono);

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  --glass: rgba(8, 18, 41, 0.72);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font: 400 1rem/1.6 var(--f-body);
  color: var(--ink);
  background: var(--night-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, figure, blockquote { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(34, 211, 238, 0.35); color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: var(--night-0); font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(920px + var(--gutter) * 2); }

.ico { width: 22px; height: 22px; flex: none; }
.ico-sm { width: 16px; height: 16px; flex: none; }
.ico-flip { transform: scaleX(-1); }

/* ---------- Typographie ---------- */
.mono { font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.display, .h1, .h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.02; text-wrap: balance; color: #fff; overflow-wrap: break-word; }
.display { font-size: clamp(2.1rem, 1rem + 3.4vw, 4rem); line-height: 0.98; }
.h1 { font-size: clamp(2rem, 1rem + 2.9vw, 3.5rem); }
.h2 { font-size: clamp(1.7rem, 1.1rem + 2vw, 2.9rem); line-height: 1.06; }
.h3 { font-family: var(--f-body); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; color: #fff; text-wrap: balance; }
.h4 { font-family: var(--f-body); font-size: 1.08rem; line-height: 1.3; letter-spacing: -0.012em; font-weight: 600; color: #fff; }
.h-sans { font-family: var(--f-body); letter-spacing: -0.02em; font-weight: 600; }
.h-tight { max-width: 20ch; }
.display em, .h1 em, .h2 em, .h3 em { font-style: normal; }
.t-dim { color: var(--dim); }
.t-gold { color: var(--gold-2); }
.t-cyan, .t-glacier { color: var(--cyan); }
/* Arabe : le fond du texte en dégradé doit couvrir les points souscrits (ب ي ج…) */
:lang(ar) .t-grad { padding-block: 0.06em 0.3em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.t-grad { background: linear-gradient(92deg, var(--cyan) 0%, #76D4E7 30%, var(--silver) 58%, #C9BCA5 80%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: 0.04em; }
@supports (background: linear-gradient(in oklch, red, blue)) {
  .t-grad { background: linear-gradient(in oklch 92deg, var(--cyan) 0%, var(--silver) 58%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; }
}
.lead { font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem); line-height: 1.6; color: var(--mute); max-width: 60ch; text-wrap: pretty; }
.lead--sm { font-size: 1rem; }
.lead--light { color: var(--mute); }
.h1 + .lead, .h2 + .lead, .display + .lead { margin-top: 20px; }
.muted { color: var(--dim); }
.fineprint { margin-top: 16px; font-size: 0.85rem; color: var(--dim); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; font-family: var(--f-mono); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(200, 164, 106, 0.16), 0 0 12px rgba(200, 164, 106, 0.7); }
.eyebrow-num { color: var(--dim); }
.eyebrow-num::after { content: "/"; margin-inline-start: 10px; color: var(--line-2); }
.eyebrow--light { color: var(--cyan); }

/* ---------- Boutons & liens ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 0.96rem; font-weight: 600; letter-spacing: 0.005em; white-space: nowrap;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn .ico, .btn .ico-sm { transition: transform 0.3s var(--ease); }
.btn:hover .ico-sm:last-child, .btn:hover .ico:last-child { transform: translateX(3px); }
.btn:hover .ico-flip:first-child { transform: scaleX(-1) translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: 0.9rem; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--gold { color: var(--night-0); background: linear-gradient(135deg, #EAD4A6 0%, var(--gold) 55%, #B08E55 100%); box-shadow: 0 10px 28px -10px rgba(200, 164, 106, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(200, 164, 106, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn--glass { color: var(--ink); background: rgba(12, 26, 56, 0.55); border-color: var(--line-2); }
.btn--glass:hover { background: rgba(34, 211, 238, 0.1); border-color: rgba(34, 211, 238, 0.5); transform: translateY(-2px); }
.btn--line { color: var(--ink); background: transparent; border-color: var(--line-2); }
.btn--line:hover { border-color: var(--cyan); background: rgba(34, 211, 238, 0.08); }
.btn--line-light { color: var(--ink); border-color: var(--line-2); }
.btn--wa { color: #fff; background: #1FA855; border-color: #1FA855; box-shadow: 0 10px 28px -10px rgba(37, 211, 102, 0.6); }
.btn--wa:hover { background: #25C061; transform: translateY(-2px); }
.btn:disabled { opacity: 0.7; cursor: progress; }
.btn--line:disabled { opacity: 0.38; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--cyan); transition: gap 0.25s var(--ease), color 0.2s; }
.link-arrow .ico-sm { transition: transform 0.3s var(--ease); }
.link-arrow:hover { gap: 12px; color: var(--teal-2); }
.link-arrow:hover .ico-sm { transform: translate(2px, -2px); }
.link-arrow--light { color: var(--ink); }

.chip-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.86rem; font-weight: 500; color: var(--mute); background: rgba(8, 18, 41, 0.4); transition: color 0.2s, border-color 0.2s, background-color 0.2s; }
.chip-btn:hover { color: #fff; border-color: rgba(148, 190, 230, 0.5); }
.chip-btn--wa .ico-sm { color: var(--wa); }
.chip-btn--wa:hover { background: rgba(37, 211, 102, 0.1); border-color: rgba(37, 211, 102, 0.55); }
.chip-btn--solid { background: #1FA855; border-color: #1FA855; color: #fff; }
.chip-btn--solid .ico-sm { color: #fff; }
.chip-btn--solid:hover { background: #25C061; border-color: #25C061; }

.also { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--mute); }
.also a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink); border-bottom: 1px solid var(--line-2); transition: border-color 0.2s, color 0.2s; }
.also a:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- Fonds lumineux ---------- */
.bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(148, 190, 230, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 190, 230, 0.055) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 20%, transparent 75%); }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.glow--a, .glow-a { width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; inset-inline-end: -14vw; top: -10vw; background: radial-gradient(circle, rgba(37, 99, 235, 0.32) 0%, rgba(37, 99, 235, 0) 65%); }
.glow--b, .glow-b { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; inset-inline-start: 6vw; bottom: -14vw; background: radial-gradient(circle, rgba(45, 212, 191, 0.14) 0%, rgba(45, 212, 191, 0) 65%); }
.glow--warm { background: radial-gradient(circle, rgba(200, 164, 106, 0.18) 0%, rgba(200, 164, 106, 0) 65%); }

/* ---------- Mise en page ---------- */
.section { position: relative; padding-block: var(--section); isolation: isolate; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--night-1); }
.section--glow-cold::before, .section--glow-warm::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.section--glow-cold::before { background: radial-gradient(ellipse 55% 50% at 18% 50%, rgba(37, 99, 235, 0.2), transparent 70%); }
.section--glow-warm::before { background: radial-gradient(ellipse 50% 60% at 82% 50%, rgba(200, 164, 106, 0.12), transparent 70%); }
.section-head { display: grid; gap: 18px; max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .eyebrow { margin-bottom: 0; }
.section-head .lead { margin-top: 0; }
.section-head .link-arrow { justify-self: start; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--row { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.section-head--row .eyebrow { grid-column: 1 / -1; }
.section-head--row .h2 { max-width: 22ch; }
.section-head--row .lead { grid-column: 1; }
.section-head--row .link-arrow { grid-column: 2; grid-row: 2; justify-self: end; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--center { align-items: center; }
.split--head { align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.split--head .section-head { margin-bottom: 0; }
.split > .section-head { margin-bottom: 0; }
.split > .section-head + * { min-width: 0; }
.split .section-head + .btn, .split .ticks + .btn, .split .lead + .btn { margin-top: 28px; }
.ticks + .lead, .ticks + p { margin-top: 20px; }
.split--rev > :first-child { order: 2; }
.sticky-col { position: sticky; top: calc(var(--header-h) + 32px); }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Verre & cartes ---------- */
.glass { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--glass); }
.glass--strong { background: rgba(8, 18, 41, 0.86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(12, 26, 56, 0.85), rgba(8, 18, 41, 0.85)); border: 1px solid var(--line); transition: border-color 0.3s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { color: var(--mute); font-size: 0.95rem; }
.card .link-arrow { margin-top: auto; padding-top: 6px; align-self: flex-start; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.card-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(34, 211, 238, 0.14), rgba(34, 211, 238, 0.02)); color: var(--cyan); flex: none; }
.card-icon--lg { width: 56px; height: 56px; border-radius: 14px; }
.card-icon--lg .ico { width: 26px; height: 26px; }
.card-num { font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.12em; color: var(--dim); }
.glow-card { --mx: 50%; --my: 50%; position: relative; }
.glow-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: radial-gradient(220px circle at var(--mx) var(--my), rgba(34, 211, 238, 0.7), rgba(200, 164, 106, 0.35) 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.35s; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .glow-card:hover::before { opacity: 1; } }

.photo-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--night-2); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 9, 20, 0.05), rgba(4, 9, 20, 0.7) 100%); pointer-events: none; }
.photo-frame--16x10 { aspect-ratio: 16 / 10; }
.photo-frame--4x3 { aspect-ratio: 4 / 3; }

.photo-card { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--night-2); isolation: isolate; transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease); }
.photo-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); filter: saturate(0.75) brightness(0.72); transition: transform 1.1s var(--ease), filter 0.6s; }
.photo-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(4, 9, 20, 0.3) 0%, rgba(4, 9, 20, 0.4) 40%, rgba(4, 9, 20, 0.95) 100%); }
.photo-card-body { position: absolute; inset: auto 0 0 0; z-index: 2; display: grid; gap: 8px; padding: 22px; }
.photo-card-idx { color: var(--gold); font-size: 0.72rem; }
.photo-card-title { font-family: var(--f-body); font-weight: 600; font-size: 1.28rem; line-height: 1.15; letter-spacing: -0.02em; color: #fff; }
.photo-card-text { font-size: 0.92rem; line-height: 1.45; color: var(--mute); }
.photo-card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 0.88rem; font-weight: 600; color: var(--cyan); }
.photo-card-more .ico-sm { transition: transform 0.3s var(--ease); }
.photo-card:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, 0.45); box-shadow: var(--shadow); }
.photo-card:hover > img { transform: scale(1.1); filter: saturate(0.95) brightness(0.92); }
.photo-card:hover .photo-card-more .ico-sm { transform: translateX(4px); }
.photo-grid { align-items: stretch; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list--center { justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(12, 26, 56, 0.6); font-size: 0.92rem; font-weight: 500; color: var(--mute); transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease); }
.pill .ico-sm { color: var(--cyan); }
a.pill:hover { border-color: var(--line-2); color: var(--ink); transform: translateY(-2px); }

.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--mute); font-size: 0.95rem; line-height: 1.5; }
.ticks .ico-sm { margin-top: 3px; color: var(--cyan); }
.ticks--ok .ico-sm { color: var(--ok); }
.ticks--gold .ico-sm { color: var(--gold); }
.ticks--light li { color: var(--mute); }

.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.82rem; color: var(--dim); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--terrain { background: var(--cat-terrain); } .dot--legal { background: var(--cat-legal); } .dot--human { background: var(--cat-human); } .dot--economy { background: var(--cat-economy); } .dot--security { background: var(--cat-security); }

/* ---------- En-tête ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--ink); border-bottom: 1px solid transparent; transition: background-color 0.35s, border-color 0.35s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(4, 9, 20, 0.78); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); opacity: 0; transition: opacity 0.35s var(--ease); }
.site-header.is-scrolled::before, .site-header.is-open::before { opacity: 1; }
.site-header.is-scrolled { border-color: var(--line); }
.scroll-progress { position: absolute; inset-inline-start: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--cyan), var(--teal), var(--gold)); box-shadow: 0 0 10px rgba(34, 211, 238, 0.5); opacity: 0; transition: opacity 0.3s; }
.site-header.is-scrolled .scroll-progress { opacity: 1; }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height 0.3s var(--ease); }
.site-header.is-scrolled .header-inner { height: calc(var(--header-h) - 8px); }

.logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #fff; }
.logo-emblem { flex: none; width: 42px; height: 40px; }
.logo-emblem img { width: 100%; height: 100%; object-fit: contain; }
.logo-word { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.logo-name { font-family: var(--f-logo); font-weight: 700; font-size: 1.22rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.logo-tag { margin-top: 5px; font-family: var(--f-logo); font-weight: 500; font-size: 0.56rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--silver-2); white-space: nowrap; }
.site-header.is-scrolled .logo-tag { display: none; }
.logo--footer .logo-emblem { width: 52px; height: 50px; }
.logo--footer .logo-name { font-size: 1.4rem; }
.logo--footer .logo-tag { font-size: 0.62rem; }
.logo--gate { gap: 18px; }
.logo--gate .logo-emblem { width: 84px; height: 80px; }
.logo--gate .logo-name { font-size: 2rem; }
.logo--gate .logo-tag { display: none; }

.main-nav { margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-btn, .nav-link { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 13px; border-radius: 999px; font-size: 0.93rem; font-weight: 500; color: var(--mute); transition: color 0.2s, background-color 0.2s; }
.nav-btn:hover, .nav-link:hover, .nav-item.is-active > .nav-btn, .nav-link.is-active, .has-dd.is-open > .nav-btn { color: #fff; }
.nav-link.is-active, .nav-item.is-active > .nav-btn { background: rgba(34, 211, 238, 0.08); }
.nav-btn .ico-sm { transition: transform 0.25s var(--ease); opacity: 0.7; }
.nav-btn[aria-expanded="true"] .ico-sm { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 8px); inset-inline-start: 0; width: 360px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s; }
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-dd.is-open .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown-inner { display: grid; gap: 4px; padding: 8px; border-radius: 16px; background: rgba(8, 18, 41, 0.94); border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.4); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.dd-link { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; color: var(--mute); transition: background-color 0.2s, color 0.2s; }
.dd-link .ico { color: var(--cyan); }
.dd-link span { display: flex; flex-direction: column; gap: 2px; }
.dd-link strong { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.dd-link small { font-size: 0.8rem; color: var(--dim); }
.dd-link:hover, .dd-link.is-current { background: rgba(34, 211, 238, 0.08); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--mute); transition: color 0.2s, border-color 0.2s; }
.lang-switch:hover { color: #fff; border-color: var(--line-2); }
/* Sélecteur de langue (5 langues, même page) : bouton + menu déroulant géré par main.js (.has-dd/.nav-btn) */
.lang-dd { position: relative; }
.lang-btn { gap: 6px; padding-inline: 12px 8px; }
.has-dd.is-open > .lang-btn { color: #fff; border-color: var(--line-2); }
.lang-btn .ico-sm { opacity: 0.7; }
.dropdown--lang { inset-inline-start: auto; inset-inline-end: 0; width: 232px; }
.lang-list { gap: 2px; }
.lang-link { padding: 10px 12px; gap: 12px; }
.lang-link .lang-code { flex: none; width: 26px; font-size: 0.68rem; color: var(--dim); }
.lang-link strong { font-weight: 500; font-size: 0.95rem; }
.lang-link .lang-check { margin-inline-start: auto; color: var(--gold); }
.lang-link.is-current strong, .lang-link.is-current .lang-code { color: #fff; }
.burger { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-2); color: #fff; place-items: center; }
.burger .b-close, .burger[aria-expanded="true"] .b-open { display: none; }
.burger[aria-expanded="true"] .b-close { display: block; }

.mobile-nav { position: fixed; inset: var(--header-h) 0 0; overflow-y: auto; background: linear-gradient(180deg, var(--night-0), var(--night-1)); border-top: 1px solid var(--line); }
.mobile-inner { padding-block: 16px 40px; }
.m-group { padding: 14px 0; border-bottom: 1px solid var(--line); }
.m-label { margin-bottom: 6px; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.m-link { display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 4px 0; font-size: 1.08rem; font-weight: 500; color: #fff; }
.m-link .ico { color: var(--cyan); }
.m-link.is-active { color: var(--gold-2); }
.m-link--plain { font-size: 1.2rem; letter-spacing: -0.01em; }
.m-actions { display: grid; gap: 12px; padding-top: 22px; }
.lang-switch--m { min-height: 48px; font-family: var(--f-body); font-size: 0.95rem; letter-spacing: 0; }
.m-langs ul { display: flex; flex-wrap: wrap; gap: 8px; }
.m-lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.95rem; font-weight: 500; color: var(--mute); }
.m-lang.is-current { border-color: rgba(200, 164, 106, 0.55); background: rgba(200, 164, 106, 0.08); color: var(--gold-2); }

/* ---------- Héros accueil ---------- */
.hero { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: clamp(640px, 92vh, 880px); padding-top: calc(var(--header-h) + 24px); padding-bottom: 72px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: 0.55; filter: saturate(0.8); }
.hero-veil { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(4, 9, 20, 0.97) 0%, rgba(4, 9, 20, 0.84) 40%, rgba(4, 9, 20, 0.4) 72%, rgba(4, 9, 20, 0.6) 100%),
  linear-gradient(180deg, rgba(4, 9, 20, 0.6) 0%, rgba(4, 9, 20, 0) 30%, rgba(4, 9, 20, 0.25) 70%, var(--night-0) 100%); }
.hero-bg .bg-grid { -webkit-mask-image: radial-gradient(ellipse 70% 60% at 68% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 68% 50%, #000 20%, transparent 75%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: clamp(24px, 4vw, 56px); padding-block: 24px 48px; }
.hero-copy { max-width: 640px; min-width: 0; }
.hero-copy .display { margin-bottom: 26px; }
.hero-copy .display em { display: block; }
.hero-lead { font-size: clamp(1.06rem, 1rem + 0.4vw, 1.25rem); line-height: 1.55; max-width: 54ch; margin-bottom: 32px; }
.hero-actions { margin-bottom: 36px; }
.hud { display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 14px; background: rgba(8, 18, 41, 0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden; max-width: 640px; }
.hud li { display: flex; flex-direction: column; gap: 4px; flex: 1 1 0; min-width: 150px; padding: 12px 18px; border-inline-end: 1px solid var(--line); }
.hud li:last-child { border-inline-end: 0; }
.hud-k { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.hud-v { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 500; color: var(--ink); }
.hud-led { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }

.hero-visual { position: relative; display: grid; place-items: center; min-width: 0; }
.globe-stage { position: relative; width: min(100%, 560px); aspect-ratio: 1; }
.globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-halo { position: absolute; inset: 8%; border-radius: 50%; box-shadow: 0 0 120px 20px rgba(37, 99, 235, 0.18), inset 0 0 80px rgba(37, 99, 235, 0.12); pointer-events: none; }
.orbit { position: absolute; inset: -6%; border-radius: 50%; border: 1px solid rgba(34, 211, 238, 0.4); box-shadow: 0 0 24px rgba(34, 211, 238, 0.14), inset 0 0 24px rgba(34, 211, 238, 0.06); transform: rotateX(72deg) rotateZ(-18deg); transform-style: preserve-3d; pointer-events: none; }
.orbit--2 { inset: -16%; border-color: rgba(200, 164, 106, 0.38); box-shadow: 0 0 24px rgba(200, 164, 106, 0.12), inset 0 0 24px rgba(200, 164, 106, 0.05); transform: rotateX(78deg) rotateZ(34deg); }
.orbit i { position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px 3px rgba(34, 211, 238, 0.8); }
.orbit--2 i { background: var(--gold-2); box-shadow: 0 0 14px 3px rgba(200, 164, 106, 0.8); }
.globe-tags { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(100%, 560px); aspect-ratio: 1; pointer-events: none; }
.gtag { position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 10px; background: rgba(8, 18, 41, 0.78); border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.gtag b { font-family: var(--f-body); font-weight: 600; font-size: 0.95rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.gtag::before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.gtag--dxb { inset-inline-end: 0; top: 20%; }
.gtag--dxb::before { inset-inline-start: -14px; top: 14px; }
.gtag--afr { inset-inline-start: 0; bottom: 14%; }
.gtag--afr::before { inset-inline-end: -14px; top: 14px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.globe-legend { margin-top: 12px; text-align: center; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: none; max-width: 40ch; }
.hero-foot { position: relative; border-top: 1px solid var(--line); margin-top: auto; }
.hero-foot-inner { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: center; min-height: 52px; }
.hero-foot .mono { font-size: 0.72rem; }
.hero-scroll { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 10px; color: var(--cyan); }
.hero-scroll i { width: 36px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }

/* ---------- Héros des pages ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-top: calc(var(--header-h) + clamp(44px, 7vw, 88px)); padding-bottom: clamp(52px, 7vw, 96px); }
.page-hero--compact { padding-bottom: clamp(36px, 5vw, 56px); }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.page-hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; opacity: 0.5; filter: saturate(0.75); }
.page-hero-veil { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(4, 9, 20, 0.97) 0%, rgba(4, 9, 20, 0.85) 45%, rgba(4, 9, 20, 0.5) 100%),
  linear-gradient(180deg, rgba(4, 9, 20, 0.7) 0%, rgba(4, 9, 20, 0.1) 40%, var(--night-0) 100%); }
.page-hero-grid { position: relative; display: grid; gap: 40px; }
.page-hero--aside .page-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; }
.page-hero-copy { min-width: 0; }
.page-hero-copy .h1 { max-width: 22ch; }
.page-hero-copy .lead { margin-top: 22px; }
.page-hero-actions { margin-top: 30px; }
.page-hero-aside { min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: 0.84rem; color: var(--dim); }
.crumbs a { min-height: 24px; }
.crumbs a:hover { color: #fff; }

/* ---------- Bandeau de chiffres ---------- */
.stats-band { position: relative; z-index: 2; padding-block: clamp(32px, 4vw, 48px) 8px; }
.stats-band--overlap { margin-top: -56px; padding-top: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 36px); border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(8, 18, 41, 0.86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.stats-grid::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.6), rgba(200, 164, 106, 0.6), transparent); }
.stats-band .container { position: relative; }
.stat { position: relative; padding-block: 4px; padding-inline: 16px 0; border-inline-start: 1px solid var(--line-2); }
.stat-value { display: inline-flex; align-items: flex-start; font-family: var(--f-body); font-weight: 600; font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); line-height: 1; letter-spacing: -0.035em; color: #fff; font-variant-numeric: tabular-nums; }
.stat-unit { font-style: normal; font-size: 0.5em; color: var(--gold); margin-inline-start: 2px; padding-top: 0.15em; }
.stat-label { display: block; margin-top: 8px; font-size: 0.86rem; line-height: 1.4; color: var(--dim); max-width: 18ch; }

/* ---------- Bandeaux photo ---------- */
.band { position: relative; overflow: hidden; isolation: isolate; padding-block: var(--section); }
.band-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.band-bg img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; object-position: 50% 50%; filter: saturate(0.8); will-change: transform; }
.band-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(4, 9, 20, 0.96) 0%, rgba(4, 9, 20, 0.84) 45%, rgba(4, 9, 20, 0.5) 100%),
  linear-gradient(180deg, var(--night-0) 0%, rgba(4, 9, 20, 0.1) 22%, rgba(4, 9, 20, 0.1) 78%, var(--night-0) 100%); }
.band-bg--dim img { opacity: 0.32; }
.band-bg--dim::after { background: linear-gradient(180deg, var(--night-1) 0%, rgba(8, 18, 41, 0.6) 30%, rgba(8, 18, 41, 0.6) 70%, var(--night-1) 100%); }
.band--center { text-align: center; }
.band-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.band-copy { min-width: 0; }
.band-copy .section-head { margin-bottom: 28px; }
.band-copy .btn { margin-top: 8px; }
.band-aside { padding: 28px; min-width: 0; }
.band-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; }
.band--center .band-foot { justify-content: center; }
.aside-k { display: block; margin-bottom: 16px; color: var(--gold); }
.uses { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 30px; max-width: 600px; }
.uses li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 0.95rem; }
.uses .ico { color: var(--gold); width: 20px; height: 20px; }
.commit { display: grid; gap: 14px; }
.commit li { position: relative; padding-inline-start: 26px; font-size: 0.95rem; line-height: 1.45; color: var(--mute); }
.commit li::before { content: ""; position: absolute; inset-inline-start: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--gold); background: radial-gradient(circle, var(--gold) 0 3px, transparent 3.5px); }

.cta-band .band-bg::after { background:
  linear-gradient(90deg, rgba(4, 9, 20, 0.96) 0%, rgba(4, 9, 20, 0.78) 40%, rgba(4, 9, 20, 0.55) 100%),
  linear-gradient(180deg, var(--night-0) 0%, rgba(4, 9, 20, 0.15) 22%, rgba(4, 9, 20, 0.15) 70%, var(--night-0) 100%); }
.cta-band .band-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.cta-band .band-copy .h2 { margin-bottom: 18px; }
.cta-band .band-copy .lead { margin-bottom: 28px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-cards--col { grid-template-columns: 1fr; }
.ccard { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line-2); background: rgba(8, 18, 41, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s; }
.ccard--wa:hover { transform: translateY(-4px); border-color: rgba(37, 211, 102, 0.55); box-shadow: 0 30px 50px -30px rgba(37, 211, 102, 0.45); }
.ccard--hq { grid-column: 1 / -1; }
.contact-cards--col .ccard--hq { grid-column: auto; }
.ccard-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(37, 211, 102, 0.12); color: var(--wa); margin-bottom: 4px; }
.ccard--hq .ccard-ico { background: rgba(200, 164, 106, 0.12); color: var(--gold); }
.ccard-k { font-size: 0.72rem; }
.ccard-v { font-family: var(--f-body); font-weight: 600; font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.55rem); letter-spacing: -0.01em; color: #fff; font-variant-numeric: tabular-nums; min-height: 44px; display: inline-flex; align-items: center; }
.ccard-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ccard-addr { color: var(--mute); font-size: 0.98rem; line-height: 1.5; }
.ccard-meta { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; color: var(--mute); }
.ccard-meta .ico-sm { color: var(--gold); }
.ccard-note { font-size: 0.86rem; color: var(--dim); }
.ccard-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; min-height: 44px; font-size: 0.9rem; font-weight: 600; color: var(--cyan); }

/* ---------- Listes de contenu ---------- */
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-bottom: 34px; }
.principle { display: flex; gap: 14px; align-items: flex-start; font-size: 0.92rem; line-height: 1.5; color: var(--dim); }
.principle strong { display: block; color: var(--ink); font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.p-ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(34, 211, 238, 0.14), rgba(34, 211, 238, 0.02)); color: var(--cyan); }

.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(12, 26, 56, 0.9), rgba(8, 18, 41, 0.92)); scroll-margin-top: calc(var(--header-h) + 24px); transition: transform 0.5s var(--ease), border-color 0.4s; }
.tier:hover { transform: translateY(-4px); border-color: var(--line-2); }
.tier--featured { border-color: rgba(200, 164, 106, 0.55); background: linear-gradient(180deg, rgba(18, 36, 72, 0.95), rgba(8, 18, 41, 0.96)); box-shadow: 0 0 0 1px rgba(200, 164, 106, 0.15), 0 40px 80px -40px rgba(200, 164, 106, 0.35); }
.tier-badge { position: absolute; top: -13px; inset-inline-start: 26px; margin: 0; padding: 6px 12px; border-radius: 999px; background: linear-gradient(135deg, #EAD4A6, var(--gold)); color: var(--night-0); font-size: 0.68rem; letter-spacing: 0.14em; font-weight: 500; }
.tier-rack { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin-bottom: 22px; max-width: 220px; }
.tier-rack i { position: relative; height: 16px; border-radius: 4px; background: linear-gradient(180deg, rgba(59, 130, 246, 0.38), rgba(37, 99, 235, 0.3)); border: 1px solid rgba(34, 211, 238, 0.45); }
.tier-rack i::before { content: ""; position: absolute; inset-inline-start: 5px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 8px var(--gold); }
.tier-rack--1 { grid-template-columns: 1fr; max-width: 96px; }
.tier-rack--1 i { height: 28px; }
.tier-rack--wide { max-width: 100%; }
.tier-tag { margin: 0 0 8px; font-size: 0.7rem; color: var(--gold); }
.tier .h3 { font-size: 1.55rem; margin-bottom: 12px; }
.tier--featured .h3 { color: var(--gold-2); }
.tier-text { color: var(--mute); font-size: 0.95rem; margin-bottom: 22px; }
.specs { display: grid; gap: 0; margin: auto 0 22px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 108px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.specs dt { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); padding-top: 3px; overflow-wrap: anywhere; }
.specs dd { color: var(--ink); }
.tier-note { margin: 22px 0 0; text-align: center; font-size: 0.74rem; }

.bs-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; text-align: start; }
.bs-tile { position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%; min-height: 136px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(12, 26, 56, 0.72); color: var(--ink); transition: border-color 0.3s, transform 0.4s var(--ease), background-color 0.3s; }
.bs-tile-top { display: flex; align-items: center; justify-content: space-between; }
.bs-tile .ico { width: 24px; height: 24px; color: var(--cyan); }
.bs-tile[data-cat="terrain"] .ico { color: var(--cat-terrain); } .bs-tile[data-cat="legal"] .ico { color: var(--cat-legal); } .bs-tile[data-cat="human"] .ico { color: var(--cat-human); } .bs-tile[data-cat="economy"] .ico { color: var(--cat-economy); } .bs-tile[data-cat="security"] .ico { color: var(--cat-security); }
.bs-tile-num { font-size: 0.7rem; }
.bs-tile-text { margin-top: auto; display: grid; gap: 4px; }
.bs-tile-text strong { font-weight: 600; font-size: 0.9rem; line-height: 1.3; }
.bs-tile-cat { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); line-height: 1.3; }
.bs-tile:hover { border-color: var(--line-2); transform: translateY(-3px); background: rgba(18, 36, 72, 0.85); }

.sectors { align-items: stretch; }
.sector { scroll-margin-top: calc(var(--header-h) + 24px); }
.sector-label { margin: 0; font-size: 0.7rem; }
.sector .ticks li { font-size: 0.9rem; }
.sectors-title { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 18px; color: var(--mute); }

.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--f-mono); font-size: 0.9rem; letter-spacing: 0.1em; color: var(--gold); padding-top: 4px; }
.step-body p { margin-top: 8px; color: var(--mute); }
.step-deliverable { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px !important; padding: 8px 14px; border-radius: 999px; background: rgba(200, 164, 106, 0.1); border: 1px solid rgba(200, 164, 106, 0.28); font-size: 0.86rem; color: var(--ink) !important; }
.step-deliverable .ico-sm { color: var(--gold); }
.step-deliverable strong { font-weight: 600; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line-2); background: rgba(8, 18, 41, 0.86); }
.compare, .laws { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.compare th, .compare td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--f-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.compare thead th.is-us { color: var(--gold); }
.compare tbody th { font-weight: 500; color: var(--mute); width: 26%; }
.compare td { color: var(--mute); }
.compare td s { color: var(--mute); text-decoration-color: rgba(248, 113, 113, 0.7); }
.compare td.is-us { background: rgba(200, 164, 106, 0.07); color: var(--ink); font-weight: 500; }
.compare tr:last-child > * { border-bottom: 0; }
.mark { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-inline-end: 10px; border-radius: 50%; vertical-align: -4px; }
.mark .ico-sm { width: 12px; height: 12px; stroke-width: 2.4; }
.mark--no { background: rgba(248, 113, 113, 0.14); color: var(--warn); }
.mark--yes { background: rgba(52, 211, 153, 0.16); color: var(--ok); }
.compare { min-width: 560px; }
.compare-float { position: relative; z-index: 2; width: calc(100% - 24px); margin: -90px auto 0; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.compare-float .compare { min-width: 0; font-size: 0.86rem; }
.compare-float .compare th, .compare-float .compare td { padding: 11px 14px; }

.service-rows { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); padding: clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.service-row-head { display: flex; flex-direction: column; gap: 16px; }
.service-row-text { margin-top: 12px; color: var(--mute); font-size: 1.02rem; }

.stack { display: grid; gap: 8px; }
.stack-layer { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(12, 26, 56, 0.6); transition: transform 0.3s var(--ease), border-color 0.3s; }
.stack-layer:hover { transform: translateX(6px); border-color: rgba(34, 211, 238, 0.5); }
.stack-layer strong { display: block; color: #fff; font-weight: 600; }
.stack-layer span { display: block; font-size: 0.88rem; color: var(--dim); }
.stack-num { font-family: var(--f-mono); font-size: 0.74rem; color: var(--cyan); flex: none; }
.stack-layer--0 { background: linear-gradient(90deg, rgba(200, 164, 106, 0.16), rgba(200, 164, 106, 0.03)); border-color: rgba(200, 164, 106, 0.4); }
.stack-layer--1 { margin-inline: 8px; } .stack-layer--2 { margin-inline: 16px; } .stack-layer--3 { margin-inline: 24px; } .stack-layer--4 { margin-inline: 32px; } .stack-layer--5 { margin-inline: 40px; }

.pillar { position: relative; display: flex; flex-direction: column; gap: 14px; padding-block: 26px; padding-inline: 0 24px; border-top: 1px solid var(--line-2); }
.pillar-num { font-size: 0.74rem; color: var(--gold); }
.pillar p { color: var(--mute); font-size: 0.95rem; }

.map-frame { position: relative; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(ellipse 60% 60% at 50% 45%, rgba(37, 99, 235, 0.16), transparent 70%), rgba(8, 18, 41, 0.7); }
.map-caption { margin-top: 14px; text-align: center; font-size: 0.72rem; }
.africa-map { width: 100%; height: auto; max-height: 560px; margin-inline: auto; }
.map-dots--dim { fill: var(--cyan); fill-opacity: 0.16; }
.map-dots--mid { fill: var(--cyan); fill-opacity: 0.42; }
.map-dots--hot { fill: var(--gold-2); fill-opacity: 0.95; }
.map-core { fill: var(--gold-2); }
.map-ring { fill: none; stroke: var(--gold); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; opacity: 0; animation: ring 3.6s var(--ease) infinite; }
.map-ring--2 { animation-delay: 1.8s; }
.map-node.n1 .map-ring { animation-delay: 0.6s; } .map-node.n1 .map-ring--2 { animation-delay: 2.4s; }
.map-node.n2 .map-ring { animation-delay: 1.2s; } .map-node.n2 .map-ring--2 { animation-delay: 3s; }
.map-node.n3 .map-ring { animation-delay: 0.3s; } .map-node.n3 .map-ring--2 { animation-delay: 2.1s; }
.map-node.n4 .map-ring { animation-delay: 0.9s; } .map-node.n4 .map-ring--2 { animation-delay: 2.7s; }
.map-node.n5 .map-ring { animation-delay: 1.5s; } .map-node.n5 .map-ring--2 { animation-delay: 3.3s; }
@keyframes ring { 0% { transform: scale(0.3); opacity: 0.9; } 100% { transform: scale(1.9); opacity: 0; } }

.rack-anatomy { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.rack-svg { width: 100%; max-width: 420px; margin-inline: auto; }
.rack-frame { fill: rgba(12, 26, 56, 0.6); stroke: var(--line-2); stroke-width: 1.5; }
.rack-unit { fill: var(--night-3); stroke: rgba(148, 190, 230, 0.16); }
.rack-unit--power { fill: #1F1A10; stroke: rgba(200, 164, 106, 0.4); }
.rack-vent { fill: rgba(148, 190, 230, 0.1); }
.led { fill: var(--ok); animation: blink 2.2s ease-in-out infinite; }
.led-1 { animation-delay: -0.4s; } .led-2 { animation-delay: -0.9s; fill: var(--gold-2); } .led-3 { animation-delay: -1.3s; fill: var(--cyan); } .led-4 { animation-delay: -1.8s; }
.rack-legend { display: grid; gap: 4px; }
.rack-legend-item { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rack-legend-num { font-size: 0.78rem; color: var(--gold); padding-top: 3px; }
.rack-legend strong { display: block; color: #fff; font-weight: 600; }
.rack-legend span { display: block; color: var(--dim); font-size: 0.92rem; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Panneau « État du nœud » */
.node-panel { padding: 20px 22px; max-width: 460px; }
.node-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.node-head .mono { color: var(--ink); font-size: 0.74rem; }
.node-note { margin-inline-start: auto; color: var(--dim) !important; font-size: 0.66rem !important; letter-spacing: 0.08em !important; }
.node-led { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: blink 2.4s ease-in-out infinite; }
.node-rows { display: grid; gap: 0; padding: 6px 0; }
.node-rows div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.node-rows dt { color: var(--dim); }
.node-rows dd { color: var(--ink); font-weight: 500; text-align: end; }
.node-bars { display: grid; gap: 12px; padding-top: 16px; }
.node-bars li { display: grid; grid-template-columns: 1fr auto; row-gap: 6px; align-items: center; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.node-bar-v { color: var(--cyan); letter-spacing: 0; font-size: 0.8rem; }
.bar { grid-column: 1 / -1; position: relative; height: 6px; border-radius: 3px; background: rgba(148, 190, 230, 0.12); overflow: hidden; }
.bar-fill { position: absolute; inset: 0; transform-origin: left; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 12px rgba(34, 211, 238, 0.5); }
.bar-fill--100 { transform: scaleX(1); animation: fill 1.4s var(--ease) both; }
.bar-fill--0 { transform: scaleX(0); }
@keyframes fill { from { transform: scaleX(0); } }

/* Baie 3D en verre */
.rack3d { --rx: 0deg; --ry: 0deg; position: relative; min-height: 480px; width: 100%; }
.rack3d-stage { position: absolute; inset: 0; perspective: 1400px; transform-style: preserve-3d; }
.rack { position: absolute; left: 50%; top: 50%; width: 300px; height: 400px; margin: -200px 0 0 -150px; padding: 16px; border-radius: 22px; display: flex; flex-direction: column; gap: 10px; transform-style: preserve-3d;
  background: linear-gradient(160deg, rgba(148, 190, 230, 0.12), rgba(148, 190, 230, 0.03) 50%, rgba(148, 190, 230, 0.07)); border: 1px solid rgba(148, 190, 230, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(37, 99, 235, 0.5); }
.rack--front { transform: rotateY(calc(-24deg + var(--ry))) rotateX(calc(6deg + var(--rx))) translateZ(40px); }
.rack--back { width: 260px; height: 340px; margin: -170px 0 0 -130px; opacity: 0.5; transform: rotateY(calc(-24deg + var(--ry))) rotateX(calc(6deg + var(--rx))) translate3d(-190px, 30px, -220px); }
.rack-head { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 2px 6px 4px; }
.rack-head .mono { font-size: 0.7rem; color: var(--mute); }
.rack-led { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: blink 2s infinite; }
.blade { position: relative; flex: 1; min-height: 44px; border-radius: 10px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: linear-gradient(180deg, rgba(148, 190, 230, 0.12), rgba(148, 190, 230, 0.04)); border: 1px solid rgba(148, 190, 230, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 18px -10px rgba(0, 0, 0, 0.8); }
.blade::before { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 1px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 6px, transparent 6px 10px); opacity: 0.7; }
.blade--gpu { background: linear-gradient(180deg, rgba(37, 99, 235, 0.3), rgba(37, 99, 235, 0.08)); border-color: rgba(59, 130, 246, 0.45); }
.blade--net { background: linear-gradient(180deg, rgba(45, 212, 191, 0.2), rgba(45, 212, 191, 0.05)); border-color: rgba(45, 212, 191, 0.35); }
.blade--ups { background: linear-gradient(180deg, rgba(200, 164, 106, 0.2), rgba(200, 164, 106, 0.05)); border-color: rgba(200, 164, 106, 0.4); }
.blade-label { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blade-leds { display: flex; gap: 6px; flex: none; }
.blade-leds i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px var(--ok); animation: blink 2.4s infinite; }
.blade--gpu .blade-leds i { background: var(--cyan); box-shadow: 0 0 7px var(--cyan); }
.blade-leds i:nth-child(2) { animation-delay: 0.4s; } .blade-leds i:nth-child(3) { animation-delay: 0.9s; } .blade-leds i:nth-child(4) { animation-delay: 1.5s; } .blade-leds i:nth-child(5) { animation-delay: 0.2s; } .blade-leds i:nth-child(6) { animation-delay: 1.1s; }
.blade-bar { width: 80px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; flex: none; }
.blade-bar b { display: block; height: 100%; width: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); box-shadow: 0 0 10px rgba(200, 164, 106, 0.7); }

/* Maquette du pré-diagnostic (teaser accueil) */
.diag-mock { position: relative; perspective: 1400px; padding: 28px 0 40px; min-width: 0; }
.mock-card { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(18, 36, 72, 0.95), rgba(8, 18, 41, 0.98)); box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.3); overflow: hidden; transform: rotateY(-8deg) rotateX(3deg); }
.mock-rail { display: grid; gap: 2px; padding: 18px 12px; background: rgba(4, 9, 20, 0.55); border-inline-end: 1px solid var(--line); }
.mock-rail li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; font-size: 0.76rem; color: var(--dim); }
.mock-rail li .mono { font-size: 0.62rem; color: inherit; }
.mock-rail li.is-done { color: var(--mute); }
.mock-rail li.is-done .mono { color: var(--gold); }
.mock-rail li.is-current { color: #fff; background: rgba(34, 211, 238, 0.1); }
.mock-rail li.is-current .mono { color: var(--cyan); }
.mock-main { padding: 22px; min-width: 0; }
.mock-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.mock-top .mono { font-size: 0.66rem; }
.mock-bar { flex: 1; height: 4px; max-width: 140px; border-radius: 4px; background: rgba(34, 211, 238, 0.14); overflow: hidden; }
.mock-bar i { display: block; width: 62.5%; height: 100%; background: linear-gradient(90deg, var(--blue-2), var(--cyan)); }
.mock-q { font-weight: 600; font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 14px; color: #fff; }
.mock-opts { display: grid; gap: 8px; margin-bottom: 16px; }
.mock-opts li { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 0.88rem; color: var(--mute); }
.mock-opts li i { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid var(--dim); }
.mock-opts li.is-on { border-color: var(--gold); color: var(--ink); background: rgba(200, 164, 106, 0.08); }
.mock-opts li.is-on i { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 0 4px, transparent 4.5px); }
.mock-nav { display: flex; justify-content: space-between; align-items: center; font-size: 0.86rem; color: var(--dim); }
.mock-next { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: linear-gradient(135deg, #EAD4A6, var(--gold)); color: var(--night-0); font-weight: 600; }
.mock-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(8, 18, 41, 0.92); border: 1px solid var(--line-2); font-size: 0.7rem; color: var(--cyan); box-shadow: var(--shadow); }
.mock-chip--a { inset-inline-start: 0; top: 4px; }
.mock-chip--b { inset-inline-end: 0; bottom: 12px; color: var(--gold-2); }

/* Mission (à propos) */
.mission blockquote p { font-family: var(--f-body); font-weight: 500; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.values { border-top: 1px solid var(--line); }

/* Air-gap */
.airgap { padding: 28px; }
.airgap-diagram { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 28px; }
.airgap-zone { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 12px; border-radius: 14px; text-align: center; font-size: 0.85rem; }
.airgap-zone--out { border: 1px dashed var(--line-2); color: var(--dim); }
.airgap-zone--in { border: 1px solid rgba(200, 164, 106, 0.5); background: rgba(200, 164, 106, 0.08); color: #fff; }
.airgap-zone--in .ico { color: var(--gold-2); }
.airgap-gap { display: flex; align-items: center; gap: 6px; color: var(--warn); }
.airgap-gap span { width: 22px; height: 1px; background: repeating-linear-gradient(90deg, var(--dim) 0 3px, transparent 3px 6px); }

/* Lois */
.search { display: flex; align-items: center; gap: 10px; margin-top: 18px; height: 50px; padding: 0 18px; border-radius: 999px; background: rgba(12, 26, 56, 0.7); border: 1px solid var(--line-2); max-width: 420px; }
.search:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15); }
.search .ico { color: var(--dim); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search input::placeholder { color: var(--dim); }
.laws-wrap { max-height: 560px; overflow: auto; }
.laws th, .laws td { padding: 14px 20px; text-align: start; border-bottom: 1px solid var(--line); }
.laws thead th { position: sticky; top: 0; z-index: 1; background: var(--night-1); font-family: var(--f-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.laws tbody th { width: 34%; font-weight: 600; color: var(--ink); }
.laws td { color: var(--mute); }
.laws tbody tr:hover { background: rgba(34, 211, 238, 0.04); }

/* Zones d'ombre — page (filtres + accordéons) */
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 36px; position: sticky; top: calc(var(--header-h) + 10px); z-index: 5; padding: 6px; border-radius: 999px; background: rgba(8, 18, 41, 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line-2); width: fit-content; max-width: 100%; }
.filter { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--mute); transition: background-color 0.2s, color 0.2s; }
.filter span { font-family: var(--f-mono); font-size: 0.72rem; color: var(--dim); }
.filter:hover { color: #fff; background: rgba(148, 190, 230, 0.08); }
.filter.is-on { background: rgba(34, 211, 238, 0.14); color: #fff; }
.filter.is-on span { color: var(--cyan); }

.acc { border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(12, 26, 56, 0.55); transition: border-color 0.3s, background-color 0.3s; }
.acc + .acc { margin-top: 10px; }
.acc[open], .acc:hover { border-color: var(--line-2); }
.acc[open] { background: rgba(12, 26, 56, 0.85); }
.acc summary { display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 14px 18px; cursor: pointer; list-style: none; font-size: 1.04rem; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.acc summary::-webkit-details-marker { display: none; }
.acc-meta { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.acc-title { flex: 1; }
.acc-ico { width: 20px; height: 20px; flex: none; color: var(--cyan); transition: transform 0.3s var(--ease); }
.acc[open] .acc-ico { transform: rotate(45deg); }
.acc-body { padding: 0 18px 20px; color: var(--mute); }
.acc-body > p { max-width: 70ch; }
.acc-group + .acc-group { margin-top: 48px; }
.acc-group-title { margin-bottom: 14px; font-family: var(--f-mono); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.bs-list { display: grid; gap: 12px; }
.bs-list .acc + .acc { margin-top: 0; }
.bs-card { scroll-margin-top: calc(var(--header-h) + 90px); }
.bs-card:target { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200, 164, 106, 0.16); }
.bs-card.is-hidden { display: none; }
.bs-num { width: 32px; font-size: 0.8rem; color: var(--gold); }
.bs-ico { width: 40px; height: 40px; }
.bs-ico[data-cat="terrain"] { color: var(--cat-terrain); } .bs-ico[data-cat="legal"] { color: var(--cat-legal); } .bs-ico[data-cat="human"] { color: var(--cat-human); } .bs-ico[data-cat="economy"] { color: var(--cat-economy); } .bs-ico[data-cat="security"] { color: var(--cat-security); }
.bs-cat { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 0.72rem; }
.bs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: var(--radius-sm); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.bs-part { padding: 18px 20px; background: rgba(8, 18, 41, 0.9); font-size: 0.94rem; color: var(--mute); }
.bs-part--risk { background: rgba(248, 113, 113, 0.05); }
.bs-part--answer { background: rgba(200, 164, 106, 0.07); color: var(--ink); }
.bs-label { margin-bottom: 8px !important; font-size: 0.7rem; }
.bs-part--risk .bs-label { color: var(--warn); }
.bs-part--answer .bs-label { color: var(--gold); }
.bs-deliverable { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; font-size: 0.9rem; color: var(--mute); }
.bs-deliverable .ico-sm { color: var(--gold); }
.bs-deliverable strong { color: var(--ink); font-weight: 600; }
.closing-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding: 32px; }
.closing-card .legend { margin-bottom: 18px; }
.closing-card p { margin-top: 8px; color: var(--mute); }

/* ---------- Formulaires ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 24px; align-items: start; }
.contact-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.side-title { display: block; margin-bottom: 0; }
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); }
.form-lead { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 26px; font-size: 0.9rem; color: var(--dim); }
.form-lead .ico-sm { margin-top: 3px; color: var(--ok); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.req { color: var(--gold); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(4, 9, 20, 0.55); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237E8CA6' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-inline-end: 40px; }
.field select option { background: var(--night-1); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--cyan); background-color: rgba(4, 9, 20, 0.8); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--warn); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--mute); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.check.is-invalid { color: var(--warn); }
.check a { color: var(--cyan); border-bottom: 1px solid currentColor; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 18px; font-size: 0.86rem; color: var(--dim); }
.form-alt-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.form-fallback { margin-top: 18px; padding: 16px; border-radius: 14px; background: rgba(248, 113, 113, 0.08); border: 1px solid rgba(248, 113, 113, 0.3); text-align: center; }
.form-fallback p { margin-bottom: 12px; font-size: 0.92rem; color: var(--ink); }
.form-success { text-align: center; padding: clamp(24px, 5vw, 56px) 8px; }
.form-success:focus { outline: none; }
.form-success p { max-width: 46ch; margin: 12px auto 24px; color: var(--mute); }
.form-success-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: rgba(52, 211, 153, 0.14); color: var(--ok); }
.form-success-icon .ico { width: 30px; height: 30px; stroke-width: 2; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(4, 9, 20, 0.25); border-top-color: var(--night-0); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-error { margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(248, 113, 113, 0.1); color: #FCA5A5; font-size: 0.9rem; }

/* ---------- Module de pré-diagnostic (classes générées par js/diagnostic.js) ---------- */
.diag-section { padding-top: clamp(32px, 5vw, 56px); }
.diag { max-width: 980px; margin-inline: auto; }
.diag-noscript { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line-2); color: var(--mute); }
.diag-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); border-radius: var(--radius-lg); background: rgba(8, 18, 41, 0.9); border: 1px solid var(--line-2); box-shadow: var(--shadow); overflow: hidden; }
.diag-rail { padding: 28px 18px; background: rgba(4, 9, 20, 0.6); border-inline-end: 1px solid var(--line); }
.diag-rail ol { display: grid; gap: 2px; }
.diag-rail li button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px 10px; border-radius: 10px; font-size: 0.86rem; text-align: start; color: var(--dim); transition: background-color 0.2s, color 0.2s; }
.diag-rail li button:disabled { cursor: default; }
.diag-rail li button:not(:disabled):hover { background: rgba(148, 190, 230, 0.06); color: #fff; }
.diag-rail .dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 0.68rem; flex: none; background: none; }
.diag-rail .dot .ico-sm { width: 13px; height: 13px; }
.diag-rail .is-done button { color: var(--mute); }
.diag-rail .is-done .dot { background: rgba(200, 164, 106, 0.14); border-color: rgba(200, 164, 106, 0.55); color: var(--gold-2); }
.diag-rail .is-current button { color: #fff; background: rgba(34, 211, 238, 0.08); }
.diag-rail .is-current .dot { background: var(--gold); border-color: var(--gold); color: var(--night-0); }
.diag-main { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; min-height: 560px; }
.diag-progress { height: 4px; border-radius: 4px; background: rgba(148, 190, 230, 0.12); overflow: hidden; margin-bottom: 26px; }
.diag-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--gold)); transition: width 0.4s var(--ease); }
.diag-count { margin-bottom: 10px; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.diag-q { font-family: var(--f-body); font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); line-height: 1.2; letter-spacing: -0.025em; font-weight: 600; color: #fff; margin-bottom: 8px; }
.diag-hint { font-size: 0.88rem; color: var(--dim); margin-bottom: 18px; }
.diag-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0 24px; border: 0; padding: 0; }
.diag-opt { position: relative; }
.diag-opt input { position: absolute; opacity: 0; pointer-events: none; }
.diag-opt span { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(12, 26, 56, 0.55); font-size: 0.95rem; line-height: 1.35; color: var(--mute); cursor: pointer; transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s, color 0.2s; }
.diag-opt span::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1.5px solid var(--dim); transition: all 0.2s; }
.diag-opt--multi span::before { border-radius: 5px; }
.diag-opt span:hover { border-color: rgba(148, 190, 230, 0.5); color: var(--ink); }
.diag-opt input:checked + span { border-color: var(--gold); background: rgba(200, 164, 106, 0.1); color: #fff; box-shadow: 0 0 0 3px rgba(200, 164, 106, 0.14); }
.diag-opt input:checked + span::before { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 42%, transparent 46%); }
.diag-opt--multi input:checked + span::before { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23040914' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.diag-opt input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.diag-select { display: grid; gap: 22px; margin: 16px 0 24px; }
.diag-sub { margin: 4px 0 -6px; font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.diag-select .diag-options { margin: 0; }
.diag-error { margin-bottom: 16px; color: #FCA5A5; font-size: 0.9rem; }
.diag-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.diag-step-enter { animation: stepIn 0.35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } }

.diag-result { position: relative; border-radius: var(--radius-lg); background: rgba(8, 18, 41, 0.9); border: 1px solid var(--line-2); box-shadow: var(--shadow); overflow: hidden; }
.dr-hero { position: relative; padding: clamp(28px, 4vw, 48px); background: linear-gradient(180deg, rgba(18, 36, 72, 0.9), rgba(8, 18, 41, 0.2)); overflow: hidden; isolation: isolate; }
.dr-hero .glow { z-index: -1; opacity: 0.9; }
.dr-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.dr-tier { font-family: var(--f-display); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); line-height: 1; letter-spacing: -0.03em; font-weight: 700; color: #fff; margin: 6px 0 12px; }
.dr-tag { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.dr-text { color: var(--mute); max-width: 56ch; margin-top: 12px; }
.dr-ref { text-align: end; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.dr-ref strong { display: block; margin-top: 4px; font-size: 0.95rem; color: #fff; letter-spacing: 0.04em; }
.dr-specs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 28px; background: var(--line); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.dr-specs div { padding: 14px 16px; background: rgba(4, 9, 20, 0.7); }
.dr-specs dt { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.dr-specs dd { margin: 4px 0 0; color: #fff; font-size: 0.9rem; font-weight: 500; }
.dr-body { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.dr-block { padding: clamp(24px, 3vw, 36px); background: rgba(8, 18, 41, 0.95); }
.dr-block--full { grid-column: 1 / -1; }
.dr-block h3 { margin-bottom: 16px; font-family: var(--f-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.dr-block p { color: var(--mute); }
.dr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dr-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(12, 26, 56, 0.7); border: 1px solid var(--line); font-size: 0.88rem; color: var(--ink); }
.dr-chips .ico-sm { color: var(--gold); }
.dr-bs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.dr-bs a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: 0.92rem; font-weight: 500; color: var(--ink); transition: border-color 0.2s, background-color 0.2s; }
.dr-bs a:hover { border-color: var(--gold); background: rgba(200, 164, 106, 0.08); }
.dr-bs .ico { color: var(--cyan); width: 20px; height: 20px; }
.dr-reg strong { display: block; font-weight: 600; margin-bottom: 4px; color: #fff; }
.dr-reg p { font-size: 0.92rem; }
.dr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: clamp(24px, 3vw, 36px); background: rgba(4, 9, 20, 0.6); border-top: 1px solid var(--line); }
.dr-actions .line-select { min-height: 48px; padding-block: 0; padding-inline: 16px 40px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); background: rgba(12, 26, 56, 0.7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237E8CA6' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; appearance: none; -webkit-appearance: none; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.dr-actions .line-select option { background: var(--night-1); }
.dr-actions .spacer { flex: 1; }
.dr-disclaimer { padding: 18px clamp(24px, 3vw, 36px); font-size: 0.82rem; color: var(--dim); border-top: 1px solid var(--line); }

/* ---------- Pied de page ---------- */
/* marge basse : le bouton flottant (WhatsApp ou chatbot, 60 px) ne recouvre jamais les liens de langue en bas de page */
.site-footer { position: relative; padding-block: clamp(56px, 7vw, 80px) 96px; background: var(--night-0); border-top: 1px solid var(--line); color: var(--mute); font-size: 0.94rem; }
.site-footer::before { content: ""; position: absolute; left: 20%; right: 20%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), rgba(200, 164, 106, 0.5), transparent); }
.f-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 0.8fr 1.3fr; gap: 32px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.f-brand p { margin: 20px 0 22px; max-width: 34ch; color: var(--dim); font-size: 0.92rem; }
.f-title { margin-bottom: 12px; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.f-col ul { display: grid; gap: 2px; }
.f-col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mute); font-size: 0.92rem; transition: color 0.2s; }
.f-col a:hover { color: #fff; }
.f-sub { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; color: var(--dim); font-size: 0.8rem; }
.f-sub .ico-sm { color: var(--gold); }
.address { color: var(--mute); font-size: 0.92rem; line-height: 1.55; }
.phones { display: grid; gap: 10px; margin-top: 16px; }
.phone-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; }
.phone-num { display: flex; flex-direction: column; }
.phone-line { font-size: 0.66rem; }
.phone-num a { display: inline-flex; align-items: center; min-height: 32px; font-size: 1.05rem; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.phone-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.phones--footer .phone-row { flex-direction: column; align-items: flex-start; gap: 6px; }
.phones--footer .chip-btn { min-height: 40px; padding: 0 12px; font-size: 0.82rem; }
.f-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 22px; font-size: 0.82rem; color: var(--dim); }
.f-bottom p { margin: 0; }
.f-note { display: inline-flex; align-items: center; gap: 8px; }
.f-note .ico-sm { color: var(--ok); }
.f-legal { display: flex; flex-wrap: wrap; gap: 0 20px; }
.f-legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mute); }
.f-legal a:hover { color: #fff; }
.f-langs { display: flex; flex-wrap: wrap; gap: 0 18px; }
.f-langs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mute); }
.f-langs a:hover { color: #fff; }
.f-langs a.is-current { color: var(--gold-2); }

/* ---------- WhatsApp flottant ---------- */
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-btn { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25); transition: transform 0.3s var(--ease), background-color 0.25s; }
.wa-btn:hover { transform: scale(1.06); background: #2AD86C; }
.wa-btn .ico { width: 28px; height: 28px; stroke-width: 1.8; }
.wa-close { display: none; }
.wa-btn[aria-expanded="true"] .wa-ico { display: none; }
.wa-btn[aria-expanded="true"] .wa-close { display: block; }
.wa-panel { width: min(300px, calc(100vw - 32px)); padding: 12px; border-radius: 18px; background: rgba(8, 18, 41, 0.96); border: 1px solid var(--line-2); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: var(--ink); animation: pop 0.25s var(--ease); }
.wa-title { margin: 6px 10px 8px; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.wa-line { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 12px; border-radius: 12px; transition: background-color 0.2s; }
.wa-line:hover { background: rgba(37, 211, 102, 0.1); }
.wa-line > .ico { color: var(--wa); }
.wa-line span { flex: 1; display: flex; flex-direction: column; font-weight: 600; font-variant-numeric: tabular-nums; }
.wa-line small { font-family: var(--f-mono); font-size: 0.64rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.wa-line .ico-sm { color: var(--dim); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } }

/* ---------- Prose / légal ---------- */
.prose h2 { margin: 44px 0 14px; font-family: var(--f-body); font-size: 1.3rem; letter-spacing: -0.02em; font-weight: 600; color: #fff; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose address { color: var(--mute); }
.prose a { color: var(--cyan); border-bottom: 1px solid currentColor; }
.legal-dl { border-top: 1px solid var(--line); }
.legal-dl div { display: grid; grid-template-columns: 240px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.legal-dl dt { color: var(--dim); font-size: 0.92rem; }
.legal-dl dd { color: var(--ink); }

/* ---------- 404 & porte linguistique ---------- */
.page-hero--404 { min-height: clamp(520px, 80vh, 760px); display: grid; align-items: center; }
.nf { position: relative; }
.nf-code { font-family: var(--f-display); font-weight: 700; font-size: clamp(4.5rem, 12vw, 9rem); line-height: 1; letter-spacing: -0.04em; color: var(--gold); margin-bottom: 16px; }
.nf .lead { margin: 20px 0; }
.nf-en { font-size: 0.95rem; opacity: 0.8; margin-bottom: 32px !important; }
.lang-gate { background: var(--night-0); }
.gate { position: relative; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; overflow: hidden; isolation: isolate; }
.gate-inner { position: relative; display: grid; justify-items: center; gap: 28px; text-align: center; }
.gate-tag { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; font-family: var(--f-logo); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-2); }
.gate .btn-row { margin-top: 12px; justify-content: center; }
@media (max-width: 640px) {
  .gate-tag { flex-direction: column; gap: 8px; }
  .gate-tag [aria-hidden] { display: none; }
}

/* ---------- Animations & utilitaires ---------- */
.reveal { transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
.reveal-pending { opacity: 0; transform: translateY(24px); }
.reveal-in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes orbit-spin-1 { from { transform: rotateX(72deg) rotateZ(-18deg) rotate(0); } to { transform: rotateX(72deg) rotateZ(-18deg) rotate(360deg); } }
@keyframes orbit-spin-2 { from { transform: rotateX(78deg) rotateZ(34deg) rotate(0); } to { transform: rotateX(78deg) rotateZ(34deg) rotate(-360deg); } }
@keyframes scroll-hint { 0%, 100% { opacity: 0.5; width: 36px; } 50% { opacity: 1; width: 52px; } }
@keyframes float-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float-rack { 0%, 100% { transform: rotateY(calc(-24deg + var(--ry))) rotateX(calc(6deg + var(--rx))) translateZ(40px) translateY(0); } 50% { transform: rotateY(calc(-24deg + var(--ry))) rotateX(calc(6deg + var(--rx))) translateZ(40px) translateY(-10px); } }
@media (prefers-reduced-motion: no-preference) {
  .js .rise { animation: rise 1s var(--ease) both; }
  .js .rise-1 { animation-delay: 0.1s; } .js .rise-2 { animation-delay: 0.22s; } .js .rise-3 { animation-delay: 0.34s; } .js .rise-4 { animation-delay: 0.46s; } .js .rise-5 { animation-delay: 0.6s; }
  .orbit--1 { animation: orbit-spin-1 26s linear infinite; }
  .orbit--2 { animation: orbit-spin-2 38s linear infinite; }
  .hero-scroll i { animation: scroll-hint 2.4s ease-in-out infinite; }
  .mock-chip--a { animation: float-a 5s ease-in-out infinite; }
  .mock-chip--b { animation: float-a 6s ease-in-out -2s infinite; }
  .rack--front { animation: float-rack 7s ease-in-out infinite; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav, .header-cta { display: none; }
  .burger { display: inline-grid; }
  .header-actions { margin-inline-start: auto; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 18px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .bs-tiles { grid-template-columns: repeat(4, 1fr); }
  .tier-grid { grid-template-columns: 1fr; max-width: 600px; }
  .f-top { grid-template-columns: 1fr 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .f-contact { grid-column: span 3; }
}
@media (max-width: 960px) {
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 20px); padding-bottom: 56px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 12px 32px; }
  .hero-copy { max-width: none; }
  .hero-copy .display { margin-bottom: 20px; }
  .hero-lead { margin-bottom: 26px; }
  .hero-actions { margin-bottom: 28px; }
  .globe-stage, .globe-tags { width: min(72vw, 320px); }
  .globe-stage { margin-top: 8px; }
  .globe-tags { top: 8px; }
  .gtag--dxb { top: 6%; right: 0; }
  .gtag--afr { bottom: 4%; left: 0; }
  .split, .band-inner, .cta-band .band-inner, .contact-grid, .rack-anatomy { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .sticky-col, .contact-side { position: static; }
  .page-hero--aside .page-hero-grid { grid-template-columns: 1fr; }
  .section-head--row { grid-template-columns: 1fr; }
  .section-head--row .link-arrow { grid-column: 1; grid-row: auto; justify-self: start; }
  .service-row { grid-template-columns: 1fr; }
  .service-row-head { flex-direction: row; align-items: center; justify-content: space-between; }
  .rack-svg { max-width: 300px; }
  .compare-float { width: 100%; margin-top: -48px; }
  .mock-card { transform: none; }
  .rack3d { min-height: 420px; }
  .rack { width: 260px; height: 340px; margin: -170px 0 0 -130px; }
  .rack--back { width: 220px; height: 290px; margin: -145px 0 0 -110px; }
  .bs-grid { grid-template-columns: 1fr; }
  .diag-shell { grid-template-columns: 1fr; }
  .diag-rail { display: none; }
  .diag-options { grid-template-columns: 1fr; }
  .diag-main { min-height: 0; }
}
@media (max-width: 760px) {
  .filters { position: static; border-radius: 18px; }
  .dr-hero-inner { grid-template-columns: 1fr; }
  .dr-ref { text-align: start; }
  .dr-specs { grid-template-columns: 1fr 1fr; }
  .dr-body, .dr-bs { grid-template-columns: 1fr; }
  .dr-actions .spacer { display: none; }
  .dr-actions .btn, .dr-actions .line-select { width: 100%; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  /* césure réservée aux mots longs (≥ 10 lettres) : « stratégie », « sensibles » restent entiers */
  .display, .h1 { -webkit-hyphens: auto; hyphens: auto; -webkit-hyphenate-limit-before: 6; -webkit-hyphenate-limit-after: 4; hyphenate-limit-chars: 10 6 4; }
  .logo-tag { display: none; }
  .logo-emblem { width: 38px; height: 36px; }
  .stats-band--overlap { margin-top: -40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; padding: 20px 18px; }
  .stat { padding-inline-start: 12px; }
  .stat-value { font-size: 2rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .photo-card { aspect-ratio: 4 / 3; }
  .bs-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .bs-tile { min-height: 120px; padding: 14px; }
  .principles { grid-template-columns: 1fr; }
  .uses { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .hud li { min-width: 0; flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--line); }
  .hud li:last-child { border-bottom: 0; }
  .hero-actions .btn, .band-copy .btn-row .btn, .closing-card .btn-row .btn, .page-hero-actions .btn { flex: 1 1 100%; }
  .hero-foot .mono:not(.hero-scroll) { display: none; }
  .hero-scroll { margin-inline-start: 0; }
  .gtag { padding: 6px 10px; font-size: 0.62rem; }
  .gtag b { font-size: 0.82rem; }
  .mock-card { grid-template-columns: 1fr; }
  .mock-rail { display: none; }
  .mock-chip { position: static; margin-top: 10px; box-shadow: none; }
  .diag-mock { display: grid; gap: 0; padding-bottom: 8px; }
  .diag-mock .mock-chip--a { order: 2; justify-self: start; }
  .diag-mock .mock-chip--b { order: 3; justify-self: start; margin-top: 8px; }
  .step { grid-template-columns: 48px 1fr; }
  .specs div { grid-template-columns: 100px 1fr; }
  .stack-layer { margin-inline: 0 !important; }
  .form-grid { grid-template-columns: 1fr; }
  .legal-dl div { grid-template-columns: 1fr; gap: 2px; }
  .f-top { grid-template-columns: 1fr 1fr; }
  .f-contact { grid-column: 1 / -1; }
  .f-legal { gap: 0 16px; }
  .wa-panel { width: min(280px, calc(100vw - 28px)); }
  .airgap-diagram { grid-template-columns: 1fr; }
  .airgap-gap { justify-content: center; }
  .rack3d { min-height: 360px; }
  .rack { width: 236px; height: 316px; margin: -158px 0 0 -118px; padding: 12px; gap: 8px; }
  .rack--back { width: 200px; height: 270px; margin: -135px 0 0 -100px; }
  .blade-label { font-size: 0.56rem; letter-spacing: 0.02em; }
  .closing-card { padding: 24px; }
}
@media (max-width: 400px) {
  .logo-name { font-size: 1.08rem; }
  .header-actions { gap: 8px; }
  .bs-tiles { grid-template-columns: 1fr 1fr; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-pending { opacity: 1; transform: none; transition: none; }
  .map-ring { opacity: 0 !important; }
  .rack--front, .rack--back { --rx: 0deg; --ry: 0deg; }
  .band-bg img { transform: none !important; }
}

/* ---------- Droite à gauche (<html dir="rtl">, arabe) ----------
   Le socle utilise des propriétés logiques (margin-inline, padding-inline, inset-inline, text-align start/end) :
   le miroir est automatique. Ici : flèches directionnelles (.ico-dir, posée par les gabarits sur les icônes
   « arrow » / « arrowUpRight »), déplacements au survol, voiles et halos orientés, bouton flottant à gauche,
   flèches natives des <select>, origine des barres de progression. */
[dir="rtl"] .ico-dir { transform: scaleX(-1); }
[dir="rtl"] .ico-flip { transform: none; }
[dir="rtl"] .btn:hover .ico-sm:last-child, [dir="rtl"] .btn:hover .ico:last-child { transform: translateX(-3px); }
[dir="rtl"] .btn:hover .ico-dir:last-child { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .btn:hover .ico-flip:first-child { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover .ico-sm { transform: translate(-2px, -2px); }
[dir="rtl"] .link-arrow:hover .ico-dir { transform: scaleX(-1) translate(2px, -2px); }
[dir="rtl"] .photo-card:hover .photo-card-more .ico-dir { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .stack-layer:hover { transform: translateX(-6px); }
[dir="rtl"] .scroll-progress, [dir="rtl"] .bar-fill { transform-origin: right; }
[dir="rtl"] .field select, [dir="rtl"] .dr-actions .line-select { background-position: left 14px center; }
[dir="rtl"] .wa-float { right: auto; left: max(16px, env(safe-area-inset-left)); align-items: flex-start; }
[dir="rtl"] .stack-layer--0 { background: linear-gradient(270deg, rgba(200, 164, 106, 0.16), rgba(200, 164, 106, 0.03)); }
[dir="rtl"] .hero-scroll i { background: linear-gradient(270deg, var(--cyan), transparent); }
[dir="rtl"] .diag-step-enter { animation-name: stepInRtl; }
@keyframes stepInRtl { from { opacity: 0; transform: translateX(-12px); } }
/* voiles, grilles et filets dégradés : miroir (éléments absolus pleine largeur, symétriques) */
[dir="rtl"] .hero-veil, [dir="rtl"] .page-hero-veil, [dir="rtl"] .bg-grid, [dir="rtl"] .band-bg::after,
[dir="rtl"] .section--glow-cold::before, [dir="rtl"] .section--glow-warm::before,
[dir="rtl"] .stats-grid::before, [dir="rtl"] .site-footer::before { transform: scaleX(-1); }

/* ---------- Typographie arabe : Readex Pro (fonts.css), interlignage aéré, aucun crénage ni capitales ----------
   --f-mono garde Geist Mono pour les chiffres et le latin ; les glyphes arabes tombent sur Readex Pro. */
html[lang="ar"] {
  --f-display: "Readex Pro", "Syne", "Avenir Next", "Helvetica Neue", sans-serif;
  --f-body: "Readex Pro", "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", "Readex Pro", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
:lang(ar):not(.logo-name) { letter-spacing: 0 !important; text-transform: none !important; }
body:lang(ar) { line-height: 1.8; }
:lang(ar) .lead, :lang(ar) .hero-lead, :lang(ar) p, :lang(ar) .ticks li, :lang(ar) .card p { line-height: 1.75; }
:lang(ar) .display, :lang(ar) .h1, :lang(ar) .h2, :lang(ar) .dr-tier, :lang(ar) .nf-code { line-height: 1.3; }
:lang(ar) .h3, :lang(ar) .h4, :lang(ar) .diag-q, :lang(ar) .photo-card-title, :lang(ar) .mock-q, :lang(ar) .acc summary, :lang(ar) .mission blockquote p { line-height: 1.5; }
:lang(ar) .display, :lang(ar) .h1 { -webkit-hyphens: manual; hyphens: manual; }
:lang(ar) .btn, :lang(ar) .chip-btn, :lang(ar) .pill, :lang(ar) .filter { line-height: 1.5; }
:lang(ar) .logo-tag { font-family: var(--f-body); font-weight: 500; }

/* ---------- Impression (résultat du pré-diagnostic) ---------- */
@media print {
  .site-header, .site-footer, .wa-float, .page-hero, .dr-actions, .cta-band, .skip-link, .bg, .glow { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding: 0; }
  .diag-result { box-shadow: none; border: 0; background: #fff; }
  .dr-hero { background: #fff !important; color: #000; border-bottom: 2px solid #000; }
  .dr-tier, .dr-ref strong, .dr-specs dd, .dr-reg strong, .dr-chips li, .dr-bs a, .dr-block p, .dr-text { color: #000 !important; }
  .dr-specs, .dr-specs div, .dr-block, .dr-body { background: #fff !important; }
  .reveal-pending { opacity: 1 !important; transform: none !important; }
}

/* ═══ home.css ═══ */
/* ==========================================================================
   home.css — page d'accueil v2 « Sovereign Orbit » (propriété de l'agent Accueil).
   Concaténée APRÈS main.css dans assets/css/site.css : surcharge sans !important.
   Sections : héros (panneau « État du nœud ») · pourquoi local (Terre + comparatif court)
   · gammes (baie 3D) · gouvernements (carte d'Afrique) · secteurs · pré-diagnostic (maquette)
   · responsive · mouvement réduit. Étiquettes mono ≥ 0,72 rem (≈ 11,5 px) partout.
   ========================================================================== */

/* ---------- Héros ---------- */
/* Les règles « bureau » sont scopées en min-width : concaténées après main.css, elles écraseraient
   sinon ses points de rupture (même spécificité, cascade postérieure). */
@media (min-width: 961px) {
  .hero-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .hero-copy { max-width: 660px; }
}
.hero-lead { max-width: 56ch; margin-bottom: 30px; }
.hero-actions { margin-bottom: 32px; }

/* Panneau « État du nœud » : preuve de souveraineté (flux sortant : aucun · juridiction : droit national) */
.hero-node { max-width: 640px; border: 1px solid var(--line); border-radius: 16px; background: rgba(8, 18, 41, 0.66); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); overflow: hidden; }
.hero-node-head { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.hero-node-head .mono { color: var(--ink); font-size: 0.74rem; }
.hero-node-note { margin-inline-start: auto; color: var(--dim); font-size: 0.72rem; letter-spacing: 0.06em; text-align: end; }
.hero-node-rows { display: grid; grid-template-columns: 1fr 1fr; }
.hero-node-rows div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.hero-node-rows div:nth-child(odd) { border-inline-end: 1px solid var(--line); }
.hero-node-rows dt { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.hero-node-rows dd { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; color: var(--ink); text-align: end; }
.hero-node-rows div:first-child dd::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); flex: none; }
.hero-node-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; padding: 12px 16px 14px; }
.hero-node-bars li { display: grid; grid-template-columns: 1fr auto; row-gap: 6px; align-items: center; }
.hero-node-k { font-size: 0.72rem; letter-spacing: 0.1em; }
.hero-node-v { font-size: 0.76rem; letter-spacing: 0; color: var(--cyan); }
.hero-node-bars .bar { grid-column: 1 / -1; height: 5px; }

/* Globe : la légende se lit sous le globe, en retrait des étiquettes */
.globe-legend { margin-top: 6px; max-width: 44ch; line-height: 1.5; }

/* ---------- 01 Offres ---------- */
.photo-grid .photo-card-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 02 Pourquoi local : Terre de nuit + comparatif court ---------- */
.why-split { align-items: center; }
.why-copy .principles { margin-bottom: 30px; }
.why-visual { position: relative; }
.why-photo img { object-position: 50% 38%; }
.why-photo::after { background: linear-gradient(180deg, rgba(4, 9, 20, 0) 0%, rgba(4, 9, 20, 0.15) 55%, rgba(4, 9, 20, 0.85) 100%); }
.why-photo-tag { position: absolute; inset-inline-start: 16px; top: 16px; z-index: 2; padding: 7px 11px; border-radius: 8px; background: rgba(8, 18, 41, 0.82); border: 1px solid var(--line-2); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--gold-2); }
.mini-compare { position: relative; z-index: 2; width: calc(100% - 28px); margin: -96px auto 0; background: rgba(8, 18, 41, 0.9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.mini-compare .compare { min-width: 0; font-size: 0.84rem; table-layout: fixed; }
.mini-compare .compare th, .mini-compare .compare td { padding-block: 12px; padding-inline: 12px 6px; }
.mini-compare .compare thead th { font-size: 0.72rem; white-space: normal; overflow-wrap: anywhere; line-height: 1.35; vertical-align: bottom; }
.mini-compare .compare thead th:first-child { width: 22%; } /* table-layout: fixed lit les largeurs sur la 1re ligne */
.mini-compare .compare tbody th { width: auto; font-weight: 500; }
.mini-compare .compare td { position: relative; padding-inline-start: 34px; line-height: 1.4; }
.mini-compare .mark { position: absolute; inset-inline-start: 12px; top: 12px; margin: 0; }

/* ---------- 03 Zones d'ombre ---------- */
#blind-spots .section-head { max-width: 720px; }

/* ---------- 04 Gammes : baie 3D dans l'en-tête de section ---------- */
.tiers-head { margin-bottom: clamp(28px, 4vw, 48px); }
@media (min-width: 1181px) { .tiers-head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }
.tiers-head .section-head { margin-bottom: 0; }
.tiers-rack { position: relative; min-width: 0; padding-bottom: 30px; }
.tiers-rack .rack3d { min-height: 450px; }
.tiers-rack-label { position: absolute; left: 50%; bottom: 0; margin: 0; transform: translateX(-50%); font-size: 0.72rem; white-space: nowrap; }

/* ---------- 05 Gouvernements : carte d'Afrique + engagements ---------- */
.gov-aside { padding: 24px 26px 26px; }
.gov-map { position: relative; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.gov-map .africa-map { width: 100%; height: auto; max-height: 220px; }
.gov-map-caption { margin: 10px 0 0; text-align: center; font-size: 0.72rem; color: var(--gold-2); }
.gov-aside .commit li { font-size: 0.92rem; }

/* ---------- Secteurs ---------- */
.sectors-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; }
.sectors-head .sectors-title { margin-bottom: 0; }

/* ---------- 06 Pré-diagnostic : maquette à gauche, tournée vers le texte ---------- */
.diag-split { align-items: center; }
.diag-mock { padding: 28px 0 0; }
.diag-split .mock-card { transform: rotateY(8deg) rotateX(3deg); }
.mock-chip--b { inset-inline-end: 0; top: 4px; bottom: auto; }
.mock-out { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 18, 41, 0.72); font-size: 0.9rem; color: var(--ink); }
.mock-out .mono { color: var(--gold); font-size: 0.72rem; }
.mock-out-item { display: inline-flex; align-items: center; gap: 7px; }
.mock-out-item .ico-sm { color: var(--ok); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .tiers-head { grid-template-columns: 1fr; }
  .tiers-rack .rack3d { min-height: 420px; }
}
@media (max-width: 960px) {
  .hero-node { max-width: none; }
  .globe-legend { max-width: 38ch; }
  .why-split, .diag-split { grid-template-columns: 1fr; }
  .mini-compare { width: 100%; margin-top: -56px; }
  .diag-split .mock-card { transform: none; }
  .mock-chip--b { inset-inline-end: 0; }
}
@media (max-width: 640px) {
  .hero-lead { margin-bottom: 24px; }
  .hero-actions { margin-bottom: 24px; }
  .hero-node-head { padding: 10px 14px; }
  .hero-node-note { display: none; }
  .hero-node-rows div { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 14px; }
  .hero-node-rows dd { text-align: start; }
  .hero-node-bars { gap: 0 16px; padding: 10px 14px 12px; }
  /* comparatif en cartes empilées : critère en tête, deux lignes barrée / cochée */
  .mini-compare .compare, .mini-compare .compare tbody, .mini-compare .compare tr, .mini-compare .compare tbody th, .mini-compare .compare td { display: block; width: auto; }
  .mini-compare .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mini-compare .compare tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .mini-compare .compare tr:last-child { border-bottom: 0; }
  .mini-compare .compare tbody th { padding: 0 0 6px; border: 0; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
  .mini-compare .compare td { padding-block: 3px; padding-inline: 30px 0; border: 0; }
  .mini-compare .compare td.is-us { background: none; }
  .mini-compare .mark { inset-inline-start: 0; top: 4px; }
  .tiers-rack .rack3d { min-height: 360px; }
  .gov-map .africa-map { max-height: 190px; }
  /* pastilles en rangée AU-DESSUS de la carte (plus de pastilles orphelines sous la maquette) */
  .diag-mock { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 0; }
  .diag-mock .mock-chip--a, .diag-mock .mock-chip--b { order: 0; margin-top: 0; top: auto; }
  .diag-mock .mock-card { order: 1; width: 100%; margin-top: 6px; }
  .diag-mock .mock-out { order: 2; width: 100%; }
}

/* ---------- Mouvement réduit : baie et pastilles immobiles ---------- */
@media (prefers-reduced-motion: reduce) {
  .mock-chip, .tiers-rack .rack--front { animation: none; }
}

/* ═══ pages.css ═══ */
/* pages.css — feuille de style des pages internes (propriété de l'agent Pages internes).
   Concaténée après home.css dans assets/css/site.css par build.mjs : peut surcharger main.css sans !important.
   Sommaire : héros (faits, cartes, sommaires) · services · gammes · gouvernements · secteurs · zones d'ombre ·
   sécurité (lois) · méthode (frise) · FAQ · à propos · contact (formulaire) · mentions (crédits) · confidentialité ·
   pré-diagnostic (habillage diag-* / dr-*) · responsive · mouvement réduit. */

/* ---------- Héros de page : chips de faits, carte de verre, sommaire ---------- */
.page-hero-actions { align-items: center; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 10px; flex-basis: 100%; margin: -6px 0 10px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; padding-block: 0; padding-inline: 12px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(8, 18, 41, 0.62); font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.hero-facts li i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); flex: none; }
.page-hero--compact .page-hero-actions { margin-top: 24px; }
.page-hero--photo .page-hero-photo { object-position: 60% 40%; }

.hero-card { position: relative; padding: 22px 24px 24px; border-radius: var(--radius); border: 1px solid var(--line-2); background: rgba(8, 18, 41, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.hero-card::before { content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.6), rgba(200, 164, 106, 0.6), transparent); }
.hero-card-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--f-mono); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.hero-card-title .ico-sm { color: var(--gold); }
.hero-card .ticks { gap: 9px; }
.hero-card .ticks li { font-size: 0.92rem; }

.idx { display: grid; gap: 2px; }
.idx a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 6px 10px; border-radius: 10px; color: var(--mute); transition: background-color 0.2s, color 0.2s, transform 0.3s var(--ease); }
.idx a:hover { background: rgba(34, 211, 238, 0.08); color: #fff; transform: translateX(3px); }
.idx-num { flex: none; width: 22px; font-size: 0.7rem; color: var(--gold); }
.idx a .ico { flex: none; width: 20px; height: 20px; color: var(--cyan); }
.idx-label { flex: 1; min-width: 0; font-weight: 500; font-size: 0.94rem; line-height: 1.3; }
.idx-arrow { color: var(--dim); opacity: 0.6; transition: transform 0.3s var(--ease), opacity 0.2s; }
.idx a:hover .idx-arrow { transform: translateX(3px); opacity: 1; color: var(--cyan); }
.idx a small { font-size: 0.7rem; color: var(--dim); }

.cat-list { display: grid; }
.cat-list li { display: flex; align-items: center; gap: 12px; min-height: 46px; border-bottom: 1px solid var(--line); font-size: 0.94rem; color: var(--mute); }
.cat-list li:last-child { border-bottom: 0; }
.cat-list b { margin-inline-start: auto; font-weight: 500; font-size: 0.8rem; color: var(--gold-2); }

/* ---------- Services : panneaux photo alternés ---------- */
.svc-list { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.svc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(12, 26, 56, 0.66), rgba(8, 18, 41, 0.74)); scroll-margin-top: calc(var(--header-h) + 16px); transition: border-color 0.35s, box-shadow 0.5s var(--ease); }
.svc:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.svc--rev .svc-copy { order: 2; }
.svc-copy { min-width: 0; }
.svc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.svc-num { font-size: 0.78rem; color: var(--gold); }
.svc .h3 { font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.85rem); margin-bottom: 12px; }
.svc-text { color: var(--mute); font-size: 1rem; line-height: 1.55; margin-bottom: 18px; max-width: 52ch; }
.svc .ticks { gap: 8px; }
.svc-photo { aspect-ratio: 16 / 10; min-width: 0; }
.svc-photo img { transition: transform 1.2s var(--ease); }
.svc:hover .svc-photo img { transform: scale(1.04); }
.svc-photo-tag { position: absolute; inset-inline-start: 14px; bottom: 14px; z-index: 1; max-width: calc(100% - 28px); padding: 6px 10px; border-radius: 8px; background: rgba(4, 9, 20, 0.76); border: 1px solid var(--line-2); font-size: 0.66rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Gammes : cartes de modules sur bandeau photo ---------- */
#modules .card { background: rgba(8, 18, 41, 0.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
#modules .section-head { max-width: 820px; }

/* ---------- Gouvernements ---------- */
.commit-list li { font-size: 0.92rem; }
.pillars { gap: 8px 28px; }
.pillar .card-icon { margin-bottom: 2px; }
.map-note { margin-top: 6px; text-align: center; font-size: 0.78rem; color: var(--dim); }
.framework-grid { text-align: left; }
.card--framework { background: rgba(8, 18, 41, 0.8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.card--framework .h4 { font-size: 1.2rem; }

/* ---------- Secteurs : cartes photo ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sector-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(12, 26, 56, 0.8), rgba(8, 18, 41, 0.88)); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 24px); transition: border-color 0.3s, transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.sector-card:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: var(--shadow); }
.sector-media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: var(--night-2); }
.sector-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.72) brightness(0.68); transition: transform 1.2s var(--ease), filter 0.6s; }
.sector-card:hover .sector-media img { transform: scale(1.06); filter: saturate(0.88) brightness(0.82); }
/* photos claires (champ vert, blouse blanche) : voile renforcé pour rester dans la gamme sombre */
#agri .sector-media img, #health .sector-media img { filter: saturate(0.5) brightness(0.48); }
#agri:hover .sector-media img, #health:hover .sector-media img { filter: saturate(0.6) brightness(0.58); }
.sector-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 9, 20, 0.15) 0%, rgba(4, 9, 20, 0.35) 45%, rgba(8, 18, 41, 0.96) 100%); }
.sector-title { position: absolute; left: 22px; right: 22px; bottom: 16px; z-index: 1; display: flex; align-items: center; gap: 14px; }
.sector-title .card-icon { background: rgba(8, 18, 41, 0.85); flex: none; }
.sector-idx { position: absolute; inset-inline-end: 0; top: -2px; font-size: 0.7rem; color: var(--gold); }
.sector-title .h3 { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem); padding-inline-end: 36px; }
.sector-body { padding: 18px 22px 24px; }
.sector-body .sector-label { margin-bottom: 12px; }
.sector-body .ticks li { font-size: 0.93rem; }
.sector-grid + .closing-card { margin-top: 28px; }

/* ---------- Zones d'ombre : accordéons avec catégorie en toutes lettres ---------- */
.bs-section .section-head { margin-bottom: 28px; }
.bs-title { display: grid; gap: 3px; }
.bs-title small { font-family: var(--f-mono); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.bs-card[data-cat="terrain"] .bs-title small { color: var(--cat-terrain); }
.bs-card[data-cat="legal"] .bs-title small { color: var(--cat-legal); }
.bs-card[data-cat="human"] .bs-title small { color: var(--cat-human); }
.bs-card[data-cat="economy"] .bs-title small { color: var(--cat-economy); }
.bs-card[data-cat="security"] .bs-title small { color: var(--cat-security); }
.bs-card summary { min-height: 72px; }
.bs-card[open] summary { border-bottom: 1px solid var(--line); }
.bs-card .acc-body { padding-top: 18px; }
.bs-card .bs-ico { transition: transform 0.4s var(--ease); }
.bs-card[open] .bs-ico { transform: scale(1.06); }
.bs-list + .closing-card { margin-top: 28px; }

/* ---------- Sécurité : cartographie des lois ---------- */
.law-stats { display: flex; flex-wrap: wrap; gap: 24px 40px; margin-top: 4px; }
.law-stat { position: relative; padding-inline-start: 16px; border-inline-start: 1px solid var(--line-2); }
.law-stat strong { display: block; font-family: var(--f-body); font-weight: 600; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem); letter-spacing: -0.03em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.law-stat > span { display: block; margin-top: 8px; font-size: 0.86rem; line-height: 1.4; color: var(--dim); max-width: 18ch; }
#laws .map-frame { padding: 16px 24px; }
#laws .africa-map { max-height: 420px; }
.laws-block { margin-top: clamp(32px, 4vw, 48px); background: rgba(8, 18, 41, 0.7); }
.laws-block summary { min-height: 72px; }
.laws-block summary .card-icon { width: 40px; height: 40px; }
.laws-block[open] summary { border-bottom: 1px solid var(--line); }
.laws-block .acc-body { padding: 18px 18px 20px; }
.laws-block .search { margin: 0 0 18px; max-width: 460px; }
.laws-block .laws-wrap { max-height: 520px; }
.laws-block .fineprint { margin-top: 14px; }

/* ---------- Méthode : frise verticale ---------- */
.timeline { position: relative; display: grid; max-width: 900px; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 27px; top: 40px; bottom: 40px; width: 1px; background: linear-gradient(180deg, var(--cyan), var(--gold)); opacity: 0.45; }
.tl-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; padding: 12px 0; scroll-margin-top: calc(var(--header-h) + 24px); }
.tl-marker { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin-top: 8px; border-radius: 50%; border: 1px solid rgba(200, 164, 106, 0.55); background: var(--night-1); font-family: var(--f-mono); font-size: 0.82rem; letter-spacing: 0.06em; color: var(--gold-2); box-shadow: 0 0 0 6px var(--night-0), 0 0 26px rgba(200, 164, 106, 0.25); }
.tl-body { padding: 20px 24px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(12, 26, 56, 0.7), rgba(8, 18, 41, 0.78)); transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s; }
.tl-step:hover .tl-body { border-color: var(--line-2); transform: translateX(4px); box-shadow: var(--shadow); }
.tl-label { margin: 0 0 6px; font-size: 0.7rem; color: var(--cyan); }
.tl-body .h3 { font-size: 1.35rem; margin-bottom: 8px; }
.tl-body > p { color: var(--mute); }
.tl-body .step-deliverable { margin-top: 12px !important; }

/* ---------- FAQ : index collant + accordéons ---------- */
.faq-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.faq-side .hero-card-title { margin-bottom: 4px; }
.idx--faq a { min-height: 44px; }
.faq-ask { padding: 20px; }
.faq-ask .h4 { margin-bottom: 6px; }
.faq-ask p { font-size: 0.9rem; color: var(--mute); }
.faq-ask .btn { margin-top: 4px; }
.faq-group { scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group-title { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.faq-group-title .mono { color: var(--gold); }
.faq-main .acc summary { font-size: 1rem; }

/* ---------- À propos ---------- */
.mission { padding: clamp(8px, 2vw, 24px) 0; }
.mission .eyebrow { margin-bottom: 22px; }
.page-about .stats-band { padding-block: 0 clamp(48px, 6vw, 80px); }
#dubai .card { background: rgba(8, 18, 41, 0.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.values-list { display: grid; }
.value { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.value:last-child { border-bottom: 1px solid var(--line); }
.value-num { padding-top: 6px; font-size: 0.8rem; color: var(--gold); }
.value .h3 { margin-bottom: 6px; }
.value p { color: var(--mute); }

/* ---------- Contact : formulaire premium ---------- */
.contact-section { padding-top: clamp(28px, 4vw, 48px); }
.form-card { position: relative; background: linear-gradient(180deg, rgba(12, 26, 56, 0.82), rgba(8, 18, 41, 0.9)); border-color: rgba(148, 190, 230, 0.24); box-shadow: var(--shadow); overflow: hidden; }
.form-card::before { content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.7), rgba(200, 164, 106, 0.7), transparent); }
.form-head { margin-bottom: 26px; }
.form-head .form-lead { margin: 10px 0 0; }
.form-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step + .form-step { margin-top: 26px; }
.form-step legend { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0; margin-bottom: 14px; font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.form-step legend::after { content: ""; flex: 1; height: 1px; margin-inline-start: 6px; background: linear-gradient(90deg, var(--line-2), transparent); }
.form-step-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(200, 164, 106, 0.5); background: rgba(200, 164, 106, 0.1); font-size: 0.66rem; color: var(--gold-2); }
.form-step .form-grid { margin-bottom: 0; }
.form-step + .form-error, .form-step + .btn { margin-top: 24px; }
.field input, .field select, .field textarea { background: rgba(4, 9, 20, 0.62); border-color: rgba(148, 190, 230, 0.22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(148, 190, 230, 0.42); }
.field.is-invalid > span, .check.is-invalid { color: #FCA5A5; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.14); }
.form-error { display: flex; align-items: center; gap: 10px; border: 1px solid rgba(248, 113, 113, 0.3); }
.form-error::before { content: "!"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(248, 113, 113, 0.2); font-weight: 700; font-size: 0.8rem; flex: none; }
.contact-side .hero-card-title { margin-bottom: 0; }

/* ---------- Mentions légales : crédits photos ---------- */
.credits { margin-top: 18px; }
.credits table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 520px; }
.credits th, .credits td { padding: 10px 14px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; }
.credits thead th { font-family: var(--f-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.credits tr:last-child td { border-bottom: 0; }
.credits td { color: var(--mute); }
.credit-cell { width: 92px; }
.credit-thumb { width: 72px; height: 46px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); filter: saturate(0.8); }
.credit-license { white-space: nowrap; }
.credits td a { color: var(--cyan); border-bottom: 1px solid currentColor; }

/* ---------- Confidentialité ---------- */
.policy-grid .h4 { font-size: 1.15rem; }
.policy-contact { display: flex; gap: 18px; align-items: flex-start; margin-top: 18px; padding: 24px; }
.policy-contact .card-icon { flex: none; }
.policy-contact .h4 { margin-bottom: 8px; }
.policy-contact .address { margin-bottom: 8px; }
.policy-phones { margin: 0; }
.policy-phones a { color: var(--cyan); border-bottom: 1px solid currentColor; }

/* ---------- Pré-diagnostic : habillage du module (classes générées par diagnostic.js) ---------- */
.page-diagnostic .page-hero { padding-bottom: clamp(24px, 4vw, 40px); }
.outcome-list li { font-size: 0.94rem; }
.diag-section { overflow: visible; }
.diag-glow { inset-inline: auto; left: 50%; bottom: auto; top: 10%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; transform: translateX(-50%); background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0) 65%); }
.diag-shell { position: relative; border-radius: 24px; background: linear-gradient(180deg, rgba(12, 26, 56, 0.92), rgba(8, 18, 41, 0.96)); border-color: rgba(148, 190, 230, 0.24); box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.35), 0 0 120px -40px rgba(37, 99, 235, 0.6); }
.diag-shell::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; z-index: 1; background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.7), rgba(200, 164, 106, 0.7), transparent); }
.diag-rail { padding: 30px 16px; background: rgba(4, 9, 20, 0.5); }
.diag-rail ol { position: relative; }
.diag-rail ol::before { content: ""; position: absolute; inset-inline-start: 22px; top: 24px; bottom: 24px; width: 1px; background: linear-gradient(180deg, rgba(200, 164, 106, 0.5), rgba(148, 190, 230, 0.12)); }
.diag-rail li { position: relative; }
.diag-rail li button { gap: 14px; }
.diag-rail .dot { background: var(--night-1); box-shadow: 0 0 0 4px var(--night-1); }
.diag-rail .is-current .dot { box-shadow: 0 0 0 4px var(--night-1), 0 0 16px rgba(200, 164, 106, 0.6); }
.diag-main { padding: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 44px); }
.diag-progress { height: 5px; background: rgba(148, 190, 230, 0.1); }
.diag-progress span { background: linear-gradient(90deg, var(--blue-2), var(--cyan) 60%, var(--gold)); box-shadow: 0 0 12px rgba(34, 211, 238, 0.55); }
.diag-count { color: var(--cyan); }
.diag-q { font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2rem); }
.diag-opt span { background: rgba(4, 9, 20, 0.5); border-color: var(--line); }
.diag-opt span:hover { border-color: rgba(34, 211, 238, 0.5); background: rgba(34, 211, 238, 0.05); }
.diag-opt input:checked + span { background: linear-gradient(135deg, rgba(200, 164, 106, 0.18), rgba(200, 164, 106, 0.06)); }
.diag-select .field select { min-height: 54px; }
.diag-error { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.3); }
.diag-nav .btn--line { border-color: var(--line-2); }

.diag-result { border-radius: 24px; border-color: rgba(148, 190, 230, 0.24); box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.35), 0 0 120px -40px rgba(200, 164, 106, 0.45); }
.dr-hero { background: radial-gradient(ellipse 60% 90% at 85% 0%, rgba(37, 99, 235, 0.3), transparent 60%), linear-gradient(180deg, rgba(18, 36, 72, 0.95), rgba(8, 18, 41, 0.5)); }
.dr-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(34, 211, 238, 0.6), rgba(200, 164, 106, 0.6), transparent); }
.dr-hero .glow { opacity: 0.6; }
.dr-tag { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.dr-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.dr-tier { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem); }
.dr-ref { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(4, 9, 20, 0.5); }
.dr-ref strong { color: var(--gold-2); }
.dr-specs { background: rgba(148, 190, 230, 0.12); }
.dr-specs div { background: rgba(4, 9, 20, 0.6); }
.dr-body { background: rgba(148, 190, 230, 0.1); }
.dr-block { background: rgba(8, 18, 41, 0.96); }
.dr-block h3 { display: flex; align-items: center; gap: 10px; }
.dr-block h3::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); flex: none; }
.dr-chips li { background: rgba(4, 9, 20, 0.5); }
.dr-bs a { background: rgba(4, 9, 20, 0.4); }
.dr-actions { background: rgba(4, 9, 20, 0.55); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .faq-layout { grid-template-columns: 240px minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .svc { grid-template-columns: 1fr; gap: 22px; }
  .svc--rev .svc-copy { order: 0; }
  .svc-photo { aspect-ratio: 16 / 9; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .faq-ask { display: none; }
  .law-stats { gap: 20px 32px; }
  #laws .map-frame { max-width: 520px; margin-inline: auto; }
  .value { grid-template-columns: 44px 1fr; gap: 14px; }
  .page-hero-aside .hero-card { max-width: 640px; }
}
@media (max-width: 760px) {
  .dr-actions .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }
}
@media (max-width: 640px) {
  .hero-facts { gap: 6px 8px; margin-top: 0; }
  .page-security .node-head { flex-wrap: wrap; }
  .page-security .node-note { margin-left: 0; flex-basis: 100%; }
  .hero-facts li { min-height: 32px; padding: 0 11px 0 10px; white-space: normal; }
  .svc { padding: 18px; border-radius: var(--radius); }
  .svc .h3 { font-size: 1.35rem; }
  .sector-grid { grid-template-columns: 1fr; gap: 14px; }
  .sector-media { aspect-ratio: 16 / 9; }
  .sector-title { left: 16px; right: 16px; }
  .sector-body { padding: 16px 16px 20px; }
  .policy-grid { grid-template-columns: 1fr; }
  .timeline::before { inset-inline-start: 19px; top: 30px; bottom: 30px; }
  .tl-step { grid-template-columns: 40px 1fr; gap: 14px; }
  .tl-marker { width: 40px; height: 40px; font-size: 0.72rem; margin-top: 10px; box-shadow: 0 0 0 4px var(--night-0), 0 0 20px rgba(200, 164, 106, 0.25); }
  .tl-body { padding: 16px 16px 18px; }
  .tl-body .h3 { font-size: 1.2rem; }
  .bs-card summary { min-height: 64px; padding: 12px 14px; gap: 12px; }
  .bs-card .bs-ico { width: 36px; height: 36px; }
  .bs-card .bs-num { width: 24px; }
  .laws-block summary { padding: 12px 14px; }
  .laws-block .acc-body { padding: 14px 12px 16px; }
  .law-stat strong { font-size: 2rem; }
  .form-step legend { margin-bottom: 12px; }
  .policy-contact { flex-direction: column; }
  .credit-license { white-space: normal; }
  .dr-ref { display: inline-block; }
}
@media (max-width: 400px) {
  .hero-facts li { font-size: 0.72rem; }
}

/* ---------- Droite à gauche (arabe) : compléments propres aux pages internes ---------- */
[dir="rtl"] .idx a:hover { transform: translateX(-3px); }
[dir="rtl"] .idx a:hover .idx-arrow { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .tl-step:hover .tl-body { transform: translateX(-4px); }
[dir="rtl"] .form-step legend::after { background: linear-gradient(270deg, var(--line-2), transparent); }
[dir="rtl"] .hero-card::before, [dir="rtl"] .form-card::before, [dir="rtl"] .diag-shell::before, [dir="rtl"] .dr-hero::after { transform: scaleX(-1); }
[dir="rtl"] .dr-hero { background: radial-gradient(ellipse 60% 90% at 15% 0%, rgba(37, 99, 235, 0.3), transparent 60%), linear-gradient(180deg, rgba(18, 36, 72, 0.95), rgba(8, 18, 41, 0.5)); }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .svc:hover .svc-photo img, .sector-card:hover .sector-media img { transform: none; }
  .tl-step:hover .tl-body, .idx a:hover { transform: none; }
}


/* Confidentialité : carte seule sur sa ligne quand le nombre de sections est impair */
@media (min-width: 641px) {
  .policy-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ═══ chatbot.css ═══ */
/* ==========================================================================
   Assistant local sans IA — chatbot.css (concaténé après pages.css par build.mjs)
   Lanceur sobre + panneau ancré en bas à droite (à gauche en RTL via propriétés logiques),
   plein écran sur mobile. Palette Sovereign Orbit : verre bleu nuit, filets cyan, action or.
   Accroches JS : [data-chatbot], .cb-launch, .cb-panel, [data-cb-log], [data-cb-form], .cb-chip[data-cb-q|data-cb-sug]
   ========================================================================== */
.cb { position: fixed; inset-inline-end: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
[dir="rtl"] .cb { align-items: flex-start; inset-inline-end: max(16px, env(safe-area-inset-left)); }

/* ---------- Lanceur ---------- */
.cb-launch { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding-block: 0; padding-inline: 16px 20px; border-radius: 999px; border: 1px solid rgba(34, 211, 238, 0.42); background: linear-gradient(135deg, rgba(14, 30, 64, 0.96), rgba(6, 13, 30, 0.97)); color: #fff; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.005em; box-shadow: 0 18px 40px -16px rgba(34, 211, 238, 0.55), 0 8px 24px -12px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.cb-launch::after { content: ""; position: absolute; top: 9px; inset-inline-end: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(200, 164, 106, 0.18), 0 0 12px rgba(200, 164, 106, 0.8); animation: cb-pulse 3.2s ease-in-out infinite; }
.cb-launch:hover { transform: translateY(-2px); border-color: rgba(34, 211, 238, 0.85); box-shadow: 0 22px 46px -16px rgba(34, 211, 238, 0.7), 0 8px 24px -12px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.cb-launch .cb-launch-ico { width: 24px; height: 24px; color: var(--cyan); }
.cb-launch[aria-expanded="true"] { border-color: rgba(200, 164, 106, 0.6); }
.cb-launch[aria-expanded="true"]::after { animation: none; }

/* ---------- Panneau ---------- */
.cb-panel { display: flex; flex-direction: column; width: min(400px, calc(100vw - 32px)); height: min(680px, calc(100vh - 100px)); height: min(680px, calc(100dvh - 100px)); max-height: calc(100vh - 100px); overflow: hidden; border-radius: 22px; border: 1px solid var(--line-2); background: rgba(6, 13, 30, 0.94); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(34, 211, 238, 0.06); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); animation: cb-pop 0.3s var(--ease); }
.cb-head { display: flex; align-items: center; gap: 12px; padding-block: 12px; padding-inline: 16px 10px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(37, 99, 235, 0.16), rgba(37, 99, 235, 0)); }
.cb-avatar { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(8, 18, 41, 0.8); }
.cb-avatar img { width: 30px; height: auto; }
.cb-head-text { flex: 1; min-width: 0; }
.cb-title { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; color: #fff; line-height: 1.2; }
.cb-sub { margin: 3px 0 0; font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); line-height: 1.3; }
.cb-icon-btn { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; color: var(--mute); transition: color 0.2s, background-color 0.2s; }
.cb-icon-btn:hover { color: #fff; background: rgba(148, 190, 230, 0.1); }

/* ---------- Journal ---------- */
.cb-log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 12px; padding-block: 16px 8px; padding-inline: 16px; }
.cb-msg { display: flex; flex-direction: column; max-width: 92%; }
.cb-msg--user { align-self: flex-end; }
.cb-msg--in { animation: cb-rise 0.32s var(--ease); }
.cb-bubble { padding-block: 11px; padding-inline: 14px; border-radius: 18px; font-size: 0.94rem; line-height: 1.5; overflow-wrap: anywhere; }
.cb-msg--bot .cb-bubble { border-start-start-radius: 6px; background: rgba(12, 26, 56, 0.78); border: 1px solid var(--line); }
.cb-msg--user .cb-bubble { border-end-end-radius: 6px; color: #fff; background: linear-gradient(135deg, var(--blue-2), #1D4ED8); box-shadow: 0 10px 24px -14px rgba(37, 99, 235, 0.9); }
.cb-msg-title { margin: 0 0 4px; font-weight: 600; color: #fff; }
.cb-msg-text { margin: 0; color: var(--ink); }
.cb-msg--user .cb-msg-text { color: #fff; }
.cb-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-top: 2px; font-weight: 600; font-size: 0.9rem; color: var(--cyan); }
.cb-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.cb-link-arrow { font-size: 0.85em; }
[dir="rtl"] .cb-link-arrow { display: inline-block; transform: scaleX(-1); }
.cb-sugs, .cb-wa-inline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cb-sugs-label { width: 100%; font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.cb-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding-block: 6px; padding-inline: 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(8, 18, 41, 0.6); color: var(--mute); font-size: 0.84rem; font-weight: 500; line-height: 1.3; text-align: start; transition: color 0.2s, border-color 0.2s, background-color 0.2s; }
.cb-chip:hover { color: #fff; border-color: rgba(34, 211, 238, 0.6); background: rgba(34, 211, 238, 0.08); }
.cb-chip--wa { color: #fff; background: #1FA855; border-color: #1FA855; font-weight: 600; }
.cb-chip--wa:hover { background: #25C061; border-color: #25C061; color: #fff; }
.cb-typing { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }
.cb-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); opacity: 0.5; animation: cb-dot 1s ease-in-out infinite; }
.cb-typing i:nth-child(2) { animation-delay: 0.15s; }
.cb-typing i:nth-child(3) { animation-delay: 0.3s; }

/* ---------- Puces de démarrage, saisie, pied ---------- */
.cb-starters { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 6px 10px; padding-inline: 16px; }
.cb-form { display: flex; gap: 8px; padding-block: 10px; padding-inline: 12px; border-top: 1px solid var(--line); }
.cb-input { flex: 1; min-width: 0; min-height: 48px; padding-block: 0; padding-inline: 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(4, 9, 20, 0.6); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.cb-input::placeholder { color: var(--dim); }
.cb-input:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15); }
.cb-send { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; color: var(--night-0); background: linear-gradient(135deg, #EAD4A6 0%, var(--gold) 55%, #B08E55 100%); box-shadow: 0 10px 24px -12px rgba(200, 164, 106, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.45); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.cb-send:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(200, 164, 106, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
[dir="rtl"] .cb-send .ico { transform: scaleX(-1); }
.cb-foot { padding-block: 10px 12px; padding-inline: 16px; border-top: 1px solid var(--line); background: rgba(4, 9, 20, 0.4); }
.cb-foot-title { margin: 0 0 8px; font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.cb-wa { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-wa-line { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding-block: 4px; padding-inline: 12px; border-radius: 999px; border: 1px solid rgba(37, 211, 102, 0.4); background: rgba(37, 211, 102, 0.06); color: var(--ink); font-size: 0.86rem; font-variant-numeric: tabular-nums; transition: border-color 0.2s, background-color 0.2s; }
.cb-wa-line:hover { border-color: rgba(37, 211, 102, 0.8); background: rgba(37, 211, 102, 0.12); }
.cb-wa-line > .ico-sm:first-child { color: var(--wa); }
.cb-wa-line > .ico-sm:last-child { color: var(--dim); }
.cb-wa-line span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 600; }
.cb-wa-line small { font-family: var(--f-mono); font-size: 0.58rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.cb-note { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 0.74rem; line-height: 1.35; color: var(--dim); }
.cb-note .ico-sm { color: var(--teal); }

@keyframes cb-pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
@keyframes cb-rise { from { opacity: 0; transform: translateY(6px); } }
@keyframes cb-dot { 0%, 100% { opacity: 0.35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes cb-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(200, 164, 106, 0.18), 0 0 12px rgba(200, 164, 106, 0.8); } 50% { box-shadow: 0 0 0 6px rgba(200, 164, 106, 0.08), 0 0 18px rgba(200, 164, 106, 0.95); } }

/* ---------- Mobile : panneau plein écran ---------- */
@media (max-width: 720px) {
  .cb.is-open { z-index: 120; } /* au-dessus de l'en-tête fixe (z-index 100) : le panneau occupe tout l'écran */
  .cb-panel { position: fixed; inset: 0; width: auto; height: auto; max-height: none; border-radius: 0; border: 0; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
  .cb.is-open .cb-launch { visibility: hidden; }
  .cb-launch { min-height: 52px; padding-inline: 14px 16px; }
  .cb-msg { max-width: 94%; }
  .cb-starters { padding-inline: 12px; }
  .cb-log { padding-inline: 12px; }
  .cb-foot { padding-inline: 12px; }
  html.cb-open, html.cb-open body { overflow: hidden; }
}
@media (max-width: 420px) {
  .cb-launch-text { display: none; }
  .cb-launch { padding-inline: 16px; min-width: 56px; justify-content: center; }
}

/* ---------- Mouvement réduit, impression ---------- */
@media (prefers-reduced-motion: reduce) {
  .cb-panel, .cb-msg--in, .cb-typing i, .cb-launch::after { animation: none; }
  .cb-typing i { opacity: 0.8; }
  .cb-launch:hover, .cb-send:hover { transform: none; }
}
@media print { .cb { display: none !important; } }
