@maboussoleaidant/design-system 0.1.39 → 0.1.41

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.
@@ -1,23 +1,33 @@
1
+
2
+ @layer theme, base, components, utilities;
1
3
  /**
2
4
  * MBA Design System
3
5
  *
4
6
  * Point d'entrée principal (sans Tailwind utilities)
5
7
  * Inclut: tokens + base + composants
6
8
  */
7
-
9
+ /**
10
+ * Ordre des cascade layers — DOIT rester la 1re règle du CSS compilé.
11
+ *
12
+ * Sans cette déclaration, les layers étaient ordonnés par ordre d'apparition
13
+ * (`components` puis `base`), ce qui faisait gagner le reset `base`
14
+ * (ex. `button { background-color: transparent }`, `a { … }`) sur les
15
+ * composants `.mba-*` de `@layer components` — y compris à l'intérieur d'un
16
+ * Shadow DOM qui importe ce fichier. En figeant l'ordre priorité croissante
17
+ * `theme < base < components < utilities`, les composants gagnent enfin sur
18
+ * le reset, comme attendu.
19
+ */
8
20
  /**
9
21
  * MBA Design System - Tokens
10
22
  *
11
23
  * Point d'entrée pour tous les design tokens
12
24
  */
13
-
14
25
  /**
15
26
  * MBA Design System - Couleurs
16
27
  *
17
28
  * Palette de couleurs extraite du Design System Figma
18
29
  * Préfixe: --mba-color-
19
30
  */
20
-
21
31
  :root {
22
32
  /* ===========================================
23
33
  BASICS
@@ -173,14 +183,12 @@
173
183
  /* Focus ring (accessibilité) */
174
184
  --mba-focus-ring: 0 0 0 3px rgba(112, 57, 115, 0.25);
175
185
  }
176
-
177
186
  /**
178
187
  * MBA Design System - Typographie
179
188
  *
180
189
  * Polices: Open Sans (textes) + Congenial (titres)
181
190
  * Source: Design System Figma
182
191
  */
183
-
184
192
  :root {
185
193
  /* ===========================================
186
194
  FAMILLES DE POLICES
@@ -229,12 +237,10 @@
229
237
  --mba-tracking-wider: 0.05em;
230
238
  --mba-tracking-widest: 0.1em;
231
239
  }
232
-
233
240
  /* ===========================================
234
241
  HEADING PRESETS (Congenial)
235
242
  Wrappé dans @layer components pour être overridable par utilities
236
243
  =========================================== */
237
-
238
244
  @layer components {
239
245
 
240
246
  /* XXL - 48px Bold */
@@ -338,16 +344,13 @@
338
344
  }
339
345
 
340
346
  }
341
-
342
347
  /* end @layer components */
343
-
344
348
  /**
345
349
  * MBA Design System - Espacements
346
350
  *
347
351
  * Échelle d'espacements extraite du Design System Figma
348
352
  * Préfixe: --mba-space-
349
353
  */
350
-
351
354
  :root {
352
355
  /* ===========================================
353
356
  ÉCHELLE FIGMA
@@ -371,15 +374,25 @@
371
374
  CONTAINER
372
375
  =========================================== */
373
376
  --mba-container-width: 70rem; /* 1120px */
374
- }
375
377
 
378
+ /* Gouttière latérale du conteneur de page.
379
+ Partagée par le header et le footer : leurs contenus
380
+ (logo en tête) restent alignés à toutes les largeurs
381
+ et ne se collent jamais au bord du viewport.
382
+ Valeur mobile par défaut, élargie à partir de md. */
383
+ --mba-container-gutter: 1rem; /* 16px */
384
+ }
385
+ @media (min-width: 768px) {
386
+ :root {
387
+ --mba-container-gutter: 5rem; /* 80px */
388
+ }
389
+ }
376
390
  /**
377
391
  * MBA Design System - Border Radius
378
392
  *
379
393
  * Échelle de rayons de bordure extraite du Design System Figma
380
394
  * Préfixe: --mba-radius-
381
395
  */
382
-
383
396
  :root {
384
397
  /* ===========================================
385
398
  ÉCHELLE FIGMA
@@ -398,7 +411,6 @@
398
411
  --mba-radius-none: 0;
399
412
  --mba-radius-full: 9999px;
400
413
  }
401
-
402
414
  /**
403
415
  * MBA Design System - Ombres (Elevation)
404
416
  *
@@ -406,7 +418,6 @@
406
418
  * Couleur de base: Grey 400 (#71717A / rgba(113, 113, 122))
407
419
  * Préfixe: --mba-shadow-
408
420
  */
409
-
410
421
  :root {
411
422
  /* ===========================================
412
423
  ÉCHELLE FIGMA (Elevation)
@@ -433,6 +444,22 @@
433
444
  0 2px 24px 0 rgba(113, 113, 122, 0.04),
434
445
  1px 2px 24px 0 rgba(113, 113, 122, 0.08);
435
446
 
447
+ /* ===========================================
448
+ OMBRES SÉMANTIQUES (teintées marque)
449
+ Hors échelle d'élévation : couleur de marque
450
+ et non Grey 400, une seule couche.
451
+ =========================================== */
452
+
453
+ /* Footer — style Figma « Footer aidant »
454
+ 0 -4px 8px 8px, Primary 500 (#703973) à 4 %
455
+ Offset Y négatif : le footer est ancré en bas
456
+ de page, son ombre remonte sur le contenu. */
457
+ --mba-shadow-footer: 0 -4px 8px 8px rgba(112, 57, 115, 0.04);
458
+
459
+ /* Footer variante Pro — même géométrie,
460
+ Primary Pro 500 (#395172) à 4 %. */
461
+ --mba-shadow-footer-pro: 0 -4px 8px 8px rgba(57, 81, 114, 0.04);
462
+
436
463
  /* ===========================================
437
464
  VALEURS UTILITAIRES
438
465
  =========================================== */
@@ -450,13 +477,11 @@
450
477
  --mba-input-ring-success: 0 0 0 1.5px var(--mba-color-success-100);
451
478
  --mba-input-ring-success-focus: 0 0 0 1.5px var(--mba-color-success-300);
452
479
  }
453
-
454
480
  /**
455
481
  * MBA Design System - Transitions
456
482
  *
457
483
  * Durées et easings pour les animations
458
484
  */
459
-
460
485
  :root {
461
486
  /* ===========================================
462
487
  DUREES
@@ -485,7 +510,6 @@
485
510
  --mba-transition-base: var(--mba-duration-200) var(--mba-ease-in-out);
486
511
  --mba-transition-slow: var(--mba-duration-300) var(--mba-ease-in-out);
487
512
  }
488
-
489
513
  /**
490
514
  * MBA Design System - Breakpoints
491
515
  *
@@ -496,7 +520,6 @@
496
520
  * Utiliser les classes Tailwind (sm:, md:, lg:, xl:, 2xl:)
497
521
  * ou les @media queries directement.
498
522
  */
499
-
500
523
  :root {
501
524
  /* Breakpoints pour référence (usage JS) */
502
525
  --mba-breakpoint-sm: 640px;
@@ -505,7 +528,6 @@
505
528
  --mba-breakpoint-xl: 1280px;
506
529
  --mba-breakpoint-2xl: 1536px;
507
530
  }
508
-
509
531
  /*
510
532
  Usage en CSS pur (les @media ne supportent pas les custom properties) :
511
533
 
@@ -515,7 +537,6 @@
515
537
  @media (min-width: 1280px) { ... } xl
516
538
  @media (min-width: 1536px) { ... } 2xl
517
539
  */
518
-
519
540
  /**
520
541
  * MBA Design System - Decorations
521
542
  *
@@ -525,7 +546,6 @@
525
546
  * - dip-up = creux vers le haut ↑ (utilisé en position bottom)
526
547
  * - dip-down = creux vers le bas ↓ (utilisé en position top)
527
548
  */
528
-
529
549
  :root {
530
550
  /* Wave Default (42px) */
531
551
  --mba-wave-height: 42px;
@@ -537,23 +557,19 @@
537
557
  --mba-wave-sm-dip-up-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 24' preserveAspectRatio='none'%3E%3Cpath d='M1280 24H0V15.8118C95.612 15.8118 246.789 0 360.422 0C499.085 0 780.915 15.8118 914.071 15.8118C1068.75 15.8118 1190.9 0 1280 0V24Z' fill='black'/%3E%3C/svg%3E");
538
558
  --mba-wave-sm-dip-down-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 24' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1280V8.18824C1184.39 8.18824 1033.21 24 919.578 24C780.915 24 499.085 8.18824 365.929 8.18824C211.248 8.18824 89.1044 24 0 24V0Z' fill='black'/%3E%3C/svg%3E");
539
559
  }
540
-
541
560
  /**
542
561
  * MBA Design System - Base
543
562
  *
544
563
  * Reset et styles de base
545
564
  */
546
-
547
565
  /**
548
566
  * MBA Design System - Fonts
549
567
  *
550
568
  * @font-face declarations pour Open Sans et Congenial
551
569
  */
552
-
553
570
  /* ===========================================
554
571
  OPEN SANS (Textes)
555
572
  =========================================== */
556
-
557
573
  @font-face {
558
574
  font-family: "Open Sans";
559
575
  font-style: normal;
@@ -561,7 +577,6 @@
561
577
  font-display: swap;
562
578
  src: url("../assets/fonts/OpenSans-Regular.woff2") format("woff2");
563
579
  }
564
-
565
580
  @font-face {
566
581
  font-family: "Open Sans";
567
582
  font-style: normal;
@@ -569,7 +584,6 @@
569
584
  font-display: swap;
570
585
  src: url("../assets/fonts/OpenSans-SemiBold.woff2") format("woff2");
571
586
  }
572
-
573
587
  @font-face {
574
588
  font-family: "Open Sans";
575
589
  font-style: normal;
@@ -577,7 +591,6 @@
577
591
  font-display: swap;
578
592
  src: url("../assets/fonts/OpenSans-Bold.woff2") format("woff2");
579
593
  }
580
-
581
594
  @font-face {
582
595
  font-family: "Open Sans";
583
596
  font-style: normal;
@@ -585,12 +598,10 @@
585
598
  font-display: swap;
586
599
  src: url("../assets/fonts/OpenSans-ExtraBold.woff2") format("woff2");
587
600
  }
588
-
589
601
  /* ===========================================
590
602
  CONGENIAL (Titres)
591
603
  Note: ExtraBold non disponible, on utilise Bold pour les titres
592
604
  =========================================== */
593
-
594
605
  @font-face {
595
606
  font-family: "Congenial";
596
607
  font-style: normal;
@@ -598,7 +609,6 @@
598
609
  font-display: swap;
599
610
  src: url("../assets/fonts/Congenial.woff2") format("woff2");
600
611
  }
601
-
602
612
  @font-face {
603
613
  font-family: "Congenial";
604
614
  font-style: normal;
@@ -606,7 +616,6 @@
606
616
  font-display: swap;
607
617
  src: url("../assets/fonts/Congenial-Medium.woff2") format("woff2");
608
618
  }
609
-
610
619
  @font-face {
611
620
  font-family: "Congenial";
612
621
  font-style: normal;
@@ -614,7 +623,6 @@
614
623
  font-display: swap;
615
624
  src: url("../assets/fonts/Congenial-Bold.woff2") format("woff2");
616
625
  }
617
-
618
626
  /**
619
627
  * MBA Design System - Icons
620
628
  *
@@ -626,11 +634,9 @@
626
634
  * 1. Éditer src/icons/icons.list.txt
627
635
  * 2. Lancer: npm run icons:build
628
636
  */
629
-
630
637
  /* ===========================================
631
638
  FONT FACE - Material Symbols Rounded
632
639
  =========================================== */
633
-
634
640
  @font-face {
635
641
  font-family: 'Material Symbols Rounded';
636
642
  font-style: normal;
@@ -638,12 +644,10 @@
638
644
  font-display: block;
639
645
  src: url('../assets/fonts/MaterialSymbolsRounded.woff2') format('woff2');
640
646
  }
641
-
642
647
  /* ===========================================
643
648
  BASE ICON CLASS
644
649
  Wrappé dans @layer base pour permettre aux @layer components de l'overrider
645
650
  =========================================== */
646
-
647
651
  @layer base {
648
652
 
649
653
  .material-symbols-rounded {
@@ -766,9 +770,7 @@
766
770
  }
767
771
 
768
772
  }
769
-
770
773
  /* end @layer base */
771
-
772
774
  /**
773
775
  * MBA Design System - Preflight
774
776
  *
@@ -778,7 +780,6 @@
778
780
  * Wrappé dans @layer base pour permettre aux utilities Tailwind
779
781
  * de l'overrider sans avoir besoin de !important
780
782
  */
781
-
782
783
  @layer base {
783
784
 
784
785
  *,
@@ -1013,15 +1014,12 @@ video {
1013
1014
  }
1014
1015
 
1015
1016
  }
1016
-
1017
1017
  /* end @layer base */
1018
-
1019
1018
  /**
1020
1019
  * MBA Design System - Base Typography
1021
1020
  *
1022
1021
  * Styles de base pour le texte
1023
1022
  */
1024
-
1025
1023
  @layer base {
1026
1024
 
1027
1025
  body {
@@ -1065,15 +1063,12 @@ a:hover {
1065
1063
  }
1066
1064
 
1067
1065
  }
1068
-
1069
1066
  /* end @layer base */
1070
-
1071
1067
  /**
1072
1068
  * MBA Design System - Composants
1073
1069
  *
1074
1070
  * Classes de composants prêtes à l'emploi
1075
1071
  */
1076
-
1077
1072
  /**
1078
1073
  * MBA Design System - Boutons
1079
1074
  *
@@ -1081,7 +1076,6 @@ a:hover {
1081
1076
  * Couleur: Primary (Violet #703973)
1082
1077
  * Source: Design System Figma
1083
1078
  */
1084
-
1085
1079
  @layer components {
1086
1080
 
1087
1081
  /* ===========================================
@@ -1606,9 +1600,7 @@ a:hover {
1606
1600
  }
1607
1601
 
1608
1602
  }
1609
-
1610
1603
  /* end @layer components */
1611
-
1612
1604
  /**
1613
1605
  * MBA Design System - Links
1614
1606
  *
@@ -1624,7 +1616,6 @@ a:hover {
1624
1616
  * <span class="material-symbols-rounded">arrow_forward</span>
1625
1617
  * </a>
1626
1618
  */
1627
-
1628
1619
  @layer components {
1629
1620
 
1630
1621
  .mba-link {
@@ -1667,16 +1658,13 @@ a:hover {
1667
1658
  }
1668
1659
 
1669
1660
  }
1670
-
1671
1661
  /* end @layer components */
1672
-
1673
1662
  /**
1674
1663
  * MBA Design System - Cards
1675
1664
  *
1676
1665
  * Classes: .mba-card, .mba-card--sm, .mba-card-grid
1677
1666
  * Source: Design System Figma
1678
1667
  */
1679
-
1680
1668
  @layer components {
1681
1669
 
1682
1670
  /* ===========================================
@@ -2288,9 +2276,7 @@ a:hover {
2288
2276
  }
2289
2277
 
2290
2278
  }
2291
-
2292
2279
  /* end @layer components */
2293
-
2294
2280
  /**
2295
2281
  * MBA Design System - Arrow Buttons
2296
2282
  *
@@ -2302,7 +2288,6 @@ a:hover {
2302
2288
  * - background: Primary-500
2303
2289
  * - disabled: Grey-300
2304
2290
  */
2305
-
2306
2291
  @layer components {
2307
2292
 
2308
2293
  .mba-arrow {
@@ -2345,16 +2330,13 @@ a:hover {
2345
2330
  }
2346
2331
 
2347
2332
  }
2348
-
2349
2333
  /* end @layer components */
2350
-
2351
2334
  /**
2352
2335
  * MBA Design System - Radio & Checkbox
2353
2336
  *
2354
2337
  * Classes: .mba-radio, .mba-radio--pro, .mba-checkbox, .mba-checkbox--pro
2355
2338
  * Source: Design System Figma
2356
2339
  */
2357
-
2358
2340
  @layer components {
2359
2341
 
2360
2342
  /* ===========================================
@@ -2558,16 +2540,13 @@ a:hover {
2558
2540
  }
2559
2541
 
2560
2542
  }
2561
-
2562
2543
  /* end @layer components */
2563
-
2564
2544
  /**
2565
2545
  * MBA Design System - Pagination
2566
2546
  *
2567
2547
  * Composant de pagination pour la navigation entre pages
2568
2548
  * Source: Design System Figma
2569
2549
  */
2570
-
2571
2550
  @layer components {
2572
2551
 
2573
2552
  /* ===========================================
@@ -2763,16 +2742,13 @@ a:hover {
2763
2742
  }
2764
2743
 
2765
2744
  }
2766
-
2767
2745
  /* end @layer components */
2768
-
2769
2746
  /**
2770
2747
  * MBA Design System - Inputs
2771
2748
  *
2772
2749
  * Classes: .mba-textarea, .mba-input, .mba-label
2773
2750
  * Source: Design System Figma
2774
2751
  */
2775
-
2776
2752
  @layer components {
2777
2753
 
2778
2754
  /* ===========================================
@@ -3287,9 +3263,7 @@ button.mba-input-icon__icon:hover {
3287
3263
  }
3288
3264
 
3289
3265
  }
3290
-
3291
3266
  /* end @layer components */
3292
-
3293
3267
  /**
3294
3268
  * MBA Design System - Tabs
3295
3269
  *
@@ -3298,7 +3272,6 @@ button.mba-input-icon__icon:hover {
3298
3272
  * Couleurs: Primary 500 (MBA), Primary 900 (Partenaires)
3299
3273
  * Source: Design System Figma (Tabs - Lina-7347)
3300
3274
  */
3301
-
3302
3275
  @layer components {
3303
3276
 
3304
3277
  /* ===========================================
@@ -3387,9 +3360,7 @@ button.mba-input-icon__icon:hover {
3387
3360
  }
3388
3361
 
3389
3362
  }
3390
-
3391
3363
  /* @layer components */
3392
-
3393
3364
  /**
3394
3365
  * MBA Design System - Tags (Badges)
3395
3366
  *
@@ -3415,7 +3386,6 @@ button.mba-input-icon__icon:hover {
3415
3386
  * Note: fonds plus foncés que les pastels de base pour l'accessibilité.
3416
3387
  * Source: Design System Figma.
3417
3388
  */
3418
-
3419
3389
  @layer components {
3420
3390
 
3421
3391
  .mba-tag {
@@ -3509,16 +3479,13 @@ button.mba-input-icon__icon:hover {
3509
3479
  }
3510
3480
 
3511
3481
  }
3512
-
3513
3482
  /* end @layer components */
3514
-
3515
3483
  /**
3516
3484
  * MBA Design System - Header
3517
3485
  *
3518
3486
  * Navigation principale avec dropdown et version mobile
3519
3487
  * Source: Design System Figma
3520
3488
  */
3521
-
3522
3489
  @layer components {
3523
3490
 
3524
3491
  /* ===========================================
@@ -3556,9 +3523,13 @@ button.mba-input-icon__icon:hover {
3556
3523
  display: flex;
3557
3524
  align-items: center;
3558
3525
  justify-content: space-between;
3559
- padding: var(--mba-space-md) 5rem; /* vertical: md (24px), horizontal: 80px */
3560
- max-width: 80rem; /* 1280px = 1120px de contenu + 2 x 80px de padding */
3526
+ /* content-box : --mba-container-width borne le CONTENU, la gouttière
3527
+ s'ajoute autour. Sans cela, le border-box global du preflight
3528
+ rognerait le contenu à 1120px - 2 x gouttière. */
3529
+ box-sizing: content-box;
3530
+ max-width: var(--mba-container-width); /* 1120px de contenu */
3561
3531
  margin: 0 auto;
3532
+ padding: var(--mba-space-md) var(--mba-container-gutter);
3562
3533
  }
3563
3534
 
3564
3535
  /* ===========================================
@@ -4143,21 +4114,23 @@ button.mba-input-icon__icon:hover {
4143
4114
 
4144
4115
  /* ===========================================
4145
4116
  RESPONSIVE
4146
- =========================================== */
4147
- @media (max-width: 768px) {
4148
- .mba-header {
4149
- box-shadow: none; /* pas de shadow en mobile */
4150
- }
4151
4117
 
4152
- .mba-header__container {
4153
- padding: var(--mba-space-sm) var(--mba-space-md); /* 12px 16px */
4154
- justify-content: space-between;
4155
- }
4118
+ Deux seuils distincts, volontairement découplés :
4156
4119
 
4157
- .mba-header__mobile-menu {
4158
- padding: var(--mba-space-sm) var(--mba-space-xs); /* top/bottom SM, left/right XS */
4159
- }
4120
+ - 1130px — bascule nav horizontale → menu burger.
4121
+ En dessous, la nav complète ne tient plus sur la ligne
4122
+ du logo et le dernier item débordait du conteneur.
4123
+
4124
+ - 768px — traitement téléphone (logo réduit, ombre
4125
+ retirée, rythme vertical resserré). Ces choix sont
4126
+ propres au petit écran : les appliquer dès 1130px
4127
+ rapetisserait le logo sur un portable.
4128
+ =========================================== */
4160
4129
 
4130
+ /* -------------------------------------------
4131
+ Bascule nav → burger
4132
+ ------------------------------------------- */
4133
+ @media (max-width: 1130px) {
4161
4134
  .mba-header__nav {
4162
4135
  display: none;
4163
4136
  }
@@ -4166,16 +4139,12 @@ button.mba-input-icon__icon:hover {
4166
4139
  display: flex;
4167
4140
  }
4168
4141
 
4169
- .mba-header__logo-img {
4170
- height: 24px;
4171
- }
4172
-
4173
- .mba-icon {
4174
- margin-top: var(--mba-space-xxs);
4142
+ .mba-header__mobile-menu {
4143
+ padding: var(--mba-space-sm) var(--mba-space-xs); /* top/bottom SM, left/right XS */
4175
4144
  }
4176
4145
  }
4177
4146
 
4178
- @media (min-width: 769px) {
4147
+ @media (min-width: 1131px) {
4179
4148
  .mba-header__mobile-menu {
4180
4149
  display: none !important;
4181
4150
  }
@@ -4193,10 +4162,32 @@ button.mba-input-icon__icon:hover {
4193
4162
  }
4194
4163
  }
4195
4164
 
4165
+ /* -------------------------------------------
4166
+ Traitement téléphone
4167
+ ------------------------------------------- */
4168
+ @media (max-width: 768px) {
4169
+ .mba-header {
4170
+ box-shadow: none; /* pas de shadow en mobile */
4171
+ }
4172
+
4173
+ .mba-header__container {
4174
+ /* Gouttière héritée du token (16px sous md), seul le rythme
4175
+ vertical est resserré en mobile. */
4176
+ padding: var(--mba-space-sm) var(--mba-container-gutter);
4177
+ justify-content: space-between;
4178
+ }
4179
+
4180
+ .mba-header__logo-img {
4181
+ height: 24px;
4182
+ }
4183
+
4184
+ .mba-icon {
4185
+ margin-top: var(--mba-space-xxs);
4186
+ }
4196
4187
  }
4197
4188
 
4189
+ }
4198
4190
  /* end @layer components */
4199
-
4200
4191
  /**
4201
4192
  * MBA Design System - Wave
4202
4193
  *
@@ -4218,7 +4209,6 @@ button.mba-input-icon__icon:hover {
4218
4209
  * <div class="mba-wave mba-wave--lavender"></div>
4219
4210
  * <div class="mba-wave mba-wave--sm mba-wave--lavender mba-wave--top"></div>
4220
4211
  */
4221
-
4222
4212
  @layer components {
4223
4213
 
4224
4214
  .mba-wave {
@@ -4284,9 +4274,7 @@ button.mba-input-icon__icon:hover {
4284
4274
 
4285
4275
 
4286
4276
  }
4287
-
4288
4277
  /* end @layer components */
4289
-
4290
4278
  /**
4291
4279
  * MBA Design System - Section
4292
4280
  *
@@ -4314,7 +4302,6 @@ button.mba-input-icon__icon:hover {
4314
4302
  * ...
4315
4303
  * </section>
4316
4304
  */
4317
-
4318
4305
  @layer components {
4319
4306
 
4320
4307
  .mba-section {
@@ -4489,14 +4476,16 @@ button.mba-input-icon__icon:hover {
4489
4476
  }
4490
4477
 
4491
4478
  }
4492
-
4493
4479
  /* end @layer components */
4494
-
4495
4480
  /**
4496
4481
  * MBA Design System - Footer
4497
4482
  *
4498
4483
  * Footer principal avec logo, navigation, réseaux sociaux et mentions légales.
4499
4484
  *
4485
+ * Coins hauts arrondis (--mba-radius-sm), en miroir du .mba-header qui
4486
+ * arrondit ses coins bas avec la même valeur, et ombre projetée vers le haut
4487
+ * (--mba-shadow-footer, style Figma « Footer aidant »).
4488
+ *
4500
4489
  * Structure:
4501
4490
  * .mba-footer
4502
4491
  * .mba-footer__main - Section principale (flex, space-between)
@@ -4510,7 +4499,6 @@ button.mba-input-icon__icon:hover {
4510
4499
  * Modificateurs:
4511
4500
  * - .mba-footer--pro - Version partenaire (primary-pro)
4512
4501
  */
4513
-
4514
4502
  @layer components {
4515
4503
 
4516
4504
  /* ===========================================
@@ -4520,6 +4508,8 @@ button.mba-input-icon__icon:hover {
4520
4508
  .mba-footer {
4521
4509
  width: 100%;
4522
4510
  background-color: var(--mba-color-white);
4511
+ border-radius: var(--mba-radius-sm) var(--mba-radius-sm) 0 0;
4512
+ box-shadow: var(--mba-shadow-footer);
4523
4513
  }
4524
4514
 
4525
4515
  /* ===========================================
@@ -4527,9 +4517,12 @@ button.mba-input-icon__icon:hover {
4527
4517
  =========================================== */
4528
4518
 
4529
4519
  .mba-footer__main {
4520
+ /* Conteneur commun avec .mba-header__container : même largeur de
4521
+ contenu, même gouttière, donc logos alignés à toutes les largeurs. */
4522
+ box-sizing: content-box;
4530
4523
  max-width: var(--mba-container-width);
4531
4524
  margin: 0 auto;
4532
- padding: var(--mba-space-xl) var(--mba-space-sm) var(--mba-space-sm);
4525
+ padding: var(--mba-space-xl) var(--mba-container-gutter) var(--mba-space-sm);
4533
4526
  display: flex;
4534
4527
  flex-direction: column;
4535
4528
  gap: var(--mba-space-lg);
@@ -4537,7 +4530,7 @@ button.mba-input-icon__icon:hover {
4537
4530
 
4538
4531
  @media (min-width: 768px) {
4539
4532
  .mba-footer__main {
4540
- padding: var(--mba-space-xl) 0;
4533
+ padding: var(--mba-space-xl) var(--mba-container-gutter);
4541
4534
  }
4542
4535
  }
4543
4536
 
@@ -4789,9 +4782,10 @@ button.mba-input-icon__icon:hover {
4789
4782
 
4790
4783
 
4791
4784
  .mba-footer__legal {
4785
+ box-sizing: content-box;
4792
4786
  max-width: var(--mba-container-width);
4793
4787
  margin: 0 auto;
4794
- padding: var(--mba-space-md) var(--mba-space-sm);
4788
+ padding: var(--mba-space-md) var(--mba-container-gutter);
4795
4789
  display: flex;
4796
4790
  flex-direction: column;
4797
4791
  gap: var(--mba-space-sm);
@@ -4799,7 +4793,6 @@ button.mba-input-icon__icon:hover {
4799
4793
 
4800
4794
  @media (min-width: 768px) {
4801
4795
  .mba-footer__legal {
4802
- padding: var(--mba-space-md) 0;
4803
4796
  flex-direction: row;
4804
4797
  justify-content: space-between;
4805
4798
  align-items: center;
@@ -4859,6 +4852,10 @@ button.mba-input-icon__icon:hover {
4859
4852
  PRO VARIANT
4860
4853
  =========================================== */
4861
4854
 
4855
+ .mba-footer--pro {
4856
+ box-shadow: var(--mba-shadow-footer-pro);
4857
+ }
4858
+
4862
4859
  .mba-footer--pro .mba-footer__contact,
4863
4860
  .mba-footer--pro .mba-footer__nav-link,
4864
4861
  .mba-footer--pro .mba-footer__legal-link {
@@ -4898,11 +4895,8 @@ button.mba-input-icon__icon:hover {
4898
4895
  }
4899
4896
 
4900
4897
  }
4901
-
4902
4898
  /* end @layer components */
4903
-
4904
4899
  /* @import "./_forms.css"; */
4905
-
4906
4900
  /**
4907
4901
  * MBA Design System - Alerts
4908
4902
  *
@@ -4930,7 +4924,6 @@ button.mba-input-icon__icon:hover {
4930
4924
  *
4931
4925
  * Source: Design System Figma (node 4660-18800).
4932
4926
  */
4933
-
4934
4927
  @layer components {
4935
4928
 
4936
4929
  /* ===========================================
@@ -5066,7 +5059,6 @@ button.mba-input-icon__icon:hover {
5066
5059
  }
5067
5060
 
5068
5061
  }
5069
-
5070
5062
  /**
5071
5063
  * MBA Design System - Accordion
5072
5064
  *
@@ -5075,7 +5067,6 @@ button.mba-input-icon__icon:hover {
5075
5067
  * - À partir de 5 items (ou si le contenu est trop long),
5076
5068
  * utiliser la variante scrollable pour afficher une scrollbar.
5077
5069
  */
5078
-
5079
5070
  @layer components {
5080
5071
 
5081
5072
  /* ===========================================
@@ -5342,7 +5333,6 @@ button.mba-input-icon__icon:hover {
5342
5333
  }
5343
5334
 
5344
5335
  }
5345
-
5346
5336
  /**
5347
5337
  * MBA Design System - Carousel
5348
5338
  *
@@ -5368,7 +5358,6 @@ button.mba-input-icon__icon:hover {
5368
5358
  *
5369
5359
  * Source: Design System Figma (nodes 4660-19043 / 4660-19016).
5370
5360
  */
5371
-
5372
5361
  @layer components {
5373
5362
 
5374
5363
  .mba-carousel {
@@ -5462,7 +5451,6 @@ button.mba-input-icon__icon:hover {
5462
5451
  }
5463
5452
 
5464
5453
  }
5465
-
5466
5454
  /**
5467
5455
  * MBA Design System - Navigation
5468
5456
  *
@@ -5479,7 +5467,6 @@ button.mba-input-icon__icon:hover {
5479
5467
  *
5480
5468
  * Source: Design System Figma (Breadcrumbs - Ma vie d'aidant, node 4660-18352).
5481
5469
  */
5482
-
5483
5470
  @layer components {
5484
5471
 
5485
5472
  /* ===========================================
@@ -5619,35 +5606,28 @@ button.mba-input-icon__icon:hover {
5619
5606
  }
5620
5607
 
5621
5608
  }
5622
-
5623
5609
  /**
5624
5610
  * MBA Design System - Utilities
5625
5611
  *
5626
5612
  * Classes utilitaires complémentaires à Tailwind
5627
5613
  */
5628
-
5629
5614
  /* ===========================================
5630
5615
  FONT SIZE UTILITIES (MBA custom scale)
5631
5616
  Tailwind génère xs, sm, base, lg, xl, 2xl...
5632
5617
  On ajoute nos tailles custom : xxs, md, xxl
5633
5618
  =========================================== */
5634
-
5635
5619
  .text-xxs {
5636
5620
  font-size: var(--mba-font-size-xxs);
5637
5621
  }
5638
-
5639
5622
  .text-md {
5640
5623
  font-size: var(--mba-font-size-md);
5641
5624
  }
5642
-
5643
5625
  .text-xxl {
5644
5626
  font-size: var(--mba-font-size-xxl);
5645
5627
  }
5646
-
5647
5628
  /* ===========================================
5648
5629
  ACCESSIBILITY UTILITIES
5649
5630
  =========================================== */
5650
-
5651
5631
  /* Reduced motion - Respect user preference for reduced animations
5652
5632
  Triggered when user enables "Reduce motion" in system settings
5653
5633
  (macOS, Windows, iOS, Android)
@@ -5659,7 +5639,6 @@ button.mba-input-icon__icon:hover {
5659
5639
 
5660
5640
  WCAG 2.1 Success Criterion 2.3.3 (AAA)
5661
5641
  */
5662
-
5663
5642
  @media (prefers-reduced-motion: reduce) {
5664
5643
  *,
5665
5644
  *::before,
@@ -5670,9 +5649,7 @@ button.mba-input-icon__icon:hover {
5670
5649
  scroll-behavior: auto !important;
5671
5650
  }
5672
5651
  }
5673
-
5674
5652
  /* Visually hidden (accessible) */
5675
-
5676
5653
  .mba-sr-only {
5677
5654
  position: absolute;
5678
5655
  width: 1px;
@@ -5684,9 +5661,7 @@ button.mba-input-icon__icon:hover {
5684
5661
  white-space: nowrap;
5685
5662
  border-width: 0;
5686
5663
  }
5687
-
5688
5664
  /* Not visually hidden */
5689
-
5690
5665
  .mba-not-sr-only {
5691
5666
  position: static;
5692
5667
  width: auto;
@@ -5697,43 +5672,32 @@ button.mba-input-icon__icon:hover {
5697
5672
  clip: auto;
5698
5673
  white-space: normal;
5699
5674
  }
5700
-
5701
5675
  /* ===========================================
5702
5676
  VISIBILITY UTILITIES
5703
5677
  Override pour garantir le masquage même avec
5704
5678
  les composants MBA (display: inline-flex, etc.)
5705
5679
  =========================================== */
5706
-
5707
5680
  /* Hidden - force display: none sur tous les composants */
5708
-
5709
5681
  .hidden {
5710
5682
  display: none !important;
5711
5683
  }
5712
-
5713
5684
  /* Visible utilities */
5714
-
5715
5685
  .visible {
5716
5686
  visibility: visible;
5717
5687
  }
5718
-
5719
5688
  .invisible {
5720
5689
  visibility: hidden;
5721
5690
  }
5722
-
5723
5691
  /* ===========================================
5724
5692
  GRADIENT UTILITIES
5725
5693
  =========================================== */
5726
-
5727
5694
  .bg-gradient-sunset {
5728
5695
  background: var(--mba-gradient-sunset);
5729
5696
  }
5730
-
5731
5697
  /* Border gradient (hover reveal) — applique un contour gradient sunset via ::before */
5732
-
5733
5698
  .mba-border-gradient {
5734
5699
  position: relative;
5735
5700
  }
5736
-
5737
5701
  .mba-border-gradient::before {
5738
5702
  content: "";
5739
5703
  position: absolute;
@@ -5750,7 +5714,6 @@ button.mba-input-icon__icon:hover {
5750
5714
  opacity: 0;
5751
5715
  transition: opacity var(--mba-transition-base);
5752
5716
  }
5753
-
5754
5717
  .mba-border-gradient:hover::before,
5755
5718
  .mba-border-gradient--visible::before {
5756
5719
  opacity: 1;