globals.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. @import "tailwindcss";
  2. @import "tw-animate-css";
  3. @import "shadcn/tailwind.css";
  4. @custom-variant dark (&:is(.dark *));
  5. @theme {
  6. --font-sans: var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif,
  7. "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  8. }
  9. @theme inline {
  10. --radius-sm: calc(var(--radius) - 4px);
  11. --radius-md: calc(var(--radius) - 2px);
  12. --radius-lg: var(--radius);
  13. --radius-xl: calc(var(--radius) + 4px);
  14. --radius-2xl: calc(var(--radius) + 8px);
  15. --radius-3xl: calc(var(--radius) + 12px);
  16. --radius-4xl: calc(var(--radius) + 16px);
  17. --color-background: var(--background);
  18. --color-foreground: var(--foreground);
  19. --color-card: var(--card);
  20. --color-card-foreground: var(--card-foreground);
  21. --color-popover: var(--popover);
  22. --color-popover-foreground: var(--popover-foreground);
  23. --color-primary: var(--primary);
  24. --color-primary-foreground: var(--primary-foreground);
  25. --color-secondary: var(--secondary);
  26. --color-secondary-foreground: var(--secondary-foreground);
  27. --color-muted: var(--muted);
  28. --color-muted-foreground: var(--muted-foreground);
  29. --color-accent: var(--accent);
  30. --color-accent-foreground: var(--accent-foreground);
  31. --color-destructive: var(--destructive);
  32. --color-border: var(--border);
  33. --color-input: var(--input);
  34. --color-input-bg: var(--input-bg);
  35. --color-ring: var(--ring);
  36. --color-chart-1: var(--chart-1);
  37. --color-chart-2: var(--chart-2);
  38. --color-chart-3: var(--chart-3);
  39. --color-chart-4: var(--chart-4);
  40. --color-chart-5: var(--chart-5);
  41. --color-sidebar: var(--sidebar);
  42. --color-sidebar-foreground: var(--sidebar-foreground);
  43. --color-sidebar-primary: var(--sidebar-primary);
  44. --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  45. --color-sidebar-accent: var(--sidebar-accent);
  46. --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  47. --color-sidebar-border: var(--sidebar-border);
  48. --color-sidebar-ring: var(--sidebar-ring);
  49. }
  50. /* Livinia Chaleureux - palette UX AImpact Hub */
  51. :root {
  52. --radius: 0.625rem;
  53. --background: #faf8f6;
  54. --foreground: #1c1917;
  55. --card: #fafaf9;
  56. --card-foreground: #1c1917;
  57. --popover: #ffffff;
  58. --popover-foreground: #1c1917;
  59. --primary: #7c3aed;
  60. --primary-foreground: #ffffff;
  61. --secondary: #f5f3f0;
  62. --secondary-foreground: #1c1917;
  63. --muted: #e7e5e4;
  64. --muted-foreground: #57534e;
  65. --accent: #f0eeeb;
  66. --accent-foreground: #1c1917;
  67. --destructive: oklch(0.577 0.245 27.325);
  68. --border: #e7e5e4;
  69. --input: #e4e2f0;
  70. --input-bg: #f8f7ff;
  71. --ring: #7c3aed;
  72. --chart-1: oklch(0.646 0.222 41.116);
  73. --chart-2: oklch(0.6 0.118 184.704);
  74. --chart-3: oklch(0.398 0.07 227.392);
  75. --chart-4: oklch(0.828 0.189 84.429);
  76. --chart-5: oklch(0.769 0.188 70.08);
  77. --sidebar: oklch(0.985 0 0);
  78. --sidebar-foreground: oklch(0.145 0 0);
  79. --sidebar-primary: oklch(0.205 0 0);
  80. --sidebar-primary-foreground: oklch(0.985 0 0);
  81. --sidebar-accent: oklch(0.97 0 0);
  82. --sidebar-accent-foreground: oklch(0.205 0 0);
  83. --sidebar-border: oklch(0.922 0 0);
  84. --sidebar-ring: oklch(0.708 0 0);
  85. }
  86. .dark {
  87. --background: oklch(0.145 0 0);
  88. --foreground: oklch(0.985 0 0);
  89. --card: oklch(0.205 0 0);
  90. --card-foreground: oklch(0.985 0 0);
  91. --popover: oklch(0.205 0 0);
  92. --popover-foreground: oklch(0.985 0 0);
  93. --primary: oklch(0.922 0 0);
  94. --primary-foreground: oklch(0.205 0 0);
  95. --secondary: oklch(0.269 0 0);
  96. --secondary-foreground: oklch(0.985 0 0);
  97. --muted: oklch(0.269 0 0);
  98. --muted-foreground: oklch(0.708 0 0);
  99. --accent: oklch(0.269 0 0);
  100. --accent-foreground: oklch(0.985 0 0);
  101. --destructive: oklch(0.704 0.191 22.216);
  102. --border: oklch(1 0 0 / 10%);
  103. --input: oklch(1 0 0 / 15%);
  104. --ring: oklch(0.556 0 0);
  105. --chart-1: oklch(0.488 0.243 264.376);
  106. --chart-2: oklch(0.696 0.17 162.48);
  107. --chart-3: oklch(0.769 0.188 70.08);
  108. --chart-4: oklch(0.627 0.265 303.9);
  109. --chart-5: oklch(0.645 0.246 16.439);
  110. --sidebar: oklch(0.205 0 0);
  111. --sidebar-foreground: oklch(0.985 0 0);
  112. --sidebar-primary: oklch(0.488 0.243 264.376);
  113. --sidebar-primary-foreground: oklch(0.985 0 0);
  114. --sidebar-accent: oklch(0.269 0 0);
  115. --sidebar-accent-foreground: oklch(0.985 0 0);
  116. --sidebar-border: oklch(1 0 0 / 10%);
  117. --sidebar-ring: oklch(0.556 0 0);
  118. }
  119. @layer base {
  120. * {
  121. @apply border-border outline-ring/50;
  122. }
  123. body {
  124. @apply bg-background text-foreground;
  125. }
  126. }
  127. /* Apparition légère des blocs au scroll (landing) */
  128. @layer utilities {
  129. .saas-section-reveal {
  130. opacity: 0;
  131. transform: translate3d(0, 12px, 0);
  132. transition:
  133. opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
  134. transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  135. }
  136. .saas-section-reveal--visible {
  137. opacity: 1;
  138. transform: translate3d(0, 0, 0);
  139. }
  140. }
  141. @media (prefers-reduced-motion: reduce) {
  142. .saas-section-reveal {
  143. opacity: 1 !important;
  144. transform: none !important;
  145. transition: none !important;
  146. }
  147. #produit .solution-step-card {
  148. animation: none !important;
  149. opacity: 1 !important;
  150. transform: none !important;
  151. }
  152. }
  153. /* #produit : les trois cartes arrivent l’une après l’autre (1 → 2 → 3) */
  154. @keyframes produit-step-in {
  155. from {
  156. opacity: 0;
  157. transform: translate3d(0, 22px, 0);
  158. }
  159. to {
  160. opacity: 1;
  161. transform: translate3d(0, 0, 0);
  162. }
  163. }
  164. #produit .solution-step-card {
  165. opacity: 0;
  166. transform: translate3d(0, 22px, 0);
  167. }
  168. #produit.saas-section-reveal--visible .solution-step-card:nth-child(1) {
  169. animation: produit-step-in 0.74s cubic-bezier(0.22, 1, 0.36, 1) 0.26s forwards;
  170. }
  171. #produit.saas-section-reveal--visible .solution-step-card:nth-child(2) {
  172. animation: produit-step-in 0.74s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
  173. }
  174. #produit.saas-section-reveal--visible .solution-step-card:nth-child(3) {
  175. animation: produit-step-in 0.74s cubic-bezier(0.22, 1, 0.36, 1) 1.14s forwards;
  176. }