- 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
157 lines
3.0 KiB
CSS
157 lines
3.0 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
}
|
|
|
|
|
|
|
|
|
|
/* HERO BANNER */
|
|
.hero-section {
|
|
position: relative;
|
|
width: 100%;
|
|
min-height: 100vh;
|
|
background-size: cover;
|
|
background-position: center right;
|
|
background-repeat: no-repeat;
|
|
display: flex;
|
|
align-items: center;
|
|
padding-top: 5rem;
|
|
}
|
|
|
|
.hero-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg,
|
|
rgba(255, 255, 255, 0.45) 0%,
|
|
rgba(255, 255, 255, 0.15) 50%,
|
|
rgba(255, 255, 255, 0) 100%);
|
|
z-index: 1;
|
|
}
|
|
|
|
.hero-content {
|
|
position: relative;
|
|
z-index: 2;
|
|
max-width: 1380px;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
padding: 0 2rem;
|
|
}
|
|
|
|
.hero-text-block {
|
|
max-width: 580px;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 2.75rem;
|
|
font-weight: 800;
|
|
line-height: 1.2;
|
|
color: #0b1320;
|
|
margin-bottom: 1.25rem;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.hero-description {
|
|
font-size: 0.88rem;
|
|
line-height: 1.55;
|
|
color: #724213;
|
|
margin-bottom: 2rem;
|
|
max-width: 460px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.btn-hero {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
background-color: #8c8f3e;
|
|
color: #ffffff;
|
|
padding: 0.75rem 1.6rem;
|
|
border-radius: 9999px;
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
transition: all 0.25s ease;
|
|
box-shadow: 0 4px 12px rgba(140, 143, 62, 0.25);
|
|
}
|
|
|
|
.btn-hero:hover {
|
|
background-color: #737630;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* RESPONSIVE */
|
|
@media (max-width: 960px) {
|
|
.navbar-container {
|
|
padding: 1.25rem 1.5rem;
|
|
}
|
|
|
|
.hamburger {
|
|
display: flex;
|
|
}
|
|
|
|
.hamburger.active span:nth-child(1) {
|
|
transform: rotate(45deg) translate(5px, 5px);
|
|
}
|
|
|
|
.hamburger.active span:nth-child(2) {
|
|
opacity: 0;
|
|
}
|
|
|
|
.hamburger.active span:nth-child(3) {
|
|
transform: rotate(-45deg) translate(6px, -6px);
|
|
}
|
|
|
|
.navbar-nav {
|
|
position: fixed;
|
|
top: 0;
|
|
right: -100%;
|
|
width: 280px;
|
|
height: 100vh;
|
|
background-color: rgba(255, 255, 255, 0.98);
|
|
backdrop-filter: blur(12px);
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 2rem;
|
|
box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
|
|
transition: right 0.35s ease-in-out;
|
|
}
|
|
|
|
.navbar-nav.open {
|
|
right: 0;
|
|
}
|
|
|
|
.nav-links {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 1.75rem;
|
|
}
|
|
|
|
.nav-links li a {
|
|
text-shadow: none;
|
|
font-size: 1.05rem;
|
|
}
|
|
|
|
.hero-section {
|
|
min-height: auto;
|
|
padding: 7rem 0 4rem 0;
|
|
background-position: 70% center;
|
|
}
|
|
|
|
.hero-overlay {
|
|
background: rgba(255, 255, 255, 0.75);
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 1.85rem;
|
|
}
|
|
} |