/* Navigation active */
nav ul li a.active {
    color: #2c5530;
    font-weight: bold;
    position: relative;
}

nav ul li a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2c5530;
}

/* ===== HERO SECTION INVERSE ===== */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #e8f4ea 0%, #c8e6c9 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232c5530' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Contenu sur la GAUCHE */
.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-block;
    background: #2c5530;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 25px;
    font-size: 0.9em;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 2.8em;
    color: #2c5530;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2em;
    color: #4a7c59;
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* Cartes sur la DROITE */
.hero-images {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 100%;
    gap: 140px;
}

.image-item {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.image-item:hover {
    transform: translateY(-5px);
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Positionnement des images */
.image-item-1 {
    width: 280px;
    height: 200px;
    top: 0;
    right: 0;
    z-index: 3;
}

.image-item-2 {
    width: 250px;
    height: 180px;
    top: 120px;
    left: 0;
    z-index: 2;
}

.image-item-3 {
    width: 220px;
    height: 160px;
    top: 220px;
    right: 40px;
    z-index: 1;
}


/* ===== BOUTONS ===== */
.btn {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1em;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #2c5530;
    color: white;
    align-items: center;
    
}

.btn-primary:hover {
    background-color: #1e5c32;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 85, 48, 0.3);
}

.btn-secondary {
    background-color: #4a7c59;
    color: white;
}

.btn-secondary:hover {
    background-color: #3a6c49;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 124, 89, 0.3);
}

/* Stats Section */
.stats {
    background-color: #f8f9fa;
    padding: 50px 0;
    text-align: center;
}

.stats h2 {
    color: #2c5530;
    margin-bottom: 10px;
}

.stats > p {
    color: #666;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #2c5530;
    display: block;
}

.stat-label {
    color: #666;
    font-size: 0.9em;
    margin-top: 10px;
}

/* Process Section */
.process {
    padding: 80px 0;
    background-color: #fffbec;
}

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

.process-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 1rem;
}

.process-header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

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

.process-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #28a745;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.step-content p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.process-image {
    position: relative;
}

.process-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Couleurs différentes pour chaque étape */
.process-step:nth-child(1) {
    border-left-color: #28a745;
}

.process-step:nth-child(1) .step-number {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.process-step:nth-child(2) {
    border-left-color: #2c5530;
}

.process-step:nth-child(2) .step-number {
    background: linear-gradient(135deg, #2c5530, #3c6540);
}

.process-step:nth-child(3) {
    border-left-color: #28a745;
}

.process-step:nth-child(3) .step-number {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.process-step:nth-child(4) {
    border-left-color: #2c5530;
}

.process-step:nth-child(4) .step-number {
    background: linear-gradient(135deg, #2c5530, #3c6540);
}

/* News Section */
.news {
    padding: 80px 0;
    background: linear-gradient(135deg, #E38570 0%, #F2EBA6 100%);
}

.news h2 {
    text-align: center;
    color: #f8f9fa;
    margin-bottom: 15px;
    font-size: 2em;
    padding-bottom: 50px;
}

.news > p {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
}

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

.news-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    border-left: 4px solid #2c5530;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-card h3 {
    color: #2c5530;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9em;
}

.news-card p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}