/* ============================================================================
   VNCT Design System — vnct-design-system.css (v2 — nouvelle DA "irisée")
   Version : 2.0.3
   Date    : 2026-07-14

   v2.0.3 (2026-07-14) : audit "translucides au repos" - generalisation de la regle
   v2.0.1/v2.0.2 a tout le DS. Un controle/encart teinte au repos ne doit jamais
   laisser passer le dot-grid du canvas ; le verre depoli reste reserve aux surfaces
   a vrai backdrop-filter. Corrections (fonds au REPOS uniquement, hover deja traites) :
   - Pills : .vnct-pill (base, --s6 80%) + variantes --accent/--success/--warning/
     --danger (teintes a 15-18%) ancrees sur --bg-secondary (recette v2.0.1). Le
     dot-grid passait nettement sous le texte des pastilles de verdict/badges.
   - .vnct-tag (--s6 80%) : ancre sur --bg-secondary (idem pill).
   - .vnct-callout neutre (base, --s4 70%) : ancre sur --bg-secondary, pour rejoindre
     ses variantes deja ancrees en v2.0.1 (encart de contenu en flux, pas un overlay).
   - Controles a etat coche : .vnct-check__box et .vnct-toggle__track posent leur
     teinte irisee (18%) SUR --field opaque au lieu de le remplacer.
   - .vnct-step et .vnct-trust (--s4, le token glass --bg-glass) : passees en VRAI
     verre depoli (backdrop-filter blur(20px) saturate(1.4) + fallback opaque), a
     l'identique de .vnct-card. Le blur manquait : le translucide 70% laissait voir
     le canvas. Choix du glass (et non de l'ancrage) pour respecter l'intention du
     token --s4.
   Non touche (corrects par design) : surfaces d'overlay a backdrop-filter reel
   (card, modal, dropdown, toast, nav desktop/mobile, header, fab-menu, glass,
   progress-bar, login-card), fonds transparents "ghost" sur parent opaque (btn
   ghost, tabs, accordion, dropdown item, boutons de fermeture), scrims de modale/fab.
   .vnct-input/.vnct-select/.vnct-textarea restent sur --field opaque : aucune regle
   du DS (etat, focus, --error, variante, thème clair, appearance, option, autofill)
   ne les rend translucides -> le select translucide vu chez sema n'a PAS sa cause
   dans le DS (voir CSS local de l'app).

   v2.0.2 (2026-07-14) : correctif suite v2.0.1 - la tuile (.vnct-tile), opaque
   au repos (--bg-secondary), devenait translucide au survol (--surface-hover la
   remplacait) et laissait apparaitre le dot-grid du canvas. La teinte de survol
   est desormais ancree sur le fond opaque
   (linear-gradient(--surface-hover, --surface-hover), --bg-secondary), meme
   recette que le fix v2.0.1. Seule la tuile etait concernee : les autres
   usages de --surface-hover (btn ghost, nav, dropdown, accordion, table,
   modal close, breadcrumb) sont transparents au repos, donc corrects par design.

   v2.0.1 (2026-07-13) : lisibilité - les surfaces teintées sont ancrées sur un
   fond opaque (btn secondary sur --s2 ; callouts et beta-banner posent leur
   teinte SUR --bg-secondary au lieu de le remplacer). Une surface ne doit
   jamais laisser passer le canvas sous du texte.

   Design system officiel VNCT v2, servi sur design.vena.city sous /v2/.
   Nouvelle direction artistique "irisée", reconstituee d'apres le prototype
   valide (New Prototype Venacity Design System.html) + les maquettes.

   Memes variables CSS + memes classes vnct-* que la v1 : compatible en
   remplacement pour tous les services de l'ecosysteme VNCT.

   Direction :
   - Accent IRISE rose -> violet -> cyan (gradient signature, pas un accent plat).
   - Glassmorphism prononce (surfaces translucides empilees + backdrop blur).
   - Fond tres sombre bleute + canvas anime (trame de points irises) + vignette.
   - Glows neon colores par etat.
   - Polices Grotesk : Space Grotesk (titres) + Hanken Grotesk (corps).

   Structure :
   1.  Reset & base
   2.  Tokens — accent irise & glows
   3.  Tokens — theme sombre (defaut)
   4.  Tokens — theme clair
   5.  Tokens — typographie
   6.  Tokens — spacing
   7.  Tokens — radius
   8.  Tokens — surfaces glass & bordures
   9.  Tokens — animations
   10. Typographie — regles de base
   11. Utilitaires — fond (canvas anime / vignette / texte irise)
   12. Composants — Tiles
   13. Composants — Boutons
   14. Composants — Inputs
   15. Composants — Cards
   16. Composants — Login
   17. Composants — Modals
   18. Composants — Toasts
   19. Composants — FAB
   20. Composants — Nav desktop
   21. Composants — Nav mobile / header mobile
   22. Composants — Badge version
   23. Utilitaires — glass / neon-hover / text
   24. Composants — Upload
   25. Composants — Beta banner
   26. Animations — keyframes
   27. Animations — transitions de page & entrees
   28. Composants — Footer
   29. Accessibilite
   30. Composants — Progress bar (irisee)
   31. Composants — Hero landing
   32. Composants — Lore
   33. Composants — additionnels (callouts, code, form-controls, dropdown,
       tabs, accordion, stepper, tooltip, pills, status, skeleton, empty,
       table, pagination, breadcrumb, avatar, divider, scroll, anims)
   34. Composants — Steps / Tags / Trust
   ============================================================================ */

/* ============================================================================
   1. RESET & BASE
   ============================================================================ */

/* Polices self-hostees (Grotesk) - servies par le DS via des URL RELATIVES
   (fonts/*.woff2), resolues par rapport a l'URL du CSS : donc toujours
   design.vena.city/v2/fonts/... quel que soit le domaine consommateur (le DS
   envoie Access-Control-Allow-Origin: * pour autoriser le chargement cross-origin
   des fontes). Remplace l'ancien @import Google Fonts : plus aucune requete vers
   fonts.googleapis.com / fonts.gstatic.com, donc aucune fuite d'IP visiteur vers
   Google (coherent avec le positionnement vie privee de Maat). Le CSP des apps
   doit autoriser design.vena.city en font-src. Fichiers variables (une plage de
   poids par fichier), sous-ensembles latin + latin-ext pour le francais etendu. */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/hanken-grotesk-latin-wght-normal.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;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/hanken-grotesk-latin-ext-wght-normal.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;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('fonts/space-grotesk-latin-wght-normal.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;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('fonts/space-grotesk-latin-ext-wght-normal.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;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: background-color var(--duration-normal) ease,
              color var(--duration-normal) ease;
  min-height: 100vh;
}

a, button, [role="button"], input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--accent-link);
  text-decoration: none;
}

/* Soulignement au survol RESERVE aux liens de corps de texte (liens "nus",
   sans aucune classe). C'est une affordance d'accessibilite : en corps de
   texte, un lien ne se distingue que par sa couleur, le soulignement au hover
   signale clairement le cliquable (RGAA / WCAG).

   `a:not([class])` scope la regle a la SOURCE : tout lien stylise en composant
   (bouton, nav, tile, carte, footer, breadcrumb...) porte forcement une classe,
   donc il est exclu PAR CONSTRUCTION. Plus besoin de rustines `:none` page par
   page ni d'enumerer les classes de boutons : un nouveau composant lie a une
   classe n'heritera jamais de ce soulignement. */
a:not([class]):hover {
  text-decoration: underline;
  /* Barre detachee du texte (le `underline auto` colle a la baseline et
     entaille les jambages sur Hanken Grotesk) + epaisseur maitrisee. */
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: currentColor;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* ============================================================================
   2. TOKENS — ACCENT IRISE & GLOWS
   L'accent irise est la signature de la nouvelle DA : rose -> violet -> cyan.
   `--accent` reste une couleur PLATE (rose) pour rester compatible avec tous
   les usages `color/border-color/background: var(--accent)` des composants ;
   le gradient est expose separement via `--gradient-iris`.
   --accent-h/s/l restent definis pour les derivations hsla(var(--accent-h)...).
   ============================================================================ */

:root {
  /* --- Poles iris --- */
  --iris-rose: #ff9ad4;
  --iris-rose-hot: #ff2d9b;
  --iris-violet: #bfa6ff;
  --iris-cyan: #8fe9ff;

  /* --- Gradients signature ---
     Le gradient ANIME reboucle (rose -> violet -> cyan -> rose) pour que le
     shimmer (background-position 0 -> 200%) tourne sans cassure visible. Il est
     consomme par les utilitaires .vnct-iris-* qui posent `background-size:500% auto`.
     Les variantes a 3 stops servent aux fonds NON animes (icones, pills, etc.). */
  /* Palindrome (rose -> violet -> cyan -> violet -> rose) : extremites identiques
     => boucle seamless conservee, ET retour cyan->rose lisse (passe par le violet)
     au lieu du saut de spectre abrupt qui "bandait" sur les petits textes (ex. "at"). */
  --gradient-iris-loop: linear-gradient(90deg, #ff9ad4, #bfa6ff, #8fe9ff, #bfa6ff, #ff9ad4);
  --gradient-iris: linear-gradient(135deg, #ff9ad4, #bfa6ff, #8fe9ff);
  --gradient-iris-90: linear-gradient(90deg, #ff9ad4, #bfa6ff, #8fe9ff);
  --gradient-iris-110: linear-gradient(110deg, #ff9ad4, #8fe9ff);
  /* RECETTE PROTO (portage litteral) : chaque element irise anime son propre
     degrade via background-size:500% auto + animation vnctShimmer 24s qui decale
     de 500% (boucle seamless). Pas d'horloge partagee, pas d'@property, pas
     d'ancrage ecran -> compatible avec les ancetres backdrop-filter/transform. */
  --gradient-iris-soft: linear-gradient(135deg,
                          rgba(255,154,212,.18),
                          rgba(191,166,255,.18),
                          rgba(143,233,255,.18));

  /* --- Accent plat (rose) + composantes HSL (derivations heritees) --- */
  --accent-h: 330;
  --accent-s: 90%;
  --accent-l: 80%;
  --accent: hsl(var(--accent-h), var(--accent-s), var(--accent-l)); /* ~ #ff9ad4 */
  --accent-soft: hsl(var(--accent-h), var(--accent-s), 88%);
  --accent-glow: hsl(var(--accent-h), var(--accent-s), 72%);
  --accent-dim: hsl(var(--accent-h), var(--accent-s), 45%);
  --accent-link: var(--iris-cyan);
  --accent-fg: var(--iris-rose);

  /* --- Glow irise (focus, hover des elements actifs) --- */
  /* Rayons de flou resserres (halo moins etale, prenait trop de place au survol —
     retour Leeva). Opacites INCHANGEES : meme intensite, moins d'emprise. */
  --glow-iris-sm: 0 0 0 3px rgba(143,233,255,.12),
                  0 0 12px rgba(191,166,255,.30);
  --glow-iris-md: 0 0 0 3px rgba(143,233,255,.14),
                  0 0 16px rgba(191,166,255,.40),
                  0 0 28px rgba(255,154,212,.18);
  --glow-iris-lg: 0 0 0 3px rgba(143,233,255,.16),
                  0 0 22px rgba(191,166,255,.50),
                  0 0 40px rgba(255,154,212,.24);
  /* Glow de HOVER des boutons irises (Connexion, Envoyer, ronds header...).
     Halo violet diffus et transparent, valide par Leeva. Source de verite unique :
     a reutiliser partout pour un hover irise coherent (pas de copier-coller). */
  --glow-iris-hover: 0 0 16px rgba(180,140,255,.50),
                     0 0 34px rgba(191,166,255,.26),
                     0 3px 16px rgba(191,166,255,.14);

  /* --- Neon derive de l'accent (compat. composants existants) --- */
  --neon-shadow-sm: 0 0 8px rgba(255,154,212,.45);
  --neon-shadow-md: 0 0 12px rgba(191,166,255,.55),
                    0 0 24px rgba(143,233,255,.22);
  --neon-shadow-lg: 0 0 16px rgba(191,166,255,.6),
                    0 0 32px rgba(143,233,255,.3),
                    0 0 64px rgba(255,154,212,.14);
}

/* Preset unique conserve (compat. markup [data-accent="rose"]) */
[data-accent="rose"] {
  --accent-h: 330;
  --accent-s: 90%;
  --accent-l: 80%;
}

/* ============================================================================
   3. TOKENS — THEME SOMBRE (defaut)
   Fond tres sombre bleute, encres claires. Valeurs reprises du prototype.
   ============================================================================ */

[data-theme="dark"],
:root {
  --bg-primary: #06060c;
  --bg-secondary: #0d0c14;
  --bg-tertiary: #13121c;
  --field: #0a0a12;

  /* Encres (mapping vers les noms du contrat) */
  --ink-strong: #ffffff;
  --ink: #ece9f7;
  --ink-2: #cfcde0;
  --ink-dim: #a6a3bd;
  --ink-dim2: #8a8aa0;
  --ink-faint: #837fa0;
  --ink-faintest: #a6a2bf;
  --ink-ghost: #9692b2;
  --eyebrow: #9893b0;

  --text-primary: var(--ink);
  --text-secondary: var(--ink-dim);
  --text-muted: var(--ink-faint);

  /* Surfaces glass (--s1..--s6) */
  --s1: rgba(13,12,20,.28);
  --s1b: rgba(13,12,20,.5);
  --s2: rgba(13,12,20,.92);
  --s3: rgba(15,14,24,.97);
  --s3b: rgba(15,14,24,.92);
  --s3c: rgba(15,14,24,.86);
  --s4: rgba(15,14,24,.7);
  --s5: rgba(16,15,26,.86);
  --s6: rgba(20,19,30,.8);
  --bg-glass: var(--s4);
  --surface-elevated: rgba(255,255,255,.05);
  --surface-hover: rgba(255,255,255,.05);
  --surface-active: rgba(255,255,255,.08);

  /* Bordures (white-alpha --w04..--w22) */
  --w04: rgba(255,255,255,.04);
  --w05: rgba(255,255,255,.05);
  --w06: rgba(255,255,255,.06);
  --w07: rgba(255,255,255,.07);
  --w08: rgba(255,255,255,.08);
  --w09: rgba(255,255,255,.09);
  --w10: rgba(255,255,255,.10);
  --w12: rgba(255,255,255,.12);
  --w13: rgba(255,255,255,.13);
  --w14: rgba(255,255,255,.14);
  --w16: rgba(255,255,255,.16);
  --w18: rgba(255,255,255,.18);
  --w22: rgba(255,255,255,.22);

  --border-default: var(--w08);
  --border-hover: var(--w14);
  --border-strong: var(--w22);
  --border-accent: var(--accent);

  /* Fond decoratif (vignette du canvas anime) */
  --vignette: rgba(0,0,0,.5);

  /* Semantiques (neon dark) */
  --danger: #ff4d6a;
  --success: #3df0a0;
  --warning: #ffc94a;
  --info: var(--iris-cyan);
  --ok-dot: #3df0a0;
  --err-dot: #ff4d6a;
  --warn-dot: #ffc94a;

  --shadow-elevation-1: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-elevation-2: 0 4px 14px rgba(0, 0, 0, 0.5);
  --shadow-elevation-3: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.45);
}

/* ============================================================================
   4. TOKENS — THEME CLAIR
   Reconstitue d'apres les variables "light" du proto (non maquette).
   ============================================================================ */

[data-theme="light"] {
  --bg-primary: #eceaf6;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f3f1fb;
  --field: #ffffff;

  --ink-strong: #15111f;
  --ink: #2a2540;
  --ink-2: #3b3556;
  --ink-dim: #59546f;
  --ink-dim2: #6b6788;
  /* A11y (RGAA contrastes) : #7c7a93 tombait a 3.5:1 sur --bg-primary (#eceaf6)
     pour du texte courant petit (hints, dates, footers). #69677e = meme teinte
     gris-violet, juste assez foncee pour >=4.5:1 sur toutes les surfaces claires. */
  --ink-faint: #69677e;
  --ink-faintest: #56536b;
  --ink-ghost: #6a6880;
  --eyebrow: #736f9c;

  --text-primary: var(--ink);
  --text-secondary: var(--ink-dim);
  --text-muted: var(--ink-faint);

  --s1: rgba(255,255,255,.4);
  --s1b: rgba(255,255,255,.6);
  --s2: rgba(255,255,255,.95);
  --s3: rgba(255,255,255,.98);
  --s3b: rgba(255,255,255,.95);
  --s3c: rgba(255,255,255,.9);
  --s4: rgba(255,255,255,.74);
  --s5: rgba(255,255,255,.92);
  --s6: rgba(245,243,252,.85);
  --bg-glass: var(--s4);
  --surface-elevated: rgba(40,30,80,.05);
  --surface-hover: rgba(40,30,80,.05);
  --surface-active: rgba(40,30,80,.09);

  --w04: rgba(40,30,80,.05);
  --w05: rgba(40,30,80,.05);
  --w06: rgba(40,30,80,.07);
  --w07: rgba(40,30,80,.09);
  --w08: rgba(40,30,80,.10);
  --w09: rgba(40,30,80,.08);
  --w10: rgba(40,30,80,.12);
  --w12: rgba(40,30,80,.14);
  --w13: rgba(40,30,80,.15);
  --w14: rgba(40,30,80,.16);
  --w16: rgba(40,30,80,.20);
  --w18: rgba(40,30,80,.22);
  --w22: rgba(40,30,80,.26);

  --border-default: var(--w08);
  --border-hover: var(--w14);
  --border-strong: var(--w22);

  --vignette: rgba(120,110,160,.08);

  /* A11y (RGAA contrastes, theme clair) : les semantiques d'origine passaient sous
     4.5:1 en usage TEXTE (pastilles de verdict .vnct-pill--*, avertissements,
     liens) sur les fonds clairs. Valeurs assombries a teinte constante, minimum
     necessaire : accent-link/info 4.3->4.8, danger 3.5->4.6 (fond pill), success
     2.5->4.7 (fond pill), warning 2.5->4.7 (fond pill). Les dots de statut
     (--ok/warn/err-dot) restent inchanges (indicateurs non textuels). */
  --accent-link: #076f92;
  --accent-fg: #c01f78;

  --danger: #b81a34;
  --success: #0a7443;
  --warning: #8a5c00;
  --info: #076f92;
  --ok-dot: #10a85f;
  --err-dot: #db2440;
  --warn-dot: #c98400;

  --shadow-elevation-1: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-elevation-2: 0 4px 14px rgba(0, 0, 0, 0.12);
  --shadow-elevation-3: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 12px 36px rgba(60, 40, 110, 0.18);

  /* Glows plus subtils en clair */
  --glow-iris-sm: 0 0 0 3px rgba(8,131,173,.10), 0 0 16px rgba(140,80,200,.18);
  --glow-iris-md: 0 0 0 3px rgba(8,131,173,.12), 0 0 22px rgba(140,80,200,.24);
  --neon-shadow-sm: 0 0 6px rgba(192,31,120,.25);
  --neon-shadow-md: 0 0 10px rgba(140,80,200,.28), 0 0 18px rgba(8,131,173,.14);
  --neon-shadow-lg: 0 0 14px rgba(140,80,200,.32), 0 0 26px rgba(8,131,173,.18);
}

/* En theme clair, l'accent plat passe en cyan lisible (comportement herite
   de l'ancien DS). A valider — cf. docs/design-system-tokens.md. */
[data-theme="light"][data-accent="rose"],
[data-theme="light"] {
  --accent-h: 300;
  --accent-s: 70%;
  --accent-l: 45%;
  --accent: #c01f78;
  --accent-soft: #ff9ccb;
  --accent-glow: #c01f78;
  --accent-dim: #8a1356;
}

/* ============================================================================
   5. TOKENS — TYPOGRAPHIE
   Echelle Major Third (1.25). Space Grotesk (display) + Hanken Grotesk (corps).
   ============================================================================ */

:root {
  --font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', var(--font-family);
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;

  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.25rem;     /* 20px */
  --text-xl: 1.563rem;    /* 25px */
  --text-2xl: 1.953rem;   /* 31px */
  --text-3xl: 2.441rem;   /* 39px */
  --text-4xl: 3.052rem;   /* 49px */
  --text-5xl: 3.815rem;   /* 61px */

  --font-light: 300;
  --font-normal: 400;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.02em;
}

/* ============================================================================
   6. TOKENS — SPACING (base 4px)
   ============================================================================ */

:root {
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
}

/* ============================================================================
   7. TOKENS — BORDER RADIUS (arrondis genereux du proto)
   ============================================================================ */

:root {
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-2xl: 28px;
  --radius-full: 999px;
}

/* ============================================================================
   8. TOKENS — SURFACES GLASS & BORDURES (alias)
   (les valeurs sont dans les blocs theme ; ici juste les helpers de base)
   ============================================================================ */

:root {
  --blur-glass: 20px;
  --blur-glass-strong: 22px;
}

/* ============================================================================
   9. TOKENS — ANIMATIONS
   ============================================================================ */

:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --duration-page: 350ms;
}

/* ============================================================================
   10. TYPOGRAPHIE — REGLES DE BASE
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--ink-strong);
}

h1 { font-size: var(--text-3xl); font-weight: var(--font-bold); }
h2 { font-size: var(--text-2xl); font-weight: var(--font-bold); }
h3 { font-size: var(--text-xl);  font-weight: var(--font-semibold); }
h4 { font-size: var(--text-lg);  font-weight: var(--font-medium); }

p {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
}

small, .vnct-text-sm {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.vnct-text-xs   { font-size: var(--text-xs); color: var(--text-muted); }
.vnct-text-muted { color: var(--text-muted); }
.vnct-text-accent { color: var(--accent); }

/* ============================================================================
   11. UTILITAIRES — IRISE ANIME & FOND (signature de la DA)
   L'irise ANIME est l'identite visuelle : il doit etre visible ET bouger sur
   les elements signature (marque "Maat", CTA primaires, fill de progression).
   Ces utilitaires centralisent la recette (gradient qui reboucle + HORLOGE
   PARTAGEE) pour qu'elle ne soit jamais dupliquee : le markup applique la
   classe, ou un composant reutilise la recette ci-dessous.

   Recette PROTO (portage litteral) :
     background: var(--gradient-iris-loop);
     background-size: 500% auto;
     animation: vnctShimmer 24s linear infinite;
   Le keyframe vnctShimmer decale background-position de 500% -> boucle seamless.
   Glow violet par-dessus (drop-shadow pour le texte, box-shadow pour les surfaces).
   Pour le TEXTE : + background-clip:text + color:transparent.

   Tout est fige sous prefers-reduced-motion (cf. section 29) : le gradient
   reste joli mais immobile (RGAA + testeur Maat concernes).
   ============================================================================ */

/* Texte irise anime (marque "Maat", lettres accentuees, mots-cles signature). */
.vnct-iris-text {
  background-image: var(--gradient-iris-loop);
  background-size: 500% auto;
  animation: vnctShimmer 24s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* Glow violet (recette proto). */
  filter: drop-shadow(0 0 5px rgba(180, 140, 255, .55));
}

/* Fond irise anime (boutons, pastilles, surfaces pleines signature). */
.vnct-iris-fill {
  background-image: var(--gradient-iris-loop);
  background-size: 500% auto;
  animation: vnctShimmer 24s linear infinite;
  color: #1a0f1f;
  /* Glow violet (recette proto). */
  box-shadow: 0 0 8px rgba(180, 140, 255, .45);
}

/* Surface irisee TRES douce + animee (encarts, halos). Le voile garde le
   texte lisible par-dessus tout en laissant transparaitre le mouvement. */
.vnct-iris-surface {
  position: relative;
  background-image: var(--gradient-iris-loop);
  background-size: 500% auto;
  animation: vnctShimmer 24s linear infinite;
  /* Glow violet (recette proto). */
  box-shadow: 0 0 8px rgba(180, 140, 255, .45);
}

/* Bordure irisee animee (focus signature, cartes mises en avant). */
.vnct-iris-border {
  position: relative;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box,
    var(--gradient-iris-loop) border-box;
  /* Double calque : le calque border-box (le degrade) est anime via vnctShimmer
     (recette proto) ; le calque padding-box reste opaque/local. */
  background-size: auto, 500% auto;
  background-repeat: repeat, repeat;
  animation: vnctShimmer 24s linear infinite;
}

/* ---------------------------------------------------------------------------
   FOND (canvas anime du proto : trame de points + vagues irisees)
   PORTAGE LITTERAL du proto. Le canvas anime est pilote par
   VNCT.Background (vnct-common.js). Ici on porte la mecanique CSS du proto :

   1. .vnct-bg : le <canvas>. Masque diagonal (linear-gradient to bottom left,
      mask-size 260%) dont la position s'anime au chargement (vnct-bg-reveal),
      sans delay (animation-delay 0s ; synchronise avec le demarrage immediat
      du rendu canvas dans VNCT.Background, delai retire) -> revelation en
      diagonale, sans attente.
   2. La vignette : overlay radial-gradient au-dessus du canvas (z-index 1),
      sous le contenu. Posee sur body::after pour ne demander aucun markup.

   Le contenu des pages doit passer AU-DESSUS (z-index >= 2).
   --------------------------------------------------------------------------- */
.vnct-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom left, #000 30%, transparent 70%);
  mask-image: linear-gradient(to bottom left, #000 30%, transparent 70%);
  -webkit-mask-size: 260% 260%;
  mask-size: 260% 260%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: vnct-bg-reveal 1.8s ease 0s both;
}

/* Vignette du proto : radial-gradient au-dessus du canvas, sous le contenu.
   (proto : <div style="...z-index:1...background:radial-gradient(120% 90% at
   50% 0%, transparent 62%, var(--vignette) 100%)">). */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, transparent 62%, var(--vignette) 100%);
}

/* Le contenu reel (elements semantiques de premier niveau) passe AU-DESSUS du
   canvas (z-index 0) et de la vignette (z-index 1), comme dans le proto ou le
   contenu suit le canvas+vignette en DOM avec son propre stacking. Header /
   modals / overlays utilisent deja des z-index >= 50 et restent au-dessus. */
body > main,
body > nav,
body > header,
body > footer {
  position: relative;
  z-index: 2;
}

/* ============================================================================
   12. COMPOSANTS — TILES
   ============================================================================ */

.vnct-tile {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  text-decoration: none !important;
  display: block;
  color: var(--text-primary);
}

.vnct-tile__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--gradient-iris-soft);
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.3s var(--ease-smooth);
}

.vnct-tile__icon img,
.vnct-tile__icon svg { width: 24px; height: 24px; object-fit: contain; }

.vnct-tile__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-2);
  color: var(--ink-strong);
}

.vnct-tile__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-3);
}

.vnct-tile__badge { font-size: var(--text-xs); color: var(--text-muted); font-weight: var(--font-medium); }

.vnct-tile__status {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.vnct-tile__status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.vnct-tile__status-text { font-size: var(--text-xs); font-weight: var(--font-medium); }

.vnct-tile__status[data-status="online"] .vnct-tile__status-dot {
  background: var(--success);
  box-shadow: 0 0 6px var(--success), 0 0 12px rgba(61,240,160,.4);
  animation: vnct-status-pulse 2s ease-in-out infinite;
}
.vnct-tile__status[data-status="online"] .vnct-tile__status-text { color: var(--success); }
.vnct-tile__status[data-status="maintenance"] .vnct-tile__status-dot {
  background: var(--warning);
  box-shadow: 0 0 6px var(--warning), 0 0 12px rgba(255,201,74,.4);
  animation: vnct-status-pulse 2s ease-in-out infinite;
}
.vnct-tile__status[data-status="maintenance"] .vnct-tile__status-text { color: var(--warning); }
.vnct-tile__status[data-status="offline"] .vnct-tile__status-dot {
  background: var(--danger);
  box-shadow: 0 0 6px var(--danger), 0 0 12px rgba(255,77,106,.4);
}
.vnct-tile__status[data-status="offline"] .vnct-tile__status-text { color: var(--danger); }

@keyframes vnct-status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@media (min-width: 769px) {
  .vnct-tile:hover {
    border-color: var(--border-hover);
    box-shadow: var(--glow-iris-md);
    transform: translateY(-2px);
    /* v2.0.2 : teinte de survol ANCREE sur le fond opaque (meme recette que les
       callouts/beta-banner du fix v2.0.1). En remplacant --bg-secondary par le
       seul --surface-hover translucide (5%), la tuile opaque laissait passer le
       dot-grid du canvas au survol. */
    background: linear-gradient(var(--surface-hover), var(--surface-hover)), var(--bg-secondary);
    text-decoration: none;
  }
  .vnct-tile:active { transform: translateY(0); box-shadow: var(--glow-iris-sm); }

  .vnct-tile--glow::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: var(--gradient-iris);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    padding: 1.5px;
  }
  .vnct-tile--glow:hover::before { opacity: 1; }
}

@media (max-width: 768px) {
  .vnct-tile { border-radius: var(--radius-md); padding: var(--space-5); }
  .vnct-tile:active { transform: scale(0.97); background: var(--surface-active); }
}

/* ============================================================================
   13. COMPOSANTS — BOUTONS
   Variantes : primary (irise), secondary (contour), ghost, danger.
   La variante primary porte le gradient irise (cf. bouton "Connexion",
   "Partager", "Soutenir" des maquettes).
   ============================================================================ */

.vnct-btn {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  /* NE PAS repasser en `transition: all`. Les boutons irises (--primary) animent
     `background-position` en continu via vnctShimmer ; un `transition: all` inclut
     background-position et, au moindre recalcul de style (hover : box-shadow/filter),
     s'empare de la valeur animee en cours et l'interpole PAR-DESSUS l'animation ->
     saut de couleur brutal au survol (report Sema #67, accentue en passant vite).
     On ne transitionne donc QUE les proprietes reellement modifiees aux etats
     hover/active/disabled, en excluant background/background-position. */
  transition: box-shadow 300ms var(--ease-smooth),
              filter 300ms var(--ease-smooth),
              transform 300ms var(--ease-smooth),
              border-color 300ms var(--ease-smooth),
              color 300ms var(--ease-smooth),
              background-color 300ms var(--ease-smooth),
              opacity 300ms var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-decoration: none !important;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}

.vnct-btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* Primary — fond irise */
/* CTA primaire : fond irise ANIME (signature — cf. "Connexion", "Partager"...). */
.vnct-btn--primary {
  background-image: var(--gradient-iris-loop);
  background-size: 500% auto;
  animation: vnctShimmer 24s linear infinite;
  color: #1a0f1f;
  border-color: transparent;
  /* Glow violet (recette proto) + lisere blanc interne conserve. */
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 0 8px rgba(180, 140, 255, .45);
}
@media (min-width: 769px) {
  .vnct-btn--primary:hover {
    box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, var(--glow-iris-hover);
    filter: brightness(1.05);
  }
}
.vnct-btn--primary:active { filter: brightness(0.96); transform: scale(0.96); }

/* Secondary — contour, texte accent */
.vnct-btn--secondary {
  background: var(--s2);
  color: var(--accent-fg);
  border-color: var(--border-strong);
}
@media (min-width: 769px) {
  .vnct-btn--secondary:hover { border-color: var(--iris-violet); box-shadow: var(--glow-iris-sm); }
}
.vnct-btn--secondary:active { background: var(--surface-active); transform: scale(0.96); }

/* Ghost */
.vnct-btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}
@media (min-width: 769px) {
  .vnct-btn--ghost:hover { color: var(--text-primary); background: var(--surface-hover); }
}
.vnct-btn--ghost:active { background: var(--surface-active); transform: scale(0.96); }

/* Danger */
.vnct-btn--danger {
  background: var(--danger);
  color: #1a0f1f;
  border-color: var(--danger);
}
@media (min-width: 769px) {
  .vnct-btn--danger:hover { filter: brightness(1.08); box-shadow: 0 0 12px rgba(255,77,106,.4); }
}
.vnct-btn--danger:active { filter: brightness(0.95); transform: scale(0.96); }

/* Tailles */
.vnct-btn--sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.vnct-btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }

@media (max-width: 768px) {
  /* Confort tactile mobile : cible 44px pour les boutons standards. Les pills
     --sm sont EXCLUES (:not) : sans ca, cette regle (meme specificite, declaree
     apres) ecrasait --sm et toutes les petites pills gonflaient a 44px. */
  .vnct-btn:not(.vnct-btn--sm) { min-height: 44px; padding: var(--space-3) var(--space-6); }
  /* Pills --sm : compactes visuellement (~32px), mais la cible tactile de 44px
     est conservee via un pseudo-element invisible qui deborde verticalement de
     la pill (ni .vnct-btn ni ses variantes n'utilisent ::before/::after). */
  .vnct-btn--sm { position: relative; min-height: 32px; }
  .vnct-btn--sm::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: max(100%, 44px);
    transform: translateY(-50%);
  }
}

/* ============================================================================
   14. COMPOSANTS — INPUTS
   Champs sur surface "field" sombre, focus irise (cf. composer des maquettes).
   ============================================================================ */

.vnct-label {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
  display: block;
}

.vnct-input,
.vnct-textarea,
.vnct-select {
  font-family: var(--font-family);
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-4);
  background: var(--field);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--duration-fast) ease;
  width: 100%;
  line-height: var(--leading-normal);
}

.vnct-input::placeholder,
.vnct-textarea::placeholder { color: var(--text-muted); }

.vnct-input:focus,
.vnct-textarea:focus,
.vnct-select:focus {
  border-color: var(--iris-violet);
  box-shadow: var(--glow-iris-sm);
}

@media (min-width: 769px) {
  .vnct-input:hover:not(:focus),
  .vnct-textarea:hover:not(:focus) { border-color: var(--border-hover); }
}

.vnct-input--error { border-color: var(--danger); }
.vnct-input--error:focus { box-shadow: 0 0 6px rgba(255,77,106,.3); }

.vnct-input-hint { font-size: var(--text-xs); color: var(--text-muted); margin-top: var(--space-1); }
.vnct-input-hint--error { color: var(--danger); }

.vnct-textarea { min-height: 100px; resize: vertical; }

.vnct-select {
  padding-right: var(--space-10);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a6a3bd' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
}

@media (max-width: 768px) {
  .vnct-input,
  .vnct-textarea,
  .vnct-select { min-height: 44px; font-size: 16px; }
}

/* ============================================================================
   15. COMPOSANTS — CARDS (glass)
   ============================================================================ */

.vnct-card {
  background: var(--s4);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(1.4);
  backdrop-filter: blur(var(--blur-glass)) saturate(1.4);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

@supports not (backdrop-filter: blur(2px)) {
  .vnct-card { background: var(--bg-secondary); }
}

@media (min-width: 769px) {
  .vnct-card:hover { border-color: var(--border-hover); }
}

.vnct-card__header { margin-bottom: var(--space-4); }
.vnct-card__title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--font-semibold); color: var(--ink-strong); }
.vnct-card__subtitle { font-size: var(--text-sm); color: var(--text-secondary); margin-top: var(--space-1); }
.vnct-card__body { font-size: var(--text-base); color: var(--text-primary); }
.vnct-card__footer {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.vnct-card--interactive { cursor: pointer; text-decoration: none; display: block; color: inherit; }
@media (min-width: 769px) {
  .vnct-card--interactive:hover { border-color: var(--iris-violet); box-shadow: var(--glow-iris-sm); text-decoration: none; }
}
@media (max-width: 768px) {
  .vnct-card--interactive:active { background: var(--surface-active); transform: scale(0.97); }
}

/* ============================================================================
   16. COMPOSANTS — LOGIN
   ============================================================================ */

.vnct-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: var(--space-4); }
.vnct-login--overlay { position: fixed; inset: 0; z-index: 9999; background: var(--bg-primary); }

.vnct-login__card {
  width: 100%;
  max-width: 400px;
  background: var(--s3);
  -webkit-backdrop-filter: blur(var(--blur-glass-strong)) saturate(1.4);
  backdrop-filter: blur(var(--blur-glass-strong)) saturate(1.4);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.vnct-login__header { display: flex; flex-direction: column; gap: var(--space-2); }
.vnct-login__logo { font-family: var(--font-display); font-size: var(--text-sm); font-weight: var(--font-bold); color: var(--accent-fg); text-transform: uppercase; letter-spacing: 0.12em; }
.vnct-login__title { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: var(--font-bold); color: var(--ink-strong); margin: 0; line-height: 1.2; }
.vnct-login__subtitle { font-size: var(--text-sm); color: var(--text-secondary); margin: 0; }
.vnct-login__form { display: flex; flex-direction: column; gap: var(--space-4); }
.vnct-login__btn { width: 100%; height: 44px; }
.vnct-login__error { color: var(--danger); font-size: var(--text-sm); min-height: 1.2em; margin: 0; }
.vnct-login__footer { font-size: var(--text-xs); color: var(--text-muted); margin: 0; }

/* ============================================================================
   17. COMPOSANTS — MODALS
   ============================================================================ */

.vnct-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation-name: vnct-fade-in;
  animation-duration: var(--duration-fast);
  animation-timing-function: ease;
}

.vnct-modal-overlay[aria-hidden="true"],
.vnct-modal-overlay.vnct-modal-overlay--closing {
  animation-name: vnct-fade-out;
  animation-duration: var(--duration-normal);
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

.vnct-modal-overlay--closing .vnct-modal {
  animation-name: vnct-scale-out;
  animation-duration: var(--duration-normal);
  animation-timing-function: var(--ease-smooth);
  animation-fill-mode: forwards;
}

.vnct-modal {
  background: var(--s3);
  -webkit-backdrop-filter: blur(var(--blur-glass-strong)) saturate(1.4);
  backdrop-filter: blur(var(--blur-glass-strong)) saturate(1.4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  max-width: 500px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  animation-name: vnct-scale-in;
  animation-duration: 450ms;
  animation-timing-function: var(--ease-spring);
  box-shadow: var(--shadow-lg), var(--glow-iris-sm);
}

.vnct-modal__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-6); }
.vnct-modal__title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--font-semibold); color: var(--ink-strong); }
.vnct-modal__close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) ease;
  font-size: var(--text-lg);
}
.vnct-modal__close:hover { color: var(--text-primary); background: var(--surface-hover); }
.vnct-modal__body { font-size: var(--text-base); color: var(--text-primary); line-height: var(--leading-normal); }
/* align-items:center empeche l'etirement vertical des boutons pill (align-items
   par defaut = stretch : un item texte compresse — ex. lien de bascule — fait
   grandir la ligne et les pills deviennent des capsules geantes). Le flex-wrap
   est ajoute UNIQUEMENT en mobile (media ci-dessous) : sur desktop la largeur
   suffit (le texte se compresse sur deux lignes internes), et un wrap global
   ferait descendre un bouton seul sur sa ligne. */
.vnct-modal__footer { margin-top: var(--space-6); display: flex; align-items: center; justify-content: flex-end; gap: var(--space-3); }

@media (max-width: 768px) {
  .vnct-modal-overlay { align-items: center; padding: var(--space-4); }
  .vnct-modal { width: 90%; max-width: 100%; max-height: 80vh; padding: var(--space-6); font-size: var(--text-sm); }
  .vnct-modal__title { font-size: var(--text-lg); }
  .vnct-modal__body { font-size: var(--text-sm); }
  .vnct-modal__body h4 { font-size: var(--text-base); }
  .vnct-modal__body p { font-size: var(--text-sm); }
  /* Sur mobile le footer peut depasser la largeur disponible (texte + pills
     nowrap) : on passe sur deux lignes propres plutot que d'ecraser le texte
     en colonne mot a mot ou de deborder horizontalement. */
  .vnct-modal__footer { flex-wrap: wrap; }
}

/* ============================================================================
   18. COMPOSANTS — TOASTS
   ============================================================================ */

.vnct-toast-container { position: fixed; z-index: 2000; display: flex; flex-direction: column; gap: var(--space-3); pointer-events: none; }
@media (min-width: 769px) { .vnct-toast-container { top: var(--space-6); right: var(--space-6); max-width: 400px; } }
@media (max-width: 768px) { .vnct-toast-container { bottom: calc(var(--space-6) + env(safe-area-inset-bottom)); left: var(--space-4); right: var(--space-4); } }

.vnct-toast {
  font-family: var(--font-family);
  font-size: var(--text-sm);
  padding: var(--space-4) var(--space-6);
  background: var(--s5);
  backdrop-filter: blur(var(--blur-glass)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(1.4);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  box-shadow: var(--shadow-elevation-2);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  pointer-events: auto;
}

@media (min-width: 769px) { .vnct-toast { animation: vnct-slide-in-right 0.3s var(--ease-out-expo); } }
@media (max-width: 768px) { .vnct-toast { animation: vnct-slide-up 0.3s var(--ease-out-expo); } }

.vnct-toast--closing { animation: vnct-fade-out var(--duration-fast) ease forwards; }
.vnct-toast--success { border-left: 3px solid var(--success); }
.vnct-toast--error   { border-left: 3px solid var(--danger); }
.vnct-toast--warning { border-left: 3px solid var(--warning); }
.vnct-toast--info    { border-left: 3px solid var(--info); }

.vnct-toast__icon { flex-shrink: 0; width: 20px; height: 20px; }
.vnct-toast__content { flex: 1; min-width: 0; }
.vnct-toast__title { font-weight: var(--font-semibold); margin-bottom: var(--space-1); }
.vnct-toast__message { color: var(--text-secondary); font-size: var(--text-sm); }
.vnct-toast__close {
  flex-shrink: 0; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent; color: var(--text-muted);
  cursor: pointer; border-radius: var(--radius-sm);
  transition: color var(--duration-fast) ease;
}
.vnct-toast__close:hover { color: var(--text-primary); }

/* ============================================================================
   19. COMPOSANTS — FAB
   ============================================================================ */

.vnct-fab {
  position: fixed;
  bottom: var(--space-4);
  right: var(--space-6);
  z-index: 900;
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  background-image: var(--gradient-iris-loop);
  background-size: 500% auto;
  animation: vnctShimmer 24s linear infinite;
  color: #1a0f1f;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  /* Glow violet (recette proto). */
  box-shadow: 0 0 8px rgba(180, 140, 255, .45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (min-width: 769px) { .vnct-fab:hover { transform: scale(1.08); box-shadow: var(--glow-iris-hover); } }
.vnct-fab:active { transform: scale(0.95); }
.vnct-fab--open { transform: rotate(45deg); }
@media (min-width: 769px) { .vnct-fab--open:hover { transform: rotate(45deg) scale(1.08); } }

.vnct-fab-menu {
  position: fixed;
  bottom: calc(56px + var(--space-6));
  right: var(--space-6);
  z-index: 899;
  display: flex; flex-direction: column; align-items: stretch;
  gap: var(--space-3);
  animation: vnct-scale-in var(--duration-fast) var(--ease-spring);
}
.vnct-fab-menu[aria-hidden="true"] { display: none; }
.vnct-fab-menu--closing { animation: vnct-fab-menu-out 200ms var(--ease-smooth) forwards; }
.vnct-fab-menu--closing .vnct-fab-menu__item { animation: vnct-fab-item-out 150ms ease forwards; }
.vnct-fab-menu--closing .vnct-fab-menu__item:nth-last-child(1) { animation-delay: 0s; }
.vnct-fab-menu--closing .vnct-fab-menu__item:nth-last-child(2) { animation-delay: 0.04s; }
.vnct-fab-menu--closing .vnct-fab-menu__item:nth-last-child(3) { animation-delay: 0.08s; }
.vnct-fab-menu--closing .vnct-fab-menu__item:nth-last-child(4) { animation-delay: 0.12s; }
.vnct-fab-menu--closing .vnct-fab-menu__item:nth-last-child(5) { animation-delay: 0.16s; }
.vnct-fab-menu--closing .vnct-fab-menu__item:nth-last-child(6) { animation-delay: 0.20s; }

@keyframes vnct-fab-menu-out { to { opacity: 0; transform: scale(0.95); } }
@keyframes vnct-fab-item-out { to { opacity: 0; transform: translateY(8px) scale(0.95); } }

.vnct-fab-menu__item {
  background: var(--s5);
  backdrop-filter: blur(var(--blur-glass)) saturate(1.3);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(1.3);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-5);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  white-space: nowrap;
  text-align: left;
  display: flex; align-items: center; justify-content: flex-start;
  gap: var(--space-3);
  animation: vnct-fab-item-in var(--duration-normal) var(--ease-spring) backwards;
}
.vnct-fab-menu__item:nth-child(1) { animation-delay: 0.06s; }
.vnct-fab-menu__item:nth-child(2) { animation-delay: 0.12s; }
.vnct-fab-menu__item:nth-child(3) { animation-delay: 0.18s; }
.vnct-fab-menu__item:nth-child(4) { animation-delay: 0.24s; }
.vnct-fab-menu__item:nth-child(5) { animation-delay: 0.30s; }
.vnct-fab-menu__item:nth-child(6) { animation-delay: 0.36s; }

@keyframes vnct-fab-item-in {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.vnct-fab-menu__icon { font-size: var(--text-base); line-height: 1; flex-shrink: 0; }

@media (min-width: 769px) {
  .vnct-fab-menu__item:hover { border-color: var(--iris-violet); box-shadow: var(--glow-iris-sm); }
}
.vnct-fab-menu__item:active { background: var(--surface-active); transform: scale(0.96); }

@media (max-width: 768px) {
  .vnct-fab { bottom: calc(var(--space-4) + env(safe-area-inset-bottom)); }
  .vnct-fab-menu { bottom: calc(56px + var(--space-6) + env(safe-area-inset-bottom)); }
  .vnct-fab-menu__item { min-height: 44px; }
}

.vnct-fab-overlay {
  position: fixed; inset: 0; z-index: 898;
  background: rgba(0, 0, 0, 0.3);
  animation: vnct-fade-in var(--duration-normal) ease;
}
.vnct-fab-overlay[aria-hidden="true"] { display: none; }
.vnct-fab-overlay--closing { animation: vnct-fade-out var(--duration-normal) ease forwards; }

/* ============================================================================
   20. COMPOSANTS — NAVIGATION DESKTOP
   ============================================================================ */

.vnct-nav-desktop {
  background: var(--s5);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(1.3);
  backdrop-filter: blur(var(--blur-glass)) saturate(1.3);
  border-bottom: 1px solid var(--border-default);
  padding: var(--space-3) var(--space-6);
  display: flex; align-items: center; gap: var(--space-6);
  height: 56px;
  position: sticky; top: 0; z-index: 800;
  transition: transform 0.3s var(--ease-smooth);
}
.vnct-nav-desktop--hidden { transform: translateY(-100%); }
.vnct-nav-desktop__home {
  display: flex; align-items: center; gap: var(--space-3);
  text-decoration: none; color: var(--text-primary);
  margin-right: var(--space-4);
  transition: color var(--duration-fast) ease;
}
.vnct-nav-desktop__home:hover { color: var(--accent-fg); text-decoration: none; }
/* Marque dans la nav : irise anime (signature). */
.vnct-nav-desktop__logo {
  font-family: var(--font-display); font-weight: var(--font-bold); font-size: var(--text-lg);
  background-image: var(--gradient-iris-loop);
  background-size: 500% auto;
  animation: vnctShimmer 24s linear infinite;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  /* Glow violet (recette proto). */
  filter: drop-shadow(0 0 5px rgba(180, 140, 255, .55));
}
.vnct-nav-desktop__separator { width: 1px; height: 24px; background: var(--border-default); }
.vnct-nav-desktop__links { display: flex; align-items: center; gap: var(--space-2); flex: 1; }
.vnct-nav-desktop__link {
  font-size: var(--text-sm); font-weight: var(--font-medium);
  color: var(--text-secondary); text-decoration: none;
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm);
  transition: all var(--duration-fast) ease;
}
.vnct-nav-desktop__link:hover { color: var(--text-primary); background: var(--surface-hover); text-decoration: none; }
.vnct-nav-desktop__link--active { color: var(--accent-fg); }
.vnct-nav-desktop__actions { display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }

@media (max-width: 768px) { .vnct-nav-desktop { display: none; } }

/* ============================================================================
   21. COMPOSANTS — NAVIGATION MOBILE / HEADER MOBILE
   ============================================================================ */

.vnct-header-mobile {
  background: var(--s5);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(1.3);
  backdrop-filter: blur(var(--blur-glass)) saturate(1.3);
  border-bottom: 1px solid var(--border-default);
  padding: var(--space-3) var(--space-4);
  padding-top: calc(var(--space-3) + env(safe-area-inset-top));
  display: flex; align-items: center; justify-content: space-between;
  height: calc(56px + env(safe-area-inset-top));
  position: sticky; top: 0; z-index: 800;
  transition: transform 0.3s var(--ease-smooth);
}
.vnct-header-mobile--hidden { transform: translateY(-100%); }
/* Marque dans le header mobile : irise anime (signature). */
.vnct-header-mobile__title {
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--font-semibold);
  background-image: var(--gradient-iris-loop);
  background-size: 500% auto;
  animation: vnctShimmer 24s linear infinite;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  /* Glow violet (recette proto). */
  filter: drop-shadow(0 0 5px rgba(180, 140, 255, .55));
}
.vnct-header-mobile__action {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent; color: var(--text-secondary);
  cursor: pointer; border-radius: var(--radius-full);
}

.vnct-nav-mobile {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--s5);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-top: 1px solid var(--border-default);
  padding: var(--space-2) var(--space-4) calc(var(--space-2) + env(safe-area-inset-bottom));
  display: flex; justify-content: space-around; z-index: 800;
}
.vnct-nav-mobile__item {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-1);
  padding: var(--space-2); color: var(--text-muted);
  font-size: var(--text-xs); font-weight: var(--font-medium);
  text-decoration: none; transition: color var(--duration-fast) ease;
  min-width: 44px; min-height: 44px; justify-content: center;
}
.vnct-nav-mobile__item--active { color: var(--accent-fg); }
.vnct-nav-mobile__icon { width: 24px; height: 24px; }

@media (min-width: 769px) { .vnct-nav-mobile, .vnct-header-mobile { display: none; } }

/* ============================================================================
   22. COMPOSANTS — BADGE VERSION
   ============================================================================ */

.vnct-version-badge {
  position: fixed; bottom: var(--space-2); left: var(--space-3);
  font-size: var(--text-xs); color: var(--text-muted);
  font-family: var(--font-mono); z-index: 1; opacity: 0.6;
  user-select: none; -webkit-user-select: none;
}
@media (max-width: 768px) { .vnct-version-badge { bottom: calc(var(--space-2) + env(safe-area-inset-bottom)); } }

/* ============================================================================
   23. UTILITAIRES — GLASS / NEON-HOVER / TEXT
   ============================================================================ */

.vnct-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(var(--blur-glass)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(1.4);
  border: 1px solid var(--border-default);
}

.vnct-neon-hover { transition: box-shadow var(--duration-normal) ease, border-color var(--duration-normal) ease; }
@media (min-width: 769px) {
  .vnct-neon-hover:hover { border-color: var(--iris-violet); box-shadow: var(--glow-iris-md); }
}

.vnct-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vnct-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}

/* Encart d'info technique (utilise par Maat : .vnct-tech-info) */
.vnct-tech-info {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

/* ============================================================================
   24. COMPOSANTS — UPLOAD
   ============================================================================ */

.vnct-upload { position: relative; }
.vnct-upload__input { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }
.vnct-upload__dropzone {
  display: flex; align-items: center; justify-content: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--field);
  border: 2px dashed var(--border-default);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--duration-fast) ease, background var(--duration-fast) ease;
}
.vnct-upload__dropzone:hover { border-color: var(--border-hover); }
.vnct-upload__dropzone--dragover { border-color: var(--iris-violet); background: var(--gradient-iris-soft); }
.vnct-upload__icon { width: 24px; height: 24px; color: var(--text-muted); flex-shrink: 0; }
.vnct-upload__text { font-size: var(--text-sm); color: var(--text-secondary); font-weight: var(--font-medium); }
.vnct-upload__gallery { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.vnct-upload__gallery:empty { display: none; }
.vnct-upload__preview {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: var(--field); border: 1px solid var(--border-default);
  border-radius: var(--radius-md); padding: var(--space-2);
  width: 120px; height: 90px; overflow: hidden;
}
.vnct-upload__img { max-width: 100%; max-height: 100%; border-radius: var(--radius-sm); object-fit: contain; }
.vnct-upload__remove {
  position: absolute; top: var(--space-2); right: var(--space-2);
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-primary); color: var(--text-secondary);
  border: 1px solid var(--border-default); border-radius: var(--radius-full);
  font-size: var(--text-lg); line-height: 1; cursor: pointer;
  transition: background var(--duration-fast) ease, color var(--duration-fast) ease;
}
.vnct-upload__remove:hover { background: var(--danger); color: #fff; border-color: var(--danger); }

/* Formulaire de feedback du FAB (utilise par Maat : .vnct-fab-feedback-form) */
.vnct-fab-feedback-form { display: flex; flex-direction: column; gap: var(--space-4); }

/* ============================================================================
   25. COMPOSANTS — BETA BANNER
   ============================================================================ */

.vnct-beta-banner {
  display: flex; align-items: flex-start; justify-content: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-6);
  background: linear-gradient(rgba(255,201,74,.08), rgba(255,201,74,.08)), var(--bg-secondary);
  border-bottom: 1px solid rgba(255,201,74,.25);
  font-family: var(--font-family); font-size: var(--text-xs);
  color: var(--warning); line-height: var(--leading-normal); text-align: left;
}
.vnct-beta-banner__icon { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; }
.vnct-beta-banner--success {
  background: linear-gradient(rgba(61,240,160,.08), rgba(61,240,160,.08)), var(--bg-secondary);
  border-bottom: 1px solid rgba(61,240,160,.25);
  color: var(--success);
}
@media (max-width: 768px) { .vnct-beta-banner { padding: var(--space-2) var(--space-4); font-size: var(--text-2xs, 11px); } }

/* ============================================================================
   26. ANIMATIONS — KEYFRAMES
   ============================================================================ */

@keyframes vnct-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes vnct-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes vnct-scale-in { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes vnct-scale-out { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0.95); } }
@keyframes vnct-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes vnct-slide-down { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(20px); } }
@keyframes vnct-slide-in-right { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes vnct-page-enter-right { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes vnct-page-exit-left { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(-30%); } }
@keyframes vnct-page-enter-left { from { opacity: 0; transform: translateX(-100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes vnct-page-exit-right { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(30%); } }
@keyframes vnct-tile-enter { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes vnct-appear { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes vnct-appear-hero { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes vnct-appear-subtle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* SHIMMER irise (recette PROTO, portage litteral).
   Chaque element irise anime son propre degrade : background-size:500% auto +
   animation vnctShimmer 24s qui decale background-position de 500% -> la moitie
   du degrade defile et reboucle de facon seamless (le degrade reboucle sur
   #ff9ad4 a ses deux extremites). Pas d'@property, pas d'ancrage ecran :
   compatible avec les ancetres backdrop-filter / transform. */
@keyframes vnctShimmer { to { background-position: 500% center; } }
/* vnct-bg-reveal : revele le fond en diagonale (mask-position 0%/100% -> 100%/0%). */
@keyframes vnct-bg-reveal {
  from { -webkit-mask-position: 0% 100%; mask-position: 0% 100%; }
  to   { -webkit-mask-position: 100% 0%; mask-position: 100% 0%; }
}
@keyframes vnct-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes vnct-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes vnct-led { 0%,100% { opacity: 0.7; } 50% { opacity: 1; } }

/* ============================================================================
   27. ANIMATIONS — TRANSITIONS DE PAGE & ENTREES
   ============================================================================ */

.vnct-page-transition--enter-right { animation: vnct-page-enter-right var(--duration-page) var(--ease-out-expo); }
.vnct-page-transition--exit-left { animation: vnct-page-exit-left var(--duration-page) var(--ease-out-expo); }
.vnct-page-transition--enter-left { animation: vnct-page-enter-left var(--duration-page) var(--ease-out-expo); }
.vnct-page-transition--exit-right { animation: vnct-page-exit-right var(--duration-page) var(--ease-out-expo); }

.vnct-appear { animation: vnct-appear 550ms var(--ease-out-expo) backwards; }
.vnct-appear--hero { animation: vnct-appear-hero 650ms var(--ease-out-expo) backwards; }
.vnct-appear--subtle { animation: vnct-appear-subtle var(--duration-slow) var(--ease-out-expo) backwards; }

.vnct-appear--d1 { animation-delay: 0.10s; }
.vnct-appear--d2 { animation-delay: 0.20s; }
.vnct-appear--d3 { animation-delay: 0.30s; }
.vnct-appear--d4 { animation-delay: 0.40s; }
.vnct-appear--d5 { animation-delay: 0.50s; }
.vnct-appear--d6 { animation-delay: 0.60s; }
.vnct-appear--d7 { animation-delay: 0.70s; }
.vnct-appear--d8 { animation-delay: 0.80s; }

.vnct-stagger > .vnct-appear:nth-child(1)  { animation-delay: 0.10s; }
.vnct-stagger > .vnct-appear:nth-child(2)  { animation-delay: 0.20s; }
.vnct-stagger > .vnct-appear:nth-child(3)  { animation-delay: 0.30s; }
.vnct-stagger > .vnct-appear:nth-child(4)  { animation-delay: 0.40s; }
.vnct-stagger > .vnct-appear:nth-child(5)  { animation-delay: 0.50s; }
.vnct-stagger > .vnct-appear:nth-child(6)  { animation-delay: 0.60s; }
.vnct-stagger > .vnct-appear:nth-child(7)  { animation-delay: 0.70s; }
.vnct-stagger > .vnct-appear:nth-child(8)  { animation-delay: 0.80s; }
.vnct-stagger > .vnct-appear:nth-child(9)  { animation-delay: 0.90s; }
.vnct-stagger > .vnct-appear:nth-child(10) { animation-delay: 1.00s; }
.vnct-stagger > .vnct-appear:nth-child(11) { animation-delay: 1.10s; }
.vnct-stagger > .vnct-appear:nth-child(12) { animation-delay: 1.20s; }

.vnct-nav-desktop,
.vnct-header-mobile { animation: vnct-appear-subtle var(--duration-normal) var(--ease-out-expo); }

/* ============================================================================
   28. COMPOSANTS — FOOTER
   ============================================================================ */

.vnct-footer { margin-top: auto; padding: var(--space-6) var(--space-4); border-top: 1px solid var(--border-default); text-align: center; }
.vnct-footer__inner { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.vnct-footer__brand { font-size: var(--text-sm); color: var(--text-muted); font-weight: var(--font-regular); }
.vnct-footer__links { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: var(--space-2); }
.vnct-footer__links a { font-size: var(--text-sm); color: var(--text-secondary); text-decoration: none; transition: color var(--duration-normal) ease; }
.vnct-footer__links a:hover { color: var(--accent-link); text-decoration: none; }
.vnct-footer__sep { color: var(--text-muted); font-size: var(--text-xs); user-select: none; }
@media (max-width: 480px) {
  .vnct-footer__links { flex-direction: column; gap: var(--space-2); }
  .vnct-footer__sep { display: none; }
}

/* ============================================================================
   29. ACCESSIBILITE
   ============================================================================ */

:focus-visible { outline: 2px solid var(--iris-cyan); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Irise SIGNATURE : on fige le shimmer proto. La regle generique ci-dessus
     coupe deja l'animation de tout element ; ce gel explicite garantit que le
     degrade irise reste affiche et immobile (degrade toujours visible et joli,
     mais TOTALEMENT statique : RGAA + testeur Maat sous "Reduire les
     animations"). */
  .vnct-iris-text,
  .vnct-iris-fill,
  .vnct-iris-surface,
  .vnct-iris-border,
  .vnct-btn--primary,
  .vnct-fab,
  .vnct-nav-desktop__logo,
  .vnct-header-mobile__title,
  .vnct-progress-bar__fill {
    animation: none !important;
  }

  /* Le fond ne se "revele" plus en diagonale : le canvas est present d'emblee,
     immobile (VNCT.Background ne lance pas requestAnimationFrame en
     reduced-motion). On neutralise le mask/reveal pour qu'il soit tout de suite
     pleinement visible. */
  .vnct-bg {
    animation: none !important;
    -webkit-mask-position: 0 0 !important;
    mask-position: 0 0 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
}

@media (prefers-contrast: high) {
  :root, [data-theme="dark"] {
    --border-default: rgba(255, 255, 255, 0.3);
    --border-hover: rgba(255, 255, 255, 0.5);
    --text-secondary: #c0c0d0;
    --text-muted: #8080a0;
  }
  [data-theme="light"] {
    --border-default: rgba(0, 0, 0, 0.2);
    --border-hover: rgba(0, 0, 0, 0.4);
    --text-secondary: #303050;
    --text-muted: #606080;
  }
}

/* ============================================================================
   30. COMPOSANTS — PROGRESS BAR (irisee)
   Rail glass + fill gradient irise + glow qui s'intensifie pendant le mouvement.
   Maat reutilise .vnct-progress-bar + __fill (barre continue, cf. ecart #2 doc).
   ============================================================================ */

.vnct-progress-bar {
  position: relative;
  width: 100%;
  height: 6px;
  background: var(--s1);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  overflow: visible;
}

@supports not (backdrop-filter: blur(10px)) {
  .vnct-progress-bar { background: var(--bg-tertiary); }
}

/* Fill SIGNATURE : irise anime (le gradient coule pendant le remplissage). */
.vnct-progress-bar__fill {
  height: 100%;
  width: 0;
  background-image: var(--gradient-iris-loop);
  background-size: 500% auto;
  animation: vnctShimmer 24s linear infinite;
  border-radius: var(--radius-full);
  box-shadow: 0 0 6px rgba(191,166,255,.4);
  transition: width 80ms linear, box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.vnct-progress-bar__fill.is-moving {
  box-shadow:
    0 0 10px rgba(255,154,212,.9),
    0 0 22px rgba(191,166,255,.7),
    0 0 38px rgba(143,233,255,.4);
  transition: width 80ms linear, box-shadow 0.15s ease-in;
}

[data-theme="light"] .vnct-progress-bar__fill { box-shadow: 0 0 6px rgba(140,80,200,.35); }
[data-theme="light"] .vnct-progress-bar__fill.is-moving {
  box-shadow: 0 0 8px rgba(192,31,120,.6), 0 0 18px rgba(140,80,200,.45), 0 0 30px rgba(8,131,173,.3);
}

.vnct-progress-bar--floating {
  position: fixed;
  bottom: calc(var(--space-1) + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: min(360px, calc(100% - var(--space-8)));
  box-shadow: var(--shadow-elevation-2);
  z-index: 800;
  pointer-events: none;
}

@media print { .vnct-progress-bar--floating { display: none !important; } }

/* ============================================================================
   31. COMPOSANTS — HERO LANDING
   Logo geant (clamp) + tagline. Le suffixe / la lettre accentuee porte
   l'irise via <span> (cf. "Maat" avec le "a" accentue irise des maquettes).
   ============================================================================ */

.vnct-hero { text-align: center; padding: var(--space-16) var(--space-4) var(--space-8); }
.vnct-hero__logo {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 4rem);
  font-weight: var(--font-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1.1;
  color: var(--ink-strong);
  margin-bottom: var(--space-3);
}
/* Lettres accentuees de la marque ("ât" de Maat) : irise anime = signature #1. */
.vnct-hero__logo span {
  background-image: var(--gradient-iris-loop);
  background-size: 500% auto;
  animation: vnctShimmer 24s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* Glow violet (recette proto). */
  filter: drop-shadow(0 0 5px rgba(180, 140, 255, .55));
}
.vnct-hero__tagline {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: var(--leading-relaxed);
}
@media (max-width: 768px) {
  .vnct-hero { padding: var(--space-10) var(--space-4) var(--space-6); }
  .vnct-hero__tagline { font-size: var(--text-base); }
}

/* ============================================================================
   32. COMPOSANTS — LORE
   ============================================================================ */

.vnct-lore { margin: var(--space-12) auto; max-width: 640px; text-align: center; }
.vnct-lore__separator { color: var(--text-muted); font-size: var(--text-sm); letter-spacing: 0.5em; margin-bottom: var(--space-5); user-select: none; }
.vnct-lore__title { font-size: var(--text-sm); font-weight: var(--font-medium); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: var(--space-4); }
.vnct-lore__body { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.8; }
.vnct-lore__body strong { color: var(--text-primary); font-weight: var(--font-semibold); }
.vnct-lore__body em { color: var(--accent-fg); font-style: italic; }
.vnct-lore__tagline { display: block; margin-top: var(--space-2); font-size: var(--text-xs); color: var(--text-muted); font-style: italic; letter-spacing: 0.05em; }
@media (max-width: 768px) { .vnct-lore { padding-left: var(--space-2); padding-right: var(--space-2); } }

/* ============================================================================
   33. COMPOSANTS ADDITIONNELS
   ============================================================================ */

/* ---------- Callouts ---------- */
.vnct-callout {
  position: relative;
  padding: var(--space-3) var(--space-4) var(--space-3) var(--space-5);
  border: 1px solid var(--border-default);
  border-left: 3px solid var(--iris-violet);
  border-radius: var(--radius-md);
  /* v2.0.3 : callout neutre ANCRE sur fond opaque (meme recette que ses variantes
     --info/--success/--warning/--danger deja ancrees en v2.0.1). En --s4 brut (70%),
     le dot-grid du canvas passait sous le texte. Le callout est un encart de contenu
     EN FLUX (pas un overlay), donc on ancre plutot que d'ajouter un backdrop-filter. */
  background: linear-gradient(var(--s4), var(--s4)), var(--bg-secondary);
  color: var(--text-primary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}
.vnct-callout strong { color: var(--text-primary); }
.vnct-callout--info { border-left-color: var(--info); background: linear-gradient(rgba(143,233,255,.06), rgba(143,233,255,.06)), var(--bg-secondary); }
.vnct-callout--success { border-left-color: var(--success); background: linear-gradient(rgba(61,240,160,.07), rgba(61,240,160,.07)), var(--bg-secondary); }
.vnct-callout--warning { border-left-color: var(--warning); background: linear-gradient(rgba(255,201,74,.07), rgba(255,201,74,.07)), var(--bg-secondary); }
.vnct-callout--danger { border-left-color: var(--danger); background: linear-gradient(rgba(255,77,106,.07), rgba(255,77,106,.07)), var(--bg-secondary); }
.vnct-callout__title { display: block; font-weight: var(--font-semibold); margin-bottom: var(--space-1); }

/* ---------- Code ---------- */
.vnct-code {
  display: block; padding: var(--space-3) var(--space-4);
  background: var(--field); border: 1px solid var(--border-default);
  border-radius: var(--radius-md); font-family: var(--font-mono);
  font-size: var(--text-sm); color: var(--text-primary);
  overflow-x: auto; line-height: var(--leading-relaxed);
}
.vnct-code--inline { display: inline; padding: 2px 6px; font-size: 0.9em; color: var(--accent-fg); border-radius: var(--radius-sm); background: var(--field); border: 1px solid var(--border-default); }
.vnct-code__keyword  { color: var(--iris-rose); }
.vnct-code__string   { color: var(--success); }
.vnct-code__comment  { color: var(--text-muted); font-style: italic; }
.vnct-code__function { color: var(--iris-cyan); }

/* ---------- Check / Radio / Toggle ---------- */
.vnct-check { display: inline-flex; align-items: center; gap: var(--space-2); cursor: pointer; user-select: none; font-size: var(--text-sm); color: var(--text-primary); }
.vnct-check__input { position: absolute; opacity: 0; pointer-events: none; }
.vnct-check__box {
  width: 20px; height: 20px;
  border: 2px solid var(--border-default); border-radius: var(--radius-sm);
  background: var(--field);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--duration-fast) var(--ease-smooth); flex-shrink: 0;
}
.vnct-check__box::after {
  content: ""; width: 10px; height: 10px;
  background: var(--gradient-iris); border-radius: 2px;
  transform: scale(0); transition: transform var(--duration-fast) var(--ease-spring);
}
/* v2.0.3 : la teinte irisee de l'etat coche (18%) est posee SUR --field opaque
   (fond du controle au repos) au lieu de le remplacer -> plus de dot-grid dans la case. */
.vnct-check__input:checked + .vnct-check__box { border-color: var(--iris-violet); background: var(--gradient-iris-soft), var(--field); }
.vnct-check__input:checked + .vnct-check__box::after { transform: scale(1); }
.vnct-check__input:focus-visible + .vnct-check__box { outline: 2px solid var(--iris-cyan); outline-offset: 2px; }
.vnct-check__input:disabled ~ * { opacity: 0.4; cursor: not-allowed; }

.vnct-radio__box {
  width: 20px; height: 20px;
  border: 2px solid var(--border-default); border-radius: 50%;
  background: var(--field);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--duration-fast) var(--ease-smooth); flex-shrink: 0;
}
.vnct-radio__box::after {
  content: ""; width: 8px; height: 8px;
  background: var(--gradient-iris); border-radius: 50%;
  transform: scale(0); transition: transform var(--duration-fast) var(--ease-spring);
}
.vnct-check__input:checked + .vnct-radio__box { border-color: var(--iris-violet); }
.vnct-check__input:checked + .vnct-radio__box::after { transform: scale(1); }

.vnct-toggle__track {
  width: 44px; height: 24px;
  background: var(--field); border: 2px solid var(--border-default);
  border-radius: var(--radius-full); position: relative;
  transition: all var(--duration-normal) var(--ease-smooth); flex-shrink: 0;
}
.vnct-toggle__track::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; background: var(--text-secondary);
  border-radius: 50%; transition: all var(--duration-normal) var(--ease-spring);
}
.vnct-check__input:checked + .vnct-toggle__track { background: var(--gradient-iris-soft), var(--field); border-color: var(--iris-violet); }
.vnct-check__input:checked + .vnct-toggle__track::after { transform: translateX(20px); background: var(--iris-violet); }

/* ---------- Slider ---------- */
.vnct-slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  background: var(--field); border-radius: var(--radius-full); outline: none;
  border: 1px solid var(--border-default);
}
.vnct-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; background: var(--iris-violet); border-radius: 50%;
  cursor: pointer; box-shadow: var(--glow-iris-sm);
  transition: transform var(--duration-fast) var(--ease-smooth);
}
.vnct-slider::-webkit-slider-thumb:hover { transform: scale(1.15); box-shadow: var(--glow-iris-md); }
.vnct-slider::-moz-range-thumb { width: 18px; height: 18px; background: var(--iris-violet); border-radius: 50%; cursor: pointer; border: none; box-shadow: var(--glow-iris-sm); }
/* A11y : le outline:none du slider (necessaire pour le style custom) doit etre
   compense par un focus visible explicite (RGAA focus jamais supprime sans
   remplacement). Meme recette que le :focus-visible global. */
.vnct-slider:focus-visible { outline: 2px solid var(--iris-cyan); outline-offset: 2px; }

/* ---------- Dropdown ---------- */
.vnct-dropdown { position: relative; display: inline-block; }
.vnct-dropdown__menu {
  position: absolute; top: calc(100% + var(--space-2)); left: 0; min-width: 200px;
  background: var(--s3);
  -webkit-backdrop-filter: blur(var(--blur-glass-strong)) saturate(1.4);
  backdrop-filter: blur(var(--blur-glass-strong)) saturate(1.4);
  border: 1px solid var(--border-default); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: var(--space-1);
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: all var(--duration-fast) var(--ease-smooth); z-index: 100;
}
.vnct-dropdown.is-open .vnct-dropdown__menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.vnct-dropdown__item {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-3); color: var(--text-primary);
  font-size: var(--text-sm); border-radius: var(--radius-sm); cursor: pointer;
  transition: background var(--duration-fast) var(--ease-smooth);
}
.vnct-dropdown__item:hover { background: var(--surface-hover); }
.vnct-dropdown__item--danger { color: var(--danger); }
.vnct-dropdown__sep { height: 1px; background: var(--border-default); margin: var(--space-1) 0; }

/* ---------- Tabs ---------- */
.vnct-tabs__list { display: flex; gap: var(--space-1); border-bottom: 1px solid var(--border-default); margin-bottom: var(--space-4); overflow-x: auto; }
.vnct-tabs__tab {
  padding: var(--space-2) var(--space-4); background: none; border: none;
  color: var(--text-secondary); font-size: var(--text-sm); font-weight: var(--font-medium);
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all var(--duration-fast) var(--ease-smooth); white-space: nowrap;
}
.vnct-tabs__tab:hover { color: var(--text-primary); }
.vnct-tabs__tab--active { color: var(--accent-fg); border-bottom-color: var(--iris-violet); }
.vnct-tabs__panel { display: none; padding: var(--space-3) 0; color: var(--text-secondary); }
.vnct-tabs__panel--active { display: block; }

/* ---------- Accordion ---------- */
.vnct-accordion { border: 1px solid var(--border-default); border-radius: var(--radius-md); overflow: hidden; }
.vnct-accordion__item { border-bottom: 1px solid var(--border-default); }
.vnct-accordion__item:last-child { border-bottom: none; }
.vnct-accordion__trigger {
  width: 100%; padding: var(--space-3) var(--space-4); background: none; border: none;
  color: var(--text-primary); font-size: var(--text-sm); font-weight: var(--font-medium);
  text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  transition: background var(--duration-fast) var(--ease-smooth);
}
.vnct-accordion__trigger:hover { background: var(--surface-hover); }
.vnct-accordion__icon { transition: transform var(--duration-normal) var(--ease-spring); color: var(--text-muted); }
.vnct-accordion__item.is-open .vnct-accordion__icon { transform: rotate(180deg); color: var(--accent-fg); }
.vnct-accordion__content { max-height: 0; overflow: hidden; transition: max-height var(--duration-normal) var(--ease-smooth); }
.vnct-accordion__item.is-open .vnct-accordion__content { max-height: 300px; }
.vnct-accordion__inner { padding: 0 var(--space-4) var(--space-4) var(--space-4); color: var(--text-secondary); font-size: var(--text-sm); line-height: var(--leading-relaxed); }

/* ---------- Stepper ---------- */
.vnct-stepper { display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; }
.vnct-stepper__step { display: flex; align-items: center; gap: var(--space-2); }
.vnct-stepper__bullet {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--field); border: 2px solid var(--border-default);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: var(--text-xs); font-weight: var(--font-semibold); color: var(--text-muted);
  flex-shrink: 0; transition: all var(--duration-normal) var(--ease-spring);
}
.vnct-stepper__step--done .vnct-stepper__bullet { background: var(--gradient-iris); border-color: transparent; color: #1a0f1f; box-shadow: var(--glow-iris-sm); }
.vnct-stepper__step--active .vnct-stepper__bullet { border-color: var(--iris-violet); color: var(--accent-fg); box-shadow: var(--glow-iris-sm); }
.vnct-stepper__label { font-size: var(--text-sm); color: var(--text-secondary); }
.vnct-stepper__step--active .vnct-stepper__label,
.vnct-stepper__step--done .vnct-stepper__label { color: var(--text-primary); font-weight: var(--font-medium); }
.vnct-stepper__line { flex: 1; min-width: 24px; height: 2px; background: var(--border-default); border-radius: var(--radius-full); }
.vnct-stepper__step--done + .vnct-stepper__line { background: var(--iris-violet); }

/* ---------- Tooltip ---------- */
.vnct-tooltip { position: relative; display: inline-block; }
.vnct-tooltip__bubble {
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: var(--space-2) var(--space-3); background: var(--s2);
  color: var(--text-primary); border: 1px solid var(--border-default);
  border-radius: var(--radius-sm); font-size: var(--text-xs); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: all var(--duration-fast) var(--ease-smooth);
  box-shadow: var(--shadow-elevation-2); z-index: 50;
}
.vnct-tooltip:hover .vnct-tooltip__bubble,
.vnct-tooltip:focus-within .vnct-tooltip__bubble { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Pills / Badges ---------- */
.vnct-pill {
  display: inline-flex; align-items: center; gap: var(--space-1);
  padding: 3px 12px; font-size: var(--text-xs); font-weight: var(--font-medium);
  /* v2.0.3 : pastille ANCREE sur fond opaque. En --s6 brut (80%) puis en teintes
     semantiques a 15%/18%, le dot-grid passait sous le texte des pills (verdicts,
     tags, badges). On pose la teinte SUR --bg-secondary (recette v2.0.1) : rendu
     visuel quasi identique, mais plus aucun canvas visible sous le libelle. */
  background: linear-gradient(var(--s6), var(--s6)), var(--bg-secondary); color: var(--text-secondary);
  border-radius: var(--radius-full); border: 1px solid var(--border-default);
}
.vnct-pill--accent { background: var(--gradient-iris-soft), var(--bg-secondary); color: var(--accent-fg); border-color: rgba(191,166,255,.3); }
.vnct-pill--success { background: linear-gradient(rgba(61,240,160,.15), rgba(61,240,160,.15)), var(--bg-secondary); color: var(--success); border-color: rgba(61,240,160,.3); }
.vnct-pill--warning { background: linear-gradient(rgba(255,201,74,.15), rgba(255,201,74,.15)), var(--bg-secondary); color: var(--warning); border-color: rgba(255,201,74,.3); }
.vnct-pill--danger  { background: linear-gradient(rgba(255,77,106,.15), rgba(255,77,106,.15)), var(--bg-secondary); color: var(--danger); border-color: rgba(255,77,106,.3); }
.vnct-pill--solid { background: var(--gradient-iris); color: #1a0f1f; border-color: transparent; box-shadow: var(--glow-iris-sm); }

/* ---------- Status dots ---------- */
.vnct-status { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--text-secondary); }
.vnct-status__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.vnct-status__dot--online  { background: var(--success); box-shadow: 0 0 6px var(--success); }
.vnct-status__dot--offline { background: var(--danger); }
.vnct-status__dot--idle    { background: var(--warning); box-shadow: 0 0 6px var(--warning); }
.vnct-status__dot--neutral { background: var(--text-muted); }
.vnct-status__dot--pulse { background: var(--success); animation: vnct-pulse 2s ease-in-out infinite; }
@keyframes vnct-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61,240,160,.6); }
  50%      { box-shadow: 0 0 0 6px rgba(61,240,160,0); }
}

/* ---------- Skeleton ---------- */
.vnct-skeleton {
  background: linear-gradient(90deg, var(--bg-tertiary) 0%, var(--surface-hover) 50%, var(--bg-tertiary) 100%);
  background-size: 200% 100%;
  animation: vnct-skeleton 1.4s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
@keyframes vnct-skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.vnct-skeleton--text   { height: 12px; margin-bottom: var(--space-2); }
.vnct-skeleton--circle { border-radius: 50%; }

/* ---------- Empty state ---------- */
.vnct-empty { text-align: center; padding: var(--space-10) var(--space-4); color: var(--text-muted); }
.vnct-empty__icon { width: 56px; height: 56px; margin: 0 auto var(--space-4); color: var(--text-muted); opacity: 0.6; }
.vnct-empty__title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--font-semibold); color: var(--text-secondary); margin-bottom: var(--space-2); }
.vnct-empty__desc { font-size: var(--text-sm); color: var(--text-muted); max-width: 40ch; margin: 0 auto var(--space-4); line-height: var(--leading-relaxed); }

/* ---------- Table ---------- */
.vnct-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.vnct-table thead { background: var(--field); }
.vnct-table th {
  text-align: left; padding: var(--space-3) var(--space-4);
  font-size: var(--text-xs); font-weight: var(--font-semibold);
  text-transform: uppercase; letter-spacing: var(--tracking-wide);
  color: var(--text-muted); border-bottom: 1px solid var(--border-default);
}
.vnct-table td { padding: var(--space-3) var(--space-4); color: var(--text-secondary); border-bottom: 1px solid var(--border-default); }
.vnct-table tbody tr { transition: background var(--duration-fast) var(--ease-smooth); }
.vnct-table tbody tr:hover { background: var(--surface-hover); }
.vnct-table tbody tr:last-child td { border-bottom: none; }
.vnct-table--bordered { border: 1px solid var(--border-default); border-radius: var(--radius-md); overflow: hidden; }

/* ---------- Pagination ---------- */
.vnct-pagination { display: inline-flex; gap: var(--space-1); align-items: center; }
.vnct-pagination__btn {
  min-width: 36px; height: 36px; padding: 0 var(--space-2);
  background: var(--bg-secondary); border: 1px solid var(--border-default);
  border-radius: var(--radius-sm); color: var(--text-secondary);
  font-size: var(--text-sm); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--duration-fast) var(--ease-smooth);
}
.vnct-pagination__btn:hover:not(:disabled) { border-color: var(--iris-violet); color: var(--text-primary); }
.vnct-pagination__btn--active { background: var(--gradient-iris); color: #1a0f1f; border-color: transparent; box-shadow: var(--glow-iris-sm); }
.vnct-pagination__btn:disabled { opacity: 0.4; cursor: not-allowed; }
.vnct-pagination__ellipsis { color: var(--text-muted); padding: 0 var(--space-1); }

/* ---------- Breadcrumb ---------- */
.vnct-breadcrumb { display: flex; flex-wrap: wrap; gap: var(--space-1); font-size: var(--text-sm); color: var(--text-muted); align-items: center; }
.vnct-breadcrumb__item { display: inline-flex; align-items: center; gap: var(--space-1); }
.vnct-breadcrumb__link { color: var(--text-secondary); text-decoration: none; padding: 2px 6px; border-radius: var(--radius-sm); transition: all var(--duration-fast) var(--ease-smooth); }
.vnct-breadcrumb__link:hover { color: var(--accent-fg); background: var(--surface-hover); }
.vnct-breadcrumb__sep { color: var(--text-muted); }
.vnct-breadcrumb__current { color: var(--text-primary); font-weight: var(--font-medium); }

/* ---------- Avatar ---------- */
.vnct-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--field); color: var(--text-primary);
  font-weight: var(--font-semibold); font-size: var(--text-sm);
  border: 1px solid var(--border-default); overflow: hidden; flex-shrink: 0;
}
.vnct-avatar--sm { width: 28px; height: 28px; font-size: var(--text-xs); }
.vnct-avatar--lg { width: 56px; height: 56px; font-size: var(--text-lg); }
.vnct-avatar--accent { background: var(--gradient-iris); color: #1a0f1f; border-color: transparent; box-shadow: var(--glow-iris-sm); }
.vnct-avatar img { width: 100%; height: 100%; object-fit: cover; }
.vnct-avatar-group { display: inline-flex; }
.vnct-avatar-group .vnct-avatar { margin-left: -10px; border: 2px solid var(--bg-primary); }
.vnct-avatar-group .vnct-avatar:first-child { margin-left: 0; }

/* ---------- Divider ---------- */
.vnct-divider { height: 1px; background: var(--border-default); border: none; margin: var(--space-4) 0; }
.vnct-divider--accent { background: var(--gradient-iris-90); box-shadow: 0 0 8px rgba(191,166,255,.3); }
.vnct-divider--label { display: flex; align-items: center; gap: var(--space-3); color: var(--text-muted); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); margin: var(--space-4) 0; }
.vnct-divider--label::before, .vnct-divider--label::after { content: ""; flex: 1; height: 1px; background: var(--border-default); }

/* ---------- Custom scrollbar ---------- */
.vnct-scroll { max-height: 200px; overflow-y: scroll; padding: var(--space-3); background: var(--field); border-radius: var(--radius-md); scrollbar-width: thin; scrollbar-color: var(--iris-violet) transparent; }
.vnct-scroll::-webkit-scrollbar { width: 8px; }
.vnct-scroll::-webkit-scrollbar-track { background: transparent; }
.vnct-scroll::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: var(--radius-full); }
.vnct-scroll::-webkit-scrollbar-thumb:hover { background: var(--iris-violet); box-shadow: var(--glow-iris-sm); }

/* ---------- Anims supplementaires ---------- */
.vnct-anim-spin   { animation: vnct-anim-spin 2s linear infinite; }
.vnct-anim-bounce { animation: vnct-anim-bounce 1.4s var(--ease-spring) infinite; }
.vnct-anim-glow   { animation: vnct-anim-glow 2s ease-in-out infinite; }
.vnct-anim-float  { animation: vnct-float 3s ease-in-out infinite; }
@keyframes vnct-anim-spin   { to { transform: rotate(360deg); } }
@keyframes vnct-anim-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes vnct-anim-glow   { 0%,100% { box-shadow: var(--glow-iris-sm); } 50% { box-shadow: var(--glow-iris-lg); } }

/* ============================================================================
   34. COMPOSANTS — STEPS / TAGS / TRUST
   ============================================================================ */

/* ---------- Steps ---------- */
.vnct-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.vnct-step {
  text-align: center; padding: var(--space-6) var(--space-4);
  /* v2.0.3 : --s4 est le token glass (--bg-glass). Comme .vnct-card, cette surface
     doit avoir un vrai backdrop-filter pour que le translucide (70%) soit lisible ;
     sans blur, le dot-grid transparaissait crument. On la passe donc en verre depoli
     (meme recette que .vnct-card) plutot que de l'ancrer, pour rester coherent avec
     l'intention du token --s4. Fallback opaque si backdrop-filter non supporte. */
  background: var(--s4); border: 1px solid var(--border-default);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(1.4);
  backdrop-filter: blur(var(--blur-glass)) saturate(1.4);
  border-radius: var(--radius-lg);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
@supports not (backdrop-filter: blur(2px)) {
  .vnct-step { background: var(--bg-secondary); }
}
.vnct-step:hover { border-color: var(--iris-violet); transform: translateY(-2px); }
.vnct-step__number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gradient-iris-soft); color: var(--accent-fg);
  font-weight: var(--font-semibold); font-size: var(--text-sm); margin-bottom: var(--space-3);
}
.vnct-step__icon { color: var(--accent-fg); margin-bottom: var(--space-3); display: flex; justify-content: center; }
.vnct-step__title { font-family: var(--font-display); font-size: var(--text-base); font-weight: var(--font-semibold); color: var(--text-primary); margin-bottom: var(--space-2); }
.vnct-step__desc { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--leading-relaxed); }
@media (max-width: 768px) { .vnct-steps { grid-template-columns: 1fr; gap: var(--space-3); } }

/* ---------- Tags ---------- */
.vnct-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; }
.vnct-tag {
  display: inline-block; padding: var(--space-2) var(--space-4);
  /* v2.0.3 : tag ANCRE sur fond opaque (idem pill) — --s6 brut (80%) laissait
     passer le dot-grid sous le libelle. */
  border-radius: var(--radius-full); background: linear-gradient(var(--s6), var(--s6)), var(--bg-secondary);
  border: 1px solid var(--border-default); color: var(--text-secondary);
  font-size: var(--text-sm); font-weight: var(--font-medium);
}

/* ---------- Trust ---------- */
.vnct-trust {
  margin: var(--space-10) auto 0; padding: var(--space-6);
  border-radius: var(--radius-lg); border: 1px solid var(--border-default);
  /* v2.0.3 : idem .vnct-step — surface --s4 (glass) passee en vrai verre depoli
     (backdrop-filter) pour la rendre lisible sans laisser transparaitre le dot-grid.
     Fallback opaque si backdrop-filter non supporte. */
  background: var(--s4);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(1.4);
  backdrop-filter: blur(var(--blur-glass)) saturate(1.4);
  text-align: center; max-width: 640px;
}
@supports not (backdrop-filter: blur(2px)) {
  .vnct-trust { background: var(--bg-secondary); }
}
.vnct-trust__icon { color: var(--accent-fg); margin-bottom: var(--space-3); display: flex; justify-content: center; }
.vnct-trust__title { font-family: var(--font-display); font-size: var(--text-base); font-weight: var(--font-semibold); color: var(--text-primary); margin-bottom: var(--space-2); }
.vnct-trust__desc { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--leading-relaxed); }
