/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #FFFFFF;
    color: #333;
    line-height: 1.6;
}

/* ========================================
   SECTION BÉNÉVOLAT
   ======================================== */
.benevolat-section {
    width: 100%;
}

.wave-header {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.wave-top {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
}

.wave-header h1 {
    position: absolute;
    top: 70px;
    left: 80px;
    color: #FFFFFF;
    font-size: 48px;
    font-weight: 700;
    z-index: 1;
}

.benevolat-content {
    width: 100%;
    padding: 60px 40px 80px;
}

.benevolat-intro {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.intro-text {
    margin-bottom: 10px;
}

.title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.intro-text h2 {
    color: #333;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.defi-megaphone {
    display: flex;
    align-items: center;
    gap: 20px;
}

.defi-megaphone .text-blue {
    color: #1E3A8A;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
}

.megaphone-icon {
    width: 100px;
    height: auto;
    flex-shrink: 0;
}

.benevolat-intro h3 {
    color: #333;
    font-size: 24px;
    font-weight: 700;
}

.benevolat-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benevolat-text p {
    color: #333;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.btn-rejoindre {
    background-color: #EF5350;
    color: #FFFFFF;
    padding: 14px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s;
    display: inline-block;
    align-self: flex-start;
}

.btn-rejoindre:hover {
    background-color: #E53935;
}

.benevolat-photos {
    position: relative;
    width: 100%;
}

.wave-bottom {
    width: 110%;
    height: auto;
    display: block;
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 0;
}

.photos-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.photo-item {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #1E3A8A;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.photo-item.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F3F4F6;
}

.photo-item.placeholder span {
    color: #1E3A8A;
    font-size: 16px;
    font-weight: 500;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablette */
@media (max-width: 1024px) {
    .wave-header {
        height: 220px;
    }
    
    .wave-header h1 {
        font-size: 38px;
        top: 60px;
        left: 50px;
    }
    
    .benevolat-content {
        padding: 40px 30px 60px;
    }
    
    .intro-text h2 {
        font-size: 28px;
    }
    
    .defi-megaphone .text-blue {
        font-size: 28px;
    }
    
    .megaphone-icon {
        width: 80px;
    }
    
    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 30px 60px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .wave-header {
        height: 180px;
    }
    
    .wave-header h1 {
        font-size: 28px;
        top: 50px;
        left: 30px;
    }
    
    .benevolat-content {
        padding: 40px 20px 60px;
    }
    
    .intro-text {
        align-items: flex-start;
    }
    
    .intro-text h2 {
        font-size: 24px;
    }
    
    .defi-megaphone {
        gap: 15px;
    }
    
    .defi-megaphone .text-blue {
        font-size: 24px;
    }
    
    .megaphone-icon {
        width: 60px;
    }
    
    .benevolat-intro h3 {
        font-size: 20px;
    }
    
    .benevolat-text p {
        font-size: 15px;
    }
    
    .photos-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px 50px;
    }
}
