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:
MohamedLoum1001
2026-09-30 15:38:26 +02:00
parent f66e39ab09
commit bb1393e9ef
44 changed files with 1366 additions and 140 deletions

View File

@ -9,99 +9,8 @@
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
/* NAVBAR */
.navbar-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 50;
padding: 1.5rem 3rem;
box-sizing: border-box;
}
.navbar-content {
max-width: 1440px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
}
.navbar-logo img {
height: 46px;
width: auto;
display: block;
object-fit: contain;
}
.navbar-nav {
display: flex;
align-items: center;
gap: 4rem;
}
.nav-links {
display: flex;
list-style: none;
gap: 3rem;
margin: 0;
padding: 0;
}
.nav-links li a {
text-decoration: none;
color: #1e293b;
font-size: 0.95rem;
font-weight: 500;
/* Contour lumineux pour détacher les liens du feuillage */
text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8), 0 0 12px rgba(255, 255, 255, 0.6);
transition: color 0.2s ease;
}
.nav-links li a:hover {
color: #8c8f3e;
}
.btn-participer {
background-color: #8c8f3e;
color: #ffffff;
padding: 0.65rem 1.75rem;
border-radius: 9999px;
font-size: 0.95rem;
font-weight: 500;
text-decoration: none;
display: inline-block;
transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.btn-participer:hover {
background-color: #737630;
transform: translateY(-1px);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}
.hamburger {
display: none;
flex-direction: column;
justify-content: space-around;
width: 28px;
height: 22px;
background: transparent;
border: none;
cursor: pointer;
z-index: 60;
padding: 0;
}
.hamburger span {
width: 100%;
height: 2.5px;
background-color: #1e293b;
border-radius: 2px;
transition: all 0.3s ease;
}
/* HERO BANNER */
.hero-section {

View File

@ -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;
}
}

View File

@ -0,0 +1,372 @@
/* ========================================================
1. SECTION HERO & BANNIÈRE (REJOINDRE gaea21)
======================================================== */
.parcours-hero-section {
position: relative;
width: 100%;
min-height: 80vh;
background-image: url('../img/rejoindre-hero.jpg');
/* Chemin de la photo Figma */
background-size: cover;
background-position: center right;
background-repeat: no-repeat;
display: flex;
align-items: center;
box-sizing: border-box;
overflow: hidden;
}
/* Dégradé sombre pour garantir la lisibilité du texte blanc */
.parcours-hero-overlay {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
background: linear-gradient(90deg,
rgba(10, 15, 25, 0.82) 0%,
rgba(10, 15, 25, 0.6) 45%,
rgba(10, 15, 25, 0.2) 100%);
z-index: 1;
}
/* Contenu textuel de la bannière */
.parcours-hero-content {
position: relative;
z-index: 10;
max-width: 1440px;
width: 100%;
margin: 0 auto;
padding: 7rem 3rem 4rem 3rem;
box-sizing: border-box;
}
.parcours-hero-text-block {
max-width: 620px;
}
/* Titre principal REJOINDRE gaea21 */
.parcours-hero-title {
font-size: 3.5rem;
font-weight: 800;
line-height: 1.12;
color: #ffffff;
text-transform: uppercase;
letter-spacing: -0.02em;
margin: 0 0 1.25rem 0;
}
.parcours-hero-title .brand-name {
text-transform: lowercase;
font-weight: 800;
display: inline-block;
}
/* Accroche sous le titre */
.parcours-hero-subtitle {
font-size: 1.15rem;
line-height: 1.6;
color: #ffffff;
opacity: 0.95;
font-weight: 400;
margin: 0;
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
/* ========================================================
2. HEADER & NAVIGATION INTÉGRÉE
======================================================== */
.navbar-container {
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
z-index: 1000 !important;
padding: 1.25rem 3rem !important;
box-sizing: border-box !important;
}
.navbar-content {
max-width: 1440px !important;
margin: 0 auto !important;
width: 100% !important;
box-sizing: border-box !important;
}
/* Logo à gauche */
.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;
}
/* ========================================================
3. DESKTOP & TABLETTES (Dès 768px : iPad Mini, Air, PC)
======================================================== */
@media (min-width: 768px) {
.navbar-content {
display: grid !important;
grid-template-columns: auto 1fr auto !important;
align-items: center !important;
}
.hamburger {
display: none !important;
}
.navbar-logo {
grid-column: 1 !important;
justify-self: start !important;
}
.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 blancs 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: 2.25rem !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: #ffffff !important;
font-size: 0.95rem !important;
font-weight: 500 !important;
white-space: nowrap !important;
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
transition: color 0.2s ease;
}
.nav-links li a:hover {
color: #d1d58b !important;
}
/* Bouton Participer à 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.6rem 1.6rem !important;
border-radius: 9999px !important;
font-size: 0.9rem !important;
font-weight: 600 !important;
text-decoration: none !important;
display: inline-block !important;
white-space: nowrap !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn-participer:hover {
background-color: #737630 !important;
transform: translateY(-1px);
}
}
/* Spécifique iPad (768px à 960px) */
@media (min-width: 768px) and (max-width: 960px) {
.navbar-container {
padding: 1rem 1.5rem !important;
}
.parcours-hero-content {
padding: 6.5rem 1.5rem 3.5rem 1.5rem;
}
.parcours-hero-title {
font-size: 2.75rem;
}
.nav-links {
gap: 1.35rem !important;
}
.nav-links li a {
font-size: 0.85rem !important;
}
.btn-participer {
padding: 0.45rem 1.15rem !important;
font-size: 0.82rem !important;
}
}
/* ========================================================
4. SMARTPHONES UNIQUEMENT (< 768px)
======================================================== */
@media (max-width: 767px) {
.parcours-hero-section {
min-height: 60vh;
background-position: 70% center;
}
.parcours-hero-content {
padding: 5.5rem 1.25rem 3rem 1.25rem;
}
.parcours-hero-title {
font-size: 2.25rem;
margin-bottom: 0.85rem;
}
.parcours-hero-subtitle {
font-size: 0.95rem;
line-height: 1.5;
}
.navbar-container {
padding: 1rem 1.25rem !important;
}
.navbar-content {
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
}
/* Bouton hamburger mobile */
.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;
padding: 0 !important;
}
.hamburger span {
width: 100% !important;
height: 2.5px !important;
background-color: #ffffff !important;
/* Barres blanches par défaut sur le hero */
border-radius: 2px !important;
transition: all 0.3s ease !important;
}
/* Croix active */
.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;
}
/* Volet tiroir mobile 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;
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;
}
/* Liens verticaux dans le tiroir */
.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;
/* Liens sombres sur fond blanc */
font-size: 1.15rem !important;
font-weight: 500 !important;
display: block !important;
text-shadow: none !important;
}
.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;
}
}