Newer
Older
.gaz-color {
color: $gaz-color;
}
.water-color {
color: $water-color;
}
.elec-color {
color: $elec-color;
}
nav {
@include nav-height();
width: 100%;
position: fixed;
z-index: 100;
background: radial-gradient(
74.83% 76.97% at 50% 13.64%,
#343641 0%,
#1b1c22 100%
);
padding: 1rem 4rem;
display: flex;
justify-content: space-between;
transition: all 300ms ease;
.main-logo {
display: flex;
align-items: center;
gap: 1rem;
font-size: 1.5rem;
}
.links {
display: flex;
align-items: center;
gap: 3.5rem;
.navlink {
text-decoration: none;
font-weight: 700;
}
}
@media (max-width: $breakpoint) {
.main-logo {
margin: auto;
}
.links {
display: none;
}
}
}
.container {
padding: 0 1rem;
@media (min-width: $breakpoint) {
padding: 0;
}
}
.main-cta {
justify-content: center;
align-items: flex-start;
flex-wrap: wrap;
padding-left: 2rem;
gap: 1rem;
.illu {
order: 1;
}
.content-txt {
order: 2;
}
.mglLogo {
order: 3;
}
h2 {
margin-top: 1.5rem;
font-weight: 700;
ul {
padding-top: 1rem;
li {
margin-bottom: 0.5rem;
.button {
margin: 2rem 0;
@include button($black, $yellow);
font-size: 1.25rem;
text-align: center;
justify-content: center;
gap: 0.5rem;
font-weight: 700;
line-height: 115%;
padding: 0.5rem 1rem 0.5rem 0.5rem;
background: radial-gradient(
105.25% 64.58% at 49.68% 70.83%,
rgba(226, 137, 4, 0.5) 0%,
rgba(255, 255, 255, 0) 100%
),
$yellow;
img {
transform: translate(0, 2px);
}
}
}
.illu {
@media (max-width: $breakpoint) {
width: 100%;
padding: 0.5rem 1rem;
border: 1px solid white;
border-radius: 6px;
@media (max-width: $breakpoint) {
margin-top: 0;
}
}
}
.explanation {
background: $bg-light;
text-align: center;
padding-top: 5rem;
@media (max-width: $breakpoint) {
}
.compteurs {
display: flex;
align-items: center;
justify-content: center;
margin-top: 7rem;
& > *:not(:last-child) {
margin-right: 0.8rem;
}
@media (max-width: $breakpoint) {
flex-direction: column;
& > div:not(.gaz-color) {
margin-bottom: 2rem;
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
}
span {
margin-bottom: 5rem;
}
}
span {
color: $grey;
font-size: 1.1rem;
}
.bloc {
width: 280px;
height: 280px;
padding: 0.5rem;
background: linear-gradient(180deg, #323339 0%, #25262b 100%);
border: solid 1px;
border-radius: 4px;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.55);
display: flex;
flex-direction: column;
position: relative;
transition: all 300ms ease;
&:hover {
box-shadow: 0 0 10px 0 currentColor;
}
h3 {
color: currentColor;
margin-top: 8rem;
font-weight: 900;
font-size: 2rem;
}
.compteur-img {
position: absolute;
top: -6rem;
left: 0;
right: 0;
margin: auto;
}
p {
padding-top: 0.5rem;
}
.provider-logo {
margin-top: auto;
display: flex;
height: 35px;
img {
margin: auto;
}
}
}
.elec-color {
border-color: rgba($elec-color, 0.4);
}
.gaz-color {
border-color: rgba($gaz-color, 0.4);
}
.water-color {
border-color: rgba($water-color, 0.4);
}
}
.fluid-pipes {
margin-top: 1.5rem;
img {
@media (max-width: $breakpoint) {
width: 100%;
}
}
}
}
.security {
background: radial-gradient(
105.25% 64.58% at 49.68% 70.83%,
rgba(226, 137, 4, 0.5) 0%,
rgba(255, 255, 255, 0) 100%
),
$yellow;
display: flex;
margin-top: -1rem;
position: relative;
&:before,
&::after {
display: inline-block;
position: absolute;
width: 100%;
height: 10px;
left: 0;
background-image: url('assets/pattern-dot.svg');
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
background-color: $dark-yellow;
background-repeat: repeat-x;
background-position: center;
z-index: 1;
}
&::before {
top: -0.5rem;
}
&:after {
bottom: -0.5rem;
}
.container {
max-width: 1400px;
margin: 0 auto;
}
.container-cloud {
display: flex;
position: relative;
padding: 7rem 0 2rem;
justify-content: space-between;
align-items: center;
@media (min-width: $breakpoint) {
padding: 3rem 0;
}
}
p {
color: $black;
font-size: 1.5rem;
font-weight: 700;
flex-basis: 40%;
&:nth-of-type(1) {
text-align: right;
}
}
.xs-text {
display: block;
flex-basis: 100%;
text-align: center;
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
@media (min-width: $breakpoint) {
display: none;
}
}
.xl-text {
display: none;
line-height: 140%;
@media (min-width: $breakpoint) {
display: block;
}
}
.container-img {
position: absolute;
z-index: 2;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
@media (max-width: $breakpoint) {
top: -70px;
transform: translateX(-50%);
width: 45%;
}
img {
width: 100%;
}
}
}
.views-app {
background: $bg-light;
padding-bottom: 2rem;
@media (max-width: $breakpoint) {
padding-bottom: 0;
}
.content {
max-width: 945px;
width: 100%;
margin: 0 auto;
}
.fluid-pipes {
text-align: center;
@media (max-width: $breakpoint) {
display: none;
}
img {
transform: translate(0, -25px);
}
}
.screens-container {
display: flex;
justify-content: center;
@media (max-width: $breakpoint) {
flex-direction: column;
margin-top: 0.5rem;
.screen {
text-align: center;
padding-top: 6rem;
position: relative;
&:before,
&:after {
display: inline-block;
height: 100px;
width: 1px;
background: $yellow;
position: absolute;
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
top: 0;
z-index: 1;
}
&::before {
left: 48%;
transform: translateX(-50%);
}
&::after {
left: 52%;
transform: translateX(-50%);
}
}
img {
width: 90%;
position: relative;
z-index: 2;
}
p {
margin: 1.5rem 0;
}
}
.screen {
&.consumption,
&.ecogesture {
margin-top: 0;
@media (min-width: $breakpoint) {
margin-top: -8rem;
}
}
&.challenge {
@media (min-width: $breakpoint) {
margin-top: -4rem;
}
}
p {
font-weight: 700;
line-height: 120%;
margin-top: 1rem;
}
&.consumption {
@media (min-width: $breakpoint) {
margin-right: -5.5rem;
}
span {
color: $elec-color;
}
}
&.challenge {
span {
color: $light-blue;
}
}
&.ecogesture {
@media (min-width: $breakpoint) {
margin-left: -5.5rem;
}
span {
color: $fluid-color;
}
}
}
}
p {
line-height: 24px;
font-size: 1.25rem;
text-align: center;
margin: 1.5rem 0;
@media (min-width: $breakpoint) {
margin: 2rem 0 0;
}
span {
display: block;
font-size: 1.5rem;
}
}
}
max-width: 1000px;
margin: auto;
.step {
display: flex;
&:not(:last-child) {
margin: 2.5rem 0;
}
@media all and (max-width: $large-device) {
flex-direction: column;
align-items: center;
}
.flex {
display: flex;
.number {
font-size: 5rem;
@media all and (max-width: $large-device) {
margin-top: 0;
font-size: 3rem;
}
}
.content {
@media all and (max-width: $large-device) {
font-size: 1rem;
}
}
.header {
font-weight: 900;
margin-bottom: 0.5rem;
@media all and (max-width: $large-device) {
font-size: 1.2rem;
}
}
.content {
font-size: 1.2rem;
font-weight: 400;
}
}
.createAccountButton {
@include button($black, $yellow);
margin: auto;
font-size: 1.5rem;
text-align: center;
justify-content: center;
font-weight: 700;
padding: 2rem 3rem;
border-radius: 4px;
background: radial-gradient(
105.25% 64.58% at 49.68% 70.83%,
rgba(226, 137, 4, 0.5) 0%,
rgba(255, 255, 255, 0) 100%
),
$yellow;
color: white;
.text-content {
max-width: 689px;
text-align: center;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 1rem;
img {
width: 230px;
margin: auto;
}
h2 {
font-size: 1.75rem;
font-weight: 900;
margin: 0;
}
p {
line-height: 1.463rem;
padding: 0;
}
.button {
@include button(white, $blue);
margin: auto;
font-size: 1.25rem;
height: unset;
font-weight: 700;
padding: 1rem 2rem;
border-radius: 4px;
}
}
}
footer {
background-color: $black;
display: flex;
align-items: center;
justify-content: space-between;
gap: 2rem;
padding: 1rem 2rem;
padding-top: 5rem;
.logos-footer {
display: flex;
align-items: center;
gap: 1.5rem;
}
.legal-notice {
display: flex;
gap: 0.5rem;
}
.footerLink {
color: $yellow;
font-weight: 900;
}
.contact {
display: flex;
gap: 1rem;
}
.info {
display: flex;
align-items: center;
font-weight: 700;
gap: 0.5rem;
a {
text-decoration: none;
display: flex;
align-items: center;
gap: 0.25rem;
}
}
@media (max-width: $breakpoint) {
flex-direction: column;
padding: 2rem 1rem 1rem;
.contact {
order: 1;
flex-direction: column;
align-items: center;
}
.logos-footer {
order: 2;
flex-direction: column;
}
.info {
order: 4;
transform: scale(0.8);
}
.legal-notice {
order: 3;
}
}
}