/* ============================================================
   impact-societal.css — Design Premium pour la page Société
   ============================================================ */

.impact-page {
    background-color: var(--white);
    color: var(--primary-dark);
    font-family: var(--font-primary);
    overflow-x: hidden;
}

/* ── HERO SECTION ── */
.impact-hero {
    position: relative;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #4c1d95, #112836);
    color: white;
    text-align: center;
    overflow: hidden;
}

.impact-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 950px;
    margin: 0 auto;
}

.hero-tag {
    display: inline-block;
    background: rgba(167, 139, 250, 0.1);
    color: #a78bfa;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    border: 1px solid rgba(167, 139, 250, 0.2);
}

.impact-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto 40px;
}

/* ── SECTION STORYTELLING ── */
.story-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-image img {
    width: 100%;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

.story-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--primary-dark);
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 20px;
}

/* ── PROBLEM SECTION (DANGER) ── */
.problem-section {
    background: #fff5f5;
    padding: 100px 20px;
}

.problem-content {
    max-width: 1200px;
    margin: 0 auto;
}

.problem-header {
    text-align: center;
    margin-bottom: 60px;
}

.problem-header h2 {
    font-size: 2.5rem;
    color: #e53e3e;
    font-weight: 800;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.impact-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-top: 4px solid #f87171;
    text-align: center;
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.impact-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.impact-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* ── BENEFITS SECTION ── */
.benefits-section {
    padding: 120px 20px;
}

.benefits-content {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.benefit-box {
    display: flex;
    gap: 25px;
    background: #f8fafc;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.benefit-box:hover {
    background: white;
    border-color: #8b5cf6;
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: white;
    color: #8b5cf6;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-sm);
}

.benefit-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.benefit-text p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ── FINAL CTA ── */
.final-cta {
    position: relative;
    padding: 120px 20px;
    background: linear-gradient(135deg, #4c1d95, #112836);
    color: white;
    text-align: center;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    opacity: 0.2;
    z-index: 0;
}

.cta-box {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.btn-join {
    display: inline-block;
    background: var(--accent-green);
    color: var(--primary-dark);
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 255, 132, 0.3);
    margin-top: 20px;
}

.btn-join:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 255, 132, 0.4);
}

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .story-grid, .benefits-grid, .cards-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .impact-hero {
        padding: 40px 20px 30px;
    }

    .impact-hero h1 {
        font-size: 2.5rem;
    }

    .story-section, 
    .problem-section, 
    .benefits-section, 
    .final-cta {
        padding: 20px 20px;
    }

    .story-text h2, 
    .problem-header h2, 
    .benefits-content h2, 
    .final-cta h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        margin-top: 0;
    }

    .story-text {
        text-align: center;
    }
}
