/* =========================================
   ABOUT.CSS - Design de la page À Propos
   ========================================= */

/* Hero banner : 100vh avec image seule (sans gradient) */
.hero-about {
    height: 100vh; 
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: #1a1a1a;
    /* Image seule en plein écran */
    background-image: url('../img/about-bg.png'); 
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-about .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-about h1 { 
    color: #ffffff; 
    font-size: 64px; 
    margin-bottom: 20px; 
    letter-spacing: -2px; 
    /* Ombre portée pour garantir la lisibilité sans le dégradé sombre */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-about p { 
    color: #f8fafc; 
    font-size: 22px; 
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-about .tagline { 
    color: var(--accent); 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-bottom: 15px; 
    display: block;
}

/* Animation Flèche Scroll */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-indicator a {
    color: #ffffff;
    font-size: 32px;
    opacity: 0.7;
    transition: var(--transition);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* =========================================
   TIMELINE (FRISE CHRONOLOGIQUE)
   ========================================= */
.timeline { position: relative; max-width: 1000px; margin: 0 auto; padding: 40px 0; }
.timeline::after { content: ''; position: absolute; width: 4px; background-color: #e2e8f0; top: 0; bottom: 0; left: 50%; margin-left: -2px; border-radius: 4px; }
.timeline-progress { position: absolute; width: 4px; background-color: var(--primary); top: 0; left: 50%; margin-left: -2px; height: 0%; border-radius: 4px; z-index: 1; transition: height 0.1s ease; }

.timeline-item { padding: 10px 40px; position: relative; background-color: inherit; width: 50%; margin-bottom: 40px; }
.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 50%; }

.timeline-dot { position: absolute; width: 20px; height: 20px; right: -10px; background-color: var(--bg-white); border: 4px solid var(--primary); top: 20px; border-radius: 50%; z-index: 2; transition: background-color 0.4s ease, transform 0.4s ease; }
.timeline-item.right .timeline-dot { left: -10px; }

.timeline-content { padding: 30px; background-color: var(--bg-white); position: relative; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid #f1f5f9; }
.timeline-date { display: inline-block; color: var(--primary); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; background: var(--bg-offwhite); padding: 5px 15px; border-radius: 50px; }
.timeline-content h3 { margin-bottom: 15px; font-size: 22px; }

.timeline-item.active .timeline-dot { background-color: var(--primary); transform: scale(1.3); box-shadow: 0 0 0 5px rgba(29, 78, 216, 0.2); }

/* =========================================
   SECTION COMPACTE (VALEURS)
   ========================================= */
.section-compact {
    padding: 80px 0;
    background-color: var(--bg-offwhite);
    border-top: 1px solid #e2e8f0;
}

.values-compact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-compact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.value-compact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.value-compact-item .value-icon {
    font-size: 36px;
    color: var(--primary);
    margin-top: 5px;
}

.value-text h3 { font-size: 20px; margin-bottom: 8px; color: var(--text-dark); }
.value-text p { font-size: 15px; margin-bottom: 0; color: var(--text-light); line-height: 1.5; }

/* RESPONSIVE */
@media screen and (max-width: 992px) {
    .values-compact-grid { grid-template-columns: 1fr; }
}

@media screen and (max-width: 768px) {
    .hero-about h1 { font-size: 46px; }
    .timeline::after, .timeline-progress { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 0; text-align: left; }
    .timeline-item.left, .timeline-item.right { left: 0; }
    .timeline-dot { left: 21px; right: auto; }
}