Files
gaea21-v2-web/assets/styles/parcoursHero.css
MohamedLoum1001 bb1393e9ef 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
2026-09-30 15:38:26 +02:00

372 lines
10 KiB
CSS

/* ========================================================
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;
}
}