/* --- 1. STYLES GLOBAUX --- */
body, main, section { background-color: #ffffff !important; }

.about-header {
    padding-top: 160px; /* Espace pour la navbar */
    padding-bottom: 5rem;
}

.text-justify-pretty {
    text-align: justify;
    text-justify: inter-word;
}

/* --- 2. BLOC HISTOIRE --- */
.story-img {
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    transform: rotate(-2deg);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: grayscale(10%);
}
.story-img:hover {
    transform: rotate(0deg) scale(1.02);
    filter: grayscale(0%);
}

/* --- 3. SECTION ROADMAP (FOND BLANC) --- */
.roadmap-section-white {
    background-color: #ffffff !important;
    color: #212529;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

/* STRUCTURE ROADMAP (Indispensable pour l'affichage) */
.roadmap-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.roadmap-step {
    position: relative;
    display: flex;
    width: 100%;
    opacity: 1;
    z-index: 1;
}

.step-left { justify-content: flex-start; }
.step-right { justify-content: flex-end; }

.roadmap-card {
    position: relative;
    width: 450px;
    max-width: 90vw;
    padding: 2.5rem;
    border-radius: 16px;
    z-index: 2;
    /* Couleurs spécifiques fond blanc */
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 15px 40px -10px rgba(0,0,0,0.08);
    color: #495057;
}

.roadmap-section-white .step-title {
    background: linear-gradient(to right, #0d6efd, #6610f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.roadmap-section-white ul { list-style: none; padding: 0; margin: 0; }
.roadmap-section-white li { margin-bottom: 0.5rem; color: #6c757d; }
.roadmap-section-white li strong { color: #212529; }
.roadmap-section-white .plus { color: #0d6efd; font-weight: bold; margin-right: 5px; }

/* Lignes Cinétiques */
.kinetic-lines {
    position: absolute;
    top: 50%;
    width: 120%;
    height: 150px;
    z-index: -1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    transform: translateY(-50%) skewY(-10deg);
    opacity: 0.4;
}

.step-left .kinetic-lines { left: 50%; align-items: flex-start; }
.step-right .kinetic-lines { right: 50%; align-items: flex-end; }

.kinetic-lines span {
    display: block;
    height: 3px;
    border-radius: 2px;
    width: 100%;
    max-width: 0; /* Animé par JS ensuite, ou mettre width fixe si pas de JS */
}
/* Couleurs lignes */
.lines-purple span { background: linear-gradient(90deg, transparent, #6610f2, transparent); }
.lines-pink span { background: linear-gradient(90deg, transparent, #d63384, transparent); }
.lines-gold span { background: linear-gradient(90deg, transparent, #ffc107, transparent); }

/* Largeurs par défaut pour voir les lignes même sans JS */
.kinetic-lines span:nth-child(1) { max-width: 80%; }
.kinetic-lines span:nth-child(2) { max-width: 60%; }
.kinetic-lines span:nth-child(3) { max-width: 90%; }
.kinetic-lines span:nth-child(4) { max-width: 50%; }
.kinetic-lines span:nth-child(5) { max-width: 70%; }

/* --- 4. VALEURS --- */
.value-card {
    padding: 3rem 2rem;
    border-radius: 24px;
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: #e9ecef;
}
.value-icon {
    width: 70px; height: 70px;
    background: #f0f7ff; color: #0d6efd;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}
.value-card:hover .value-icon {
    transform: rotate(-5deg) scale(1.1);
    background: #0d6efd; color: white;
}

/* --- 5. EQUIPE --- */
.team-card { border: none; background: transparent; text-align: center; transition: transform 0.3s ease; }
.team-card:hover { transform: translateY(-5px); }
.team-avatar {
    width: 160px; height: 160px;
    border-radius: 50%; object-fit: cover; margin-bottom: 1.5rem;
    border: 4px solid #f8faff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: border-color 0.3s ease;
}
.team-card:hover .team-avatar { border-color: #0d6efd; }

/* --- 6. ELEMENTS UI --- */
.badge-pill-soft {
    background-color: rgba(13, 110, 253, 0.08); color: #0d6efd;
    padding: 0.6em 1.2em; border-radius: 50px;
    font-weight: 700; font-size: 0.8rem; letter-spacing: 1px;
    margin-bottom: 1.5rem; display: inline-block; text-transform: uppercase;
}

.cta-card {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 30px; padding: 5rem 2rem;
    color: white; position: relative; overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(13, 110, 253, 0.4);
}
.cta-circle { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.08); pointer-events: none; }
.circle-1 { width: 400px; height: 400px; top: -150px; right: -100px; }
.circle-2 { width: 200px; height: 200px; bottom: -80px; left: 5%; }

.btn-cta-premium {
    background-color: #ffffff; color: #0b5ed7; font-weight: 800;
    border: none; padding: 1rem 2.5rem; border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none; display: inline-block;
}
.btn-cta-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    color: #0b5ed7; background-color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .roadmap-wrapper { gap: 40px; padding-left: 15px; padding-right: 15px; }
    .step-left, .step-right { justify-content: center; }
    .roadmap-card { width: 100%; text-align: center; }
    .kinetic-lines { display: none; }
}
