@salifbiaye/create-boutique 0.3.6 → 0.4.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.
- package/package.json +5 -2
- package/templates/storefront/locales/en.json +16 -1
- package/templates/storefront/locales/fr.json +16 -1
- package/templates/storefront/src/app/(main)/page.tsx +123 -0
- package/templates/storefront/src/app/layout.tsx +4 -0
- package/templates/storefront/src/lib/boutique/schema.ts +1 -1
- package/templates/storefront/src/modules/ub/album.tsx +137 -0
- package/templates/storefront/src/modules/ub/cinema.tsx +180 -0
- package/templates/storefront/src/modules/ub/gala.tsx +178 -0
- package/templates/storefront/src/modules/ub/tech.tsx +279 -0
- package/templates/storefront/src/styles/ub/album.css +205 -0
- package/templates/storefront/src/styles/ub/cinema.css +169 -0
- package/templates/storefront/src/styles/ub/gala.css +242 -0
- package/templates/storefront/src/styles/ub/tech.css +421 -0
- package/templates/storefront/src/styles/ub/variants.css +1 -5
- package/templates/storefront/themes/cyber-monday/theme.json +4 -3
- package/templates/storefront/themes/cyber-monday-2/campaign.en.json +1 -1
- package/templates/storefront/themes/cyber-monday-2/campaign.fr.json +1 -1
- package/templates/storefront/themes/cyber-monday-2/theme.json +5 -4
- package/templates/storefront/themes/halloween/theme.json +3 -2
- package/templates/storefront/themes/halloween-2/theme.json +2 -1
- package/templates/storefront/themes/noel/theme.json +3 -2
- package/templates/storefront/themes/noel-2/theme.json +3 -2
- package/templates/storefront/themes/nouvel-an/campaign.en.json +3 -3
- package/templates/storefront/themes/nouvel-an/campaign.fr.json +2 -2
- package/templates/storefront/themes/nouvel-an/theme.json +2 -1
- package/templates/storefront/themes/nouvel-an-2/campaign.en.json +5 -5
- package/templates/storefront/themes/nouvel-an-2/campaign.fr.json +5 -5
- package/templates/storefront/themes/nouvel-an-2/theme.json +4 -3
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
/* Accueil « Cinéma » (thèmes Halloween) — modules/ub/cinema.tsx. Affiche de film, rangées façon streaming.
|
|
2
|
+
Halloween 1 : orange, mot au pinceau. Halloween 2 : jaune acide, mot fin et espacé. */
|
|
3
|
+
|
|
4
|
+
[data-theme="halloween"]:not([data-variant]),
|
|
5
|
+
[data-variant="halloween-2"] {
|
|
6
|
+
--bg: #0b0a0c; --surface: #151317; --tint-1: #1f1c22; --tint-2: #26221f; --tint-3: #1a1612; --tint-4: #181519;
|
|
7
|
+
--ink: #f4efe8; --ink-muted: #a39b91; --border: #2a2629;
|
|
8
|
+
--primary: #ff7a1a; --on-primary: #0b0a0c; --accent: #ffb15c; --on-accent: #0b0a0c;
|
|
9
|
+
--sale: #ff8a3d; --hero-bg: #070608; --hero-ink: #ffffff; --hero-muted: #c9c1b6;
|
|
10
|
+
--band-bg: #ff7a1a; --band-ink: #0b0a0c; --bubble-bg: #ff7a1a; --bubble-ink: #0b0a0c;
|
|
11
|
+
--topbar-bg: #000000; --topbar-ink: #ff9a45; --focus: #ffb15c;
|
|
12
|
+
--ub-font-head: var(--font-oswald); --ub-head-weight: 700; --ub-head-case: uppercase; --ub-head-track: 0;
|
|
13
|
+
--ub-r-card: 10px; --ub-r-btn: 4px; --ub-r-tile: 10px; --ub-r-media: 10px;
|
|
14
|
+
--cn-hl: var(--primary);
|
|
15
|
+
}
|
|
16
|
+
[data-variant="halloween-2"] {
|
|
17
|
+
--primary: #f2e14c; --on-primary: #0b0a0c; --accent: #f7ec8a; --sale: #f2e14c;
|
|
18
|
+
--band-bg: #f2e14c; --bubble-bg: #f2e14c; --topbar-ink: #f2e14c; --focus: #f2e14c;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* ---------- Hero affiche ---------- */
|
|
22
|
+
.ub-cn-hero {
|
|
23
|
+
position: relative;
|
|
24
|
+
isolation: isolate;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
min-height: clamp(600px, 54vw, 820px);
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: stretch;
|
|
29
|
+
background: radial-gradient(70% 90% at 65% 40%, #2b1d14 0%, var(--hero-bg) 70%);
|
|
30
|
+
color: var(--hero-ink);
|
|
31
|
+
}
|
|
32
|
+
.ub-cn-hero[data-has-image] { background: var(--hero-bg) var(--cn-img) center / cover no-repeat; }
|
|
33
|
+
/* Vignettage : texte lisible à gauche, fiche lisible à droite */
|
|
34
|
+
.ub-cn-hero::before {
|
|
35
|
+
content: "";
|
|
36
|
+
position: absolute;
|
|
37
|
+
inset: 0;
|
|
38
|
+
z-index: -1;
|
|
39
|
+
background:
|
|
40
|
+
linear-gradient(90deg, rgb(7 6 8 / 0.9) 0%, rgb(7 6 8 / 0.35) 34%, rgb(7 6 8 / 0.2) 58%, rgb(7 6 8 / 0.85) 100%),
|
|
41
|
+
linear-gradient(0deg, var(--bg) 0%, transparent 28%);
|
|
42
|
+
}
|
|
43
|
+
.ub-cn-hero__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 380px); gap: var(--space-8); align-items: center; width: 100%; padding-top: var(--space-16); padding-bottom: var(--space-12); }
|
|
44
|
+
.ub-cn-tag {
|
|
45
|
+
display: inline-block;
|
|
46
|
+
padding: 5px 10px;
|
|
47
|
+
border-radius: 3px;
|
|
48
|
+
background: var(--primary);
|
|
49
|
+
color: var(--on-primary);
|
|
50
|
+
font-size: 12px;
|
|
51
|
+
font-weight: 800;
|
|
52
|
+
letter-spacing: 0.12em;
|
|
53
|
+
text-transform: uppercase;
|
|
54
|
+
}
|
|
55
|
+
.ub-cn-title { margin-top: var(--space-4) !important; display: grid; font-family: var(--font-oswald); font-weight: 700; text-transform: uppercase; line-height: 0.86; }
|
|
56
|
+
.ub-cn-title__main { font-size: clamp(64px, 9.2vw, 150px); color: #ffffff; text-shadow: 0 6px 30px rgb(0 0 0 / 0.5); animation: ub-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
|
|
57
|
+
/* Halloween 1 : mot au pinceau orange (réf. « Skin Maker 2 ») */
|
|
58
|
+
.ub-cn-title__hl {
|
|
59
|
+
margin: -0.05em 0 0 0.1em;
|
|
60
|
+
font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", cursive;
|
|
61
|
+
font-weight: 700;
|
|
62
|
+
font-size: clamp(56px, 8vw, 128px);
|
|
63
|
+
line-height: 1;
|
|
64
|
+
text-transform: none;
|
|
65
|
+
color: var(--cn-hl);
|
|
66
|
+
transform: rotate(-6deg);
|
|
67
|
+
transform-origin: left center;
|
|
68
|
+
text-shadow: 0 0 40px color-mix(in srgb, var(--primary) 45%, transparent);
|
|
69
|
+
animation: ub-rise 0.7s 0.12s cubic-bezier(0.2, 0.7, 0.2, 1) both;
|
|
70
|
+
}
|
|
71
|
+
/* Halloween 2 : mot fin, jaune, espacé (réf. « Skin Walker: Hunting ») */
|
|
72
|
+
[data-variant="halloween-2"] .ub-cn-title__hl {
|
|
73
|
+
margin: 0.04em 0 0;
|
|
74
|
+
font-family: var(--font-oswald);
|
|
75
|
+
font-weight: 300;
|
|
76
|
+
font-size: clamp(54px, 7.8vw, 124px);
|
|
77
|
+
letter-spacing: 0.08em;
|
|
78
|
+
text-transform: uppercase;
|
|
79
|
+
transform: none;
|
|
80
|
+
text-shadow: none;
|
|
81
|
+
}
|
|
82
|
+
.ub-cn-fav { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-8); padding: 8px 14px; border-radius: 4px; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.18); font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }
|
|
83
|
+
.ub-cn-fav svg { width: 15px; height: 15px; color: var(--primary); }
|
|
84
|
+
|
|
85
|
+
/* Fiche séance */
|
|
86
|
+
.ub-cn-panel { display: grid; gap: var(--space-4); align-self: center; animation: ub-rise 0.7s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
|
|
87
|
+
.ub-cn-panel__title { font-family: var(--font-oswald); font-size: 26px; line-height: 1.1; text-transform: uppercase; }
|
|
88
|
+
.ub-cn-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
|
|
89
|
+
.ub-cn-badges li { padding: 3px 8px; border: 1px solid rgb(255 255 255 / 0.3); border-radius: 3px; font-size: 12px; font-weight: 600; color: var(--hero-muted); }
|
|
90
|
+
.ub-cn-badges li:first-child { border-color: var(--primary); background: var(--primary); color: var(--on-primary); }
|
|
91
|
+
.ub-cn-panel__text { font-size: 15px; line-height: 23px; color: var(--hero-muted); }
|
|
92
|
+
.ub-cn-panel__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
|
|
93
|
+
.ub-cn-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: var(--ub-r-btn); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; transition: transform 0.2s, background 0.2s, color 0.2s; }
|
|
94
|
+
.ub-cn-btn:hover { transform: translateY(-2px); }
|
|
95
|
+
.ub-cn-btn--play { background: var(--primary); color: var(--on-primary); }
|
|
96
|
+
.ub-cn-btn--ghost { border: 1.5px solid rgb(255 255 255 / 0.8); color: #ffffff; }
|
|
97
|
+
.ub-cn-btn--ghost:hover { background: #ffffff; color: #0b0a0c; }
|
|
98
|
+
.ub-cn-next { margin-top: var(--space-4); }
|
|
99
|
+
.ub-cn-next p { margin-bottom: var(--space-2) !important; font-family: var(--font-oswald); font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
|
|
100
|
+
.ub-cn-next ul { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
|
|
101
|
+
.ub-cn-next a { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; border: 1px solid rgb(255 255 255 / 0.2); background: var(--surface); }
|
|
102
|
+
.ub-cn-next img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
|
|
103
|
+
.ub-cn-next a:hover img { transform: scale(1.06); }
|
|
104
|
+
.ub-cn-next__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(0 0 0 / 0.25); font-size: 18px; color: #ffffff; }
|
|
105
|
+
|
|
106
|
+
/* ---------- Rangées ---------- */
|
|
107
|
+
.ub-cn-section { padding-top: var(--space-12); padding-bottom: var(--space-4); }
|
|
108
|
+
.ub-cn-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-4); }
|
|
109
|
+
.ub-cn-h2 { font-family: var(--font-oswald); font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.05; text-transform: uppercase; }
|
|
110
|
+
.ub-cn-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); }
|
|
111
|
+
.ub-cn-more svg { width: 15px; height: 15px; }
|
|
112
|
+
.ub-cn-row { display: flex; gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0; padding: var(--space-2) max(var(--space-6), calc((100vw - var(--content-max)) / 2 + var(--space-6))) var(--space-4); list-style: none; }
|
|
113
|
+
.ub-cn-row::-webkit-scrollbar { display: none; }
|
|
114
|
+
.ub-cn-row > li { flex: 0 0 clamp(170px, 18vw, 230px); scroll-snap-align: start; }
|
|
115
|
+
.ub-cn-poster { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--ub-r-card); background: var(--surface); box-shadow: 0 16px 40px -18px rgb(0 0 0 / 0.8); transition: transform 0.3s, box-shadow 0.3s; }
|
|
116
|
+
.ub-cn-poster:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 24px 50px -16px color-mix(in srgb, var(--primary) 45%, transparent); }
|
|
117
|
+
.ub-cn-poster img { width: 100%; height: 100%; object-fit: cover; }
|
|
118
|
+
.ub-cn-poster .ub-ph { position: absolute; inset: 0; }
|
|
119
|
+
.ub-cn-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(0 0 0 / 0.88) 100%); pointer-events: none; }
|
|
120
|
+
.ub-cn-poster__off { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 3px 8px; border-radius: 3px; background: var(--primary); color: var(--on-primary); font-size: 12px; font-weight: 800; }
|
|
121
|
+
.ub-cn-poster__info { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; display: grid; gap: 4px; }
|
|
122
|
+
.ub-cn-poster__info b { font-family: var(--font-oswald); font-size: 17px; line-height: 1.15; text-transform: uppercase; }
|
|
123
|
+
.ub-cn-poster__info span { display: flex; align-items: baseline; gap: 8px; font-size: 14px; font-weight: 700; color: var(--primary); }
|
|
124
|
+
.ub-cn-poster__info s { font-size: 12px; font-weight: 500; color: rgb(255 255 255 / 0.6); }
|
|
125
|
+
|
|
126
|
+
/* Top 10 : grand chiffre détouré derrière l'affiche */
|
|
127
|
+
.ub-cn-top > li { flex-basis: clamp(210px, 21vw, 270px); }
|
|
128
|
+
.ub-cn-top__item { position: relative; display: flex; align-items: flex-end; height: 100%; }
|
|
129
|
+
.ub-cn-top__num { flex: none; width: 46%; margin-right: -14%; font-family: var(--font-oswald); font-weight: 700; font-size: clamp(120px, 12vw, 180px); line-height: 0.8; text-align: right; color: var(--bg); -webkit-text-stroke: 3px color-mix(in srgb, var(--primary) 75%, #ffffff); letter-spacing: -0.06em; }
|
|
130
|
+
.ub-cn-poster--small { flex: 1; }
|
|
131
|
+
.ub-cn-poster--small::after { display: none; }
|
|
132
|
+
|
|
133
|
+
/* Séance de minuit : bandes noires façon écran de cinéma */
|
|
134
|
+
.ub-cn-screen {
|
|
135
|
+
position: relative;
|
|
136
|
+
overflow: hidden;
|
|
137
|
+
display: flex;
|
|
138
|
+
align-items: center;
|
|
139
|
+
min-height: clamp(340px, 34vw, 480px);
|
|
140
|
+
padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 64px);
|
|
141
|
+
border-top: 18px solid #000;
|
|
142
|
+
border-bottom: 18px solid #000;
|
|
143
|
+
border-radius: 4px;
|
|
144
|
+
background: #1a1410 var(--cn-screen, none) center / cover no-repeat;
|
|
145
|
+
}
|
|
146
|
+
.ub-cn-screen::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / 0.92) 0%, rgb(0 0 0 / 0.55) 55%, rgb(0 0 0 / 0.25) 100%); }
|
|
147
|
+
.ub-cn-screen__text { position: relative; display: grid; gap: var(--space-4); max-width: 560px; justify-items: start; }
|
|
148
|
+
.ub-cn-screen__text p { color: var(--ink-muted); }
|
|
149
|
+
.ub-cn-screen__cd .ub-countdown__c { background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.2); color: #ffffff; box-shadow: none; }
|
|
150
|
+
.ub-cn-screen__cd .ub-countdown__c b { color: var(--primary); }
|
|
151
|
+
|
|
152
|
+
body:has(.ub-cinema) .ub-footcta { display: none; }
|
|
153
|
+
|
|
154
|
+
@media (max-width: 900px) {
|
|
155
|
+
.ub-cn-hero { min-height: 0; }
|
|
156
|
+
.ub-cn-hero[data-has-image] { background-size: cover; background-position: 60% top; }
|
|
157
|
+
.ub-cn-hero::before { background: linear-gradient(180deg, rgb(7 6 8 / 0.2) 0%, rgb(7 6 8 / 0.55) 40%, var(--bg) 100%); }
|
|
158
|
+
.ub-cn-hero__in { grid-template-columns: minmax(0, 1fr); padding-top: 180px; gap: var(--space-6); }
|
|
159
|
+
.ub-cn-title__main { font-size: clamp(56px, 16vw, 88px); }
|
|
160
|
+
.ub-cn-title__hl { font-size: clamp(48px, 13vw, 76px); }
|
|
161
|
+
.ub-cn-row { padding: var(--space-2) var(--space-4) var(--space-4); gap: var(--space-3); }
|
|
162
|
+
.ub-cn-row > li { flex-basis: 150px; }
|
|
163
|
+
.ub-cn-top > li { flex-basis: 190px; }
|
|
164
|
+
.ub-cn-top__num { font-size: 110px; }
|
|
165
|
+
.ub-cn-screen { border-top-width: 10px; border-bottom-width: 10px; }
|
|
166
|
+
}
|
|
167
|
+
@media (prefers-reduced-motion: reduce) {
|
|
168
|
+
.ub-cn-title__main, .ub-cn-title__hl, .ub-cn-panel { animation: none; }
|
|
169
|
+
}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
/* Accueil « Gala » (thèmes Nouvel An) — modules/ub/gala.tsx. Noir profond, or, argent.
|
|
2
|
+
Nouvel An 1 : or dominant, texte à gauche. Nouvel An 2 : argent dominant, tout centré, année géante. */
|
|
3
|
+
|
|
4
|
+
[data-theme="nouvel-an"]:not([data-variant]),
|
|
5
|
+
[data-variant="nouvel-an-2"] {
|
|
6
|
+
--bg: #0a0a0c; --surface: #141417; --tint-1: #1c1b20; --tint-2: #232228; --tint-3: #1a1813; --tint-4: #16161a;
|
|
7
|
+
--ink: #f6f3ea; --ink-muted: #a9a59b; --border: #2a292f;
|
|
8
|
+
--primary: #d8b04a; --on-primary: #0a0a0c; --accent: #cfd1d8; --on-accent: #0a0a0c;
|
|
9
|
+
--sale: #e8c766; --star: #e8c766; --success: #7bd88f;
|
|
10
|
+
--hero-bg: #0a0a0c; --hero-ink: #ffffff; --hero-muted: #b8b4aa;
|
|
11
|
+
--band-bg: #d8b04a; --band-ink: #0a0a0c; --bubble-bg: #d8b04a; --bubble-ink: #0a0a0c;
|
|
12
|
+
--topbar-bg: #000000; --topbar-ink: #e8c766; --focus: #e8c766;
|
|
13
|
+
--gl-gold: linear-gradient(135deg, #f7e08e 0%, #d8b04a 35%, #a8812a 60%, #f3d980 100%);
|
|
14
|
+
--gl-silver: linear-gradient(180deg, #ffffff 0%, #d9dbe1 40%, #9a9ca6 62%, #eceef2 100%);
|
|
15
|
+
--ub-font-head: var(--font-sora); --ub-head-weight: 700; --ub-head-case: none; --ub-head-track: -0.02em;
|
|
16
|
+
--ub-r-card: 14px; --ub-r-btn: var(--radius-pill); --ub-r-tile: 14px; --ub-r-media: 10px;
|
|
17
|
+
}
|
|
18
|
+
[data-variant="nouvel-an-2"] {
|
|
19
|
+
--primary: #d9dbe1; --on-primary: #0a0a0c; --accent: #d8b04a; --on-accent: #0a0a0c;
|
|
20
|
+
--topbar-ink: #d9dbe1; --band-bg: #d9dbe1; --focus: #d9dbe1;
|
|
21
|
+
--ub-font-head: var(--font-outfit); --ub-r-btn: 4px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* ---------- Hero ---------- */
|
|
25
|
+
.ub-gl-hero {
|
|
26
|
+
position: relative;
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
min-height: clamp(560px, 50vw, 780px);
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
isolation: isolate;
|
|
32
|
+
background: radial-gradient(90% 90% at 70% 40%, #2a2630 0%, var(--hero-bg) 60%);
|
|
33
|
+
color: var(--hero-ink);
|
|
34
|
+
}
|
|
35
|
+
.ub-gl-hero[data-has-image] { background: var(--hero-bg) var(--gl-img) right center / cover no-repeat; }
|
|
36
|
+
.ub-gl-hero::before {
|
|
37
|
+
content: "";
|
|
38
|
+
position: absolute;
|
|
39
|
+
inset: 0;
|
|
40
|
+
z-index: 0;
|
|
41
|
+
background: linear-gradient(90deg, rgb(10 10 12 / 0.92) 0%, rgb(10 10 12 / 0.55) 38%, transparent 62%);
|
|
42
|
+
}
|
|
43
|
+
.ub-gl-hero__sparkle {
|
|
44
|
+
position: absolute;
|
|
45
|
+
inset: 0;
|
|
46
|
+
z-index: 0;
|
|
47
|
+
background-image:
|
|
48
|
+
radial-gradient(2px 2px at 12% 22%, #f7e08e 50%, transparent 51%),
|
|
49
|
+
radial-gradient(1.5px 1.5px at 28% 70%, #ffffff 50%, transparent 51%),
|
|
50
|
+
radial-gradient(2px 2px at 44% 30%, #d8b04a 50%, transparent 51%),
|
|
51
|
+
radial-gradient(1.5px 1.5px at 8% 84%, #f7e08e 50%, transparent 51%),
|
|
52
|
+
radial-gradient(1.5px 1.5px at 36% 12%, #ffffff 50%, transparent 51%);
|
|
53
|
+
opacity: 0.7;
|
|
54
|
+
animation: ub-gl-twinkle 3.5s ease-in-out infinite alternate;
|
|
55
|
+
}
|
|
56
|
+
@keyframes ub-gl-twinkle { from { opacity: 0.35; } to { opacity: 0.85; } }
|
|
57
|
+
.ub-gl-hero__in { position: relative; z-index: 1; width: 100%; padding-top: var(--space-16); padding-bottom: var(--space-16); }
|
|
58
|
+
.ub-gl-hero__text { max-width: 600px; }
|
|
59
|
+
.ub-gl-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--hero-muted); }
|
|
60
|
+
.ub-gl-year { display: none; }
|
|
61
|
+
.ub-gl-title { margin-top: var(--space-3) !important; font-family: var(--ub-font-head); font-weight: 800; line-height: 0.98; letter-spacing: -0.02em; }
|
|
62
|
+
.ub-gl-title__a { display: block; font-size: clamp(52px, 7vw, 104px); color: #ffffff; animation: ub-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
|
|
63
|
+
.ub-gl-title__b {
|
|
64
|
+
display: block;
|
|
65
|
+
font-size: clamp(56px, 7.6vw, 112px);
|
|
66
|
+
background: var(--gl-gold);
|
|
67
|
+
-webkit-background-clip: text;
|
|
68
|
+
background-clip: text;
|
|
69
|
+
color: transparent;
|
|
70
|
+
animation: ub-rise 0.7s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
|
|
71
|
+
}
|
|
72
|
+
.ub-gl-sub { max-width: 46ch; margin-top: var(--space-6) !important; font-size: 17px; line-height: 27px; color: var(--hero-muted); }
|
|
73
|
+
.ub-gl-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-8); }
|
|
74
|
+
.ub-gl-btn {
|
|
75
|
+
display: inline-flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
height: 50px;
|
|
79
|
+
padding: 0 30px;
|
|
80
|
+
border-radius: var(--ub-r-btn);
|
|
81
|
+
font-size: 14px;
|
|
82
|
+
font-weight: 700;
|
|
83
|
+
letter-spacing: 0.14em;
|
|
84
|
+
text-transform: uppercase;
|
|
85
|
+
transition: transform 0.2s, background 0.2s, color 0.2s;
|
|
86
|
+
}
|
|
87
|
+
.ub-gl-btn:hover { transform: translateY(-2px); }
|
|
88
|
+
.ub-gl-btn--solid { background: var(--gl-gold); color: #0a0a0c; }
|
|
89
|
+
.ub-gl-btn--ghost { border: 1.5px solid rgb(255 255 255 / 0.7); color: #ffffff; }
|
|
90
|
+
.ub-gl-btn--ghost:hover { background: #ffffff; color: #0a0a0c; }
|
|
91
|
+
.ub-gl-btn--dark { background: #0a0a0c; color: #f7e08e; }
|
|
92
|
+
|
|
93
|
+
/* Nouvel An 2 : centré, année géante argentée (réf. « Happy 2022 New Year ») */
|
|
94
|
+
[data-variant="nouvel-an-2"] .ub-gl-hero[data-has-image] { background-position: center; }
|
|
95
|
+
[data-variant="nouvel-an-2"] .ub-gl-hero::before { background: radial-gradient(60% 70% at 50% 50%, rgb(10 10 12 / 0.78) 0%, rgb(10 10 12 / 0.35) 60%, transparent 100%); }
|
|
96
|
+
[data-variant="nouvel-an-2"] .ub-gl-hero__text { max-width: 760px; margin: 0 auto; text-align: center; }
|
|
97
|
+
[data-variant="nouvel-an-2"] .ub-gl-year {
|
|
98
|
+
display: block;
|
|
99
|
+
margin-top: var(--space-2);
|
|
100
|
+
font-family: var(--ub-font-head);
|
|
101
|
+
font-weight: 800;
|
|
102
|
+
font-size: clamp(96px, 15vw, 220px);
|
|
103
|
+
line-height: 0.9;
|
|
104
|
+
letter-spacing: -0.03em;
|
|
105
|
+
background: var(--gl-silver);
|
|
106
|
+
-webkit-background-clip: text;
|
|
107
|
+
background-clip: text;
|
|
108
|
+
color: transparent;
|
|
109
|
+
filter: drop-shadow(0 10px 30px rgb(0 0 0 / 0.6));
|
|
110
|
+
animation: ub-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
|
|
111
|
+
}
|
|
112
|
+
[data-variant="nouvel-an-2"] .ub-gl-title { margin-top: var(--space-2) !important; }
|
|
113
|
+
[data-variant="nouvel-an-2"] .ub-gl-title__a,
|
|
114
|
+
[data-variant="nouvel-an-2"] .ub-gl-title__b {
|
|
115
|
+
display: inline;
|
|
116
|
+
font-size: clamp(18px, 2vw, 26px);
|
|
117
|
+
font-weight: 500;
|
|
118
|
+
letter-spacing: 0.34em;
|
|
119
|
+
text-transform: uppercase;
|
|
120
|
+
color: #e7e8ec;
|
|
121
|
+
background: none;
|
|
122
|
+
-webkit-background-clip: border-box;
|
|
123
|
+
background-clip: border-box;
|
|
124
|
+
}
|
|
125
|
+
[data-variant="nouvel-an-2"] .ub-gl-title__b { color: var(--accent); }
|
|
126
|
+
[data-variant="nouvel-an-2"] .ub-gl-sub { margin-left: auto !important; margin-right: auto !important; }
|
|
127
|
+
[data-variant="nouvel-an-2"] .ub-gl-actions { justify-content: center; }
|
|
128
|
+
[data-variant="nouvel-an-2"] .ub-gl-btn--solid { background: #4a4a50; color: #ffffff; }
|
|
129
|
+
[data-variant="nouvel-an-2"] .ub-gl-btn--ghost { background: #ffffff; color: #0a0a0c; border-color: #ffffff; }
|
|
130
|
+
|
|
131
|
+
/* ---------- Bande minuit ---------- */
|
|
132
|
+
.ub-gl-midnight { border-top: 1px solid rgb(216 176 74 / 0.35); border-bottom: 1px solid rgb(216 176 74 / 0.35); background: #000; }
|
|
133
|
+
.ub-gl-midnight__in { display: grid; grid-template-columns: auto 1fr; gap: var(--space-12); align-items: center; padding-top: var(--space-8); padding-bottom: var(--space-8); }
|
|
134
|
+
.ub-gl-midnight .ub-gl-eyebrow { color: var(--primary); margin-bottom: var(--space-3) !important; }
|
|
135
|
+
.ub-gl-midnight__cd .ub-countdown { gap: 14px; }
|
|
136
|
+
.ub-gl-midnight__cd .ub-countdown__c { min-width: 84px; height: 88px; border: 1px solid rgb(216 176 74 / 0.45); background: rgb(216 176 74 / 0.06); color: #ffffff; box-shadow: none; }
|
|
137
|
+
.ub-gl-midnight__cd .ub-countdown__c b { font-size: 36px; line-height: 40px; background: var(--gl-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
|
|
138
|
+
.ub-gl-midnight__cd .ub-countdown__c small { color: var(--ink-muted); letter-spacing: 0.12em; text-transform: uppercase; }
|
|
139
|
+
.ub-gl-midnight__text { display: grid; gap: 8px; justify-items: start; }
|
|
140
|
+
.ub-gl-midnight__text p { color: var(--ink-muted); }
|
|
141
|
+
.ub-gl-link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; }
|
|
142
|
+
.ub-gl-link svg { width: 16px; height: 16px; }
|
|
143
|
+
|
|
144
|
+
/* ---------- Sections ---------- */
|
|
145
|
+
.ub-gl-section { padding-top: var(--space-16); padding-bottom: var(--space-12); }
|
|
146
|
+
.ub-gl-h2 { font-family: var(--ub-font-head); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.02em; }
|
|
147
|
+
.ub-gl-head { display: flex; align-items: center; justify-content: center; gap: var(--space-6); margin-bottom: var(--space-12); text-align: center; }
|
|
148
|
+
.ub-gl-head--left { display: grid; justify-content: start; text-align: left; gap: 8px; margin-bottom: var(--space-8); }
|
|
149
|
+
.ub-gl-head--left p { color: var(--ink-muted); }
|
|
150
|
+
.ub-gl-rule { flex: 1; max-width: 180px; height: 1px; background: linear-gradient(90deg, transparent, var(--primary)); }
|
|
151
|
+
.ub-gl-rule:last-child { background: linear-gradient(90deg, var(--primary), transparent); }
|
|
152
|
+
|
|
153
|
+
/* Sélection : cadre intérieur doré */
|
|
154
|
+
.ub-gl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8) var(--space-6); margin: 0; padding: 0; list-style: none; }
|
|
155
|
+
.ub-gl-card { display: grid; gap: 6px; text-align: center; }
|
|
156
|
+
.ub-gl-card__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; margin-bottom: var(--space-3); border-radius: var(--ub-r-card); background: var(--surface); }
|
|
157
|
+
.ub-gl-card__media::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgb(216 176 74 / 0.55); border-radius: calc(var(--ub-r-card) - 6px); pointer-events: none; transition: inset 0.3s, border-color 0.3s; }
|
|
158
|
+
.ub-gl-card:hover .ub-gl-card__media::after { inset: 16px; border-color: #f7e08e; }
|
|
159
|
+
.ub-gl-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
|
|
160
|
+
.ub-gl-card:hover .ub-gl-card__media img { transform: scale(1.05); }
|
|
161
|
+
.ub-gl-card__media .ub-ph { position: absolute; inset: 0; }
|
|
162
|
+
.ub-gl-card__off { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); z-index: 1; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--gl-gold); color: #0a0a0c; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; }
|
|
163
|
+
.ub-gl-card__name { font-size: 16px; font-weight: 600; }
|
|
164
|
+
.ub-gl-card__price { display: flex; justify-content: center; align-items: baseline; gap: 10px; }
|
|
165
|
+
.ub-gl-card__price b { font-size: 18px; background: var(--gl-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
|
|
166
|
+
.ub-gl-card__price s { font-size: 13px; color: var(--ink-muted); }
|
|
167
|
+
|
|
168
|
+
/* 12 coups de minuit */
|
|
169
|
+
.ub-gl-strokes__row { display: flex; gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0; padding: 0 max(var(--space-6), calc((100vw - var(--content-max)) / 2 + var(--space-6))) var(--space-4); list-style: none; }
|
|
170
|
+
.ub-gl-strokes__row li { flex: 0 0 220px; scroll-snap-align: start; }
|
|
171
|
+
.ub-gl-stroke { position: relative; display: grid; justify-items: center; gap: 8px; padding: var(--space-8) var(--space-4) var(--space-6); border: 1px solid var(--border); border-radius: var(--ub-r-card); background: linear-gradient(180deg, var(--surface), var(--bg)); text-align: center; transition: border-color 0.2s, transform 0.2s; }
|
|
172
|
+
.ub-gl-stroke:hover { border-color: var(--primary); transform: translateY(-4px); }
|
|
173
|
+
.ub-gl-stroke__num { position: absolute; top: 6px; left: 14px; font-family: Georgia, "Times New Roman", serif; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgb(216 176 74 / 0.6); }
|
|
174
|
+
.ub-gl-stroke__img { width: 120px; height: 120px; overflow: hidden; border-radius: 50%; border: 2px solid rgb(216 176 74 / 0.5); background: var(--surface); }
|
|
175
|
+
.ub-gl-stroke__img img { width: 100%; height: 100%; object-fit: cover; }
|
|
176
|
+
.ub-gl-stroke__name { font-size: 14px; font-weight: 600; line-height: 19px; min-height: 38px; }
|
|
177
|
+
.ub-gl-stroke__price { color: var(--primary); }
|
|
178
|
+
|
|
179
|
+
/* Bannière feuille d'or */
|
|
180
|
+
.ub-gl-foil { position: relative; overflow: hidden; display: grid; justify-items: center; gap: var(--space-4); padding: clamp(48px, 7vw, 96px) var(--space-6); border-radius: var(--ub-r-card); background: var(--gl-gold); color: #0a0a0c; text-align: center; }
|
|
181
|
+
.ub-gl-foil .ub-gl-eyebrow { color: rgb(10 10 12 / 0.7); }
|
|
182
|
+
.ub-gl-foil p { max-width: 50ch; color: rgb(10 10 12 / 0.75); }
|
|
183
|
+
.ub-gl-foil__confetti {
|
|
184
|
+
position: absolute;
|
|
185
|
+
inset: 0;
|
|
186
|
+
pointer-events: none;
|
|
187
|
+
background-image:
|
|
188
|
+
radial-gradient(3px 6px at 10% 20%, #0a0a0c 50%, transparent 52%),
|
|
189
|
+
radial-gradient(3px 6px at 85% 30%, #ffffff 50%, transparent 52%),
|
|
190
|
+
radial-gradient(3px 6px at 70% 80%, #0a0a0c 50%, transparent 52%),
|
|
191
|
+
radial-gradient(3px 6px at 20% 75%, #ffffff 50%, transparent 52%),
|
|
192
|
+
radial-gradient(3px 6px at 50% 12%, #0a0a0c 50%, transparent 52%);
|
|
193
|
+
opacity: 0.35;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/* Page : pas de 2e bandeau CTA en bas de l'accueil Gala */
|
|
197
|
+
body:has(.ub-gala) .ub-footcta { display: none; }
|
|
198
|
+
|
|
199
|
+
@media (max-width: 900px) {
|
|
200
|
+
.ub-gl-hero { min-height: 0; align-items: flex-end; }
|
|
201
|
+
.ub-gl-hero[data-has-image] { background-position: 70% top; background-size: auto 62%; }
|
|
202
|
+
.ub-gl-hero::before, [data-variant="nouvel-an-2"] .ub-gl-hero::before { background: linear-gradient(180deg, transparent 0%, rgb(10 10 12 / 0.6) 36%, var(--hero-bg) 58%); }
|
|
203
|
+
.ub-gl-hero__in { padding-top: 300px; padding-bottom: var(--space-12); }
|
|
204
|
+
.ub-gl-midnight__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
|
|
205
|
+
.ub-gl-midnight__cd .ub-countdown__c { min-width: 0; flex: 1 1 0; height: 72px; }
|
|
206
|
+
.ub-gl-midnight__cd .ub-countdown__c b { font-size: 26px; line-height: 30px; }
|
|
207
|
+
.ub-gl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-3); }
|
|
208
|
+
.ub-gl-rule { display: none; }
|
|
209
|
+
.ub-gl-strokes__row { padding: 0 var(--space-4) var(--space-4); }
|
|
210
|
+
.ub-gl-strokes__row li { flex-basis: 180px; }
|
|
211
|
+
}
|
|
212
|
+
@media (prefers-reduced-motion: reduce) {
|
|
213
|
+
.ub-gl-hero__sparkle, .ub-gl-title__a, .ub-gl-title__b, [data-variant="nouvel-an-2"] .ub-gl-year { animation: none; }
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/* ---------- Nouvel An 2 : hero sombre, tout le reste en clair (ivoire, or, argent) ---------- */
|
|
217
|
+
[data-variant="nouvel-an-2"] {
|
|
218
|
+
--bg: #faf8f3; --surface: #f2eee5; --tint-1: #ece6da; --tint-2: #e6dfd0; --tint-3: #f5f1e8; --tint-4: #efe9de;
|
|
219
|
+
--ink: #16151a; --ink-muted: #6b675f; --border: #e4ddcf;
|
|
220
|
+
--primary: #16151a; --on-primary: #ffffff; --accent: #b08a2e; --on-accent: #ffffff; --sale: #a07b22;
|
|
221
|
+
--hero-bg: #0a0a0c; --hero-ink: #ffffff; --hero-muted: #c9c5bb;
|
|
222
|
+
--topbar-bg: #0a0a0c; --topbar-ink: #e8c766;
|
|
223
|
+
/* Or plus soutenu pour rester lisible sur fond clair */
|
|
224
|
+
--gl-gold-ink: linear-gradient(135deg, #b8912f 0%, #8a6a1c 55%, #c9a13f 100%);
|
|
225
|
+
}
|
|
226
|
+
[data-variant="nouvel-an-2"] .ub-gl-midnight { background: var(--bg); border-color: #e0d3ae; }
|
|
227
|
+
[data-variant="nouvel-an-2"] .ub-gl-midnight .ub-gl-eyebrow { color: var(--accent); }
|
|
228
|
+
[data-variant="nouvel-an-2"] .ub-gl-midnight__cd .ub-countdown__c { background: #ffffff; border-color: #e0d3ae; color: var(--ink); box-shadow: 0 10px 24px -14px rgb(22 21 26 / 0.25); }
|
|
229
|
+
[data-variant="nouvel-an-2"] .ub-gl-midnight__cd .ub-countdown__c b { background: var(--gl-gold-ink); -webkit-background-clip: text; background-clip: text; }
|
|
230
|
+
[data-variant="nouvel-an-2"] .ub-gl-link { color: var(--accent); }
|
|
231
|
+
[data-variant="nouvel-an-2"] .ub-gl-rule { background: linear-gradient(90deg, transparent, var(--accent)); }
|
|
232
|
+
[data-variant="nouvel-an-2"] .ub-gl-rule:last-child { background: linear-gradient(90deg, var(--accent), transparent); }
|
|
233
|
+
[data-variant="nouvel-an-2"] .ub-gl-card__media { background: #ffffff; box-shadow: 0 18px 40px -24px rgb(22 21 26 / 0.35); }
|
|
234
|
+
[data-variant="nouvel-an-2"] .ub-gl-card__media::after { border-color: rgb(176 138 46 / 0.55); }
|
|
235
|
+
[data-variant="nouvel-an-2"] .ub-gl-card__price b,
|
|
236
|
+
[data-variant="nouvel-an-2"] .ub-gl-stroke__price { background: var(--gl-gold-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
|
|
237
|
+
[data-variant="nouvel-an-2"] .ub-gl-stroke { background: #ffffff; border-color: var(--border); box-shadow: 0 14px 30px -22px rgb(22 21 26 / 0.3); }
|
|
238
|
+
[data-variant="nouvel-an-2"] .ub-gl-stroke:hover { border-color: var(--accent); }
|
|
239
|
+
[data-variant="nouvel-an-2"] .ub-gl-stroke__num { -webkit-text-stroke-color: rgb(176 138 46 / 0.55); }
|
|
240
|
+
[data-variant="nouvel-an-2"] .ub-gl-stroke__img { border-color: rgb(176 138 46 / 0.45); }
|
|
241
|
+
[data-variant="nouvel-an-2"] .ub-footwrap { --foot-bg: var(--surface); --foot-ink: var(--ink); --cta-bg: #0a0a0c; --cta-ink: #ffffff; }
|
|
242
|
+
[data-variant="nouvel-an-2"] .ub-footwrap .ub-footer { border: 1px solid var(--border); }
|