/* ====================================
   WEBSITE CARBON BADGE - STYLES
   ==================================== */

/* Badge dans le Footer */
.carbon-badge-footer {
    text-align: center;
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.carbon-badge-footer #wcb {
    display: inline-block;
    margin: 0 auto 15px;
}

.carbon-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Section RSE Page d'Accueil */
.rse-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    position: relative;
    overflow: hidden;
}

.rse-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.rse-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.rse-badge-large {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.2);
    text-align: center;
    border: 2px solid #10b981;
}

.rse-badge-large #wcb-homepage {
    margin: 0 auto;
}

.rse-text {
    color: var(--text-primary);
}

.rse-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.rse-features {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.rse-feature {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: var(--spacing-md);
    align-items: start;
}

.rse-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.rse-feature-text h4 {
    color: #059669;
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.rse-feature-text p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Bouton Éco */
.btn-eco {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
    border: none;
    cursor: pointer;
}

.btn-eco:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-eco i {
    font-size: 1.2rem;
}

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

@media (max-width: 1024px) {
    .rse-content {
        grid-template-columns: 250px 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .rse-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .rse-badge-large {
        max-width: 300px;
        margin: 0 auto var(--spacing-lg);
    }

    .rse-feature {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .rse-icon {
        margin-bottom: 10px;
    }

    .btn-eco {
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }

    .carbon-text {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .rse-section {
        padding: var(--spacing-lg) 0;
    }

    .rse-badge-large {
        padding: var(--spacing-md);
    }

    .btn-eco {
        font-size: 0.9rem;
        padding: 12px 25px;
    }
}
