/* ============================================
   MANIFESTO SECTION - FORMAT VISUEL DYNAMIQUE
   Section Vision & Principes d'Action
   ============================================ */

.manifesto {
    background: #0A0A0A;
    position: relative;
    overflow: hidden;
}

/* Fond animé avec particules */
.manifesto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 107, 0, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 0, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(255, 107, 0, 0.02) 0%, transparent 40%);
    pointer-events: none;
}

.manifesto .container {
    position: relative;
    z-index: 1;
}

/* Header section */
.manifesto .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.manifesto .section-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #FF6B00;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.manifesto .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #FF6B00, transparent);
}

.manifesto .section-subtitle {
    font-size: 1.3rem;
    color: #B0B0B0;
    font-weight: 400;
    margin-top: 1.5rem;
}

/* Intro manifesto */
.manifesto-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.manifesto-text {
    font-size: 1.3rem;
    line-height: 1.9;
    color: #E0E0E0;
    font-weight: 500;
    padding: 2rem 3rem;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, rgba(255, 107, 0, 0.03) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.manifesto-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 6rem;
    color: rgba(255, 107, 0, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Grille des principes - Format carte large */
.principles-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.principle-item {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(20, 20, 20, 0.9) 100%);
    border: 2px solid rgba(255, 107, 0, 0.15);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Barre latérale animée */
.principle-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 0;
    background: linear-gradient(180deg, #FF6B00 0%, rgba(255, 107, 0, 0.5) 100%);
    transition: height 0.5s ease;
}

.principle-item:hover::before {
    height: 100%;
}

/* Effet de fond au hover */
.principle-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, transparent 60%);
    transform: translate(0, -50%);
    opacity: 0;
    transition: opacity 0.6s ease, left 0.6s ease;
}

.principle-item:hover::after {
    left: -25%;
    opacity: 1;
}

.principle-item:hover {
    transform: translateX(15px);
    border-color: rgba(255, 107, 0, 0.5);
    box-shadow: 0 15px 50px rgba(255, 107, 0, 0.2);
}

/* Icône - Format hexagonal */
.principle-icon {
    width: 100px;
    height: 100px;
    min-width: 100px;
    background: linear-gradient(135deg, #FF6B00 0%, rgba(255, 107, 0, 0.8) 100%);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
}

.principle-item:hover .principle-icon {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.6);
}

/* Contenu du principe */
.principle-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.principle-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.principle-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #C0C0C0;
    margin: 0;
}

.principle-description strong {
    color: #FF6B00;
    font-weight: 700;
}

/* Numérotation visuelle */
.principle-item {
    counter-increment: principle-counter;
}

.principle-icon::before {
    content: counter(principle-counter);
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: #0A0A0A;
    border: 3px solid #FF6B00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 900;
    color: #FF6B00;
    z-index: 2;
}

.principles-list {
    counter-reset: principle-counter;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .manifesto .section-title {
        font-size: 2.3rem;
    }
    
    .principle-item {
        padding: 2rem 2rem;
        gap: 2rem;
    }
    
    .principle-icon {
        width: 85px;
        height: 85px;
        min-width: 85px;
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .manifesto .section-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .manifesto .section-subtitle {
        font-size: 1.1rem;
    }
    
    .manifesto-text {
        font-size: 1.1rem;
        padding: 1.5rem 2rem;
    }
    
    .principle-item {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .principle-item:hover {
        transform: translateY(-10px);
    }
    
    .principle-icon {
        width: 75px;
        height: 75px;
        min-width: 75px;
        font-size: 1.8rem;
        margin: 0 auto;
    }
    
    .principle-title {
        font-size: 1.4rem;
    }
    
    .principle-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .manifesto .section-title {
        font-size: 1.6rem;
    }
    
    .manifesto-text {
        font-size: 1rem;
        padding: 1.5rem 1.5rem;
    }
    
    .principles-list {
        gap: 1.5rem;
    }
    
    .principle-item {
        padding: 1.5rem 1rem;
    }
    
    .principle-icon {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
    
    .principle-icon::before {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: -10px;
        right: -10px;
    }
}
