feat(trajectoire): intégration complète de la page et des sous-composants Figma

This commit is contained in:
MohamedLoum1001
2026-09-25 20:04:07 +02:00
parent cd6a66893a
commit f66e39ab09
20 changed files with 894 additions and 292 deletions

View File

@ -1,107 +1,161 @@
/* ==========================================================================
SECTION EXEMPLES DE PROJETS (FIGMA)
========================================================================== */
/* =========================================
SECTION : Quelques exemples de projets
========================================= */
.projets-section {
width: 100%;
background-color: #ffffff;
padding: 1rem 2rem 5rem 2rem;
background-color: #f7f5f0;
padding: 4.5rem 2rem 3.5rem 2rem;
box-sizing: border-box;
}
.projets-container {
max-width: 1140px;
max-width: 1180px;
margin: 0 auto;
}
/* Surtitre vert olive */
.projets-tag-top {
.projets-uptitle {
display: block;
font-size: 0.95rem;
font-size: 0.85rem;
font-weight: 600;
color: #7b8337;
margin-bottom: 2rem;
}
/* Grille 3 colonnes x 2 lignes */
.projets-grid {
.projets-cards-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
margin-bottom: 2.5rem;
margin-bottom: 2rem;
}
/* Carte blanche avec bordure grise douce */
.projet-card {
background-color: #ffffff;
border: 1px solid #d1d5db;
border-radius: 14px;
border: 1px solid #e5e2da;
border-radius: 10px;
padding: 1.75rem 1.5rem;
min-height: 125px;
display: flex;
flex-direction: column;
justify-content: flex-start;
box-sizing: border-box;
transition: transform 0.2s ease, border-color 0.2s ease;
}
.projet-card:hover {
transform: translateY(-2px);
border-color: #8c8f3e;
min-height: 140px;
}
.projet-card-title {
font-size: 1rem;
font-weight: 700;
color: #0f172a;
color: #111827;
margin: 0 0 0.75rem 0;
line-height: 1.3;
}
.projet-card-desc {
font-size: 0.82rem;
line-height: 1.5;
color: #4b5563;
line-height: 1.5;
margin: 0;
}
/* Alignement du bouton à gauche comme sur la maquette */
.projets-action {
display: flex;
justify-content: flex-start;
.projets-action-wrap {
margin-top: 1rem;
}
.btn-decouvrir-projets {
.btn-projets-decouvrir {
display: inline-block;
background-color: #7b8337;
color: #ffffff;
font-size: 0.85rem;
font-size: 0.8rem;
font-weight: 600;
padding: 0.55rem 1.6rem;
padding: 0.55rem 1.4rem;
border-radius: 9999px;
text-decoration: none;
display: inline-block;
transition: background-color 0.2s ease, transform 0.15s ease;
transition: background-color 0.2s ease;
}
.btn-decouvrir-projets:hover {
background-color: #6a712f;
transform: translateY(-1px);
.btn-projets-decouvrir:hover {
background-color: #636b2b;
}
/* =========================================
SECTION : Des compétences pour évoluer
========================================= */
.competences-section {
width: 100%;
background-color: #ede9e1;
padding: 5rem 2rem;
box-sizing: border-box;
}
.competences-container {
max-width: 1180px;
margin: 0 auto;
}
.competences-header {
margin-bottom: 2.5rem;
}
.competences-line {
display: block;
width: 44px;
height: 4px;
background-color: #436034;
margin-bottom: 1.25rem;
}
.competences-uptitle {
display: block;
font-size: 0.85rem;
font-weight: 600;
color: #6b7280;
margin-bottom: 0.4rem;
}
.competences-main-title {
font-size: 2rem;
font-weight: 700;
color: #111827;
margin: 0;
}
.competences-cards-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
}
.competence-card {
background-color: #ffffff;
border-radius: 12px;
padding: 2rem 1.75rem;
min-height: 220px;
display: flex;
flex-direction: column;
}
.competence-card-title {
font-size: 1.05rem;
font-weight: 700;
color: #111827;
margin: 0 0 1rem 0;
}
.competence-card-desc {
font-size: 0.82rem;
color: #4b5563;
line-height: 1.55;
margin: 0;
}
/* Responsive */
@media (max-width: 900px) {
.projets-grid {
@media (max-width: 992px) {
.projets-cards-grid,
.competences-cards-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 600px) {
.projets-grid {
grid-template-columns: 1fr;
gap: 1rem;
}
@media (max-width: 640px) {
.projets-section {
padding: 1rem 1.25rem 3.5rem 1.25rem;
.projets-cards-grid,
.competences-cards-grid {
grid-template-columns: 1fr;
}
}