prism-design 2.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/CHANGELOG.md +292 -0
  2. package/LICENSE +21 -0
  3. package/README.md +203 -0
  4. package/bin/clone-architect.mjs +476 -0
  5. package/bin/prism.mjs +467 -0
  6. package/catalog/index.json +1155 -0
  7. package/extractions/airbnb.com/DESIGN.md +1068 -0
  8. package/extractions/airbnb.com/tokens.json +507 -0
  9. package/extractions/attio.com/DESIGN.md +1295 -0
  10. package/extractions/attio.com/tokens.json +438 -0
  11. package/extractions/auroxdashboard.com/DESIGN.md +724 -0
  12. package/extractions/auroxdashboard.com/tokens.json +195 -0
  13. package/extractions/careerexplorer.com/DESIGN.md +1178 -0
  14. package/extractions/careerexplorer.com/tokens.json +141 -0
  15. package/extractions/chance.co/DESIGN.md +1209 -0
  16. package/extractions/chance.co/tokens.json +160 -0
  17. package/extractions/choisis-ton-avenir.com/DESIGN.md +1265 -0
  18. package/extractions/choisis-ton-avenir.com/tokens.json +227 -0
  19. package/extractions/example.com/DESIGN.md +436 -0
  20. package/extractions/example.com/tokens.json +91 -0
  21. package/extractions/getdesign.md/DESIGN.md +1009 -0
  22. package/extractions/getdesign.md/tokens.json +219 -0
  23. package/extractions/github.com/DESIGN.md +1130 -0
  24. package/extractions/github.com/tokens.json +2092 -0
  25. package/extractions/hello-charly.com/DESIGN.md +1146 -0
  26. package/extractions/hello-charly.com/tokens.json +322 -0
  27. package/extractions/hyperliquid.xyz/DESIGN.md +779 -0
  28. package/extractions/hyperliquid.xyz/tokens.json +598 -0
  29. package/extractions/instagram.com/DESIGN.md +996 -0
  30. package/extractions/instagram.com/tokens.json +1240 -0
  31. package/extractions/jobirl.com/DESIGN.md +1160 -0
  32. package/extractions/jobirl.com/tokens.json +139 -0
  33. package/extractions/life360.com/DESIGN.md +1133 -0
  34. package/extractions/life360.com/tokens.json +491 -0
  35. package/extractions/lifesum.com/DESIGN.md +965 -0
  36. package/extractions/lifesum.com/tokens.json +170 -0
  37. package/extractions/linear.app/DESIGN.md +1301 -0
  38. package/extractions/linear.app/tokens.json +732 -0
  39. package/extractions/mavoie.org/DESIGN.md +1148 -0
  40. package/extractions/mavoie.org/tokens.json +128 -0
  41. package/extractions/miro.com/DESIGN.md +1237 -0
  42. package/extractions/miro.com/tokens.json +401 -0
  43. package/extractions/notion.so/DESIGN.md +1319 -0
  44. package/extractions/notion.so/tokens.json +906 -0
  45. package/extractions/onetonline.org/DESIGN.md +909 -0
  46. package/extractions/onetonline.org/tokens.json +280 -0
  47. package/extractions/posthog.com/DESIGN.md +1024 -0
  48. package/extractions/posthog.com/tokens.json +197 -0
  49. package/extractions/revolut.com/DESIGN.md +1080 -0
  50. package/extractions/revolut.com/tokens.json +401 -0
  51. package/extractions/stripe.com/DESIGN.md +1272 -0
  52. package/extractions/stripe.com/tokens.json +794 -0
  53. package/extractions/switchcollective.com/DESIGN.md +1040 -0
  54. package/extractions/switchcollective.com/tokens.json +98 -0
  55. package/extractions/truity.com/DESIGN.md +970 -0
  56. package/extractions/truity.com/tokens.json +166 -0
  57. package/extractions/uniquekicks.be/DESIGN.md +1171 -0
  58. package/extractions/uniquekicks.be/tokens.json +237 -0
  59. package/package.json +122 -0
  60. package/scripts/analyze.ts +281 -0
  61. package/scripts/bank-register.ts +379 -0
  62. package/scripts/bank.ts +374 -0
  63. package/scripts/browser-stealth.ts +189 -0
  64. package/scripts/clone.ts +198 -0
  65. package/scripts/compare-vs-gd-final.ts +273 -0
  66. package/scripts/compare-vs-gd.ts +269 -0
  67. package/scripts/compare.ts +405 -0
  68. package/scripts/deploy-site.ts +181 -0
  69. package/scripts/diff-snapshots.ts +340 -0
  70. package/scripts/enrich-catalog.ts +212 -0
  71. package/scripts/extract.ts +2038 -0
  72. package/scripts/extractors/advanced.ts +524 -0
  73. package/scripts/extractors/widgets.ts +711 -0
  74. package/scripts/generate-design-md.ts +5775 -0
  75. package/scripts/generate-final-pdf.ts +274 -0
  76. package/scripts/generate-og-image.ts +87 -0
  77. package/scripts/generate-showcase.ts +1588 -0
  78. package/scripts/generate-site.ts +847 -0
  79. package/scripts/mass-extract.sh +91 -0
  80. package/scripts/post-process-all.sh +55 -0
  81. package/scripts/regen-catalog.ts +203 -0
  82. package/scripts/shared/cache.ts +149 -0
  83. package/scripts/shared/css-helpers.ts +263 -0
  84. package/scripts/shared/logger.ts +57 -0
  85. package/scripts/shared/named-colors.ts +355 -0
  86. package/scripts/shared/types.ts +220 -0
  87. package/scripts/sync-catalog.ts +105 -0
  88. package/scripts/tokenize.ts +988 -0
  89. package/templates/layout-template.md +52 -0
  90. package/templates/tokens-template.json +34 -0
@@ -0,0 +1,1146 @@
1
+ ---
2
+ version: alpha
3
+ name: hello-charly.com
4
+ description: "Light product system built on #ffffff with #ffec36 as the primary CTA accent. Type anchored in fieldwork at 79.92px / weight 700. Extracted automatically from https://hello-charly.com/ — rendered styles via getComputedStyle() + CSS custom properties (token-only values may not be painted)."
5
+ narrative: |
6
+ hello-charly.com is built on a pure-white canvas (rgb(255, 255, 255)).
7
+ The system uses rgb(255, 236, 54) as the high-saturation accent for primary actions.
8
+ Generously rounded CTAs (50%) suggest approachable, content-first design alongside fieldwork as the primary typeface.
9
+ A restrained elevation system (1 distinct shadow) — shadows reserved for the few elements that must lift off the page.
10
+ Motion is a first-class concern — 8 keyframe animations plus transition-driven interactions.
11
+
12
+ colors:
13
+ background: "#ffffff"
14
+ surface-1: "#f9f9f9"
15
+ surface-2: "#f8f9fa"
16
+ ink-subtle: "#6c757d"
17
+ primary: "#ffec36"
18
+ on-primary: "#111111"
19
+ primary-hover: "#6affec"
20
+ hairline: "#808080"
21
+ primary-focus: "rgba(13, 110, 253, 0.25)"
22
+ semantic-error: "#dc3545"
23
+ semantic-success: "#198754"
24
+ semantic-warning: "#ffc107"
25
+ semantic-info: "#0dcaf0"
26
+
27
+ typography:
28
+ display-xl:
29
+ fontFamily: "fieldwork"
30
+ fontSize: 72px
31
+ fontWeight: 800
32
+ lineHeight: 1.2
33
+ letterSpacing: 0
34
+ display-md:
35
+ fontFamily: "fieldwork"
36
+ fontSize: 29.952px
37
+ fontWeight: 600
38
+ lineHeight: 1.4
39
+ letterSpacing: 0
40
+ body:
41
+ fontFamily: "fieldwork"
42
+ fontSize: 18.2px
43
+ fontWeight: 400
44
+ lineHeight: 1.6
45
+ letterSpacing: 0
46
+ body-sm:
47
+ fontFamily: "fieldwork"
48
+ fontSize: 14px
49
+ fontWeight: 400
50
+ lineHeight: 1.6
51
+ letterSpacing: 0
52
+ caption:
53
+ fontFamily: "fieldwork"
54
+ fontSize: 16.38px
55
+ fontWeight: 600
56
+ lineHeight: 1.2
57
+ letterSpacing: 0
58
+ button:
59
+ fontFamily: "fieldwork"
60
+ fontSize: 18.2px
61
+ fontWeight: 700
62
+ lineHeight: 1.6
63
+ letterSpacing: 0
64
+
65
+ rounded:
66
+ none: 0px
67
+ xs: 9.1px
68
+ sm: 9.1px
69
+ md: 18.2px
70
+ lg: 20px
71
+ xl: 36.4px
72
+ pill: 9999px
73
+
74
+ spacing:
75
+ xxs: 2px
76
+ xs: 7px
77
+ sm: 18px
78
+ md: 25px
79
+ lg: 29px
80
+ xl: 44px
81
+ xxl: 55px
82
+ section: 80px
83
+
84
+ components:
85
+ button-outline:
86
+ backgroundColor: "transparent"
87
+ textColor: "#000000"
88
+ typography: "{typography.body}"
89
+ rounded: "{rounded.xs}"
90
+ padding: 5.46px 36.4px 7.28px 18.2px
91
+ card-standard-card:
92
+ backgroundColor: "transparent"
93
+ typography: "{typography.caption}"
94
+ rounded: "{rounded.md}"
95
+ padding: 27.3px
96
+ cta-banner-full-width-cta:
97
+ backgroundColor: "transparent"
98
+ textColor: "#000000"
99
+ typography: "{typography.body}"
100
+ rounded: "{rounded.none}"
101
+ padding: 0px 50.76px
102
+ status-badge-neutral-light:
103
+ backgroundColor: "{colors.primary}"
104
+ textColor: "#000000"
105
+ typography: "{typography.body}"
106
+ rounded: "{rounded.xl}"
107
+ padding: 18.2px 36.4px
108
+ status-badge-tinted:
109
+ backgroundColor: "#a1f816"
110
+ textColor: "#000000"
111
+ typography: "{typography.body}"
112
+ rounded: "{rounded.xl}"
113
+ padding: 18.2px 36.4px
114
+ status-badge-neutral-light-2:
115
+ backgroundColor: "{colors.primary-hover}"
116
+ textColor: "#000000"
117
+ typography: "{typography.body}"
118
+ rounded: "{rounded.xl}"
119
+ padding: 18.2px 36.4px
120
+
121
+ extracted_at: "2026-06-02T00:52:25.945Z"
122
+ completeness: 78
123
+ scoreVersion: "v2"
124
+
125
+ ---
126
+
127
+ # Design System — hello-charly.com
128
+ > Extracted automatically by Prism from https://hello-charly.com/quel-metier-est-fait-pour-moi/
129
+ > Date: 2026-06-02
130
+ > Viewport: Desktop 1440x900 + Mobile 390x844
131
+ > Values are extracted, not hand-written: rendered styles via getComputedStyle() + colors declared in CSS custom properties (token-only values are marked `(token)` and may not be painted).
132
+
133
+
134
+ ## 0. Design DNA
135
+
136
+ **Density**: moderate  |  **Motion**: subtle  |  **Weight**: light  |  **Aesthetic**: product-neutral
137
+
138
+ | Dimension | Value | Signal |
139
+ |---|---|---|
140
+ | Canvas | neutral | `#ffffff` |
141
+ | Type posture | sans-led (fieldwork) | "Je découvre le métier fait pou" |
142
+ | Color assertion | dual-accent | #ffec36 |
143
+ | Whitespace | moderate | section rhythm 46px |
144
+ | Interaction | subtle | 8 keyframes, 20 transitions |
145
+ | Radius language | 9.1px-rounded | from token scale |
146
+
147
+ **Prism fingerprint**: `neutral-canvas · sans-display · dual-accent · 9.1px-rounded · subtle-motion`
148
+
149
+ > **🤖 TL;DR for AI agents** (read this first — saves you scanning the full doc):
150
+ >
151
+ > - **Canvas**: `rgb(255, 255, 255)` is the page background. Every component composits against this.
152
+ > - **Accent**: `rgb(255, 236, 54)` for primary CTAs ONLY. Never decorative.
153
+ > - **Body type**: 16px (token: `typography.body`). Default for ALL text not in a heading role.
154
+ > - **Section rhythm**: 46px between major bands. Card padding: 29px.
155
+ > - **Default radius**: 9.1px on buttons/inputs. Pills (`9999px`) only for icon-buttons or status chips.
156
+ >
157
+ > **Before generating UI**: import this DESIGN.md, scan §2 (Color Palette) + §4 (Components) + §10 (Agent Guide). Skip §11–12 unless extending.
158
+
159
+ ## 1. Visual Theme & Atmosphere
160
+
161
+ hello-charly.com uses a pure-white canvas (`#ffffff`), letting typography, color and imagery carry the visual weight.
162
+
163
+ Typography is anchored in **fieldwork**. Headlines use weight 800 for confident, assertive presence — the brand wants to be heard.
164
+
165
+ Body text reads in Line (`#000000`) (contrast ratio 21.0:1, well above WCAG AA). **Yellow** (`#ffec36`) is the single high-saturation color in the system — it earns its presence only on interactive elements, making CTAs and links the unmistakable focal points against the otherwise neutral palette. Elevation is built from multi-layer shadow stacks — each level combines several blurred layers at varying offsets to simulate how light falls on stacked surfaces.
166
+
167
+
168
+ **Key Characteristics:**
169
+ - Background: White (`#ffffff`)
170
+ - Primary typeface: fieldwork
171
+ - Accent: Yellow (`#ffec36`)
172
+ - Display: 72px weight 800
173
+ - Shadow system: 1 distinct elevation levels
174
+ - Custom fonts loaded: fieldwork, fieldwork-hum
175
+
176
+ ## 2. Color Palette & Roles
177
+
178
+ ### Background & Surface
179
+ - **White** (`#ffffff`): Page background (primary)
180
+ - **Off-White** (`#f9f9f9`): Surface / elevated background
181
+ - **Off-White** (`#f8f9fa`): Surface / elevated background
182
+ - **Vibrant Yellow** (`#fcf6af`): Surface / elevated background
183
+ - **#dffb9f** (`#dffb9f`): Surface / elevated background
184
+
185
+ ### Text & Content
186
+ - **Line** (`#000000`): Primary body text
187
+ - **Near Black** (`#171717`): Secondary text
188
+
189
+ ### Accent & Interactive
190
+ - **Yellow** (`#ffec36`): Accent / interactive (CSS var)
191
+ - **Blue** (`#6affec`): Interactive / accent
192
+ - **Green** (`#a1f816`): Interactive / accent
193
+ - **Vermillion** (`#ea4335`): Interactive / accent
194
+ - **Ring Blue** (`#4285f4`): Interactive / accent
195
+ - **Success Green** (`#34a853`): Interactive / accent
196
+ - **Orange** (`#ffa426`): Interactive / accent
197
+
198
+ ### Full Extracted Palette
199
+ **18 colors rendered on the page** + **60** more declared in design tokens (CSS custom properties — not necessarily painted). (14 categorized above + 64 additional below.)
200
+ Rendered values are read via `getComputedStyle()`; token values come from CSS variable declarations. Third-party logo colors are filtered out.
201
+
202
+ - `#808080` — Grey
203
+ - `#cefefa` — #cefefa
204
+ - `#a6a6a6` — Cool Gray
205
+ - `#efefef` — Light Gray
206
+ - `#fd7e14` — #fd7e14 *(token)*
207
+ - `#7adcb4` — #7adcb4 *(token)*
208
+ - `#00d082` — Emerald *(token)*
209
+ - `#198754` — Teal *(token)*
210
+ - `#9b51e0` — Amethyst *(token)*
211
+ - `#ffceec` — Soft Pink *(token)*
212
+ - `#9896f0` — #9896f0 *(token)*
213
+ - `#d63384` — Cherry *(token)*
214
+ - `#0d6efd` — #0d6efd *(token)*
215
+ - `#caf880` — #caf880 *(token)*
216
+ - `#71ce7e` — #71ce7e *(token)*
217
+ - `#fecda5` — Pink *(token)*
218
+ - `#fe2d2d` — M Tricolor Red *(token)*
219
+ - `#6b003e` — #6b003e *(token)*
220
+ - `#0dcaf0` — #0dcaf0 *(token)*
221
+ - `#6f42c1` — Slate Blue *(token)*
222
+ - `#495057` — Slate *(token)*
223
+ - `#ced4da` — Light Blue *(token)*
224
+ - `#ff6900` — Bright Orange *(token)*
225
+ - `#007aff` — #007aff *(token)*
226
+ - `#0693e3` — Sky Bright *(token)*
227
+ - `#dc3545` — Vermillion *(token)*
228
+ - `#6c757d` — Slate Gray *(token)*
229
+ - `#fffef5` — Cream *(token)*
230
+ - `#212529` — Warm Brown *(token)*
231
+ - `#8ed1fc` — Baby Blue *(token)*
232
+ - `#0a3621` — Warm Brown *(token)*
233
+ - `#adb5bd` — Silver *(token)*
234
+ - *…+32 more in `raw-css.json` (`desktop.allColors`).*
235
+
236
+ ### Gradients & Decorative Fills
237
+
238
+ - `linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)` — (--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan)
239
+ - `linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)` — (--wp--preset--gradient--blush-light-purple)
240
+ - `linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)` — (--wp--preset--gradient--electric-grass)
241
+ - `linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)` — (--wp--preset--gradient--blush-bordeaux)
242
+ - `linear-gradient(135deg,rgb(6,147,227) 0%,rgb(155,81,224) 100%)` — (--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple)
243
+ - `linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0))` — (--bs-gradient)
244
+ - `linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)` — (--wp--preset--gradient--luminous-dusk)
245
+ - `linear-gradient(135deg,rgb(252,185,0) 0%,rgb(255,105,0) 100%)` — (--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange)
246
+
247
+ ### CSS Custom Properties (Design Tokens)
248
+
249
+ **Font Size Token**
250
+ - `--wp--preset--font-size--large`: `36px`
251
+ - `--wp--preset--font-size--medium`: `20px`
252
+ - `--heading-large-font-size`: `clamp(36px, 4.17vw, 84px)`
253
+ - `--heading-xl-font-size`: `clamp(36px, 5.55vw, 108px)`
254
+
255
+ **Shadow Token**
256
+ - `--wp--preset--shadow--outlined`: `6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0)`
257
+ - `--wp--preset--shadow--deep`: `12px 12px 50px rgba(0, 0, 0, 0.4)`
258
+ - `--bs-box-shadow`: `0 0.5rem 1rem rgba(0, 0, 0, 0.15)`
259
+ - `--bs-box-shadow-inset`: `inset 0 1px 2px rgba(0, 0, 0, 0.075)`
260
+
261
+ **Font Weight Token**
262
+ - `--bs-body-font-weight`: `400`
263
+
264
+ **Border Radius Token**
265
+ - `--bs-border-radius-2xl`: `2rem`
266
+ - `--image-border-radius`: `20px`
267
+ - `--bs-border-radius-sm`: `0.25rem`
268
+ - `--bs-border-radius`: `0.375rem`
269
+
270
+ **Spacing Token**
271
+ - `--wp--preset--spacing--40`: `1rem`
272
+ - `--wp--preset--spacing--30`: `0.67rem`
273
+ - `--wp--preset--spacing--50`: `1.5rem`
274
+ - `--wp--preset--spacing--80`: `5.06rem`
275
+
276
+ **Success**
277
+ - `--color-green`: `#a1f816`
278
+
279
+ **Warning**
280
+ - `--color-yellow`: `#ffec36`
281
+ - `--color-yellow-alt`: `#FFF598`
282
+
283
+ **Other tokens**
284
+ - `--bs-link-hover-color-rgb`: `10, 88, 202`
285
+ - `--bs-warning-bg-subtle`: `rgb(255, 242.6, 205.4)`
286
+ - `--wp--preset--color--vivid-purple`: `#9b51e0`
287
+ - `--bs-danger-text-emphasis`: `rgb(88, 21.2, 27.6)`
288
+ - `--bs-info-text-emphasis`: `rgb(5.2, 80.8, 96)`
289
+ - `--bs-code-color`: `#d63384`
290
+ - `--bs-primary`: `#0d6efd`
291
+ - `--bs-light-bg-subtle`: `rgb(251.5, 252, 252.5)`
292
+
293
+ ## 3. Typography Rules
294
+
295
+ ### Font Families
296
+ - **Primary**: `fieldwork`
297
+ - **Secondary**: `fieldwork-hum`
298
+ - **Font 3**: `swiper-icons`
299
+
300
+ ### Custom Fonts Loaded
301
+ - **fieldwork** weight 400 (normal)
302
+ - **fieldwork** weight 600 (italic)
303
+ - **fieldwork** weight 700 (normal)
304
+ - **fieldwork** weight 800 (italic)
305
+ - **fieldwork-hum** weight 600 (normal)
306
+ - **fieldwork-hum** weight 700 (normal)
307
+ - **swiper-icons** weight 400 (normal)
308
+
309
+ ### Typography Hierarchy
310
+
311
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
312
+ |------|------|------|--------|-------------|----------------|-------|
313
+ | Display Hero | fieldwork | 72px | 800 | 1.2 | normal | Main headline (h1) |
314
+ | Sub-heading | fieldwork | 29.952px | 600 | 1.4 | normal | Third-level heading (h3) |
315
+ | Card Title | fieldwork | 18.2px | 400 | 1.6 | normal | Card headings |
316
+ | Button Large | fieldwork | 18.2px | 700 | 1.6 | normal | Button label (18.2px) |
317
+ | Caption / Badge | fieldwork | 16.38px | 600 | 1.2 | normal | small text (16.38px) |
318
+ | Button | fieldwork | 14.56px | 400 | 1.6 | normal | Button label (14.56px) |
319
+ | Link | fieldwork | 14px | 400 | 1.6 | normal | Link (14px) — Decoration: none |
320
+
321
+ ### Full Font Size Scale
322
+
323
+ Sizes detected in the design (descending): `79.92px`, `72px`, `49.97px`, `40.04px`, `29.95px`, `21.84px`, `20.02px`, `18.20px`, `16.38px`, `14.56px`, `14px`
324
+
325
+ > 5 size(s) detected outside the sampled hierarchy (79.92px, 49.968px, 40.04px, 21.84px, 20.02px). These appear on elements not in the sampled set — likely additional display sizes, marketing-section overrides, or third-party-widget styles.
326
+
327
+ ## 4. Component Stylings
328
+
329
+ ### Buttons
330
+
331
+ **Outline**
332
+ - Background: `transparent`
333
+ - Text: `#000000`
334
+ - Padding: 5.46px 36.4px 7.28px 18.2px
335
+ - Radius: 6px 6px 45.5px / 6px 6px 100%
336
+ - Border: 3px solid rgb(0, 0, 0)
337
+ - Font: 18.2px weight 700
338
+ - Use: Secondary action with border
339
+ - Focus: outline: `rgb(16, 16, 16) auto 1px`
340
+
341
+ ### Cards & Containers
342
+
343
+ **Standard Card**
344
+ - Background: `transparent`
345
+ - Padding: 27.3px
346
+ - Radius: 18.2px
347
+ - Use: Content containers, listing items
348
+
349
+ ### CTA Banners
350
+
351
+ **Full-width CTA**
352
+ - Background: `transparent`
353
+ - Text: `#000000`
354
+ - Padding: 0px 50.76px
355
+ - Radius: 0px
356
+ - Font: 18.2px weight 400
357
+ - Use: Full-width conversion strip with headline + button
358
+ - Focus: outline: `rgb(16, 16, 16) auto 1px`
359
+
360
+ ### Status Badges
361
+
362
+ **Neutral Light**
363
+ - Background: `#ffec36` `{colors.primary}`
364
+ - Text: `#000000`
365
+ - Padding: 18.2px 36.4px
366
+ - Radius: 500px
367
+ - Font: 20.02px weight 700
368
+ - Use: Status indicator, label, pill
369
+
370
+ **Tinted**
371
+ - Background: `#a1f816`
372
+ - Text: `#000000`
373
+ - Padding: 18.2px 36.4px
374
+ - Radius: 500px
375
+ - Font: 20.02px weight 700
376
+ - Use: Status indicator, label, pill
377
+
378
+ **Neutral Light**
379
+ - Background: `#6affec` `{colors.primary-hover}`
380
+ - Text: `#000000`
381
+ - Padding: 18.2px 36.4px
382
+ - Radius: 500px
383
+ - Font: 20.02px weight 700
384
+ - Use: Status indicator, label, pill
385
+
386
+
387
+ ## 4b. Component Behaviors (State Matrix)
388
+
389
+ ### Interaction State Narrative
390
+
391
+
392
+ *State transitions extracted via Playwright simulation — exact values in the YAML matrix below.*
393
+
394
+ ```yaml
395
+ component-behaviors:
396
+ button:
397
+ default:
398
+ bg: "rgba(0, 0, 0, 0)"
399
+ fg: "rgb(255, 255, 255)"
400
+ focus:
401
+ bg: "rgba(0, 0, 0, 0)"
402
+ fg: "rgb(255, 255, 255)"
403
+ link:
404
+ default:
405
+ bg: "rgba(0, 0, 0, 0)"
406
+ fg: "rgb(255, 255, 255)"
407
+ card:
408
+ default:
409
+ bg: "rgba(0, 0, 0, 0)"
410
+ fg: "rgb(0, 0, 0)"
411
+ navLink:
412
+ default:
413
+ bg: "rgba(0, 0, 0, 0)"
414
+ fg: "rgb(255, 255, 255)"
415
+ footerLink:
416
+ default:
417
+ bg: "rgba(0, 0, 0, 0)"
418
+ fg: "rgb(0, 0, 0)"
419
+ ```
420
+
421
+ **Agent usage**: Validate generated components against this matrix. If your output's `:hover` state changes properties not listed here, you are off-brand.
422
+
423
+
424
+ ## 4c. Component Vocabulary (Closed System)
425
+
426
+ *This brand uses ONLY the following component vocabulary. Introducing new variants without justification breaks the system's tonal coherence.*
427
+
428
+ ### Buttons
429
+ - **1 shape(s)** in this system: `Outline`
430
+ - **DO NOT introduce new buttons variants** without justification
431
+
432
+ ### Cards & Containers
433
+ - **1 shape(s)** in this system: `Standard Card`
434
+ - **DO NOT introduce new cards & containers variants** without justification
435
+
436
+ ### CTA Banners
437
+ - **1 shape(s)** in this system: `Full-width CTA`
438
+ - **DO NOT introduce new cta banners variants** without justification
439
+
440
+ ### Status Badges
441
+ - **2 shape(s)** in this system: `Neutral Light`, `Tinted`
442
+ - **DO NOT introduce new status badges variants** without justification
443
+
444
+ ## 5. Layout Principles
445
+
446
+ ### Layout Type
447
+ **top-nav + content**
448
+
449
+ ### Grid
450
+ Single column, centered content
451
+
452
+ ### Max Width
453
+ 1800px
454
+
455
+ ### Spacing System
456
+ Generous spacing — editorial breathing room
457
+
458
+ | Token | Value |
459
+ |-------|-------|
460
+ | xxs | 2px |
461
+ | xs | 7px |
462
+ | sm | 18px |
463
+ | md | 25px |
464
+ | base | 27px |
465
+ | lg | 29px |
466
+ | xl | 44px |
467
+ | 2xl | 46px |
468
+ | 3xl | 55px |
469
+
470
+ ### Border Radius Scale
471
+ | Name | Value | Use |
472
+ |------|-------|-----|
473
+ | None | 0px | No rounding |
474
+ | Xs | 9.1px | Tiny corners (badges, micro elements) |
475
+ | Sm | 9.1px | Buttons, inputs, small elements |
476
+ | Md | 18.2px | Cards, containers |
477
+ | Lg | 20px | Large rounded elements, pill segments |
478
+ | Xl | 36.4px | Category strips, featured containers |
479
+ | Full | 9999px | Pills, avatars, circular elements |
480
+
481
+ ### Shape Language
482
+
483
+ | Component | Border Radius |
484
+ |-----------|---------------|
485
+ | Buttons | `6px 6px 45.5px / 6px 6px 100%` |
486
+ | Cards & Containers | `18.2px` |
487
+ | CTA Banners | `0px` |
488
+ | Status Badges | `500px` |
489
+ | Page Body | `0px` |
490
+ | Navigation | `0px` |
491
+
492
+ **Shape Personality**: Sharp + Pill Contrast — Angular precision with pill-shaped accents (status badges, tags). Creates strong visual hierarchy.
493
+
494
+ **Full Radius Spectrum**: 0px, 6px, 9.1px, 18.2px, 20px, 36.4px, 500px (from `allBorderRadii` scan)
495
+
496
+
497
+ ## 5b. Spacing Rhythm Names
498
+
499
+ **Measured section rhythm**: bands use ~55px vertical padding (up to 102px) — **standard**. Reproduce this generous vertical breathing room; cramped spacing is the #1 tell of a cheap clone.
500
+
501
+ *Named spacing tokens with explicit use cases. Use these names in YOUR code instead of raw pixels for consistency.*
502
+
503
+ | Name | Value | Use case |
504
+ |------|-------|----------|
505
+ | **hero** | `55px` | Top/bottom of full-bleed hero sections |
506
+ | **section** | `44px` | Between major bands (color change, content shift) |
507
+ | **subsection** | `29px` | Within a section, between content groups |
508
+ | **card** | `25px` | Card padding, list-item spacing |
509
+ | **compact** | `18px` | Form fields, tight clusters, badge padding |
510
+ | **micro** | `7px` | Icon-text gap, tag inner padding |
511
+
512
+ **Agent rule**: NEVER hardcode raw pixel values for spacing in generated UI. Always reference these named tokens (`spacing-rhythm.section`, etc.).
513
+
514
+ ## 5c. Widget & Structure Library
515
+
516
+ Structural patterns extracted from the page DOM — these are the **blueprints** an agent should follow to reproduce the page architecture (not just CSS values).
517
+
518
+ **4/8 structural patterns detected.**
519
+
520
+ ### Hero Pattern
521
+
522
+ - **Composition:** centered — Centered composition — heading + subheading + CTAs stacked vertically, content centered horizontally. Common for SaaS marketing pages.
523
+ - **Viewport coverage:** 259px tall (not full-viewport)
524
+ - **Heading:** "Le meilleur test pour choisir son métier" — 72px left-aligned
525
+ - **CTAs:** none detected in hero (unusual — agent should verify)
526
+ - **Clone instruction:** Reproduce the **centered** layout. Use the heading font-size token at the documented size. No imagery needed for hero — text-driven.
527
+
528
+ ### Navigation Pattern
529
+
530
+ - **Position:** static (scrolls with page)
531
+ - **Layout:** unknown — Layout not classified
532
+ - **Height:** 22px
533
+ - **Logo:** ✗ absent
534
+ - **Nav links:** 1 primary items
535
+ - **CTAs in nav:** 0 (no buttons — links only)
536
+ - **Clone instruction:** Build a static unknown navigation. Link-only — no button styling needed.
537
+
538
+ ### Card Grid Pattern
539
+
540
+ - **Card count:** 13 cards detected
541
+ - **Columns (desktop):** 1-up grid
542
+ - **Card dimensions:** 1440×734px (aspect 1.96:1)
543
+ - **Gap:** 0px between cards
544
+ - **Content:** ✗ no image
545
+ - **Clone instruction:** Build a 1-column grid (desktop) with cards at ~1.96:1 aspect ratio. Text/icon-only cards (no photography).
546
+
547
+ ### Footer Pattern
548
+
549
+ - **Columns:** 2
550
+ - **Links:** 11 total
551
+ - **Height:** 687px
552
+ - **Includes:** ✗ no newsletter | ✗ no social |
553
+ - **Clone instruction:** Build a 2-column footer with ~6 links per column.
554
+
555
+ ## 6. Depth & Elevation
556
+
557
+ | Level | Treatment | Use |
558
+ |-------|-----------|-----|
559
+ | Flat (Level 0) | No shadow | Page background, content blocks |
560
+ | Layered (Level 1) | <br>`rgba(0, 0, 0, 0.3) 1px 1px 1px 0px` | Cards, elevated surfaces |
561
+
562
+ **Shadow Philosophy**: Multi-layered shadow system creating natural, atmospheric depth. Each shadow level combines multiple layers for realistic elevation.
563
+
564
+ ## 7. Motion & Interaction
565
+
566
+ ### Duration Scale
567
+
568
+ | Value | Tier | Typical Use |
569
+ |-------|------|-------------|
570
+ | `50ms` | Instant | State toggles, instant feedback |
571
+ | `100ms` | Fast | Hover states, micro-interactions |
572
+ | `150ms` | Fast | Hover states, micro-interactions |
573
+ | `300ms` | Normal | Panel open/close, navigation |
574
+ | `400ms` | Slow | Hero animations, page transitions |
575
+ | `500ms` | Slow | Hero animations, page transitions |
576
+
577
+ ### Copy-Paste Transition Snippets
578
+
579
+ **Opacity**
580
+ ```css
581
+ transition: opacity 0.3s, transform 0.3s, -webkit-transform 0.3s;
582
+ ```
583
+
584
+ **Opacity**
585
+ ```css
586
+ transition: opacity 0.3s;
587
+ ```
588
+
589
+ **All Props**
590
+ ```css
591
+ transition: background-size 0.3s;
592
+ ```
593
+
594
+ **Opacity**
595
+ ```css
596
+ transition: opacity 0.15s;
597
+ ```
598
+
599
+ ### Keyframe Animation Catalog
600
+
601
+ | Animation Name | Type | Animated Props | Use Hint |
602
+ |----------------|------|----------------|----------|
603
+ | `fadeUp` | Slide | transform | UI transition |
604
+ | `pulse` | Fade + Move | transform, opacity | Attention / status |
605
+ | `MoveUpInitial` | Slide | transform | UI transition |
606
+ | `MoveUpEnd` | Slide | transform | UI transition |
607
+ | `moveDown` | Slide | transform | UI transition |
608
+ | `LinkHoverInitial` | Custom | background-size, background-position-x, background-position-y | UI transition |
609
+ | `LinkHoverEnd` | Custom | background-size, background-position-x, background-position-y | UI transition |
610
+ | `swiper-preloader-spin` | Rotate / Spin | transform | Loading indicator |
611
+
612
+ ### Motion Fingerprint
613
+
614
+ - **Speed Character**: Deliberate & Calm (median duration: `300ms`)
615
+ - **Dominant Easing**: standard CSS easings
616
+ - **Animation Library**: 8 unique animations (8 total including variants)
617
+
618
+ > This design moves with deliberate & calm timing using standard CSS easings, creating a UI that feels calm and controlled.
619
+
620
+ ## 8. Do's and Don'ts
621
+
622
+ ### Do
623
+ - Use Arial as the primary typeface — it defines the brand personality
624
+ - Use the extracted shadow patterns for elevation — they are tuned to match the brand palette
625
+ - Use Yellow (`#ffec36`) as the primary accent — it's the brand's signature interactive color
626
+ - Use 6px 6px 45.5px / 6px 6px 100% border-radius on buttons — the standard corner rounding for interactive elements
627
+ - Apply 27.3px padding inside cards — matches the design system's content breathing room
628
+ - Use 18.2px border-radius on cards — consistent with the grid card corners
629
+ - Keep the hero centered and text-driven — no decorative media, typography carries the message
630
+
631
+ ### Don't
632
+ - Don't substitute with generic sans-serif or serif — the custom font carries the brand
633
+ - Don't invent new shadow values — use only the extracted shadow levels
634
+ - Don't introduce additional saturated accent colors — the palette is intentionally controlled
635
+ - Don't add hero illustrations or photos — they'll break the typographic restraint
636
+ - Don't make the nav sticky — this design lets it scroll away to maximize content focus
637
+ - Don't put a CTA button in the nav — this design uses links only at the top
638
+ - Don't over-build the footer — this design keeps it minimal (2 cols, 11 links)
639
+
640
+
641
+ ## 7b. Enforceable Brand Rules
642
+
643
+ *Structured Do/Don't with reasoning and validation tests. Agents can programmatically verify generated UI.*
644
+
645
+ ```yaml
646
+ rules:
647
+ - id: brand-canvas-001
648
+ type: do
649
+ rule: "Always use the page background `rgb(255, 255, 255)` as the base canvas"
650
+ why: "Every component is designed to composit against this exact tone"
651
+ test: "document.body.style.backgroundColor === 'rgb(255, 255, 255)'"
652
+ - id: brand-accent-001
653
+ type: do
654
+ rule: "Reserve `rgb(255, 236, 54)` for primary CTAs and brand-mark signals only"
655
+ why: "Single chromatic assertion device — overuse dilutes meaning"
656
+ test: "querySelectorAll('[style*=\"rgb(255, 236, 54)\"]').length <= 3 per fold"
657
+ ```
658
+
659
+ ## 9. Responsive Behavior
660
+
661
+ ### Breakpoints
662
+ | Name | Width | Key Changes |
663
+ |------|-------|-------------|
664
+ | Mobile | 436px | Single column, compact spacing |
665
+ | Mobile Large | 576px | Expanded mobile layout |
666
+ | Tablet | 768px | Multi-column grids begin |
667
+ | Tablet | 992px | Multi-column grids begin |
668
+ | Desktop | 1200px | Full feature layout |
669
+ | Large Desktop | 1400px | Maximum content width |
670
+
671
+ ### Token Diff — Desktop vs Mobile
672
+
673
+ | Element | Property | Desktop | Mobile |
674
+ |---------|----------|---------|--------|
675
+ | heading | font-size | `72px` | `32px` |
676
+ | heading | font-weight | `800` | `700` |
677
+ | heading | line-height | `86.4px` | `38.4px` |
678
+ | body | font-size | `18.2px` | `14px` |
679
+ | body | line-height | `29.12px` | `22.4px` |
680
+ | nav | display | `flex` | `block` |
681
+ | nav | height | `22.3906px` | `383.5px` |
682
+ | button | font-size | `14.56px` | `19.6px` |
683
+ | button | width | `74.9062px` | `98.0781px` |
684
+ | card | padding | `27.3px` | `21px` |
685
+ | card | border-radius | `18.2px` | `14px` |
686
+ | card | width | `432px` | `253.5px` |
687
+
688
+ ### Collapsing Strategy
689
+ - Headlines: 72px → 32px on mobile
690
+ - Navigation: flex → block on mobile
691
+ - Cards: multi-column → stacked vertical on mobile
692
+ - Footer: multi-column → stacked single column on mobile
693
+
694
+ ### Touch Targets
695
+ - Buttons: 0px padding
696
+ - Navigation: adequate spacing between items
697
+ - Interactive elements: minimum 44px touch target recommended
698
+
699
+ ### Collapsing Narrative
700
+
701
+ How the structural patterns adapt from desktop to mobile (extracted from both viewport extractions):
702
+
703
+ - **Footer columns collapse:** 2 columns (desktop) → 1 column (mobile).
704
+
705
+
706
+ ## 7c. Visual Effects & Dynamic Behavior
707
+
708
+ *The live/dynamic layer beyond static CSS — reproduce these, not flat substitutes. This is often what separates a faithful clone from a wireframe.*
709
+
710
+ - **Clip-path shapes** — 1 non-rectangular cut(s).
711
+
712
+ > **Motion fingerprint**: non-rectangular shapes (1)
713
+
714
+ ## 9b. Visual Tone & Photography
715
+
716
+ **Tone:** Illustration-driven
717
+
718
+ The site relies primarily on illustrations, vector art, and decorative SVG elements rather than photography. Use commissioned illustrations, icon sets, or generated graphics for clones — stock photos will feel off-brand.
719
+
720
+ **Hero Image (above-fold dominant visual):**
721
+ - Aspect: 1.5:1 (landscape)
722
+ - Rendered size: 464×310px
723
+ - *Use this aspect ratio + composition for your clone's hero — mimicking the proportion preserves the visual hierarchy.*
724
+
725
+ **Aspect Ratio Distribution:**
726
+ - Landscape (1.15–2.3): 2 (8%)
727
+ - Portrait (<0.87): 3 (12%)
728
+ - Square (0.87–1.15): 21 (81%)
729
+
730
+ **Media Format Mix:**
731
+ - JPG: 4 (typically photographic content)
732
+ - PNG: 2 (logos, transparent UI elements, mockups)
733
+ - SVG: 21 (icons, illustrations, decorative geometry)
734
+
735
+ **Average rendered image size:** 165×181px
736
+ **Above-fold image count:** 1 / 26
737
+
738
+ **Decorative Patterns Detected:**
739
+ - 1 large decorative SVG shape (≥200×200px, non-icon) — likely blob/illustration accents
740
+
741
+ **Clone instruction for decorative work:** Decorative details are subtle — don't over-style; the design relies on restraint.
742
+
743
+ **Imagery Guidance for clones:**
744
+ - Use vector illustration as the primary visual language — photos will read as off-brand.
745
+ - Maintain consistent illustration style (line weight, color palette) across the site.
746
+
747
+ ## 10. Agent Prompt Guide
748
+
749
+ ### Quick Reference
750
+ - Background: White (`#ffffff`)
751
+ - Primary text: Line (`#000000`)
752
+ - Accent: Yellow (`#ffec36`)
753
+ - Border: Grey (`#808080`)
754
+ - Font: fieldwork
755
+ - Body: 18.2px weight 400
756
+
757
+ ### Example Component Prompts
758
+ - "Create a hero section on White background (#ffffff). Headline at 72px fieldwork weight 800, line-height 1.2, color #000000."
759
+ - "Create the primary CTA button: `#ffec36` background, `#ffffff` text, 9999px border-radius, 11px 22px padding, 700 weight, fieldwork font."
760
+ - "Design a card on `transparent` background. Border: none. Radius: 18.2px. Shadow: none. Padding: 27.3px."
761
+ - "Build navigation: static on `#ffffff`. fieldwork 14px weight 400 for links."
762
+
763
+ ### Iteration Guide
764
+ 1. **Canvas**: Set the light canvas to White (`#ffffff`) — every component is composited against this exact base.
765
+ 2. **Typography**: All type in fieldwork, weight range 400–800. Never exceed 800 — heavier weights break the brand's tonal restraint.
766
+ 3. **Accent**: Yellow (`#ffec36`) is the sole interactive color. On hover → Blue (`#6affec`). Use CSS transitions, not opacity/brightness filters.
767
+ 4. **Focus**: Render focus rings in Translucent #0d6efd (25%) (`rgba(13, 110, 253, 0.25)`) — never hide focus outlines. The ring color is distinct from the accent to avoid ambiguity.
768
+ 5. **Shape**: CTAs at `50%`, cards at `18.2px`. Apply border-radius from the extracted scale only — don't invent intermediate values.
769
+ 6. **Spacing**: Use the `--ca-space-*` token scale (7px–44px). All padding, margin, and gap values are multiples from this scale — no magic numbers.
770
+ 7. **Tokens**: Import from §11 CSS Export (`--ca-*` vars). Never hardcode hex values — always reference a token so theming remains consistent.
771
+
772
+ ## 11. CSS Design Tokens Raw Export
773
+
774
+ *Copy-paste ready `:root {}` block — all values extracted directly from the live site.*
775
+
776
+ ```css
777
+ /* Colors */
778
+ :root {
779
+ --ca-background: #ffffff;
780
+ --ca-surface-1: #f9f9f9;
781
+ --ca-surface-2: #f8f9fa;
782
+ --ca-ink-subtle: #6c757d;
783
+ --ca-primary: #ffec36;
784
+ --ca-on-primary: #111111;
785
+ --ca-primary-hover: #6affec;
786
+ --ca-hairline: #808080;
787
+ --ca-primary-focus: #0d6efd;
788
+ --ca-semantic-error: #dc3545;
789
+ --ca-semantic-success: #198754;
790
+ --ca-semantic-warning: #ffc107;
791
+ --ca-semantic-info: #0dcaf0;
792
+ }
793
+
794
+ /* Typography */
795
+ :root {
796
+ --ca-font-primary: "fieldwork", system-ui, sans-serif;
797
+ --ca-text-display: 72px;
798
+ --ca-text-body: 18.2px;
799
+ --ca-text-small: 14px;
800
+ --ca-text-caption: 16.38px;
801
+ --ca-text-button: 18.2px;
802
+ }
803
+
804
+ /* Spacing & Radius */
805
+ :root {
806
+ --ca-space-xxs: 2px;
807
+ --ca-space-xs: 7px;
808
+ --ca-space-sm: 18px;
809
+ --ca-space-md: 25px;
810
+ --ca-space-base: 27px;
811
+ --ca-space-lg: 29px;
812
+ --ca-space-xl: 44px;
813
+ --ca-space-2xl: 46px;
814
+ --ca-space-3xl: 55px;
815
+ --ca-radius-none: 0px;
816
+ --ca-radius-xs: 9.1px;
817
+ --ca-radius-sm: 9.1px;
818
+ --ca-radius-md: 18.2px;
819
+ --ca-radius-lg: 20px;
820
+ --ca-radius-xl: 36.4px;
821
+ --ca-radius-full: 9999px;
822
+ }
823
+ ```
824
+
825
+
826
+ ## 13. Page Structure Skeleton
827
+
828
+ *The actual layout the source site uses. Reproduce these sections in order to match the site structure.*
829
+
830
+ ```yaml
831
+ page-skeleton:
832
+ - section: feature-section
833
+ tag: section
834
+ classes: ["banner-default", "banner-default-version-1", "yellow"]
835
+ height: 874px
836
+ width: full-bleed
837
+ layout: flex-row justify=normal
838
+ children: 1
839
+ bg: "rgb(255, 255, 255)"
840
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
841
+ - section: feature-section
842
+ tag: div
843
+ classes: ["page-container"]
844
+ height: 7499px
845
+ width: full-bleed
846
+ layout: block
847
+ children: 13
848
+ tone: dark
849
+ vertical-padding: ~102px (airy)
850
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
851
+ - section: hero
852
+ tag: div
853
+ height: 900px
854
+ width: full-bleed
855
+ layout: block
856
+ children: 1
857
+ tone: dark
858
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
859
+ - section: header
860
+ tag: div
861
+ classes: ["header-mobile-container"]
862
+ height: 106px
863
+ width: 1367px
864
+ layout: block
865
+ children: 0
866
+ tone: dark
867
+ - section: header
868
+ tag: div
869
+ height: 106px
870
+ width: 1294px
871
+ layout: block
872
+ children: 0
873
+ tone: dark
874
+ - section: unknown
875
+ tag: div
876
+ classes: ["scroll-next-section"]
877
+ height: 146px
878
+ width: 490px
879
+ layout: flex-row justify=flex-end
880
+ children: 1
881
+ tone: dark
882
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
883
+ - section: feature-section
884
+ tag: div
885
+ classes: ["step-text-image-container", "image-right", "yellow"]
886
+ height: 876px
887
+ width: 1237px
888
+ layout: flex-row justify=normal
889
+ children: 2
890
+ bg: "rgb(249, 249, 249)"
891
+ vertical-padding: ~55px
892
+ padding: "54.6px"
893
+ - section: feature-section
894
+ tag: div
895
+ classes: ["step-text-image-container", "image-left", "blue"]
896
+ height: 672px
897
+ width: 1237px
898
+ layout: flex-row justify=normal
899
+ children: 2
900
+ bg: "rgb(249, 249, 249)"
901
+ vertical-padding: ~55px
902
+ padding: "54.6px"
903
+ - section: logo-strip
904
+ tag: div
905
+ classes: ["swiper-wrapper"]
906
+ height: 159px
907
+ width: 1237px
908
+ layout: flex-row justify=normal
909
+ children: 20
910
+ tone: dark
911
+ - section: header
912
+ tag: header
913
+ classes: ["slide-header"]
914
+ height: 105px
915
+ width: 277px
916
+ layout: block
917
+ children: 0
918
+ tone: dark
919
+ - section: header
920
+ tag: header
921
+ classes: ["slide-header"]
922
+ height: 105px
923
+ width: 277px
924
+ layout: block
925
+ children: 0
926
+ tone: dark
927
+ - section: header
928
+ tag: header
929
+ classes: ["slide-header"]
930
+ height: 105px
931
+ width: 277px
932
+ layout: block
933
+ children: 0
934
+ tone: dark
935
+ - section: header
936
+ tag: header
937
+ classes: ["slide-header"]
938
+ height: 105px
939
+ width: 277px
940
+ layout: block
941
+ children: 0
942
+ tone: dark
943
+ - section: unknown
944
+ tag: div
945
+ classes: ["marquee-container", "mousetrap-container", "py-4"]
946
+ height: 215px
947
+ width: full-bleed
948
+ layout: flex-row justify=normal
949
+ children: 4
950
+ bg: "rgb(255, 236, 54)"
951
+ vertical-padding: ~44px
952
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
953
+ padding: "43.68px 0px"
954
+ - section: feature-section
955
+ tag: div
956
+ classes: ["step-text-image-container", "image-right", "green"]
957
+ height: 917px
958
+ width: 1237px
959
+ layout: flex-row justify=normal
960
+ children: 2
961
+ bg: "rgb(249, 249, 249)"
962
+ vertical-padding: ~55px
963
+ padding: "54.6px"
964
+ - section: content-section
965
+ tag: div
966
+ classes: ["collapse-container"]
967
+ height: 779px
968
+ width: 604px
969
+ layout: block
970
+ children: 7
971
+ bg: "rgb(106, 255, 236)"
972
+ vertical-padding: ~55px
973
+ padding: "54.6px"
974
+ - section: feature-section
975
+ tag: div
976
+ classes: ["container-fluid-px-mw"]
977
+ height: 762px
978
+ width: 1339px
979
+ layout: block
980
+ children: 1
981
+ tone: dark
982
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
983
+ padding: "0px 7.28px"
984
+ - section: feature-section
985
+ tag: div
986
+ classes: ["yellow"]
987
+ height: 762px
988
+ width: 1324px
989
+ layout: block
990
+ children: 3
991
+ bg: "rgb(255, 236, 54)"
992
+ vertical-padding: ~102px (airy)
993
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
994
+ - section: footer
995
+ tag: footer
996
+ classes: ["footer-main"]
997
+ height: 687px
998
+ width: full-bleed
999
+ layout: block
1000
+ children: 2
1001
+ bg: "rgb(0, 0, 0)"
1002
+ tone: dark
1003
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
1004
+ - section: navigation
1005
+ tag: nav
1006
+ classes: ["nav-typewriter-body"]
1007
+ height: 306px
1008
+ width: 361px
1009
+ layout: block
1010
+ children: 1
1011
+ tone: dark
1012
+ vertical-padding: ~46px
1013
+ contains: chart/canvas (reproduce as live data-viz, not a flat image)
1014
+ padding: "72.8px 18.2px 18.2px"
1015
+ ```
1016
+
1017
+ **Agent rule**: rebuild sections in this order (sorted by vertical position). Match the layout primitive (grid N-col / flex direction / block).
1018
+
1019
+
1020
+ ## 14. Copy Library (Real Content from Source)
1021
+
1022
+ *Actual text content extracted from the live page. Use these strings verbatim when reproducing the site — they carry the brand voice.*
1023
+
1024
+ ```yaml
1025
+ copy:
1026
+ section-headings:
1027
+ - "QUEL MÉTIER EST FAIT POUR MOI ?"
1028
+ - "J’OBTIENS UNE LISTE DE 10 MÉTIERS QUI CORRESPONDENT À MON PROFIL"
1029
+ - "L’APPLICATION QUI PROPOSE LE MEILLEUR TEST POUR SAVOIR QUEL MÉTIER EST FAIT POUR TOI"
1030
+ sub-headings:
1031
+ - "Quelles sont les 3 étapes du test métier pour trouver le métier qui me correspond ?"
1032
+ - "Je fais le test métier Hello Charly"
1033
+ ctas:
1034
+ - "Découvrir"
1035
+ - "Faire le test"
1036
+ - "S'orienter"
1037
+ navigation:
1038
+ - "ACCUEIL"
1039
+ - "trouver mon métier"
1040
+ - "trouver ma formation"
1041
+ - "financer ma formation"
1042
+ - "Les formations"
1043
+ - "Les métiers"
1044
+ - "Sourcing candidat"
1045
+ - "Blog"
1046
+ - "CGU"
1047
+ - "RGPD"
1048
+ footer-links:
1049
+ - "trouver mon métier"
1050
+ - "Les formations"
1051
+ ```
1052
+
1053
+ **Agent rule**: reuse these exact strings when generating UI. Do NOT translate or rephrase — brand voice is preserved through the original wording.
1054
+
1055
+
1056
+ ## 15. Asset Inventory (Image Roles & Ratios)
1057
+
1058
+ *Image inventory classified by role and aspect ratio. When reproducing the site, allocate this number of assets per role.*
1059
+
1060
+ ```yaml
1061
+ assets:
1062
+ product:
1063
+ count: 1
1064
+ avg-ratio: 1.09
1065
+ common-aspect: "~1:1 square"
1066
+ editorial:
1067
+ count: 2
1068
+ avg-ratio: 0.58
1069
+ common-aspect: "~9:16 portrait"
1070
+ thumbnail:
1071
+ count: 20
1072
+ avg-ratio: 1.00
1073
+ common-aspect: "~1:1 square"
1074
+ ```
1075
+
1076
+ **Agent rule**: when generating placeholder images, match these counts and aspect ratios. Use neutral placeholder backgrounds for `product` (e.g. `#f5f5f5`), full-color photography hints for `hero` and `editorial`.
1077
+
1078
+
1079
+ ## 16. Component HTML Templates
1080
+
1081
+ *Suggested HTML markup for reproducing the key components — based on what was detected in the source DOM.*
1082
+
1083
+ ### Button (primary action)
1084
+ ```html
1085
+ <button class="btn btn-primary">
1086
+ Découvrir
1087
+ </button>
1088
+ ```
1089
+ _Source pattern detected: padding `0px` · radius `50%` · weight `400`_
1090
+
1091
+ ### Generic Card
1092
+ ```html
1093
+ <div class="card">
1094
+ <!-- content -->
1095
+ </div>
1096
+ ```
1097
+ _Source pattern detected: padding `27.3px` · radius `18.2px` · shadow `none`_
1098
+
1099
+ **Agent rule**: use these markup skeletons as the structural baseline. Apply tokens from §2-3 for visual styling.
1100
+
1101
+
1102
+ ## 12. Known Extraction Gaps
1103
+
1104
+ *Auto-detected limitations of this extraction — understand before building:*
1105
+
1106
+ - **Sparse component extraction** — fewer than 5 component types detected. Highly dynamic sections (modals, datepickers, carousels) require interaction to render and are not captured in a static pass.
1107
+
1108
+
1109
+ ---
1110
+ ## Extraction Completeness: 78/100 (B)
1111
+
1112
+ | Category | Score | Max | Detail |
1113
+ |----------|-------|-----|--------|
1114
+ | Colors & Palette | 19 | 25 | 14 named colors |
1115
+ | Typography | 18 | 20 | 7 roles defined |
1116
+ | Components | 16 | 20 | 4 specs extracted |
1117
+ | Motion & Interaction | 10 | 15 | Keyframes present |
1118
+ | CSS Custom Properties | 10 | 10 | 218 vars |
1119
+ | Responsive Breakpoints | 5 | 5 | 6 breakpoints |
1120
+ | Variable Fonts | 0 | 5 | None detected |
1121
+
1122
+ ## 12. Known Gaps & Confidence
1123
+
1124
+ Explicit list of what this extraction could NOT capture. Agents should not invent values for these — either skip the feature or use the documented baseline + heuristic fallback.
1125
+
1126
+ | Category | What's missing | Fallback strategy |
1127
+ |----------|----------------|-------------------|
1128
+ | **Form inputs** | No text input fields detected on this page | Use the documented border-radius + accent border on focus; 12-16px padding inside |
1129
+
1130
+ ### Per-section confidence
1131
+
1132
+ | Section | Confidence | Reason |
1133
+ |---------|------------|--------|
1134
+ | §1 Visual Theme | High | Body bg extracted via getComputedStyle() |
1135
+ | §2 Colors | High | 218 CSS vars (semantic naming requires ≥20 for high) |
1136
+ | §3 Typography | High | 7 typography roles inferred |
1137
+ | §4 Components | Medium | 4 component variants captured |
1138
+ | §7 Motion | High | Keyframes + transitions |
1139
+ | §8 Do's/Don'ts | High | 14 rules generated; design-decisions.json has evidence per rule |
1140
+ | §9 Responsive | High | 6 breakpoints detected |
1141
+ | §9b Photography | High | 26 images, hero present |
1142
+
1143
+ ---
1144
+ *Generated by Prism — automated Playwright extraction + design analysis.*
1145
+ *Source: https://hello-charly.com/quel-metier-est-fait-pour-moi/ | 2026-06-02T00:52:25.978Z*
1146
+ *Values extracted via getComputedStyle() (rendered) + CSS custom properties (tokens, marked `(token)`). Token-only values may not be painted — verify against the live site before shipping.*