| 64 |
64 |
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } * { transition-duration: 0.01ms !important; } } |
| 65 |
65 |
|
| 66 |
66 |
/* ================= Hero ================= */ |
| 67 |
|
−.hero { padding: 58px 0 22px; } |
| 68 |
|
−@media (max-width: 640px) { .hero { padding: 34px 0 14px; } } |
|
67 |
+.hero { position: relative; padding: 64px 0 26px; } |
|
68 |
+@media (max-width: 640px) { .hero { padding: 36px 0 14px; } } |
|
69 |
+/* halo cerise + trame de points en fond — décoratif, sous le texte */ |
|
70 |
+.hero::before { |
|
71 |
+ content: ""; position: absolute; z-index: -1; top: -60px; right: -120px; |
|
72 |
+ width: 580px; height: 460px; pointer-events: none; |
|
73 |
+ background: radial-gradient(closest-side, rgba(226, 55, 68, 0.12), transparent 72%); |
|
74 |
+} |
|
75 |
+.hero::after { |
|
76 |
+ content: ""; position: absolute; z-index: -1; inset: -20px -40px 0 0; pointer-events: none; |
|
77 |
+ background-image: radial-gradient(rgba(20, 24, 20, 0.18) 1.2px, transparent 1.7px); |
|
78 |
+ background-size: 22px 22px; |
|
79 |
+ -webkit-mask-image: linear-gradient(112deg, transparent 58%, rgba(0, 0, 0, 0.9)); |
|
80 |
+ mask-image: linear-gradient(112deg, transparent 58%, rgba(0, 0, 0, 0.9)); |
|
81 |
+} |
| 69 |
82 |
.hero h1 { font-size: clamp(38px, 6.4vw, 78px); font-weight: 700; line-height: 0.98; text-transform: uppercase; letter-spacing: -0.035em; max-width: 940px; margin-top: 14px; } |
| 70 |
83 |
.hero h1 .outline { color: transparent; -webkit-text-stroke: 2px var(--ink); } |
| 71 |
84 |
.hero h1 .hl { background: var(--lime); color: #fff; padding: 0 10px; border-radius: 8px; display: inline-block; transform: rotate(-1deg); } |
| 72 |
85 |
.hero p.lede { color: var(--ink-2); font-size: 16.5px; max-width: 680px; margin: 20px 0 0; } |
| 73 |
|
−.stat-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; } |
| 74 |
|
−.stat-chip { background: var(--surface); border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; box-shadow: 3px 3px 0 rgba(26, 18, 20, 0.12); } |
| 75 |
|
−.stat-chip b { color: var(--ink); font-weight: 700; } |
|
86 |
+ |
|
87 |
+/* — CTA du héro : accès direct aux résultats / à la carte — */ |
|
88 |
+.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; } |
|
89 |
+.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 15px; border-radius: 10px; } |
|
90 |
+.btn-lg svg { flex: none; } |
|
91 |
+.hero-cta .btn-primary { box-shadow: 5px 5px 0 var(--lime); } |
|
92 |
+.hero-cta .btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--lime); background: var(--ink); } |
|
93 |
+.hero-cta .btn-primary:active { transform: translate(2px, 2px); } |
|
94 |
+@media (max-width: 640px) { |
|
95 |
+ .hero::before { width: 320px; height: 260px; top: -30px; right: -90px; } |
|
96 |
+ .hero-cta { gap: 10px; } |
|
97 |
+ .hero-cta .btn { flex: 1 1 45%; } |
|
98 |
+} |
|
99 |
+ |
|
100 |
+.stat-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; } |
|
101 |
+.stat-chip { background: var(--surface); border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; box-shadow: 3px 3px 0 rgba(26, 18, 20, 0.12); transition: transform 0.13s ease, box-shadow 0.13s ease; } |
|
102 |
+@media (hover: hover) { .stat-chip:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 rgba(26, 18, 20, 0.2); } } |
|
103 |
+.stat-chip b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; } |
| 76 |
104 |
.stat-chip .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--lime-soft); animation: pulse 2.4s ease infinite; } |
| 77 |
105 |
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(226, 55, 68, 0.4); } } |
| 78 |
106 |
|
| 79 |
107 |
/* ================= Filter bar ================= */ |
| 80 |
|
−.filterbar { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow-off-soft); padding: 14px; margin: 30px 0 6px; display: flex; flex-direction: column; gap: 0; min-width: 0; } |
|
108 |
+.filterbar { background: var(--surface); border: 2px solid var(--ink); border-radius: 14px; box-shadow: var(--shadow-off-soft); padding: 14px; margin: 34px 0 6px; display: flex; flex-direction: column; gap: 0; min-width: 0; } |
| 81 |
109 |
.f-primary { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; min-width: 0; } |
| 82 |
|
−.f-search { flex: 1 1 240px; min-width: 0; display: flex; align-items: center; gap: 9px; border: 1.5px solid var(--ink); border-radius: 9px; background: var(--surface-2); padding: 0 13px; min-height: 52px; color: var(--ink-2); transition: box-shadow 0.15s ease; } |
| 83 |
|
−.f-search:focus-within { box-shadow: 3px 3px 0 var(--lime); background: var(--surface); } |
|
110 |
+.f-search { flex: 1 1 240px; min-width: 0; display: flex; align-items: center; gap: 9px; border: 1.5px solid var(--ink); border-radius: 9px; background: var(--surface-2); padding: 0 14px; min-height: 52px; color: var(--ink-2); transition: box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease; } |
|
111 |
+.f-search:focus-within { box-shadow: 3px 3px 0 var(--lime); background: var(--surface); color: var(--accent-deep); } |
| 84 |
112 |
.f-search input { border: none; background: none; outline: none; flex: 1; min-width: 0; font-size: 15px; color: var(--ink); font-family: inherit; } |
| 85 |
|
−.f-clear { border: none; background: var(--line); color: var(--ink-2); border-radius: 50%; width: 20px; height: 20px; font-size: 10px; cursor: pointer; flex: none; display: grid; place-items: center; } |
| 86 |
|
−.f-ctl { flex: 0 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; border: 1.5px solid var(--ink); border-radius: 9px; background: var(--surface); padding: 7px 12px 6px; min-height: 52px; cursor: pointer; transition: box-shadow 0.15s ease; } |
| 87 |
|
−.f-ctl:focus-within { box-shadow: 3px 3px 0 var(--lime); } |
|
113 |
+.f-search input::placeholder { color: var(--ink-3); } |
|
114 |
+.f-clear { border: none; background: var(--line); color: var(--ink-2); border-radius: 50%; width: 22px; height: 22px; font-size: 10px; cursor: pointer; flex: none; display: grid; place-items: center; transition: background 0.12s ease, color 0.12s ease; } |
|
115 |
+.f-clear:hover { background: var(--ink); color: #fff; } |
|
116 |
+.f-ctl { flex: 0 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; border: 1.5px solid var(--ink); border-radius: 9px; background: var(--surface); padding: 7px 12px 6px; min-height: 52px; cursor: pointer; transition: box-shadow 0.15s ease, background 0.15s ease; } |
|
117 |
+@media (hover: hover) { .f-ctl:hover { background: var(--surface-2); } } |
|
118 |
+.f-ctl:focus-within { box-shadow: 3px 3px 0 var(--lime); background: var(--surface); } |
| 88 |
119 |
.f-ctl > span { font-family: var(--font-mono); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); } |
| 89 |
120 |
.f-ctl select { border: none; background: transparent; outline: none; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--ink); cursor: pointer; appearance: none; -webkit-appearance: none; padding-right: 16px; min-width: 0; max-width: 180px; text-overflow: ellipsis; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='5'%3E%3Cpath d='M0 0l4.5 5L9 0z' fill='%23141814'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; } |
| 90 |
121 |
.range-pair { display: flex; align-items: center; gap: 4px; } |
| 91 |
122 |
.range-pair select { max-width: 92px; } |
| 92 |
123 |
.range-sep { color: var(--ink-3); font-family: var(--font-mono); font-size: 11px; } |
| 93 |
|
−.f-more { flex: none; align-self: stretch; border: 1.5px solid var(--ink); border-radius: 9px; background: var(--surface); color: var(--ink); padding: 0 18px; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 14px; min-height: 52px; transition: all 0.13s ease; } |
| 94 |
|
−.f-more:hover { background: var(--lime-soft); } |
| 95 |
|
−.f-more.on { background: var(--ink); color: var(--lime); box-shadow: 3px 3px 0 rgba(26, 18, 20,0.22); } |
| 96 |
|
−.f-adv { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px 22px; border-top: 1.5px dashed var(--line); margin-top: 14px; padding-top: 14px; min-width: 0; animation: adv-in 0.18s ease; } |
| 97 |
|
−@keyframes adv-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } } |
|
124 |
+.f-more { flex: none; align-self: stretch; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink); border-radius: 9px; background: var(--surface); color: var(--ink); padding: 0 18px; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 14px; min-height: 52px; transition: transform 0.13s ease, box-shadow 0.13s ease, background 0.13s ease, color 0.13s ease; } |
|
125 |
+.f-more:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-off-mid); background: var(--surface); } |
|
126 |
+.f-more:active { transform: none; box-shadow: none; } |
|
127 |
+.f-more.on { background: var(--ink); border-color: var(--ink); color: var(--lime); box-shadow: 3px 3px 0 var(--lime); } |
|
128 |
+.f-more.on:hover { transform: none; } |
|
129 |
+.f-more-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--lime); color: var(--on-accent); font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; } |
|
130 |
+.f-chev { width: 8px; height: 8px; flex: none; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform 0.18s ease, margin 0.18s ease; } |
|
131 |
+.f-chev.up { transform: rotate(-135deg); margin-top: 4px; } |
|
132 |
+.f-adv { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px 26px; border-top: 1.5px dashed var(--line); margin-top: 14px; padding-top: 16px; min-width: 0; animation: adv-in 0.22s cubic-bezier(0.2, 0.9, 0.3, 1); } |
|
133 |
+@keyframes adv-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } } |
| 98 |
134 |
.f-group { display: flex; flex-direction: column; gap: 7px; min-width: 0; } |
| 99 |
135 |
.f-group > label { font-family: var(--font-mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); } |
| 100 |
136 |
.f-group-end { justify-content: flex-end; } |
| 102 |
138 |
.f-native { border: 1.5px solid var(--line); background: var(--surface-2); border-radius: var(--r-ctl); padding: 10px 30px 10px 12px; font-size: 14px; color: var(--ink); outline: none; font-family: inherit; min-height: 42px; width: 100%; min-width: 0; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23141814'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; } |
| 103 |
139 |
.f-native:focus { border-color: var(--ink); box-shadow: 3px 3px 0 var(--lime); } |
| 104 |
140 |
.seg { display: inline-flex; flex-wrap: wrap; row-gap: 6px; } |
| 105 |
|
−.seg button { border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink-2); padding: 8px 13px; font-family: var(--font-display); font-weight: 600; font-size: 13px; cursor: pointer; margin-left: -1.5px; white-space: nowrap; min-height: 38px; transition: all 0.12s ease; } |
|
141 |
+.seg button { border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink-2); padding: 8px 13px; font-family: var(--font-display); font-weight: 600; font-size: 13px; cursor: pointer; margin-left: -1.5px; white-space: nowrap; min-height: 40px; transition: background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease; } |
| 106 |
142 |
.seg button:first-child { border-radius: 8px 0 0 8px; margin-left: 0; } |
| 107 |
143 |
.seg button:last-child { border-radius: 0 8px 8px 0; } |
| 108 |
144 |
.seg button:hover { background: var(--lime-soft); color: var(--ink); } |
| 109 |
|
−.seg button.on { background: var(--ink); color: var(--lime); position: relative; z-index: 1; } |
| 110 |
|
− |
| 111 |
|
−.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 2px; } |
| 112 |
|
−.pill { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--ink); background: var(--lime-soft); color: var(--ink); border-radius: 999px; padding: 6px 13px; font-size: 12.5px; font-weight: 600; font-family: var(--font-mono); cursor: pointer; transition: all 0.13s ease; } |
| 113 |
|
−.pill:hover { background: var(--lime); color: #fff; } |
| 114 |
|
−.pill-x { font-size: 10px; opacity: 0.65; } |
| 115 |
|
−.pill-clear { background: var(--surface); border-color: var(--danger); color: var(--danger); } |
| 116 |
|
−.pill-clear:hover { background: var(--danger); color: #fff; } |
|
145 |
+.seg button.on { background: var(--ink); color: var(--lime); position: relative; z-index: 1; box-shadow: inset 0 -2.5px 0 var(--lime); } |
|
146 |
+ |
|
147 |
+/* pastilles de filtres actifs — survol = intention de retrait (danger) */ |
|
148 |
+.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 2px; } |
|
149 |
+.pills .pill { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 13px; font-size: 12.5px; font-weight: 600; font-family: var(--font-mono); text-transform: none; letter-spacing: normal; cursor: pointer; transition: all 0.13s ease; box-shadow: 2px 2px 0 var(--lime-soft); animation: pill-in 0.18s ease; } |
|
150 |
+@keyframes pill-in { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } } |
|
151 |
+.pills .pill:hover { background: var(--danger-soft); border-color: var(--danger); color: var(--danger); box-shadow: none; } |
|
152 |
+.pills .pill:hover .pill-x { opacity: 1; } |
|
153 |
+.pill-x { font-size: 10px; opacity: 0.6; } |
|
154 |
+.pills .pill-clear { background: var(--surface); border-color: var(--danger); color: var(--danger); box-shadow: none; } |
|
155 |
+.pills .pill-clear:hover { background: var(--danger); color: #fff; } |
| 117 |
156 |
.link-btn { background: none; border: none; padding: 0; color: var(--green); font: inherit; text-decoration: underline; cursor: pointer; } |
| 118 |
157 |
|
| 119 |
|
−.btn { border: 1.5px solid var(--ink); border-radius: var(--r-ctl); padding: 11px 20px; font-weight: 700; font-size: 14px; cursor: pointer; min-height: 44px; transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease; font-family: var(--font-display); letter-spacing: 0.01em; } |
|
158 |
+.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--ink); border-radius: var(--r-ctl); padding: 11px 20px; font-weight: 700; font-size: 14px; cursor: pointer; min-height: 44px; background: var(--surface); color: var(--ink); transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease, color 0.15s ease; font-family: var(--font-display); letter-spacing: 0.01em; text-decoration: none; } |
|
159 |
+.btn:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-off-mid); } |
| 120 |
160 |
.btn:active { transform: translate(2px, 2px); box-shadow: none !important; } |
|
161 |
+.btn:disabled { opacity: 0.45; pointer-events: none; } |
| 121 |
162 |
.btn-primary { background: var(--ink); color: var(--lime); box-shadow: 4px 4px 0 rgba(26, 18, 20,0.25); } |
| 122 |
|
−.btn-primary:hover { background: var(--green-deep); } |
|
163 |
+.btn-primary:hover { background: var(--green-deep); box-shadow: 4px 4px 0 rgba(26, 18, 20,0.25); } |
| 123 |
164 |
.btn-ghost { background: transparent; color: var(--ink); } |
| 124 |
165 |
.btn-ghost:hover { background: var(--lime); color: #fff; box-shadow: 4px 4px 0 rgba(26, 18, 20,0.2); } |
| 125 |
166 |
|
| 126 |
167 |
/* ================= Chips ================= */ |
| 127 |
168 |
.chips { display: flex; gap: 8px; margin: 16px 0 4px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; } |
| 128 |
169 |
.chips::-webkit-scrollbar { display: none; } |
| 129 |
|
−.chip { border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 18px; font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: var(--font-display); white-space: nowrap; min-height: 40px; transition: all 0.13s ease; } |
| 130 |
|
−.chip:hover { background: var(--lime-soft); transform: translateY(-1px); } |
| 131 |
|
−.chip.on { background: var(--ink); color: var(--lime); box-shadow: 3px 3px 0 rgba(26, 18, 20,0.2); } |
|
170 |
+.chip { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 9px 18px; font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: var(--font-display); white-space: nowrap; min-height: 42px; transition: transform 0.13s ease, box-shadow 0.13s ease, background 0.13s ease, color 0.13s ease; } |
|
171 |
+.chip:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-off-mid); } |
|
172 |
+.chip:active { transform: none; box-shadow: none; } |
|
173 |
+.chip.on { background: var(--ink); color: var(--lime); box-shadow: 3px 3px 0 var(--lime); } |
| 132 |
174 |
|
| 133 |
175 |
/* ================= Results ================= */ |
| 134 |
176 |
.results-head { display: flex; align-items: baseline; gap: 14px; margin: 28px 0 18px; flex-wrap: wrap; } |
| 135 |
177 |
.results-head h2 { font-size: 22px; text-transform: uppercase; letter-spacing: -0.02em; } |
| 136 |
178 |
.results-head > span { font-family: var(--font-mono); color: var(--ink-3); font-size: 12px; letter-spacing: 0.06em; } |
| 137 |
179 |
.results-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; } |
| 138 |
|
−.sort-ctl select { border: 1.5px solid var(--line-strong); background: var(--surface); border-radius: var(--r-ctl); padding: 7px 28px 7px 12px; font-family: var(--font-mono); font-size: 12px; color: var(--ink); cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23141814'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; } |
| 139 |
|
−.view-toggle { display: inline-flex; border: 1.5px solid var(--line-strong); border-radius: var(--r-ctl); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-flat); } |
| 140 |
|
−.view-toggle button { border: 0; background: transparent; padding: 7px 14px; cursor: pointer; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); } |
| 141 |
|
−.view-toggle button + button { border-left: 1.5px solid var(--line-strong); } |
| 142 |
|
−.view-toggle button.on { background: var(--ink); color: var(--lime); } |
|
180 |
+.sort-ctl select { border: 1.5px solid var(--ink); background: var(--surface); border-radius: var(--r-ctl); padding: 8px 28px 8px 12px; min-height: 36px; font-family: var(--font-mono); font-size: 12px; color: var(--ink); cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23141814'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; transition: box-shadow 0.13s ease; } |
|
181 |
+.sort-ctl select:hover { box-shadow: 2px 2px 0 rgba(26, 18, 20, 0.18); } |
|
182 |
+.sort-ctl select:focus { outline: none; box-shadow: 3px 3px 0 var(--lime); } |
|
183 |
+.view-toggle { display: inline-flex; border: 1.5px solid var(--ink); border-radius: var(--r-ctl); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-flat); } |
|
184 |
+.view-toggle button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 8px 14px; min-height: 36px; cursor: pointer; font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--ink-2); transition: background 0.12s ease, color 0.12s ease; } |
|
185 |
+.view-toggle button:hover { background: var(--surface-2); color: var(--ink); } |
|
186 |
+.view-toggle button + button { border-left: 1.5px solid var(--ink); } |
|
187 |
+.view-toggle button.on { background: var(--ink); color: var(--lime); box-shadow: inset 0 -2.5px 0 var(--lime); } |
| 143 |
188 |
|
| 144 |
189 |
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; padding-bottom: 20px; } |
| 145 |
190 |
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; gap: 16px; } } |
| 532 |
577 |
|
| 533 |
578 |
/* ================= Mobile : feuille de filtres + FAB ================= */ |
| 534 |
579 |
.sheet-head { display: none; } |
|
580 |
+.sheet-handle { display: none; } |
| 535 |
581 |
.sheet-apply { display: none; } |
| 536 |
582 |
.sheet-backdrop { display: none; } |
| 537 |
583 |
.fab { display: none; } |
|
584 |
+.fab-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--lime); color: #fff; font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; margin-left: 2px; } |
| 538 |
585 |
@media (max-width: 640px) { |
| 539 |
586 |
.header-inner { height: 56px; } |
| 540 |
587 |
.brand { font-size: 21px; } |
| 547 |
594 |
.filterbar.open .f-primary { flex-direction: column; } |
| 548 |
595 |
.filterbar.open .f-ctl select { max-width: none; width: 100%; } |
| 549 |
596 |
.filterbar.open .f-more { display: none; } |
| 550 |
|
− .filterbar.open { display: flex; flex-direction: column; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; margin: 0; border-radius: 20px 20px 0 0; border-width: 2px 0 0 0; max-height: 82dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -16px 48px rgba(16, 18, 16, 0.35); animation: sheet-up 0.22s ease; } |
|
597 |
+ .filterbar.open { display: flex; flex-direction: column; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-modal, 900); margin: 0; border-radius: 20px 20px 0 0; border-width: 2px 0 0 0; max-height: 82dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 10px 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -16px 48px rgba(16, 18, 16, 0.35); animation: sheet-up 0.24s cubic-bezier(0.2, 0.9, 0.3, 1); } |
| 551 |
598 |
@keyframes sheet-up { from { transform: translateY(30%); opacity: 0.4; } to { transform: none; opacity: 1; } } |
| 552 |
|
− .filterbar.open .sheet-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; text-transform: uppercase; position: sticky; top: -16px; background: var(--surface); padding: 6px 0 8px; border-bottom: 1.5px solid var(--line); margin-bottom: 2px; z-index: 1; } |
|
599 |
+ .filterbar.open .sheet-handle { display: block; flex: none; width: 44px; height: 5px; border-radius: 999px; background: var(--line); margin: 0 auto 2px; } |
|
600 |
+ .filterbar.open .sheet-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; text-transform: uppercase; position: sticky; top: -10px; background: var(--surface); padding: 6px 0 8px; border-bottom: 1.5px solid var(--line); margin-bottom: 2px; z-index: 1; } |
| 553 |
601 |
.sheet-close { border: 1.5px solid var(--ink); background: var(--surface); border-radius: 50%; width: 36px; height: 36px; font-size: 15px; cursor: pointer; line-height: 1; } |
| 554 |
|
− .filterbar.open .sheet-apply { display: block; width: 100%; } |
|
602 |
+ .filterbar.open .sheet-apply { display: flex; width: 100%; min-height: 50px; position: sticky; bottom: 0; z-index: 1; box-shadow: 0 -14px 18px -12px rgba(16, 18, 16, 0.4), 5px 5px 0 var(--lime); } |
| 555 |
603 |
.sheet-backdrop { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(16, 18, 16, 0.45); backdrop-filter: blur(2px); } |
| 556 |
|
− .fab { display: flex; align-items: center; gap: 6px; position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 80; background: var(--ink); color: var(--lime); border: 1.5px solid var(--ink); border-radius: 999px; padding: 13px 24px; font-family: var(--font-display); font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 8px 24px rgba(16, 18, 16, 0.35), 4px 4px 0 rgba(26, 18, 20, 0.25); } |
|
604 |
+ .fab { display: flex; align-items: center; gap: 8px; position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 80; background: var(--ink); color: var(--lime); border: 1.5px solid var(--ink); border-radius: 999px; padding: 13px 24px; font-family: var(--font-display); font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 8px 24px rgba(16, 18, 16, 0.35), 4px 4px 0 rgba(226, 55, 68, 0.55); } |
| 557 |
605 |
.fab:active { transform: translateX(-50%) scale(0.97); } |
| 558 |
606 |
.results-head { margin-top: 20px; } |
| 559 |
607 |
.chips { margin-right: -16px; padding-right: 16px; } |
| 589 |
637 |
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; |
| 590 |
638 |
gap: 6px; margin: 32px 0 8px; } |
| 591 |
639 |
.pager-btn { |
| 592 |
|
− font-family: var(--font-mono); font-size: 14px; min-width: 40px; padding: 8px 12px; |
| 593 |
|
− border: 2px solid var(--ink); background: var(--surface); color: var(--ink); |
| 594 |
|
− cursor: pointer; box-shadow: var(--shadow-off-soft); |
| 595 |
|
−} |
| 596 |
|
−.pager-btn:hover:not(:disabled) { background: var(--lime-soft); } |
| 597 |
|
−.pager-btn.on { background: var(--ink); color: var(--lime); font-weight: 700; } |
|
640 |
+ font-family: var(--font-mono); font-size: 14px; min-width: 42px; min-height: 42px; padding: 8px 12px; |
|
641 |
+ border: 2px solid var(--ink); border-radius: 8px; background: var(--surface); color: var(--ink); |
|
642 |
+ cursor: pointer; box-shadow: 3px 3px 0 rgba(26, 18, 20, 0.14); |
|
643 |
+ transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease; |
|
644 |
+} |
|
645 |
+.pager-btn:hover:not(:disabled):not(.on) { background: var(--lime-soft); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 rgba(26, 18, 20, 0.2); } |
|
646 |
+.pager-btn:active:not(:disabled) { transform: none; box-shadow: none; } |
|
647 |
+.pager-btn.on { background: var(--ink); color: var(--lime); font-weight: 700; box-shadow: 3px 3px 0 var(--lime); } |
| 598 |
648 |
.pager-btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; } |
| 599 |
649 |
.pager-gap { padding: 0 4px; color: var(--ink-3); } |
| 600 |
650 |
.pager-info { width: 100%; text-align: center; margin-top: 8px; font-size: 12px; |
| 601 |
651 |
|