Previous SVG illustrations and emojis were dropped per user feedback.
The new intro is a single fixed viewport (no scroll) where every
layer reacts to mouse movement only:
Layer 1 — Real photo: Earth at night from space (NASA / Unsplash),
slow parallax (-18px max).
Layer 2 — Navy gradient tint to anchor the brand palette and
ensure central card legibility.
Layer 3 — Real photo: aerial sunset clouds (Unsplash), 28%
opacity with mix-blend-mode soft-light, faster
parallax (-32px max).
Layer 4 — Gold radial glow that follows the cursor (mix-blend
screen), giving an interactive "spotlight" feel.
Layer 5 — 12 floating gold particles with continuous CSS
animation, fastest parallax (-55px max).
Center card (glassmorphism, navy + gold border, blur 24px) tilts in
the OPPOSITE direction (+12px) for a 3D depth illusion. The CTA
button has a continuous pulse ring, hover lift + shine sweep, and
routes to accueil.html.
Mobile: device-orientation events drive the parallax instead of
mouse. prefers-reduced-motion kills all animations.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
383 lines
14 KiB
CSS
383 lines
14 KiB
CSS
/* =========================================================================
|
|
PARALLAX INTRO — MVA Global Fret
|
|
Page unique fixe. Parallaxe pilotée à la souris uniquement.
|
|
Photos professionnelles Unsplash, aucun dessin maison.
|
|
========================================================================= */
|
|
|
|
:root {
|
|
--navy: #1a1a3e;
|
|
--navy-deep: #050518;
|
|
--navy-light: #2a2a5e;
|
|
--gold: #c5a55a;
|
|
--gold-light: #e0c98a;
|
|
--white: #ffffff;
|
|
--mx: 0;
|
|
--my: 0;
|
|
}
|
|
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
html, body {
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.parallax-body {
|
|
font-family: 'Inter', sans-serif;
|
|
color: var(--white);
|
|
background: var(--navy-deep);
|
|
}
|
|
|
|
/* ── HEADER MINIMAL ─────────────────────────────────────────────────────── */
|
|
.parallax-header {
|
|
position: fixed;
|
|
top: 0; left: 0; right: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 20px 36px;
|
|
z-index: 50;
|
|
}
|
|
|
|
.parallax-logo {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
color: var(--white);
|
|
font-family: 'Poppins', sans-serif;
|
|
font-weight: 700;
|
|
letter-spacing: 1px;
|
|
font-size: 0.95rem;
|
|
text-transform: uppercase;
|
|
user-select: none;
|
|
}
|
|
.parallax-logo img {
|
|
height: 44px;
|
|
width: auto;
|
|
filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
|
|
}
|
|
|
|
.lang-switcher {
|
|
display: inline-flex;
|
|
background: rgba(255,255,255,0.08);
|
|
border: 1px solid rgba(255,255,255,0.18);
|
|
border-radius: 50px;
|
|
padding: 4px;
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
}
|
|
.lang-switcher button {
|
|
background: transparent;
|
|
border: none;
|
|
color: rgba(255,255,255,0.7);
|
|
padding: 6px 14px;
|
|
cursor: pointer;
|
|
border-radius: 50px;
|
|
font-weight: 600;
|
|
font-size: 0.78rem;
|
|
font-family: inherit;
|
|
transition: all 0.2s;
|
|
}
|
|
.lang-switcher button.active {
|
|
background: var(--gold);
|
|
color: var(--navy);
|
|
}
|
|
.lang-switcher button:hover:not(.active) { color: var(--white); }
|
|
|
|
/* ── STAGE ──────────────────────────────────────────────────────────────── */
|
|
.stage {
|
|
position: relative;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
perspective: 1000px;
|
|
}
|
|
|
|
.layer {
|
|
position: absolute;
|
|
inset: -8% -8%; /* Marge pour que la parallaxe ne révèle pas les bords */
|
|
pointer-events: none;
|
|
will-change: transform;
|
|
}
|
|
|
|
/* ──────────────────────────────────────────────────────────────────────────
|
|
COUCHE 1 — Terre depuis l'espace (background le plus profond)
|
|
Photo : NASA / Unsplash @nasa
|
|
────────────────────────────────────────────────────────────────────────── */
|
|
.layer-earth {
|
|
background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=2400&q=85');
|
|
background-size: cover;
|
|
background-position: center;
|
|
/* Bouge légèrement à la souris */
|
|
transform: translate(calc(var(--mx) * -18px), calc(var(--my) * -18px)) scale(1.04);
|
|
}
|
|
|
|
/* ──────────────────────────────────────────────────────────────────────────
|
|
COUCHE 2 — Voile bleu nuit pour assombrir et amener la palette de marque
|
|
────────────────────────────────────────────────────────────────────────── */
|
|
.layer-tint {
|
|
background:
|
|
radial-gradient(ellipse at center, rgba(26, 26, 62, 0.4) 0%, rgba(5, 5, 24, 0.85) 100%),
|
|
linear-gradient(180deg, rgba(26, 26, 62, 0.5) 0%, rgba(5, 5, 24, 0.7) 100%);
|
|
inset: 0;
|
|
}
|
|
|
|
/* ──────────────────────────────────────────────────────────────────────────
|
|
COUCHE 3 — Nuages au coucher de soleil (vue aérienne)
|
|
Mode soft-light pour fusionner avec la Terre
|
|
Photo : Unsplash
|
|
────────────────────────────────────────────────────────────────────────── */
|
|
.layer-clouds {
|
|
background-image: url('https://images.unsplash.com/photo-1530908295418-a12e326966ba?w=2400&q=85');
|
|
background-size: cover;
|
|
background-position: center;
|
|
opacity: 0.28;
|
|
mix-blend-mode: soft-light;
|
|
transform: translate(calc(var(--mx) * -32px), calc(var(--my) * -32px)) scale(1.06);
|
|
}
|
|
|
|
/* ──────────────────────────────────────────────────────────────────────────
|
|
COUCHE 4 — Halo doré central qui suit la souris
|
|
────────────────────────────────────────────────────────────────────────── */
|
|
.layer-glow {
|
|
background: radial-gradient(circle at calc(50% + var(--mx) * 8%) calc(50% + var(--my) * 8%),
|
|
rgba(197, 165, 90, 0.22) 0%,
|
|
rgba(197, 165, 90, 0.10) 25%,
|
|
transparent 55%);
|
|
inset: 0;
|
|
mix-blend-mode: screen;
|
|
}
|
|
|
|
/* ──────────────────────────────────────────────────────────────────────────
|
|
COUCHE 5 — Particules dorées flottantes (parallaxe la plus rapide)
|
|
────────────────────────────────────────────────────────────────────────── */
|
|
.layer-particles {
|
|
inset: 0;
|
|
transform: translate(calc(var(--mx) * -55px), calc(var(--my) * -55px));
|
|
}
|
|
.particle {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, #fff 0%, var(--gold) 50%, transparent 100%);
|
|
pointer-events: none;
|
|
filter: blur(0.5px);
|
|
animation: float 14s ease-in-out infinite;
|
|
}
|
|
.particle::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: -4px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, rgba(197, 165, 90, 0.5) 0%, transparent 70%);
|
|
filter: blur(4px);
|
|
}
|
|
.p1 { top: 12%; left: 8%; width: 4px; height: 4px; animation-delay: 0s; animation-duration: 12s; }
|
|
.p2 { top: 22%; left: 78%; width: 3px; height: 3px; animation-delay: -2s; animation-duration: 16s; }
|
|
.p3 { top: 35%; left: 18%; width: 5px; height: 5px; animation-delay: -5s; animation-duration: 14s; }
|
|
.p4 { top: 48%; left: 88%; width: 2px; height: 2px; animation-delay: -8s; animation-duration: 18s; }
|
|
.p5 { top: 60%; left: 14%; width: 4px; height: 4px; animation-delay: -3s; animation-duration: 13s; }
|
|
.p6 { top: 72%; left: 72%; width: 3px; height: 3px; animation-delay: -6s; animation-duration: 17s; }
|
|
.p7 { top: 82%; left: 30%; width: 5px; height: 5px; animation-delay: -1s; animation-duration: 15s; }
|
|
.p8 { top: 18%; left: 48%; width: 2px; height: 2px; animation-delay: -7s; animation-duration: 19s; }
|
|
.p9 { top: 40%; left: 56%; width: 3px; height: 3px; animation-delay: -4s; animation-duration: 14s; }
|
|
.p10 { top: 88%; left: 92%; width: 4px; height: 4px; animation-delay: -9s; animation-duration: 16s; }
|
|
.p11 { top: 6%; left: 35%; width: 3px; height: 3px; animation-delay: -10s; animation-duration: 13s; }
|
|
.p12 { top: 92%; left: 56%; width: 2px; height: 2px; animation-delay: -11s; animation-duration: 17s; }
|
|
|
|
@keyframes float {
|
|
0%, 100% { transform: translate(0, 0); opacity: 0.4; }
|
|
25% { transform: translate(20px, -30px); opacity: 1; }
|
|
50% { transform: translate(-15px, -50px); opacity: 0.6; }
|
|
75% { transform: translate(-25px, -20px); opacity: 1; }
|
|
}
|
|
|
|
/* ──────────────────────────────────────────────────────────────────────────
|
|
CARTE CENTRALE — CTA
|
|
────────────────────────────────────────────────────────────────────────── */
|
|
.center-card {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
z-index: 10;
|
|
text-align: center;
|
|
width: min(560px, calc(100vw - 40px));
|
|
padding: 50px 50px 44px;
|
|
background: rgba(13, 13, 36, 0.45);
|
|
border: 1px solid rgba(197, 165, 90, 0.25);
|
|
border-radius: 28px;
|
|
backdrop-filter: blur(24px) saturate(140%);
|
|
-webkit-backdrop-filter: blur(24px) saturate(140%);
|
|
box-shadow:
|
|
0 30px 80px rgba(0, 0, 0, 0.55),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
/* La carte bouge en sens INVERSE des autres couches (effet de tilt 3D) */
|
|
transform: translate(
|
|
calc(-50% + var(--mx) * 12px),
|
|
calc(-50% + var(--my) * 12px)
|
|
);
|
|
transition: transform 0.05s linear;
|
|
}
|
|
|
|
/* Halo doré derrière la carte */
|
|
.center-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: -2px;
|
|
border-radius: 28px;
|
|
background: linear-gradient(135deg, rgba(197, 165, 90, 0.6), transparent 40%, transparent 60%, rgba(197, 165, 90, 0.4));
|
|
z-index: -1;
|
|
opacity: 0.5;
|
|
filter: blur(8px);
|
|
}
|
|
|
|
.card-pretitle {
|
|
font-family: 'Poppins', sans-serif;
|
|
font-weight: 500;
|
|
letter-spacing: 8px;
|
|
text-transform: uppercase;
|
|
color: var(--gold);
|
|
font-size: 0.78rem;
|
|
margin-bottom: 14px;
|
|
opacity: 0.92;
|
|
}
|
|
|
|
.card-title {
|
|
font-family: 'Poppins', sans-serif;
|
|
font-size: clamp(2rem, 4.6vw, 3.4rem);
|
|
font-weight: 800;
|
|
letter-spacing: -1px;
|
|
line-height: 1;
|
|
background: linear-gradient(135deg, #fff 0%, #c5a55a 55%, #fff 100%);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
color: transparent;
|
|
text-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.card-line {
|
|
width: 64px;
|
|
height: 2px;
|
|
background: var(--gold);
|
|
margin: 22px auto 18px;
|
|
border-radius: 1px;
|
|
position: relative;
|
|
}
|
|
.card-line::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: var(--gold);
|
|
filter: blur(4px);
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.card-subtitle {
|
|
font-size: clamp(0.95rem, 1.5vw, 1.1rem);
|
|
font-weight: 300;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
line-height: 1.55;
|
|
letter-spacing: 0.3px;
|
|
max-width: 420px;
|
|
margin: 0 auto 36px;
|
|
}
|
|
|
|
/* ── BOUTON CTA ─────────────────────────────────────────────────────────── */
|
|
.cta-btn {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 18px 44px;
|
|
background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
|
|
color: var(--navy);
|
|
text-decoration: none;
|
|
border-radius: 50px;
|
|
font-family: 'Poppins', sans-serif;
|
|
font-weight: 700;
|
|
font-size: 1.02rem;
|
|
letter-spacing: 0.5px;
|
|
overflow: hidden;
|
|
box-shadow:
|
|
0 14px 40px rgba(197, 165, 90, 0.5),
|
|
0 0 0 0 rgba(197, 165, 90, 0.4),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.4);
|
|
transition: all 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
z-index: 1;
|
|
}
|
|
.cta-btn-shine {
|
|
position: absolute;
|
|
top: 0; left: -120%;
|
|
width: 50%; height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
|
|
transform: skewX(-20deg);
|
|
transition: left 0.7s ease;
|
|
}
|
|
.cta-btn:hover {
|
|
transform: translateY(-4px) scale(1.02);
|
|
box-shadow:
|
|
0 22px 55px rgba(197, 165, 90, 0.65),
|
|
0 0 0 10px rgba(197, 165, 90, 0.12),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.5);
|
|
}
|
|
.cta-btn:hover .cta-btn-shine { left: 130%; }
|
|
.cta-btn i {
|
|
font-size: 0.95rem;
|
|
transition: transform 0.32s ease;
|
|
}
|
|
.cta-btn:hover i { transform: translateX(6px); }
|
|
|
|
/* Pulse autour du bouton (continu) */
|
|
.cta-btn::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: -3px;
|
|
border-radius: 50px;
|
|
border: 2px solid rgba(197, 165, 90, 0.5);
|
|
animation: ctaPulse 2.5s ease-out infinite;
|
|
pointer-events: none;
|
|
}
|
|
@keyframes ctaPulse {
|
|
0% { transform: scale(1); opacity: 0.6; }
|
|
100% { transform: scale(1.18); opacity: 0; }
|
|
}
|
|
|
|
/* ── META INFOS SOUS LE BOUTON ──────────────────────────────────────────── */
|
|
.card-meta {
|
|
margin-top: 32px;
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 14px;
|
|
flex-wrap: wrap;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-size: 0.82rem;
|
|
}
|
|
.card-meta span { display: inline-flex; align-items: center; gap: 8px; }
|
|
.card-meta i { color: var(--gold); font-size: 0.85rem; }
|
|
.meta-sep { color: rgba(197, 165, 90, 0.4); padding: 0 4px; }
|
|
|
|
/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
|
|
@media (max-width: 768px) {
|
|
.parallax-header { padding: 14px 18px; }
|
|
.parallax-logo span { display: none; }
|
|
.parallax-logo img { height: 40px; }
|
|
.lang-switcher button { padding: 5px 10px; font-size: 0.74rem; }
|
|
|
|
.center-card {
|
|
width: calc(100vw - 28px);
|
|
padding: 36px 28px 32px;
|
|
border-radius: 22px;
|
|
}
|
|
.card-pretitle { letter-spacing: 5px; font-size: 0.72rem; }
|
|
.card-subtitle { font-size: 0.92rem; margin-bottom: 28px; }
|
|
.cta-btn { padding: 14px 30px; font-size: 0.95rem; }
|
|
|
|
.card-meta { gap: 10px; font-size: 0.76rem; }
|
|
.meta-sep { display: none; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.particle, .cta-btn::after { animation: none; }
|
|
.layer-earth, .layer-clouds, .layer-particles, .center-card { transition: none; }
|
|
}
|