/* ===== HERO PROJETS ===== */
.hero-projets {
    padding: 100px 0 80px;
    background: var(--dark);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-projets::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 60% 40%, rgba(6, 214, 160, 0.1) 0%, transparent 60%),
                radial-gradient(ellipse 40% 50% at 20% 70%, rgba(79, 143, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-projets > .container {
    position: relative;
    z-index: 1;
}

.hero-projets__badge {
    display: inline-block;
    background: rgba(6, 214, 160, 0.15);
    color: var(--accent);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(6, 214, 160, 0.25);
}

.hero-projets h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-projets h1 span {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-projets p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-projets__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FILTER BAR ===== */
.filter-bar {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: var(--text);
    border-color: rgba(6, 214, 160, 0.3);
    background: rgba(6, 214, 160, 0.05);
}

.filter-btn.active {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
}

/* ===== PROJETS SECTION ===== */
.section--projets {
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}

.section--projets::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 50% at 10% 30%, rgba(6, 214, 160, 0.05) 0%, transparent 60%),
                radial-gradient(ellipse 40% 40% at 90% 70%, rgba(79, 143, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

/* Divider */
.section--projets::after {
    content: '';
    display: block;
    width: 100%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 214, 160, 0.25), transparent);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* ===== PROJET CARDS ===== */
.projet-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.projet-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    border-color: rgba(6, 214, 160, 0.2);
}

.projet-card__img {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.projet-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(6, 214, 160, 0.25));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projet-card__overlay i {
    font-size: 1.8rem;
    color: var(--white);
    transform: translateX(-10px);
    transition: transform 0.3s ease;
}

.projet-card:hover .projet-card__overlay {
    opacity: 1;
}

.projet-card:hover .projet-card__overlay i {
    transform: translateX(0);
}

.projet-card__body {
    padding: 28px;
}

.projet-card__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.projet-card__tag {
    background: rgba(6, 214, 160, 0.1);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.projet-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.projet-card__text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===== STATS SECTION ===== */
.section--projets-stats {
    position: relative;
    background: linear-gradient(180deg, #0d1525 0%, #111b2e 50%, #0d1525 100%);
}

.section--projets-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(6, 214, 160, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.projets-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
}

.projets-stats__item {
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    transition: all 0.3s ease;
}

.projets-stats__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border-color: rgba(6, 214, 160, 0.15);
}

.projets-stats__icon {
    width: 48px;
    height: 48px;
    background: rgba(6, 214, 160, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    margin: 0 auto 16px;
}

.projets-stats__number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.projets-stats__label {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
}


/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--reveal-delay, 0s);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-projets {
        padding: 60px 0;
    }

    .projets-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-projets {
        padding: 60px 0;
    }
}
