/* Variables */
:root {
    --wdc-primary: #4caf50;
    --wdc-primary-dark: #45a049;
    --wdc-secondary: #2196f3;
    --wdc-dark: #2c3e50;
    --wdc-light: #f8f9fa;
    --wdc-gray: #6c757d;
    --wdc-shadow: 0 4px 6px rgba(0,0,0,0.1);
    --wdc-border-radius: 12px;
}

.wdc-homepage {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--wdc-dark);
    line-height: 1.6;
}

.wdc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.wdc-hero {
    background: linear-gradient(135deg, var(--wdc-primary) 0%, var(--wdc-primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.wdc-hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.wdc-highlight {
    position: relative;
    display: inline-block;
}

.wdc-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: #ffd700;
    border-radius: 2px;
}

.wdc-hero-description {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.95;
}

.wdc-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.wdc-stat {
    text-align: center;
}

.wdc-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
}

.wdc-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Sections communes */
.wdc-section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--wdc-dark);
}

/* Comment ça marche */
.wdc-how-it-works {
    padding: 80px 0;
    background: var(--wdc-light);
}

.wdc-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.wdc-step {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: var(--wdc-border-radius);
    box-shadow: var(--wdc-shadow);
    transition: transform 0.3s ease;
}

.wdc-step:hover {
    transform: translateY(-5px);
}

.wdc-step-icon {
    width: 70px;
    height: 70px;
    background: var(--wdc-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* Avantages */
.wdc-benefits {
    padding: 80px 0;
}

.wdc-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.wdc-benefit {
    text-align: center;
    padding: 30px;
    border-radius: var(--wdc-border-radius);
    transition: all 0.3s ease;
}

.wdc-benefit:hover {
    background: var(--wdc-light);
    transform: translateY(-3px);
}

.wdc-benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Projets */
.wdc-projects {
    padding: 80px 0;
    background: var(--wdc-light);
}

.wdc-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.wdc-project-card {
    background: white;
    border-radius: var(--wdc-border-radius);
    overflow: hidden;
    box-shadow: var(--wdc-shadow);
    transition: transform 0.3s ease;
}

.wdc-project-card:hover {
    transform: translateY(-5px);
}

.wdc-project-image {
    height: 200px;
    overflow: hidden;
}

.wdc-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wdc-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.wdc-project-content {
    padding: 20px;
}

.wdc-project-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.wdc-project-excerpt {
    color: var(--wdc-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.wdc-project-progress {
    margin: 15px 0;
}

.wdc-progress-bar {
    background: #e0e0e0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.wdc-progress-fill {
    background: var(--wdc-primary);
    height: 100%;
    transition: width 0.3s ease;
}

.wdc-progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--wdc-gray);
}

.wdc-project-deadline {
    font-size: 0.85rem;
    color: #ff9800;
    margin: 10px 0;
}

.wdc-project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.wdc-project-percentage {
    font-weight: bold;
    color: var(--wdc-primary);
}

/* Boutons */
.wdc-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: center;
}

.wdc-btn-primary {
    background: var(--wdc-primary);
    color: white;
}

.wdc-btn-primary:hover {
    background: var(--wdc-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--wdc-shadow);
    color: white;
}

.wdc-btn-secondary {
    background: transparent ;
    color: white;
    border: 2px solid var(--wdc-primary);
}

.wdc-btn-secondary:hover {
    background: var(--wdc-primary);
    color: yellow;
}

.wdc-btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.wdc-btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* CTA Section */
.wdc-cta {
    background: linear-gradient(135deg, var(--wdc-dark) 0%, #1a252f 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.wdc-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: yellow;
}

.wdc-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

/* Responsive */
@media (max-width: 768px) {
    .wdc-hero {
        padding: 50px 0;
    }
    
    .wdc-hero-title {
        font-size: 2rem;
    }
    
    .wdc-hero-description {
        font-size: 1rem;
    }
    
    .wdc-section-title {
        font-size: 1.8rem;
    }
    
    .wdc-hero-stats {
        gap: 20px;
    }
    
    .wdc-stat-number {
        font-size: 1.8rem;
    }
    
    .wdc-steps,
    .wdc-benefits-grid,
    .wdc-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .wdc-cta h2 {
        font-size: 1.8rem;
    }
}