/* Formations RSE & Développement Durable - Styles Spécifiques */
.solution-page.formations-page {
    background: var(--dark);
}

/* Hero Section Formations */
.solution-hero.formations-hero {
    min-height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    overflow: hidden;
}

.formations-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.formations-visualization {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(192, 132, 252, 0.1) 0%, transparent 50%);
    position: relative;
}

.formations-visualization::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 49%, rgba(139, 92, 246, 0.1) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(168, 85, 247, 0.1) 50%, transparent 51%);
    background-size: 100px 100px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.formations-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.formations-hero .solution-badge {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border-color: rgba(139, 92, 246, 0.2);
}

/* Section Parcours */
.paths-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.paths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.path-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.path-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(139, 92, 246, 0.3);
}

.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #a855f7, #c084fc);
}

.path-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.path-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.path-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.path-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.path-duration i {
    color: #8b5cf6;
}

.path-level {
    text-align: center;
    margin-bottom: 1.5rem;
}

.level-badge {
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-badge.debutant {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.level-badge.intermediate {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.level-badge.advanced {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.level-badge.expert {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.path-features {
    list-style: none;
    margin-bottom: 2rem;
}

.path-features li {
    padding: 0.5rem 0;
    color: var(--gray-light);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.path-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8b5cf6;
    font-weight: 600;
}

.path-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.path-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #8b5cf6;
}

/* Section Programmes */
.programs-section {
    padding: 6rem 0;
}

.programs-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    color: var(--gray-light);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--light);
}

.filter-btn.active {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    border-color: #8b5cf6;
}

.filter-group select {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    color: var(--light);
    min-width: 150px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.program-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(139, 92, 246, 0.2);
}

.program-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.program-category {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-category.rse {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.program-category.carbone {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.program-category.reglementation {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.program-category.strategie {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.program-level {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
}

.program-level.debutant {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.program-level.intermediaire {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.program-level.avance {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.program-content {
    padding: 2rem;
}

.program-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.program-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.program-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-light);
    font-size: 0.8rem;
}

.meta-item i {
    color: #8b5cf6;
    width: 16px;
    text-align: center;
}

.program-objectives {
    margin-bottom: 2rem;
}

.program-objectives h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--light);
}

.program-objectives ul {
    list-style: none;
}

.program-objectives li {
    padding: 0.4rem 0;
    color: var(--gray-light);
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.9rem;
}

.program-objectives li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #8b5cf6;
    font-weight: 600;
}

.program-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.program-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #8b5cf6;
    flex-shrink: 0;
}

.program-actions .btn {
    flex: 1;
    justify-content: center;
}

.programs-cta {
    text-align: center;
}

/* Section Pédagogie */
.pedagogy-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.pedagogy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.pedagogy-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.pedagogy-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.pedagogy-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.pedagogy-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pedagogy-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.pedagogy-card ul {
    list-style: none;
    text-align: left;
}

.pedagogy-card li {
    padding: 0.5rem 0;
    color: var(--gray-light);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.pedagogy-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8b5cf6;
    font-weight: 600;
}

/* Section Témoignages */
.testimonials-section {
    padding: 6rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.testimonial-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray-light);
    margin-bottom: 2rem;
    flex: 1;
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: #8b5cf6;
    position: absolute;
    top: -1rem;
    left: -1rem;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-role {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Section Entreprises */
.enterprise-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.enterprise-offers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.enterprise-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    text-align: center;
}

.enterprise-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.enterprise-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #8b5cf6;
}

.enterprise-card p {
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.enterprise-card ul {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
}

.enterprise-card li {
    padding: 0.75rem 0;
    color: var(--gray-light);
    position: relative;
    padding-left: 2rem;
    font-size: 0.9rem;
}

.enterprise-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8b5cf6;
    font-weight: 600;
    width: 20px;
    text-align: center;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.path-card,
.pedagogy-card,
.testimonial-card,
.enterprise-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .enterprise-offers {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .paths-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        justify-content: center;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .program-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .program-price {
        order: -1;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .path-card,
    .program-card,
    .pedagogy-card,
    .testimonial-card,
    .enterprise-card {
        padding: 1.5rem;
    }
    
    .programs-filters {
        padding: 1rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* États de filtre */
.program-card.hidden {
    display: none;
}

/* Loading states */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}