/* Formation Incendie CSS - Style page "À propos" avec charte S²O */

.page-content {
    background: #F8F9FA;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Introduction */
.intro-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 8px 32px rgba(76, 92, 107, 0.1);
}

.intro-section h3 {
    font-family: 'Spline Sans', sans-serif;
    font-size: 2.2rem;
    color: #4C5C6B;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.intro-section p {
    font-size: 1.2rem;
    color: #333;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.highlight-text {
    color: #4C5C6B;
    font-weight: 600;
}

/* Section générale */
.section {
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(76, 92, 107, 0.1);
}

.section h2 {
    font-family: 'Spline Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #4C5C6B;
    text-align: center;
    border-bottom: 2px solid #4C5C6B;
    display: inline-block;
    padding-bottom: 0.5rem;
    width: 100%;
}

/* Suppression de la classe module-section car plus utilisée */

/* Expertise grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0 0 0;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(76, 92, 107, 0.08);
    transition: transform 0.3s ease;
    border-top: 4px solid #4C5C6B;
}

.expertise-card:nth-child(even) {
    border-top-color: #B8A082;
}

.expertise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(76, 92, 107, 0.12);
}

.expertise-card h4 {
    font-family: 'Spline Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #4C5C6B;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.expertise-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4C5C6B, #7A8FA3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.expertise-card:nth-child(even) .expertise-icon {
    background: linear-gradient(135deg, #B8A082, #A08B6F);
}

.expertise-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-card li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    font-family: 'Spline Sans', sans-serif;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
}

.expertise-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #7A8FA3;
    font-weight: bold;
    font-size: 1.2rem;
}

.expertise-card:nth-child(even) li::before {
    color: #B8A082;
}

/* Statistiques */
.stats-section {
    background: rgba(76, 92, 107, 0.05);
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: white;
    border-radius: 15px;
    padding: 2rem 1rem;
    box-shadow: 0 4px 16px rgba(76, 92, 107, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #4C5C6B;
}

.stat-item:nth-child(2n) {
    border-top-color: #7A8FA3;
}

.stat-item:nth-child(3n) {
    border-top-color: #B8A082;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(76, 92, 107, 0.12);
}

.stat-number {
    font-family: 'Spline Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #4C5C6B;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Spline Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #7A8FA3;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #4C5C6B, #7A8FA3);
    color: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(45deg);
}

.cta-section h3 {
    font-family: 'Spline Sans', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Boutons CTA */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-family: 'Spline Sans', sans-serif;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.btn-white {
    background: white !important;
    color: #4C5C6B;
    border: 2px solid transparent;
}

.btn-white:hover {
    background: #a0896c !important;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .page-content {
        padding: 1rem;
    }
    
    .intro-section,
    .section {
        padding: 2rem;
    }
    
    .intro-section h3 {
        font-size: 1.8rem;
    }
    
    .intro-section p {
        font-size: 1.1rem;
    }
    
    .section h2 {
        font-size: 1.5rem;
        padding-bottom: 0.5rem;
    }
    
    .expertise-card {
        padding: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-section {
        padding: 2rem;
    }
    
    .cta-section h3 {
        font-size: 1.6rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        margin: 0.5rem;
    }
}

@media (max-width: 480px) {
    .intro-section,
    .section {
        padding: 1.5rem;
    }
    
    .intro-section h3 {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-card {
        padding: 1.5rem;
    }
    
    .expertise-card h4 {
        font-size: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .cta-section {
        padding: 1.5rem;
    }
    
    .btn {
        display: block;
        margin: 0.5rem 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-section,
.section,
.stats-section,
.cta-section {
    animation: fadeInUp 0.6s ease-out;
}

.expertise-card:nth-child(1) { animation-delay: 0.1s; }
.expertise-card:nth-child(2) { animation-delay: 0.2s; }
.expertise-card:nth-child(3) { animation-delay: 0.3s; }
.expertise-card:nth-child(4) { animation-delay: 0.4s; }

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

/* Focus pour l'accessibilité */
.btn:focus,
.expertise-card:focus {
    outline: 2px solid #4C5C6B;
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
