/* Section Notre Approche - Projet Individual */
/* Fichier: user/themes/regard-sur/css/projet-individual-02-approche.css */

/* ===== SECTION NOTRE APPROCHE - LIGNE VERTICALE + ICÃ"NES ===== */

.approche-container {
    position: relative;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

/* Ligne verticale avec icÃ´nes */
.approche-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    min-height: 800px;
}

/* Ligne verticale continue */
.approche-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(to bottom, #EE7900, rgba(238, 121, 0, 0.3));
    transform: translateX(-50%);
    z-index: 1;
}

/* Points icÃ´nes sur la timeline */
.timeline-point {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    background: #1c1c1c;
    border: 3px solid #EE7900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.timeline-point i {
    color: #EE7900;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-point:hover {
    background: #EE7900;
    transform: scale(1.1);
}

.timeline-point:hover i {
    color: #1c1c1c;
    transform: scale(1.1);
}

/* Container des axes */
.approche-axes {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Axe individuel */
.approche-axe {
    opacity: 1;
    transform: translateX(0px);
    transition: all 0.8s ease;
}

.approche-axe.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.axe-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: stretch;
    background: rgba(238, 121, 0, 0.03);
    border-radius: var(--content-radius);
    padding: 2rem;
    border: 1px solid rgba(238, 121, 0, 0.1);
    min-height: 250px;
}

/* Image rectangle portrait */
.axe-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.axe-image:hover {
    transform: translateY(-5px);
}

.axe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.axe-image:hover img {
    transform: scale(1.05);
}

/* Contenu texte */
.axe-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
}

.axe-text h3 {
    color: #EE7900;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.axe-description {
    color: #f9f9f9;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Badges (identique Ã  avant) */
.approche-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.approche-badge {
    background: rgba(238, 121, 0, 0.1);
    color: #EE7900;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(238, 121, 0, 0.2);
    transition: all 0.3s ease;
}

.approche-badge:hover {
    background: rgba(238, 121, 0, 0.2);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE - SECTION APPROCHE ===== */

/* Responsive - Mobile */
@media (max-width: 768px) {
    .approche-container {
        display: block;
        gap: 1rem 0;
    }
    
    .approche-timeline {
        display: none;
    }
    
    .approche-axes {
        gap: 2rem;
    }
    
    .axe-content {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto; 
        gap: 1.5rem;
        padding: 1.5rem;
        min-height: auto;
        display: flex; 
        flex-direction: column;
    }
    
    .axe-image {
        order: 1;
        height: 200px;
        flex-shrink: 0;
    }
    
    .axe-text {
        order: 2;
        padding: 0;
        display: block;
    }
}
