chore: build
Frontend Web - Build & Lint / build (push) Has been cancelled

This commit is contained in:
2026-06-27 19:40:01 +02:00
parent 79a51a03aa
commit 784642ffa6
+158 -151
View File
@@ -1,233 +1,240 @@
/* Reset et optimisation mobile */ /* Reset et optimisation mobile */
* { * {
margin: 0; margin: 0;
padding: 0; padding: 0;
box-sizing: border-box; box-sizing: border-box;
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent;
} }
:root { :root {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif; font-family:
line-height: 1.5; -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
font-weight: 400; "Ubuntu", "Cantarell", sans-serif;
color: rgba(255, 255, 255, 0.87); line-height: 1.5;
font-synthesis: none; font-weight: 400;
text-rendering: optimizeLegibility; color: rgba(255, 255, 255, 0.87);
-webkit-font-smoothing: antialiased; font-synthesis: none;
-moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
/* Empêcher le zoom sur les inputs pour iOS */ -webkit-font-smoothing: antialiased;
font-size: 16px; -moz-osx-font-smoothing: grayscale;
/* Couleurs néon violet */ /* Empêcher le zoom sur les inputs pour iOS */
--neon-violet: rgba(138, 43, 226, 1); /* Blueviolet */ font-size: 16px;
--neon-violet-light: rgba(186, 85, 211, 1); /* Medium Orchid */ /* Couleurs néon violet */
--neon-violet-glow: rgba(138, 43, 226, 0.6); --neon-violet: rgba(138, 43, 226, 1); /* Blueviolet */
--neon-violet-light: rgba(186, 85, 211, 1); /* Medium Orchid */
--neon-violet-glow: rgba(138, 43, 226, 0.6);
} }
html, body { html,
margin: 0; body {
padding: 0; margin: 0;
width: 100%; padding: 0;
height: 100%; width: 100%;
overflow-x: hidden; height: 100%;
/* Désactiver le scroll bounce sur iOS */ overflow-x: hidden;
overscroll-behavior: none; /* Désactiver le scroll bounce sur iOS */
-webkit-overflow-scrolling: touch; overscroll-behavior: none;
/* Ne pas forcer de background pour permettre aux pages d'avoir leur propre style */ -webkit-overflow-scrolling: touch;
background-color: transparent !important;
} }
body { body {
position: fixed; position: fixed;
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
/* Effet de hover sur toute la page - Curseur personnalisé violet */ /* Effet de hover sur toute la page - Curseur personnalisé violet */
body::before { body::before {
content: ''; content: "";
position: fixed; position: fixed;
width: 40px; width: 40px;
height: 40px; height: 40px;
border: 2px solid var(--neon-violet-glow); border: 2px solid var(--neon-violet-glow);
border-radius: 50%; border-radius: 50%;
pointer-events: none; pointer-events: none;
z-index: 9999; z-index: 9999;
transition: transform 0.2s ease, opacity 0.2s ease; transition:
opacity: 0; transform 0.2s ease,
box-shadow: 0 0 10px var(--neon-violet-glow); opacity 0.2s ease;
opacity: 0;
box-shadow: 0 0 10px var(--neon-violet-glow);
} }
body:hover::before { body:hover::before {
opacity: 1; opacity: 1;
} }
/* Effet de gradient violet qui suit le curseur */ /* Effet de gradient violet qui suit le curseur */
body::after { body::after {
content: ''; content: "";
position: fixed; position: fixed;
width: 300px; width: 300px;
height: 300px; height: 300px;
background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, transparent 70%); background: radial-gradient(
pointer-events: none; circle,
z-index: 1; rgba(138, 43, 226, 0.15) 0%,
opacity: 0; transparent 70%
transition: opacity 0.3s ease; );
pointer-events: none;
z-index: 1;
opacity: 0;
transition: opacity 0.3s ease;
} }
@media (hover: hover) { @media (hover: hover) {
body:hover::after { body:hover::after {
opacity: 1; opacity: 1;
} }
} }
#root { #root {
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow: auto; overflow: auto;
/* Ne pas forcer de background sur root non plus */ /* Ne pas forcer de background sur root non plus */
background-color: transparent !important; background-color: transparent !important;
position: relative; position: relative;
} }
/* Effet de particules/grille au hover avec teinte violette */ /* Effet de particules/grille au hover avec teinte violette */
#root::before { #root::before {
content: ''; content: "";
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-image: background-image:
linear-gradient(rgba(186, 85, 211, 0.05) 1px, transparent 1px), linear-gradient(rgba(186, 85, 211, 0.05) 1px, transparent 1px),
linear-gradient(90deg, rgba(186, 85, 211, 0.05) 1px, transparent 1px); linear-gradient(90deg, rgba(186, 85, 211, 0.05) 1px, transparent 1px);
background-size: 50px 50px; background-size: 50px 50px;
pointer-events: none; pointer-events: none;
opacity: 0; opacity: 0;
transition: opacity 0.5s ease; transition: opacity 0.5s ease;
z-index: 0; z-index: 0;
} }
@media (hover: hover) { @media (hover: hover) {
#root:hover::before { #root:hover::before {
opacity: 1; opacity: 1;
} }
} }
a { a {
font-weight: 500; font-weight: 500;
color: #646cff; color: #646cff;
text-decoration: inherit; text-decoration: inherit;
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent;
} }
a:active { a:active {
opacity: 0.7; opacity: 0.7;
} }
h1 { h1 {
font-size: clamp(1.8rem, 5vw, 3.2rem); font-size: clamp(1.8rem, 5vw, 3.2rem);
line-height: 1.1; line-height: 1.1;
} }
h2 { h2 {
font-size: clamp(1.5rem, 4vw, 2.5rem); font-size: clamp(1.5rem, 4vw, 2.5rem);
} }
p { p {
font-size: clamp(0.9rem, 2.5vw, 1.1rem); font-size: clamp(0.9rem, 2.5vw, 1.1rem);
} }
button { button {
border-radius: 8px; border-radius: 8px;
border: 1px solid transparent; border: 1px solid transparent;
padding: 0.8em 1.5em; padding: 0.8em 1.5em;
font-size: 1em; font-size: 1em;
font-weight: 500; font-weight: 500;
font-family: inherit; font-family: inherit;
background-color: var(--surface); background-color: var(--surface);
cursor: pointer; cursor: pointer;
transition: all 0.2s; transition: all 0.2s;
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent;
touch-action: manipulation; touch-action: manipulation;
} }
button:active { button:active {
transform: scale(0.95); transform: scale(0.95);
opacity: 0.8; opacity: 0.8;
} }
/* Désactiver le hover sur mobile */ /* Désactiver le hover sur mobile */
@media (hover: none) { @media (hover: none) {
button:hover { button:hover {
border-color: transparent; border-color: transparent;
} }
/* Désactiver les effets de hover sur mobile */ /* Désactiver les effets de hover sur mobile */
body::before, body::before,
body::after, body::after,
#root::before { #root::before {
display: none; display: none;
} }
} }
.home-container2 { .home-container2 {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
min-height: calc(100vh - 60px); min-height: calc(100vh - 60px);
padding: 2rem; padding: 2rem;
gap: 2rem; gap: 2rem;
position: relative; position: relative;
z-index: 2; z-index: 2;
} }
/* Container plein écran pour la vidéo */ /* Container plein écran pour la vidéo */
.home-container-fullscreen { .home-container-fullscreen {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
overflow: hidden; overflow: hidden;
cursor: pointer; cursor: pointer;
z-index: 1000; z-index: 1000;
background-color: #000; background-color: #000;
} }
/* Vidéo en plein écran */ /* Vidéo en plein écran */
.home-video-fullscreen { .home-video-fullscreen {
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
min-width: 100%; min-width: 100%;
min-height: 100%; min-height: 100%;
width: auto; width: auto;
height: auto; height: auto;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
object-fit: cover; object-fit: cover;
z-index: 0; z-index: 0;
} }
/* Effet au hover (desktop uniquement) */ /* Effet au hover (desktop uniquement) */
@media (hover: hover) { @media (hover: hover) {
.home-container-fullscreen:hover { .home-container-fullscreen:hover {
opacity: 0.95; opacity: 0.95;
} }
.home-container-fullscreen:hover .home-video-fullscreen { .home-container-fullscreen:hover .home-video-fullscreen {
filter: brightness(1.1); filter: brightness(1.1);
} }
} }
/* Effet au clic */ /* Effet au clic */
.home-container-fullscreen:active { .home-container-fullscreen:active {
opacity: 0.9; opacity: 0.9;
} }
/* Optimisation mobile */ /* Optimisation mobile */
@media (max-width: 768px) { @media (max-width: 768px) {
.home-video-fullscreen { .home-video-fullscreen {
object-fit: cover; object-fit: cover;
} }
} }