feat(parcours): intégration des sections de la page Parcours conforme à Figma
- Prise en charge du thème sombre du Header sur la route /parcours - Ajout de la section Hero et présentation des chiffres clés - Grille des profils 'Qui peut rejoindre' avec méthode map() et icônes - Intégration de la timeline verticale des étapes d'intégration - Ajout du bandeau 'Learning by Doing' - Restructuration des composants par dossier
This commit is contained in:
@ -0,0 +1,303 @@
|
||||
/* ========================================================
|
||||
1. CONTENEUR GLOBAL & LOGO
|
||||
======================================================== */
|
||||
.navbar-container {
|
||||
position: absolute !important;
|
||||
top: 0 !important;
|
||||
left: 0 !important;
|
||||
width: 100% !important;
|
||||
z-index: 1000 !important;
|
||||
padding: 1.25rem 2.5rem !important;
|
||||
box-sizing: border-box !important;
|
||||
}
|
||||
|
||||
.navbar-content {
|
||||
max-width: 1440px !important;
|
||||
margin: 0 auto !important;
|
||||
width: 100% !important;
|
||||
box-sizing: border-box !important;
|
||||
}
|
||||
|
||||
.navbar-logo {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
text-decoration: none !important;
|
||||
z-index: 1001 !important;
|
||||
}
|
||||
|
||||
.navbar-logo img {
|
||||
height: 42px !important;
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
object-fit: contain !important;
|
||||
}
|
||||
|
||||
/* ========================================================
|
||||
2. DESKTOP & TABLETTES (Dès 768px : iPad Mini, Air, Pro, PC)
|
||||
======================================================== */
|
||||
@media (min-width: 768px) {
|
||||
|
||||
/* Grille en 3 zones distinctes : Gauche / Centre / Droite */
|
||||
.navbar-content {
|
||||
display: grid !important;
|
||||
grid-template-columns: auto 1fr auto !important;
|
||||
align-items: center !important;
|
||||
}
|
||||
|
||||
/* Le hamburger reste toujours masqué sur iPad et PC */
|
||||
.hamburger {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.navbar-logo {
|
||||
grid-column: 1 !important;
|
||||
justify-self: start !important;
|
||||
}
|
||||
|
||||
/* Le conteneur nav couvre le centre et la droite */
|
||||
.navbar-nav {
|
||||
grid-column: 2 / 4 !important;
|
||||
display: grid !important;
|
||||
grid-template-columns: 1fr auto !important;
|
||||
align-items: center !important;
|
||||
width: 100% !important;
|
||||
position: static !important;
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
height: auto !important;
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
/* Liens centrés au milieu de l'écran */
|
||||
.nav-links {
|
||||
display: flex !important;
|
||||
flex-direction: row !important;
|
||||
flex-wrap: nowrap !important;
|
||||
justify-content: center !important;
|
||||
align-items: center !important;
|
||||
list-style: none !important;
|
||||
gap: 2rem !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.nav-links li {
|
||||
display: inline-block !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.nav-links li a {
|
||||
text-decoration: none !important;
|
||||
color: #1e293b;
|
||||
font-size: 0.92rem !important;
|
||||
font-weight: 500 !important;
|
||||
white-space: nowrap !important;
|
||||
transition: color 0.2s ease;
|
||||
text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8), 0 0 12px rgba(255, 255, 255, 0.6);
|
||||
}
|
||||
|
||||
.nav-links li a:hover {
|
||||
color: #8c8f3e !important;
|
||||
}
|
||||
|
||||
/* Liens blancs pour la page Projet / Trajectoire (fond sombre) */
|
||||
.nav-links.nav-light li a {
|
||||
color: #ffffff !important;
|
||||
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
|
||||
}
|
||||
|
||||
.nav-links.nav-light li a:hover {
|
||||
color: #d1d58b !important;
|
||||
}
|
||||
|
||||
/* Bouton Participer calé à droite */
|
||||
.navbar-action {
|
||||
display: flex !important;
|
||||
justify-content: flex-end !important;
|
||||
margin-left: 1.5rem !important;
|
||||
}
|
||||
|
||||
.btn-participer {
|
||||
background-color: #8c8f3e !important;
|
||||
color: #ffffff !important;
|
||||
padding: 0.55rem 1.4rem !important;
|
||||
border-radius: 9999px !important;
|
||||
font-size: 0.88rem !important;
|
||||
font-weight: 600 !important;
|
||||
text-decoration: none !important;
|
||||
display: inline-block !important;
|
||||
white-space: nowrap !important;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
|
||||
transition: background-color 0.2s ease, transform 0.15s ease;
|
||||
}
|
||||
|
||||
.btn-participer:hover {
|
||||
background-color: #737630 !important;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
}
|
||||
|
||||
/* Ajustements proportionnels spécifiques aux écrans tablettes (768px à 900px) */
|
||||
@media (min-width: 768px) and (max-width: 900px) {
|
||||
.navbar-container {
|
||||
padding: 1rem 1.25rem !important;
|
||||
}
|
||||
|
||||
.navbar-logo img {
|
||||
height: 36px !important;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
gap: 1.25rem !important;
|
||||
}
|
||||
|
||||
.nav-links li a {
|
||||
font-size: 0.82rem !important;
|
||||
}
|
||||
|
||||
.btn-participer {
|
||||
padding: 0.45rem 1rem !important;
|
||||
font-size: 0.8rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* ========================================================
|
||||
3. SMARTPHONES UNIQUEMENT (< 768px)
|
||||
======================================================== */
|
||||
@media (max-width: 767px) {
|
||||
.navbar-container {
|
||||
padding: 1rem 1.25rem !important;
|
||||
}
|
||||
|
||||
.navbar-content {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: space-between !important;
|
||||
}
|
||||
|
||||
.navbar-logo img {
|
||||
height: 34px !important;
|
||||
}
|
||||
|
||||
/* Bouton Hamburger / Croix */
|
||||
.hamburger {
|
||||
position: relative !important;
|
||||
display: flex !important;
|
||||
flex-direction: column !important;
|
||||
justify-content: space-around !important;
|
||||
width: 28px !important;
|
||||
height: 22px !important;
|
||||
background: transparent !important;
|
||||
border: none !important;
|
||||
cursor: pointer !important;
|
||||
z-index: 1005 !important;
|
||||
/* Reste toujours au-dessus du tiroir */
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.hamburger span {
|
||||
width: 100% !important;
|
||||
height: 2.5px !important;
|
||||
background-color: #1e293b !important;
|
||||
border-radius: 2px !important;
|
||||
transition: all 0.3s ease !important;
|
||||
}
|
||||
|
||||
/* Barres blanches quand le fond est sombre et que le menu est fermé */
|
||||
.navbar-container:has(.nav-light) .hamburger:not(.active) span {
|
||||
background-color: #ffffff !important;
|
||||
}
|
||||
|
||||
/* Croix bien visible sur le volet blanc */
|
||||
.hamburger.active span:nth-child(1) {
|
||||
transform: rotate(45deg) translate(5px, 5px) !important;
|
||||
background-color: #1e293b !important;
|
||||
}
|
||||
|
||||
.hamburger.active span:nth-child(2) {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
.hamburger.active span:nth-child(3) {
|
||||
transform: rotate(-45deg) translate(6px, -6px) !important;
|
||||
background-color: #1e293b !important;
|
||||
}
|
||||
|
||||
/* Tiroir latéral blanc */
|
||||
.navbar-nav {
|
||||
position: fixed !important;
|
||||
top: 0 !important;
|
||||
right: -100% !important;
|
||||
width: min(85vw, 320px) !important;
|
||||
height: 100vh !important;
|
||||
background-color: #ffffff !important;
|
||||
box-shadow: -6px 0 25px rgba(0, 0, 0, 0.15) !important;
|
||||
display: flex !important;
|
||||
flex-direction: column !important;
|
||||
align-items: center !important;
|
||||
justify-content: flex-start !important;
|
||||
padding: 6rem 1.5rem 3rem 1.5rem !important;
|
||||
/* Dégage le haut pour ne pas coller à la croix */
|
||||
box-sizing: border-box !important;
|
||||
transition: right 0.35s ease-in-out !important;
|
||||
z-index: 1001 !important;
|
||||
overflow-y: auto !important;
|
||||
}
|
||||
|
||||
.navbar-nav.open {
|
||||
right: 0 !important;
|
||||
}
|
||||
|
||||
/* Liste des liens verticaux */
|
||||
.nav-links {
|
||||
display: flex !important;
|
||||
flex-direction: column !important;
|
||||
align-items: center !important;
|
||||
list-style: none !important;
|
||||
gap: 1.75rem !important;
|
||||
margin: 0 0 2.5rem 0 !important;
|
||||
padding: 0 !important;
|
||||
width: 100% !important;
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.nav-links li {
|
||||
width: 100% !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.nav-links li a {
|
||||
text-decoration: none !important;
|
||||
color: #1e293b !important;
|
||||
font-size: 1.15rem !important;
|
||||
font-weight: 500 !important;
|
||||
display: block !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
.nav-links.nav-light li a {
|
||||
color: #1e293b !important;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
/* Bouton Participer bien centré dans le volet */
|
||||
.navbar-action {
|
||||
width: 100% !important;
|
||||
display: flex !important;
|
||||
justify-content: center !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
.btn-participer {
|
||||
background-color: #8c8f3e !important;
|
||||
color: #ffffff !important;
|
||||
padding: 0.75rem 2rem !important;
|
||||
border-radius: 9999px !important;
|
||||
font-size: 1rem !important;
|
||||
font-weight: 600 !important;
|
||||
text-decoration: none !important;
|
||||
display: inline-block !important;
|
||||
box-shadow: 0 3px 10px rgba(140, 143, 62, 0.25) !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user