/* ============================================
   FONCTIONNALITES.CSS - Page Fonctionnalités Helpify
   ============================================ */

/* ========== HERO FEATURES ========== */
.hero-features {
    background: white;
    padding: 5rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content-left {
    max-width: 550px;
}

.hero-title-features {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-subtitle-features {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-right img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* ========== TABS SECTION ========== */
.features-tabs {
    padding: 5rem 0;
    background: var(--bg-light);
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: white;
    border: 2px solid var(--bg-light);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== FEATURES SECTION HEADER ========== */
.features-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.feature-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.features-section-header h2 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.features-section-header h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.features-section-header p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* ========== FEATURES LIST GRID ========== */
.features-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon-sm {
    width: 50px;
    height: 50px;
    background: var(--bg-light-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* ========== SPLIT VIEW ========== */
.split-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.check-list {
    list-style: none;
    margin-left: 80px;
}

.check-list li {
    font-size: 1.425rem;
    font-weight: 20px;
    font-style: italic;
    padding: 1.5rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--bg-light);
}

.check-list li:hover{
    color: green;
    cursor: pointer;
}

.split-image img {
    width: 90%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* ========== TRANSPARENCY SECTION ========== */
.transparency-section {
    padding: 5rem 0;
    background: white;

    width: 100vw ;
    max-width: none ;
    margin-left: calc(-50vw + 50%) ;
    margin-right: calc(-50vw + 50%) ;
    position: relative;
    left: 0;
    right: 0;
}

.section-label-center {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.transparency-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.transparency-card {
    background: var(--bg-light-green);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
}

.transparency-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.transparency-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.transparency-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .features-list-grid {
        grid-template-columns: 1fr;
    }
    
    .split-view {
        grid-template-columns: 1fr;
    }
    
    .transparency-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title-features {
        font-size: 2rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
    }
    
    .tabs-nav {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
}